.appointment-reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 6vw, 104px) 0;
  color: #082b62;
  background: #f8fcff url("assets/urologo/agenda/decoraciones/01_fondo_luminoso.svg") center / cover no-repeat;
  scroll-margin-top: 100px;
}

.ar-decor { position: absolute; z-index: 0; pointer-events: none; user-select: none; }
.ar-decor img { display: block; width: 100%; height: auto; }
.ar-decor--curves { right: 0; bottom: -12px; left: 0; opacity: .78; }
.ar-decor--orbits { top: -82px; right: -90px; width: min(46vw, 650px); opacity: .76; }
.ar-decor--renal { top: 48px; right: -40px; width: clamp(170px, 19vw, 290px); opacity: .17; }
.ar-decor--glow { right: 38%; bottom: 9%; width: 390px; opacity: .34; }
.ar-decor--dots { top: 41%; left: 2.4%; width: 122px; opacity: .7; }

.ar-container {
  position: relative;
  z-index: 1;
  width: min(1520px, calc(100% - 80px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(34px, 3.2vw, 52px);
  margin-inline: auto;
}

.ar-appointment-panel {
  min-width: 0;
  padding: clamp(32px, 3.2vw, 54px);
  border: 1px solid rgba(255, 255, 255, .94);
  border-radius: 30px;
  background: rgba(224, 239, 255, .74);
  box-shadow: 0 20px 55px rgba(74, 132, 201, .12), inset 0 1px 0 rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
}

.ar-eyebrow {
  margin: 0 0 15px;
  color: #247aff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ar-appointment-panel h2,
.ar-testimonials h2 {
  margin: 0;
  color: #082b62;
  font-family: var(--display, "Manrope", sans-serif);
  font-weight: 800;
  letter-spacing: -.045em;
}

.ar-appointment-panel h2 { max-width: 640px; font-size: clamp(32px, 3.1vw, 48px); line-height: 1.08; }
.ar-appointment-panel h2 span { color: #247aff; }
.ar-intro { max-width: 590px; margin: 14px 0 26px; color: #4d6893; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.48; }

.ar-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ar-action {
  min-width: 0;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(43, 108, 194, .17);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.ar-action img { width: 22px; height: 22px; flex: 0 0 auto; filter: brightness(0) invert(1); }
.ar-action--call { background: #247aff; }
.ar-action--whatsapp { background: #19ad67; }
.ar-action--booking { background: #4c9bff; }
.ar-action:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(43, 108, 194, .24); filter: saturate(1.08); }
.ar-phone-direct { margin: 12px 0 0; color: #7189ad; font-size: 12px; line-height: 1.4; text-align: center; }
.ar-phone-direct a { color: #247aff; font-weight: 750; text-decoration: none; }
.ar-phone-direct a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ar-action:focus-visible,
.ar-arrow:focus-visible,
.ar-dot:focus-visible,
.ar-review-meta a:focus-visible,
.ar-office-card a:focus-visible { outline: 3px solid #082b62; outline-offset: 3px; }

.ar-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 26px 0 20px; }
.ar-divider span { height: 1px; background: rgba(95, 145, 204, .3); }
.ar-divider p { margin: 0; color: #7b94b9; font-size: 11px; font-weight: 750; letter-spacing: .16em; line-height: 1.3; text-align: center; text-transform: uppercase; }

.ar-info-card {
  min-width: 0;
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 26px rgba(69, 126, 189, .07);
}
.ar-hours-card { grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .72fr); margin-bottom: 12px; }
.ar-icon-box { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: #e7f2ff; }
.ar-icon-box img { width: 30px; height: 30px; }
.ar-hours-heading h3,
.ar-hours-detail strong { margin: 0; color: #082b62; font-size: 14px; font-weight: 750; line-height: 1.35; }
.ar-hours-heading p { margin: 5px 0 0; color: #7189ad; font-size: 12px; line-height: 1.35; }
.ar-hours-detail { min-width: 0; display: grid; gap: 4px; padding-left: 15px; border-left: 1px solid rgba(125, 168, 218, .3); }
.ar-hours-detail span { color: #4d6893; font-size: 13px; line-height: 1.4; }
.ar-hours-detail--urgent strong { color: #247aff; }

.ar-office-list { display: grid; gap: 12px; }
.ar-office-card { grid-template-columns: 54px minmax(0, 1fr) auto; }
.ar-office-card h3 { margin: 0 0 5px; color: #082b62; font-size: 15px; font-weight: 750; line-height: 1.3; }
.ar-office-card address { color: #4d6893; font-size: 13px; font-style: normal; line-height: 1.45; }
.ar-map-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 13px; border: 1px solid #b9d8ff; border-radius: 999px; color: #247aff; background: rgba(255,255,255,.72); font-size: 12px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; white-space: nowrap; }
.ar-map-link img { width: 17px; height: 17px; }
.ar-map-link:hover { background: #eef6ff; }
.ar-office-fallback { margin: 0; color: #4d6893; font-size: 13px; line-height: 1.5; }
.ar-office-fallback a { color: #176ee6; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ar-testimonials { min-width: 0; padding: 6px 0; scroll-margin-top: 100px; }
.ar-testimonials .ar-eyebrow { margin-bottom: 14px; }
.ar-testimonials h2 { font-size: clamp(31px, 2.75vw, 44px); line-height: 1.12; }
.ar-testimonials-intro { max-width: 660px; margin: 13px 0 22px; color: #4d6893; font-size: 16px; line-height: 1.5; }
.ar-review-list { display: grid; gap: 14px; }
.ar-review-card {
  min-width: 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 17px;
  padding: 19px 21px;
  border: 1px solid rgba(204, 226, 250, .9);
  border-radius: 21px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 11px 28px rgba(53, 104, 164, .07);
}
.ar-review-card[hidden] { display: none !important; }
.ar-avatar { width: 58px; height: 58px; display: block; border: 1px solid #cbdff5; border-radius: 50%; object-fit: cover; background: #eff6ff; }
.ar-review-body { position: relative; min-width: 0; padding-top: 3px; }
.ar-quote { position: absolute; top: 0; right: 1px; width: 22px; height: 22px; opacity: .42; }
.ar-rating { display: block; margin: 0 0 7px; color: #f1ad28; font-size: 16px; letter-spacing: .09em; line-height: 1; }
.ar-rating span { display: inline-block; }
.ar-review-body blockquote { position: relative; z-index: 1; margin: 0 27px 13px 0; color: #4d6893; font-size: 15px; line-height: 1.45; }
.ar-review-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: #8498b7; font-size: 11px; line-height: 1.4; }
.ar-review-meta strong { color: #365985; font-size: 12px; font-weight: 750; }
.ar-review-meta a { margin-left: auto; color: #247aff; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ar-review-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }


.ar-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; }
.ar-controls[hidden] { display: none !important; }
.ar-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.ar-dot { width: 32px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.ar-dot::before { width: 9px; height: 9px; border-radius: 50%; background: #d6e1ef; content: ""; transition: transform .2s ease, background .2s ease; }
.ar-dot[aria-current="page"]::before { transform: scale(1.15); background: #247aff; }
.ar-arrows { display: flex; gap: 10px; }
.ar-arrow { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid #c6ddfb; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; transition: background .2s ease, border-color .2s ease, opacity .2s ease; }
.ar-arrow img { width: 18px; height: 18px; }
.ar-arrow:hover:not(:disabled) { border-color: #247aff; background: #fff; }
.ar-arrow:disabled { opacity: .42; cursor: not-allowed; }
.ar-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 1120px) {
  .ar-container { width: min(900px, calc(100% - 64px)); grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .ar-appointment-panel { padding: clamp(30px, 5vw, 50px); }
  .ar-testimonials { padding: 0 3px; }
  .ar-decor--renal { right: -60px; opacity: .13; }
  .ar-decor--glow { right: 4%; bottom: 28%; width: 330px; }
  .ar-decor--dots { top: 48%; }
}

@media (max-width: 680px) {
  .appointment-reviews { padding: 48px 0 58px; }
  .ar-container { width: calc(100% - 36px); gap: 38px; }
  .ar-appointment-panel { padding: 27px 23px; border-radius: 25px; }
  .ar-eyebrow { margin-bottom: 12px; font-size: 11px; }
  .ar-appointment-panel h2 { font-size: clamp(31px, 8vw, 40px); }
  .ar-intro { margin: 12px 0 21px; font-size: 16px; }
  .ar-actions { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .ar-action { min-height: 54px; justify-content: flex-start; padding-inline: 22px; }
  .ar-action span { flex: 1; text-align: center; }
  .ar-divider { gap: 10px; margin: 24px 0 17px; }
  .ar-divider p { font-size: 9px; letter-spacing: .12em; }
  .ar-hours-card { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 15px; }
  .ar-icon-box { width: 46px; height: 46px; border-radius: 14px; }
  .ar-icon-box img { width: 26px; height: 26px; }
  .ar-hours-heading { grid-column: 2 / -1; }
  .ar-hours-heading p { display: none; }
  .ar-hours-detail { grid-column: 2 / -1; padding: 10px 0 0; border-top: 1px solid rgba(125,168,218,.3); border-left: 0; }
  .ar-hours-detail--urgent { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; padding-left: 58px; }
  .ar-office-card { grid-template-columns: 44px minmax(0, 1fr); gap: 11px; padding: 14px; }
  .ar-office-card .ar-icon-box { grid-row: span 2; }
  .ar-office-card h3 { font-size: 14px; }
  .ar-office-card address { font-size: 12px; }
  .ar-map-link { grid-column: 2; justify-self: start; min-height: 44px; margin-top: 3px; }
  .ar-testimonials { padding-inline: 0; }
  .ar-testimonials .ar-eyebrow { margin-bottom: 10px; }
  .ar-testimonials h2 { font-size: clamp(30px, 8vw, 38px); }
  .ar-testimonials-intro { margin: 11px 0 18px; font-size: 14px; }
  .ar-review-list { gap: 0; }
  .ar-review-card { min-height: 166px; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 17px 15px; border-radius: 18px; }
  .ar-avatar { width: 46px; height: 46px; }
  .ar-review-body blockquote { margin: 0 23px 14px 0; font-size: 14px; }
  .ar-review-meta { gap: 4px 9px; font-size: 10px; }
  .ar-review-meta strong { flex-basis: 100%; font-size: 12px; }
  .ar-review-meta a { margin-left: 0; }
  .ar-controls { margin-top: 12px; }
  .ar-dot { width: 29px; }
  .ar-arrow { width: 46px; height: 46px; }
  .ar-decor--orbits { top: -24px; right: -140px; width: 340px; opacity: .52; }
  .ar-decor--renal { top: 49%; right: -88px; width: 175px; opacity: .10; }
  .ar-decor--glow { right: -115px; bottom: 13%; width: 280px; }
  .ar-decor--dots { top: 41%; left: -42px; width: 112px; opacity: .45; }
}

@media (max-width: 360px) {
  .ar-container { width: calc(100% - 28px); }
  .ar-appointment-panel { padding-inline: 18px; }
  .ar-hours-card { grid-template-columns: 42px minmax(0, 1fr) minmax(0, .9fr); padding-inline: 12px; }
  .ar-hours-detail--urgent { padding-left: 52px; }
  .ar-office-card { grid-template-columns: 40px minmax(0, 1fr); }
  .ar-map-link { white-space: normal; }
  .ar-controls { gap: 8px; }
  .ar-dots { gap: 0; }
  .ar-dot { width: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .appointment-reviews *, .appointment-reviews *::before, .appointment-reviews *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
