@font-face {
  font-family: "Manrope";
  src: url("/assets/san-agustin-ux/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/san-agustin-ux/hanken-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #20409a;
  --navy: #102153;
  --ink: #0b1430;
  --page-bg: #102650;
  --page-panel: #173361;
  --page-text: #f4f7ff;
  --page-muted: #c6d3ea;
  --page-accent: #bed2ff;
  --page-line: #52698f;
  --pattern-ink: #bed2ff;
  --pattern-opacity: .075;
  --mist: #d2e0f3;
  --surface: #eef4fc;
  --surface-raised: #f7faff;
  --white: #ffffff;
  --muted: #4b5a73;
  --focus-ring: #bed2ff;
  --line: #becde4;
  --content-heading: var(--page-text);
  --content-text: var(--page-text);
  --content-muted: var(--page-muted);
  --content-link: var(--page-accent);
  --content-line: var(--page-line);
  --font-heading: "Manrope", sans-serif;
  --font-body: "Hanken Grotesk", sans-serif;
  --page-gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--content-text); background: var(--page-bg); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body, button { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
::selection { background: #d5dff8; color: var(--ink); }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--page-gutter); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; left: 16px; top: 10px; z-index: 200; padding: 10px 18px; transform: translateY(-180%); border-radius: 6px; color: var(--white); background: var(--navy); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border: 1px solid transparent; border-radius: 7px; padding: 13px 18px; font-family: var(--font-body); font-size: 16px; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #17317b; }
.button-outline { color: var(--content-link); background: transparent; border-color: #b7c3df; }
.button-outline:hover { color: var(--blue); background: #e9eef9; }
.button-light { color: var(--blue); background: var(--white); }
.button-light:hover { background: #e9eef9; }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 0; border: 0; color: var(--content-link); background: transparent; font-weight: 700; line-height: 1.35; text-decoration: underline; text-decoration-color: #a1afd0; text-underline-offset: 5px; }
.text-link:hover { text-decoration-color: currentColor; }
.eyebrow { color: var(--content-link); font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; }

/* Content colors follow the surface. Brand colors remain stable for buttons,
   photographs, the white header and the light cards inside the dark canvas. */
:is(.site-header, .mobile-menu-content, .service-card-link, .branch-card, .mobile-cta,
    .contact-dialog, .measurement-dialog, .service-detail-figure,
    .service-detail-section-figure, .service-detail-index, .service-detail-resource-card,
    .service-detail-region-grid article, .branch-detail-photo, .branch-detail-services a,
    .institutional-portrait, .institutional-profile-intro, .institutional-registration,
    .institutional-visitor-areas li, .institutional-practice-card,
    .institutional-contact-card, .institutional-branch-card, .institutional-legal-reading) {
  --content-heading: var(--navy);
  --content-text: var(--ink);
  --content-muted: var(--muted);
  --content-link: var(--blue);
  --content-line: var(--line);
  --focus-ring: var(--blue);
  color: var(--ink);
}

.hero-appointment, .service-detail-contact .service-detail-appointment {
  color: var(--blue);
  background: var(--white);
  border-color: var(--white);
}
.hero-appointment:hover, .service-detail-contact .service-detail-appointment:hover {
  color: var(--blue);
  background: #e7efff;
  border-color: #e7efff;
}
.service-detail-resource-card:focus-visible, .branch-detail-services a:focus-visible {
  outline-color: var(--focus-ring);
}

/* A small, stable header leaves the first screen to the message and contact. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--content-line); background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; min-width: 0; padding-block: 9px; }
.brand img { width: 180px; height: auto; object-fit: contain; object-position: left center; }
.desktop-nav { display: none; }
.site-menu > summary { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 72px; min-height: 44px; padding: 8px 0 8px 8px; color: var(--content-heading); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
.menu-icon { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 18px; height: 22px; }
.menu-icon span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .18s ease; }
.site-menu[open] .menu-icon span:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-menu[open] .menu-icon span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu-content { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; max-height: calc(100svh - 74px); max-height: calc(100dvh - 74px); overflow-y: auto; overscroll-behavior: contain; padding: 12px var(--page-gutter) calc(24px + env(safe-area-inset-bottom, 0px)); border-bottom: 1px solid var(--content-line); background: var(--white); box-shadow: 0 18px 25px rgb(16 33 83 / .09); }
.mobile-menu-content > a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--content-line); color: var(--content-heading); font-weight: 600; }
.mobile-menu-content .button { width: 100%; margin-top: 22px; }
.mobile-menu-content > p { margin-top: 15px; color: var(--content-muted); font-size: 14px; text-align: center; }

/* Continuous pattern layers are generated inside each surface by the build. */
.pattern-surface { position: relative; isolation: isolate; }
.hero-pattern { display: none; }

/* Mobile follows the DOM: photograph, then heading, supporting copy and CTA. */
.hero { overflow: hidden; background: var(--page-panel); }
.hero-layout { max-width: 1440px; margin-inline: auto; }
.hero-copy { min-width: 0; padding: 29px var(--page-gutter) 28px; }
.hero h1 { max-width: 14ch; margin-top: 16px; color: var(--content-heading); font-size: clamp(38px, 9.4vw, 48px); font-weight: 750; line-height: 1.075; letter-spacing: -.052em; overflow-wrap: break-word; }
.hero-description { max-width: 35ch; margin-top: 18px; color: var(--content-muted); font-size: 18px; line-height: 1.5; overflow-wrap: break-word; }
.hero-appointment { width: 100%; max-width: 350px; min-height: 54px; margin-top: 24px; }
.hero-help { margin-top: 10px; color: var(--content-muted); font-size: 14px; }
.hero-media { display: block; width: 100%; aspect-ratio: 1.42; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

.section-block { padding-block: 54px; }
.section-heading { margin-bottom: 27px; }
.section-heading h2 { max-width: 18ch; color: var(--content-heading); font-size: clamp(29px, 7.8vw, 38px); line-height: 1.15; }
.section-heading > p { max-width: 46ch; margin-top: 16px; color: var(--content-muted); font-size: 17px; line-height: 1.55; }
/* Full service cards keep the alternating image/text layout at every width. */
.services-section .section-heading { margin-bottom: 30px; }
.service-cards { position: relative; min-width: 0; isolation: isolate; }
.service-card { position: relative; min-width: 0; margin: 0 0 24px; border-radius: 14px; scroll-margin-block: 104px 108px; }
.service-card:last-child { margin-bottom: 0; }
.service-card-link { --service-card-min-height: 270px; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); grid-template-areas: "media copy"; min-width: 0; min-height: var(--service-card-min-height); overflow: hidden; border: 1px solid var(--content-line); border-radius: inherit; color: var(--content-text); background: var(--surface); box-shadow: 0 8px 26px rgb(16 33 83 / .045); scroll-margin-block: 104px 108px; transform-origin: center top; }
/* One decorative layer shades photo and copy together, within this card only. */
.service-card-link::after { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; background: var(--ink); opacity: 0; pointer-events: none; }
.service-card:nth-child(even) .service-card-link { grid-template-columns: minmax(0, .62fr) minmax(0, .38fr); grid-template-areas: "copy media"; }
/* The media panel fills its entire grid area, from top to bottom and edge to
   edge. Photos cover the panel; its height follows the card, not the bitmap. */
.service-card-media { position: relative; grid-area: media; align-self: stretch; min-width: 0; min-height: 100%; overflow: hidden; background: var(--mist); }
.service-card-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-card[data-service-id="ortopedia"] .service-card-media img { object-position: 60% center; }
.service-card[data-service-id="consulta"] .service-card-media img { object-position: 30% center; }
.service-card[data-service-id="cirugia"] .service-card-media img { object-position: 45% center; }
.service-card[data-service-id="odontologia"] .service-card-media img { object-position: center 85%; }
.service-card[data-service-id="diagnostico"] .service-card-media img { object-position: 52% center; }
.service-card[data-service-id="certificados"] .service-card-media img { object-position: 52% center; }
/* Isolated 3D instruments keep their complete silhouette while the continuous
   blue media surface fills the same full-height panel as the photographs. */
.service-card--illustration .service-card-media img { object-fit: contain; }
.service-card-copy { display: flex; grid-area: copy; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 26px 16px; }
.service-card-copy h3 { max-width: 20ch; color: var(--content-heading); font-size: clamp(20px, 5.6vw, 26px); line-height: 1.18; letter-spacing: -.035em; overflow-wrap: normal; word-break: normal; -webkit-hyphens: none; hyphens: none; }
.service-card-copy p { max-width: 39ch; margin-top: 13px; color: var(--content-muted); font-size: 15px; line-height: 1.55; overflow-wrap: break-word; }
.service-card-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 19px; color: var(--content-link); font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: underline; text-decoration-color: #a1afd0; text-underline-offset: 4px; }
.service-card-action .icon { width: 18px; height: 18px; flex-basis: 18px; }
.service-card-link:hover .service-card-action { text-decoration-color: currentColor; }
.service-card-link:focus-visible { outline: 3px solid var(--page-accent); outline-offset: 5px; }
.service-cards[data-scroll-ready="true"] .service-card { position: sticky; top: var(--service-sticky-top, 98px); z-index: var(--service-card-index, 1); }
.service-cards[data-scroll-ready="true"] .service-card-link { transform: scale(var(--service-card-scale, 1)); }
.service-cards[data-scroll-ready="true"] .service-card-link::after { opacity: var(--service-card-shade, 0); }
/* Only keyboard/programmatic focus resets the layout; pointer focus keeps its target still. */
.service-cards[data-focus-navigation="true"] .service-card { position: relative !important; top: auto !important; z-index: auto !important; }
.service-cards[data-focus-navigation="true"] .service-card-link { transform: none !important; }
.service-cards[data-focus-navigation="true"] .service-card-link::after { opacity: 0 !important; }

/* A change of background and scale gives the physician a distinct place. */
.team-section { --focus-ring: #b8ccff; padding-block: 40px 48px; color: var(--white); background: var(--navy); }
.team-layout { display: grid; gap: 30px; }
.team-portrait { width: 100%; max-width: 400px; overflow: hidden; border-radius: 8px; background: #dfe5ed; }
.team-portrait img { width: 100%; height: auto; object-fit: contain; }
.team-copy .eyebrow { color: #bbcbee; }
.team-copy h2 { max-width: 15ch; margin-top: 16px; font-size: 35px; line-height: 1.12; }
.team-copy > p:not(.eyebrow) { max-width: 39ch; margin-top: 18px; color: #d0d9ed; font-size: 17px; line-height: 1.65; }
.team-link { margin-top: 22px; color: var(--white); font-size: 16px; text-decoration-color: #8095c1; }

.locations-section { background: var(--page-bg); }
.branches-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.branch-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--content-line); border-radius: 20px; background: var(--surface); box-shadow: 0 12px 32px rgb(16 33 83 / .055); }
.branch-identity { min-width: 0; padding: 24px 20px 22px; background: var(--surface-raised); }
.branch-identity h3 { margin-top: 8px; color: var(--content-heading); font-size: clamp(30px, 7.6vw, 36px); line-height: 1.15; }
.branch-identity h3 a { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; min-height: 44px; }
.branch-name { min-width: 0; overflow-wrap: break-word; }
.branch-title-arrow { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #dce3f0; border-radius: 50%; color: var(--content-link); background: var(--surface); }
.branch-title-arrow .icon { width: 18px; height: 18px; flex-basis: 18px; }
.branch-identity h3 a:hover .branch-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.branch-focus { max-width: 39ch; margin-top: 14px; color: var(--content-muted); font-size: 16px; line-height: 1.5; }
.branch-visual { min-width: 0; background: var(--mist); }
.branch-photo { display: block; width: 100%; height: auto; object-fit: contain; }
.branch-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 24px 20px 22px; }
.branch-details { display: grid; gap: 22px; min-width: 0; padding-bottom: 26px; }
.branch-info { min-width: 0; }
.branch-info-title { display: flex; align-items: center; gap: 8px; color: var(--content-link); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; }
.branch-info-title .icon { width: 18px; height: 18px; flex-basis: 18px; }
.branch-address { margin: 10px 0 0; color: var(--content-text); font-size: 16px; font-style: normal; line-height: 1.6; overflow-wrap: break-word; }
.branch-hours { display: grid; gap: 7px; margin: 10px 0 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.branch-hours > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 14px; row-gap: 3px; min-width: 0; }
.branch-hours dt { color: var(--content-muted); }
.branch-hours dd { margin: 0; color: var(--content-text); font-weight: 600; }
.branch-appointment { width: 100%; min-height: 52px; margin-top: auto; padding-inline: 14px; font-size: 15px; }
.branch-secondary-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
.branch-secondary-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 46px; padding: 8px 6px; color: var(--content-link); font-size: 15px; font-weight: 600; line-height: 1.4; text-align: center; }
.branch-secondary-actions a + a { border-left: 1px solid var(--content-line); }
.branch-secondary-actions .icon { width: 16px; height: 16px; flex-basis: 16px; }
.branch-secondary-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.branch-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--content-line); color: var(--content-muted); font-size: 14px; line-height: 1.55; }

.site-footer { --focus-ring: #b8ccff; padding-top: 40px; color: var(--white); background: var(--ink); }
.footer-main { display: flex; flex-direction: column; gap: 24px; }
.footer-brand { min-width: 0; }
.footer-brand img { width: 200px; height: auto; object-fit: contain; object-position: left center; }
.footer-brand p { margin-top: 17px; color: #c0cce3; font-size: 14px; line-height: 1.7; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; min-width: 0; }
.footer-nav a, .footer-nav button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; border: 0; color: #e0e7f4; background: transparent; font-size: 14px; line-height: 1.5; text-align: left; }
.footer-nav button { grid-column: 1 / -1; }
.footer-nav a:hover, .footer-nav button:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-nav .icon { width: 16px; height: 16px; flex-basis: 16px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 24px; row-gap: 4px; margin-top: 27px; padding-top: 18px; padding-bottom: calc(23px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #263453; }
.footer-bottom p { color: #a9b7d1; font-size: 12px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: #c0cce3; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.mobile-cta { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--content-line); background: rgb(238 244 252 / .98); box-shadow: 0 -5px 22px rgb(16 33 83 / .08); }
.mobile-cta .button { width: 100%; min-height: 50px; }

@media (max-width: 359px) {
  :root { --page-gutter: 16px; }
  .brand img { width: 161px; }
  .header-inner { gap: 10px; }
  .hero-copy { padding-top: 25px; }
  .hero h1 { font-size: 36px; }
  .hero-description { font-size: 17px; }
  .hero-appointment, .mobile-cta .button { gap: 7px; padding-inline: 11px; font-size: 15px; }
  .branch-identity, .branch-body { padding-inline: 18px; }
  .branch-appointment { gap: 6px; padding-inline: 12px; }
}

@media (min-width: 600px) {
  :root { --page-gutter: 32px; }
  .hero-copy { padding-block: 45px 38px; }
  .hero h1 { max-width: 16ch; font-size: 54px; }
  .hero-media { aspect-ratio: 1.9; max-height: 430px; }
  .hero-description { max-width: 39ch; font-size: 20px; }
  .hero-appointment { width: auto; min-width: 298px; }
  .section-block { padding-block: 72px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { max-width: 24ch; font-size: 39px; }
  .team-section { --focus-ring: #b8ccff; padding-block: 54px; }
  .team-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 32px; }
  .team-copy h2 { font-size: 37px; }
  .team-copy > p:not(.eyebrow) { font-size: 17px; }
  .branch-identity { padding: 28px; }
  .branch-body { padding: 28px; }
  .branch-focus { font-size: 17px; }
  .branch-details { gap: 24px; padding-bottom: 28px; }
  .branch-appointment { font-size: 16px; }
  .footer-main { flex-direction: row; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 50px; }
  .footer-nav { min-width: 310px; }
}

@media (min-width: 900px) {
  :root { --page-gutter: 36px; }
  .header-inner { min-height: 84px; }
  .brand img { width: 196px; }
  .site-menu { display: none; }
  .desktop-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; column-gap: 23px; min-width: 0; }
  .desktop-nav > a { display: inline-flex; align-items: center; min-width: 0; min-height: 44px; color: var(--content-heading); font-size: 14px; font-weight: 600; overflow-wrap: break-word; }
  .desktop-nav > a:hover { text-decoration: underline; text-underline-offset: 6px; }
  /* Desktop keeps the photograph across the entire hero, behind the copy. */
  .hero-layout { --focus-ring: #ffffff; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; max-width: none; min-height: clamp(566px, 46vw, 720px); background: var(--navy); }
  .hero-layout::after { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 44%; pointer-events: none; background: linear-gradient(90deg, rgb(7 18 43 / .91) 0%, rgb(7 18 43 / .80) 45%, rgb(7 18 43 / .62) 65%, rgb(7 18 43 / .25) 84%, rgb(7 18 43 / 0) 100%); }
  .hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; max-width: 1240px; margin-inline: auto; padding: 72px var(--page-gutter); }
  .hero-copy .eyebrow { color: var(--white); }
  /* Keep the headline inside the dark copy zone even on ultrawide screens, so
     it never crosses Agustín's face as the viewport grows. */
  .hero h1 { max-width: min(14ch, 38vw, 500px); color: var(--white); font-size: clamp(49px, 4.7vw, 65px); text-shadow: 0 2px 14px rgb(3 12 30 / .4); }
  .hero-description { max-width: min(30ch, 34vw); margin-top: 25px; color: var(--white); font-size: 19px; text-shadow: 0 1px 6px rgb(3 12 30 / .55); }
  .hero-appointment { margin-top: 28px; color: var(--blue); background: var(--white); border-color: var(--white); box-shadow: 0 8px 24px rgb(3 12 30 / .16); }
  .hero-appointment:hover { color: var(--blue); background: #edf2ff; border-color: #edf2ff; }
  .hero-appointment:focus-visible { outline-color: var(--white); outline-offset: 5px; }
  .hero-help { color: var(--white); font-size: 14px; }
  .hero-media { position: absolute; z-index: 0; inset: 0; width: 100%; min-height: 0; height: 100%; max-height: none; aspect-ratio: auto; pointer-events: none; }
  .hero-media img { object-position: 58% 15%; }
  .section-block { padding-block: 88px; }
  .section-heading h2 { font-size: 43px; }
  .team-section { --focus-ring: #b8ccff; padding-block: 65px; }
  .team-layout { grid-template-columns: .95fr 1.05fr; gap: 75px; }
  .team-portrait { max-width: 445px; }
  .team-copy h2 { max-width: 14ch; font-size: 48px; }
  .team-copy > p:not(.eyebrow) { max-width: 34ch; font-size: 19px; }
  .team-link { margin-top: 29px; font-size: 17px; }
  .locations-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
  .locations-heading h2 { max-width: 18ch; }
  .locations-heading > p { max-width: 39ch; margin: 0 0 3px auto; }
  .branches-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { --focus-ring: #b8ccff; padding-top: 45px; }
  .footer-nav { grid-template-columns: repeat(3, auto); column-gap: 33px; }
  .footer-nav a, .footer-nav button { font-size: 15px; }
  .footer-bottom { margin-top: 32px; }
  .mobile-cta { display: none !important; }
}

@media (min-width: 1100px) {
  .branch-details { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; column-gap: 24px; }
}

@media (min-width: 1200px) {
  .desktop-nav { gap: 31px; }
  .desktop-nav > a { font-size: 15px; }
  .hero h1 { font-size: 65px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Keep the filled WhatsApp mark square, independently of outline icon sizes. */
svg.icon.icon-whatsapp { display: block; width: 21px; height: 21px; min-width: 21px; min-height: 21px; flex: 0 0 21px; aspect-ratio: 1; fill: currentColor; stroke: none; }

/* Service cards remain side by side on narrow screens; only proportions change. */
@media (max-width: 359px) {
  .service-card-link { --service-card-min-height: 260px; }
  .service-card-copy { padding: 23px 13px; }
  .service-card-copy h3 { font-size: 20px; }
  .service-card-copy p { font-size: 14px; }
  .service-card-action { gap: 6px; font-size: 13px; }
  .service-card-action .icon { width: 16px; height: 16px; flex-basis: 16px; }
}

@media (min-width: 600px) {
  .services-section .section-heading { margin-bottom: 38px; }
  .service-card { margin-bottom: 30px; border-radius: 18px; }
  .service-card-link { --service-card-min-height: 318px; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); }
  .service-card:nth-child(even) .service-card-link { grid-template-columns: minmax(0, .54fr) minmax(0, .46fr); }
  .service-card-copy { padding: 32px 30px; }
  .service-card-copy h3 { font-size: 30px; }
  .service-card-copy p { margin-top: 17px; font-size: 17px; }
  .service-card-action { margin-top: 24px; font-size: 16px; }
}

@media (min-width: 900px) {
  .hero-pattern { position: absolute; z-index: 2; inset: 0 auto 0 0; display: block; width: 44%; pointer-events: none; background-image: repeating-linear-gradient(45deg, #fff 0 2.6667px, transparent 2.6667px 16px); background-repeat: no-repeat; opacity: .055; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 48%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 48%, transparent 100%); }
  .service-card { margin-bottom: 34px; scroll-margin-block: 114px 32px; }
  .service-card-link { --service-card-min-height: 356px; scroll-margin-block: 114px 32px; }
  .service-card-copy { padding: 42px 45px; }
  .service-card-copy h3 { max-width: 20ch; font-size: clamp(31px, 3vw, 40px); }
  .service-card-copy p { font-size: 18px; }
  .service-card-action { margin-top: 28px; font-size: 17px; }
}

@media (min-width: 1200px) {
  .service-card-link { --service-card-min-height: 386px; }
  .service-card-copy { padding: 50px 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-cards[data-scroll-ready] .service-card { position: relative !important; top: auto !important; z-index: auto !important; }
  .service-cards[data-scroll-ready] .service-card-link { transform: none !important; }
  .service-cards[data-scroll-ready] .service-card-link::after { opacity: 0 !important; }
}

@media (forced-colors: active), print {
  .service-card-link::after { display: none; }
}

/* Mobile photo and copy share one dark surface and one continuous pattern.
   Fade the lower image to transparency while the face stays fully opaque. */
@media (max-width: 899px) {
  .hero {
    --hero-mobile-bg: #0a1630;
    --hero-mobile-fade: linear-gradient(180deg,
      #fff 0%, #fff 62%,
      rgb(255 255 255 / .92) 72%,
      rgb(255 255 255 / .60) 82%,
      rgb(255 255 255 / .18) 93%,
      rgb(255 255 255 / 0) 100%);
    background: var(--hero-mobile-bg);
  }
  .hero-media img {
    -webkit-mask-image: var(--hero-mobile-fade);
    mask-image: var(--hero-mobile-fade);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    margin-top: clamp(-42px, -8vw, -24px);
    padding-top: 12px;
  }
}

.contact-dialog {
  position: fixed;
  inset: 0;
  width: min(680px, calc(100% - 48px));
  max-width: none;
  max-height: min(88vh, 850px);
  max-height: min(88dvh, 850px);
  margin: auto;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 50%);
  border-radius: 26px;
  overflow: hidden;
  color: var(--ink, #0b1430);
  background: var(--surface-raised, #f7faff);
  box-shadow: 0 28px 100px rgb(5 16 43 / 28%);
  font-family: var(--font-body, "Hanken Grotesk"), sans-serif;
}

.contact-dialog:not([open]), .contact-dialog [hidden] { display: none !important; }
.contact-dialog::backdrop { background: rgb(7 17 42 / 66%); backdrop-filter: blur(4px); }
.contact-dialog *, .contact-dialog *::before, .contact-dialog *::after { box-sizing: border-box; }
.contact-sheet { display: flex; flex-direction: column; max-height: min(88vh, 850px); max-height: min(88dvh, 850px); }
.contact-dialog[open] .contact-sheet { animation: contact-appear 180ms ease-out; }
.contact-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 10px; flex-shrink: 0; }
.contact-eyebrow { margin: 0 0 7px; color: var(--blue, #20409a); font-size: .75rem; line-height: 1.4; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.contact-header h2 { margin: 0; font: 700 clamp(1.4rem, 4.6vw, 1.85rem)/1.2 var(--font-heading, "Manrope"), sans-serif; letter-spacing: -.035em; }
.contact-header h2:focus { outline: none; }
.contact-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line, #dce2ec); border-radius: 50%; color: var(--navy, #102153); background: var(--surface-raised, #f7faff); cursor: pointer; }
.contact-close:hover { background: var(--mist, #f2f4f8); }
.contact-body { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; padding: 4px 28px 20px; }
.contact-intro { max-width: 53ch; margin: 0 0 20px; color: var(--muted, #52617a); font-size: 1rem; line-height: 1.5; }
.contact-context { display: flex; flex-direction: column; gap: 3px; padding: 12px 15px; margin: 0 0 16px; border-left: 3px solid var(--blue, #20409a); border-radius: 0 10px 10px 0; background: var(--mist, #d2e0f3); }
.contact-context > span { font-size: .75rem; line-height: 1.4; color: var(--muted, #52617a); }
.contact-context > strong { font-size: .96rem; line-height: 1.4; font-weight: 650; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 12px; min-width: 0; border: 0; padding: 0; margin: 0; }
.contact-choice { display: block; position: relative; min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* The entire card is the label and touch target for its native radio control. */
.contact-choice input { position: absolute; z-index: 1; top: 18px; right: 16px; margin: 0; width: 21px; height: 21px; accent-color: var(--blue, #20409a); cursor: pointer; }
.contact-choice-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 17px 16px 16px; border: 1.5px solid var(--line, #dce2ec); border-radius: 16px; background: var(--surface-raised, #f7faff); transition: border-color 140ms ease, background-color 140ms ease; }
.contact-choice-name { display: block; padding-right: 29px; font: 750 1.09rem/1.4 var(--font-heading, "Manrope"), sans-serif; letter-spacing: -.02em; }
.contact-choice-focus { display: block; color: var(--ink, #0b1430); font-size: .93rem; line-height: 1.45; }
.contact-choice-address { display: block; color: var(--muted, #52617a); font-size: .83rem; line-height: 1.45; }
.contact-choice-hours { display: block; margin-top: auto; padding-top: 9px; color: var(--navy, #102153); font-size: .82rem; line-height: 1.4; font-weight: 650; }
.contact-choice-status { display: block; margin-top: -5px; font-size: .75rem; line-height: 1.45; color: var(--muted, #52617a); }
.contact-choice-status[data-state="within-schedule"] { color: var(--blue, #20409a); }
.contact-choice input:checked + .contact-choice-card { border-color: var(--blue, #20409a); background: var(--mist, #d2e0f3); box-shadow: inset 0 0 0 .5px var(--blue, #20409a); }
.contact-choice:hover .contact-choice-card { border-color: #a6b4d6; }
.contact-choice input:checked + .contact-choice-card { border-color: var(--blue, #20409a); }
.contact-choice input:focus-visible + .contact-choice-card { outline: 3px solid var(--blue, #20409a); outline-offset: 3px; }
.contact-hours-note { margin: 13px 0 0; font-size: .76rem; line-height: 1.5; color: var(--muted, #52617a); }
.contact-more { margin-top: 17px; border-top: 1px solid var(--line, #dce2ec); }
.contact-more summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 11px 0; color: var(--navy, #102153); cursor: pointer; list-style: none; font-size: .88rem; line-height: 1.5; }
.contact-more summary::-webkit-details-marker { display: none; }
.contact-more summary > svg { flex-shrink: 0; transition: transform 140ms ease; }
.contact-more[open] summary > svg { transform: rotate(180deg); }
.contact-more-content { padding: 0 0 5px; }
.contact-hours-list { display: grid; gap: 5px; margin: 1px 0 14px; padding: 0; list-style: none; color: var(--ink, #0b1430); font-size: .9rem; line-height: 1.45; }
.contact-full-address { margin: 0; color: var(--muted, #52617a); font-size: .88rem; line-height: 1.5; }
.contact-detail-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin: 5px 0; }
.contact-info-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 0; color: var(--blue, #20409a); font-size: .86rem; line-height: 1.4; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.contact-info-link > svg { flex-shrink: 0; }
.contact-emergency-note { padding: 12px 13px; margin: 8px 0 0; border-radius: 9px; color: var(--muted, #52617a); background: var(--mist, #f2f4f8); font-size: .82rem; line-height: 1.5; }
.contact-actions { flex-shrink: 0; padding: 15px 28px 22px; border-top: 1px solid var(--line, #dce2ec); background: var(--surface-raised, #f7faff); }
.contact-feedback { min-height: 1.45em; margin: 0 0 10px; font-size: .87rem; line-height: 1.45; color: var(--muted, #52617a); }
.contact-main-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; padding: 13px 16px; border: 1px solid var(--blue, #20409a); border-radius: 11px; color: #fff; background: var(--blue, #20409a); font-size: .98rem; font-weight: 650; line-height: 1.4; text-decoration: none; }
.contact-main-link > svg { flex-shrink: 0; }
.contact-main-link[aria-disabled="true"] { border-color: #dce3ef; background: #e8edf5; color: #52617a; cursor: default; box-shadow: none; }
.contact-main-link[aria-disabled="true"] .contact-link-arrow { opacity: .5; }
.contact-main-link:not([aria-disabled="true"]):hover { background: #19337e; }
.contact-send-note { margin: 10px 0 0; color: var(--muted, #52617a); font-size: .75rem; line-height: 1.5; text-align: center; }
.contact-dialog :is(button, a, summary):focus-visible { outline: 3px solid var(--blue, #20409a); outline-offset: 3px; }
.contact-dialog .contact-main-link:focus-visible { outline-offset: 4px; }
.contact-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
html.contact-bar-visible { scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

@keyframes contact-appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 640px) {
  .contact-dialog { inset: auto 0 0; width: 100%; max-height: 93vh; max-height: 93dvh; margin: 0; border: 0; border-radius: 24px 24px 0 0; }
  .contact-sheet { max-height: 93vh; max-height: 93dvh; }
  .contact-header { padding: 22px 20px 10px; }
  .contact-header h2 { font-size: 1.5rem; }
  .contact-body { padding: 3px 20px 18px; scrollbar-gutter: auto; }
  .contact-intro { font-size: .96rem; margin-bottom: 16px; }
  .contact-options { grid-template-columns: 1fr; gap: 10px; }
  .contact-choice-card { gap: 6px; padding: 14px 15px; }
  .contact-choice input { top: 16px; right: 15px; }
  .contact-choice-name { font-size: 1.04rem; }
  .contact-choice-focus { font-size: .9rem; }
  .contact-choice-hours { margin-top: 2px; padding-top: 3px; }
  .contact-choice-status { margin-top: -3px; }
  .contact-actions { padding: 12px 20px max(15px, env(safe-area-inset-bottom, 0px)); }
  .contact-feedback { margin-bottom: 8px; }
  .contact-send-note { margin-top: 8px; }
}

@media (max-width: 359px) {
  .contact-header { padding-inline: 16px; gap: 10px; }
  .contact-body, .contact-actions { padding-inline: 16px; }
  .contact-main-link { font-size: .9rem; gap: 8px; padding-inline: 12px; }
  .contact-main-link .contact-link-arrow { display: none; }
}

/* A short viewport must not be consumed by the non-scrolling header and action. */
@media (max-height: 540px) {
  .contact-dialog { overflow-y: auto; overscroll-behavior-y: contain; }
  .contact-sheet { display: block; max-height: none; }
  .contact-body { overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dialog[open] .contact-sheet { animation: none; }
  .contact-choice-card, .contact-more summary > svg { transition: none; }
}

@media (forced-colors: active) {
  .contact-choice input:checked + .contact-choice-card { outline: 2px solid Highlight; outline-offset: -2px; }
  .contact-main-link[aria-disabled="true"] { color: GrayText; border-color: GrayText; }
}

/* Service content has its own selectors; the homepage hero is untouched. */
.service-detail { min-width: 0; }
.service-detail :is(h1, h2, h3, p, li, address, a, button) { overflow-wrap: break-word; }
.service-detail-arrow { display: block; flex: 0 0 21px; width: 21px; height: 21px; }
.service-detail svg.service-detail-whatsapp { display: block; width: 21px; height: 21px; min-width: 21px; min-height: 21px; flex: 0 0 21px; fill: currentColor; stroke: none; }

.service-detail-hero { padding-block: 12px 40px; background: var(--page-panel); }
.service-detail-breadcrumb { margin-bottom: 25px; color: var(--content-muted); font-size: 14px; }
.service-detail-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.service-detail-breadcrumb li { display: flex; align-items: center; gap: 12px; }
.service-detail-breadcrumb li + li::before { content: "/"; color: var(--content-muted); }
.service-detail-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.service-detail-breadcrumb a:hover { color: var(--content-link); }
.service-detail-hero-grid { display: grid; gap: 30px; min-width: 0; }
.service-detail-hero-copy { min-width: 0; }
.service-detail h1 { max-width: 19ch; margin-top: 16px; color: var(--content-heading); font-size: clamp(35px, 8.8vw, 48px); line-height: 1.09; letter-spacing: -.045em; }
.service-detail-summary { max-width: 40ch; margin-top: 22px; color: var(--content-muted); font-size: 18px; line-height: 1.6; }
.service-detail-appointment { gap: 9px; width: 100%; max-width: 360px; min-width: 0; min-height: 54px; margin-top: 27px; }
.service-detail-appointment > span { min-width: 0; }
.service-detail-cta-help { max-width: 41ch; margin-top: 11px; color: var(--content-muted); font-size: 14px; line-height: 1.5; }
.service-detail-no-script { margin-top: 14px; font-size: 15px; }
.service-detail-no-script a { text-decoration: underline; text-underline-offset: 4px; }
.service-detail-figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 10px; background: var(--surface); }
.service-detail-figure img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.service-detail-figure--contain { width: 100%; max-width: 580px; justify-self: center; }
.service-detail-figure--contain img { object-fit: contain; }
.service-detail[data-service-page="odontologia"] .service-detail-figure { width: 100%; max-width: 440px; justify-self: center; }
.service-detail-figure figcaption, .service-detail-section-figure figcaption { padding: 12px 16px 15px; color: var(--content-muted); font-size: 13px; line-height: 1.5; }

.service-detail-reading { max-width: 1120px; padding-top: 13px; padding-bottom: 42px; }
.service-detail-section { display: grid; gap: 20px; padding-block: 37px; border-bottom: 1px solid var(--content-line); }
.service-detail-section-copy { display: contents; }
.service-detail-section--visual .service-detail-section-copy { display: grid; gap: 20px; min-width: 0; }
.service-detail-section-figure { align-self: center; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--content-line); border-radius: 16px; background: var(--surface); }
.service-detail-section-figure img { width: 100%; height: auto; object-fit: contain; }
/* Bound portraits by width so the image keeps its full natural proportions. */
.service-detail-section-figure--portrait { width: 100%; max-width: 368px; justify-self: center; }
.service-detail-index { margin: 24px 0 4px; padding: 4px 20px; border: 1px solid var(--content-line); border-radius: 12px; background: var(--surface); }
.service-detail-index summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; color: var(--content-heading); font-size: 16px; font-weight: 700; list-style: none; cursor: pointer; }
.service-detail-index summary::-webkit-details-marker { display: none; }
.service-detail-index summary span { font-size: 24px; font-weight: 500; }
.service-detail-index[open] summary span { transform: rotate(45deg); }
.service-detail-index ul { display: grid; gap: 0 22px; margin: 5px 0 16px; padding: 0; list-style: none; }
.service-detail-index a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; color: var(--content-link); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.service-detail :is(.service-detail-section, .service-detail-faq, .service-detail-related, .service-detail-contact, .service-detail-locations) h2 { max-width: 23ch; color: var(--content-heading); font-size: clamp(27px, 7vw, 36px); line-height: 1.2; letter-spacing: -.03em; }
.service-detail-prose { min-width: 0; max-width: 65ch; color: var(--content-text); font-size: 17px; line-height: 1.75; }
.service-detail-prose p + p { margin-top: 19px; }
.service-detail-prose ul { display: grid; gap: 12px; margin: 19px 0 0; padding-left: 22px; }
.service-detail-prose ul:first-child { margin-top: 0; }
.service-detail-prose li { padding-left: 4px; }
.service-detail-prose li::marker { color: var(--content-link); }

.service-detail-faq { padding-top: 42px; }
.service-detail-faq-list { margin-top: 24px; }
.service-detail-question { border-top: 1px solid var(--content-line); }
.service-detail-question:last-child { border-bottom: 1px solid var(--content-line); }
.service-detail-question summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 18px; color: var(--content-heading); font-size: 17px; font-weight: 650; line-height: 1.5; list-style: none; cursor: pointer; }
.service-detail-question summary::-webkit-details-marker { display: none; }
.service-detail-question summary > span { min-width: 0; }
.service-detail-question summary > svg { flex: 0 0 21px; transition: transform .18s ease; }
.service-detail-question[open] summary > svg { transform: rotate(180deg); }
.service-detail-answer { max-width: 70ch; padding-bottom: 22px; color: var(--content-muted); font-size: 17px; line-height: 1.75; }

.service-detail-related { padding-block: 35px 46px; }
.service-detail-related-grid { display: grid; gap: 0 24px; margin-top: 23px; }
.service-detail-related-link { display: flex; align-items: center; gap: 15px; min-width: 0; min-height: 108px; padding-block: 19px; border-bottom: 1px solid var(--content-line); color: var(--content-heading); }
.service-detail-related-link > span { flex: 1; min-width: 0; font-family: var(--font-heading); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.service-detail-related-link:hover > span { color: var(--content-link); text-decoration: underline; text-underline-offset: 4px; }
.service-detail-related-link > .service-detail-arrow { flex-basis: 18px; width: 18px; height: 18px; color: var(--content-link); }
.service-detail-related-image { display: block; align-self: center; flex: 0 0 72px; width: 72px; height: 64px; border-radius: 5px; object-fit: cover; object-position: center; background: var(--mist); }

.service-detail-contact { padding-block: 40px; background: var(--page-panel); }
.service-detail-contact-inner { display: grid; gap: 24px; }
.service-detail-contact-inner > div { min-width: 0; }
.service-detail-contact-inner > div > p { max-width: 55ch; margin-top: 18px; color: var(--content-muted); font-size: 17px; line-height: 1.65; }
.service-detail-contact-action .service-detail-appointment { margin-top: 0; }
.service-detail-locations { padding-top: 42px; padding-bottom: 49px; }
.service-detail-locations-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 25px; }
.service-detail-locations-heading .text-link { font-size: 15px; }
.service-detail-locations-grid { display: grid; gap: 29px; margin-top: 26px; }
.service-detail-location { min-width: 0; padding-top: 23px; border-top: 1px solid var(--content-line); }
.service-detail-location h3 { color: var(--content-heading); font-size: 23px; line-height: 1.25; }
.service-detail-location address { margin-top: 12px; color: var(--content-muted); font-size: 15px; font-style: normal; line-height: 1.65; }
.service-detail-hours { display: grid; gap: 4px; margin: 16px 0 8px; padding: 0; color: var(--content-muted); font-size: 14px; line-height: 1.6; list-style: none; font-variant-numeric: tabular-nums; }
.service-detail-location-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 23px; }
.service-detail-location-links a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--content-link); font-size: 15px; font-weight: 650; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.service-detail-location-links .service-detail-arrow { width: 17px; height: 17px; flex-basis: 17px; }

@media (max-width: 359px) {
  .service-detail h1 { font-size: 34px; }
  .service-detail-summary { font-size: 17px; }
  .service-detail-appointment { gap: 7px; padding-inline: 11px; font-size: 15px; }
  .service-detail-related-link { gap: 12px; }
  .service-detail-related-image { flex-basis: 58px; width: 58px; height: 58px; }
  .service-detail-related-link > span { font-size: 16px; }
}

@media (min-width: 600px) {
  .service-detail-hero { padding-top: 17px; padding-bottom: 52px; }
  .service-detail-breadcrumb { margin-bottom: 31px; }
  .service-detail h1 { font-size: 49px; }
  .service-detail-summary { font-size: 19px; }
  .service-detail-appointment { width: auto; }
  .service-detail-hero-grid { gap: 38px; }
  .service-detail-reading { padding-top: 25px; padding-bottom: 49px; }
  .service-detail-section { padding-block: 42px; }
  .service-detail-prose, .service-detail-answer { font-size: 18px; }
  .service-detail-faq { padding-top: 46px; }
  .service-detail-question summary { font-size: 18px; }
  .service-detail-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
  .service-detail-related-link { gap: 12px; }
  .service-detail-related-image { flex-basis: 62px; width: 62px; height: 62px; }
  .service-detail-contact { padding-block: 48px; }
  .service-detail-locations { padding-block: 49px 60px; }
  .service-detail-locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}

@media (min-width: 900px) {
  .service-detail-hero { padding-bottom: 66px; }
  .service-detail-breadcrumb { margin-bottom: 32px; }
  .service-detail-hero-grid { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 45px; align-items: center; }
  .service-detail-hero-grid--text { grid-template-columns: minmax(0, 1fr); }
  .service-detail h1 { max-width: 17ch; font-size: clamp(43px, 4.1vw, 59px); }
  .service-detail-summary { max-width: 39ch; font-size: 19px; }
  .service-detail-figure { border-radius: 12px; }
  .service-detail-reading { padding-top: 32px; padding-bottom: 58px; }
  .service-detail-section { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 50px; padding-block: 49px; }
  .service-detail-section h2 { font-size: 32px; }
  .service-detail-section--visual { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; }
  .service-detail-section--reverse { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  .service-detail-section--reverse .service-detail-section-copy { grid-column: 2; grid-row: 1; }
  .service-detail-section--reverse .service-detail-section-figure { grid-column: 1; grid-row: 1; }
  .service-detail-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail-faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 50px; padding-top: 52px; }
  .service-detail-faq-list { min-width: 0; margin-top: 0; }
  .service-detail-faq h2 { font-size: 32px; }
  .service-detail-related { padding-block: 38px 58px; }
  .service-detail-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
  .service-detail-contact { padding-block: 55px; }
  .service-detail-contact-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 55px; align-items: center; }
  .service-detail-contact-action { justify-self: end; }
  .service-detail-locations { padding-block: 55px 66px; }
  .service-detail-locations-grid { gap: 48px; }
}

@media (min-width: 1200px) {
  .service-detail-hero-grid { gap: 66px; }
  .service-detail h1 { font-size: 59px; }
  .service-detail-related-grid { gap: 0 36px; }
  .service-detail-related-image { flex-basis: 76px; width: 76px; height: 67px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-detail-question summary > svg { transition: none; }
}

/* Contextual links also preserve published procedure routes and section fragments. */
.service-detail-prose a, .service-detail-location h3 a { color: var(--content-link); text-decoration: underline; text-underline-offset: 4px; }
.service-detail :is(.service-detail-resources, .service-detail-regions) { margin-top: 38px; }
.service-detail :is(.service-detail-resources, .service-detail-regions) h2 { color: var(--content-heading); font-size: clamp(26px, 4vw, 34px); line-height: 1.25; }
.service-detail-regions > p { max-width: 65ch; margin-top: 15px; color: var(--content-muted); font-size: 17px; line-height: 1.7; }
.service-detail :is(.service-detail-resources, .service-detail-regions) ul { margin: 16px 0 0; padding: 0; list-style: none; }
.service-detail :is(.service-detail-resources, .service-detail-regions) li + li { border-top: 1px solid var(--content-line); }
.service-detail :is(.service-detail-resources, .service-detail-regions) a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding-block: 10px; color: var(--content-link); font-size: 16px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.service-detail-region-grid { display: grid; gap: 28px; margin-top: 28px; }
.service-detail-region-grid article { min-width: 0; padding: 22px; border: 1px solid var(--content-line); border-radius: 16px; }
.service-detail-region-grid h3 { color: var(--content-heading); font-size: 21px; line-height: 1.3; }
@media (min-width: 900px) { .service-detail-region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* Illustrated links connect the service hubs with their specific treatments. */
.service-detail-resources ul.service-detail-resource-grid { display: grid; gap: 14px; margin-top: 23px; }
.service-detail-resources .service-detail-resource-grid li { min-width: 0; border: 0; }
.service-detail-resources a.service-detail-resource-card { display: flex; gap: 16px; height: 100%; min-height: 108px; padding: 14px; border: 1px solid var(--content-line); border-radius: 14px; background: var(--surface); text-decoration: none; }
.service-detail-resource-card > span { flex: 1; min-width: 0; font-weight: 650; }
.service-detail-resource-card:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.service-detail-resource-image { display: block; align-self: center; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 9px; object-fit: cover; object-position: center; background: var(--surface-raised); }
.service-detail-resource-card > svg { flex: 0 0 18px; width: 18px; height: 18px; }
.service-detail-region-grid article { background: var(--surface); }
@media (min-width: 700px) { .service-detail-resources ul.service-detail-resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 359px) { .service-detail-resource-image { flex-basis: 58px; width: 58px; height: 62px; } .service-detail-resources a.service-detail-resource-card { gap: 11px; padding: 12px; } }

/* Local branch content stays independent from homepage cards and service pages. */
.branch-detail { min-width: 0; }
.branch-detail :is(h1, h2, h3, p, li, address, a, button, dt, dd) { overflow-wrap: break-word; }
.branch-detail-arrow, .branch-detail-chevron { display: block; flex: 0 0 21px; width: 21px; height: 21px; }
.branch-detail svg.branch-detail-whatsapp { display: block; width: 21px; height: 21px; min-width: 21px; min-height: 21px; flex: 0 0 21px; fill: currentColor; stroke: none; }

.branch-detail-hero { padding-block: 12px 40px; background: var(--page-panel); }
.branch-detail-breadcrumb { margin-bottom: 25px; color: var(--content-muted); font-size: 14px; }
.branch-detail-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.branch-detail-breadcrumb li { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.branch-detail-breadcrumb li + li::before { content: "/"; color: var(--content-muted); }
.branch-detail-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.branch-detail-breadcrumb a:hover { color: var(--content-link); }
.branch-detail-hero-grid { display: grid; gap: 30px; min-width: 0; }
.branch-detail-hero-copy { min-width: 0; }
.branch-detail h1 { max-width: 18ch; margin-top: 15px; color: var(--content-heading); font-size: clamp(35px, 8.8vw, 48px); line-height: 1.09; letter-spacing: -.045em; }
.branch-detail-summary { max-width: 37ch; margin-top: 21px; color: var(--content-muted); font-size: 18px; line-height: 1.6; }
.branch-detail-appointment { gap: 9px; width: 100%; max-width: 360px; min-width: 0; min-height: 54px; margin-top: 25px; }
.branch-detail-appointment > span { min-width: 0; }
.branch-detail-cta-help { max-width: 39ch; margin-top: 11px; color: var(--content-muted); font-size: 14px; line-height: 1.5; }
.branch-detail-no-script { margin-top: 14px; font-size: 15px; }
.branch-detail-no-script a { text-decoration: underline; text-underline-offset: 4px; }
.branch-detail-photo { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--content-line); border-radius: 16px; background: var(--surface); }
.branch-detail-photo img { display: block; width: 100%; height: auto; object-fit: contain; }

.branch-detail :is(.branch-detail-location, .branch-detail-care, .branch-detail-faq, .branch-detail-sister) h2 { max-width: 24ch; color: var(--content-heading); font-size: clamp(27px, 7vw, 35px); line-height: 1.2; letter-spacing: -.03em; }
.branch-detail-location { padding-block: 42px; border-bottom: 1px solid var(--content-line); }
.branch-detail-location-grid { display: grid; gap: 28px; margin-top: 25px; }
.branch-detail-location-group { min-width: 0; }
.branch-detail-location-group h3 { color: var(--content-heading); font-size: 18px; line-height: 1.4; letter-spacing: -.015em; }
.branch-detail-location-group address { max-width: 47ch; margin-top: 13px; color: var(--content-text); font-size: 16px; font-style: normal; line-height: 1.65; }
.branch-detail-location-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 24px; row-gap: 4px; margin-top: 15px; }
.branch-detail-location-links a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; color: var(--content-link); font-size: 16px; font-weight: 650; line-height: 1.45; text-decoration: underline; text-underline-offset: 4px; }
.branch-detail-location-links .branch-detail-arrow { flex-basis: 18px; width: 18px; height: 18px; }
.branch-detail-hours { display: grid; gap: 8px; max-width: 390px; margin: 13px 0 0; font-size: 16px; font-variant-numeric: tabular-nums; }
.branch-detail-hours > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 18px; row-gap: 3px; }
.branch-detail-hours dt { color: var(--content-muted); }
.branch-detail-hours dd { margin: 0; color: var(--content-text); font-weight: 600; }
.branch-detail-emergency { max-width: 48ch; margin-top: 18px; color: var(--content-muted); font-size: 14px; line-height: 1.6; }

.branch-detail-reading { max-width: 1120px; padding-top: 40px; padding-bottom: 47px; }
.branch-detail-care { display: grid; gap: 21px; }
.branch-detail-prose { min-width: 0; max-width: 66ch; color: var(--content-text); font-size: 17px; line-height: 1.75; }
.branch-detail-prose p + p { margin-top: 17px; }
.branch-detail-services { margin: 23px 0 0; padding: 0; list-style: none; }
.branch-detail-services li { border-top: 1px solid var(--content-line); }
.branch-detail-services li:last-child { border-bottom: 1px solid var(--content-line); }
.branch-detail-services a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; min-height: 60px; padding-block: 14px; color: var(--content-heading); font-size: 17px; font-weight: 650; line-height: 1.5; }
.branch-detail-services a > span { min-width: 0; }
.branch-detail-services a:hover > span { color: var(--content-link); text-decoration: underline; text-underline-offset: 4px; }
.branch-detail-services .branch-detail-arrow { color: var(--content-link); }
.branch-detail-faq { padding-top: 43px; }
.branch-detail-faq-list { margin-top: 24px; }
.branch-detail-question { border-top: 1px solid var(--content-line); }
.branch-detail-question:last-child { border-bottom: 1px solid var(--content-line); }
.branch-detail-question summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 18px; color: var(--content-heading); font-size: 17px; font-weight: 650; line-height: 1.5; list-style: none; cursor: pointer; }
.branch-detail-question summary::-webkit-details-marker { display: none; }
.branch-detail-question summary > span { min-width: 0; }
.branch-detail-question .branch-detail-chevron { transition: transform .18s ease; }
.branch-detail-question[open] .branch-detail-chevron { transform: rotate(180deg); }
.branch-detail-answer { max-width: 68ch; padding-bottom: 22px; color: var(--content-muted); font-size: 17px; line-height: 1.75; }

.branch-detail-sister { padding-block: 38px; background: var(--page-panel); }
.branch-detail-sister-inner { display: grid; gap: 19px; }
.branch-detail-sister-inner > div { min-width: 0; }
.branch-detail-sister-inner p { max-width: 61ch; margin-top: 17px; color: var(--content-muted); font-size: 17px; line-height: 1.65; }
.branch-detail-sister-link { display: inline-flex; align-items: center; justify-self: start; gap: 10px; min-width: 0; min-height: 44px; color: var(--content-link); font-size: 16px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 359px) {
  .branch-detail h1 { font-size: 34px; }
  .branch-detail-summary { font-size: 17px; }
  .branch-detail-appointment { gap: 7px; padding-inline: 11px; font-size: 15px; }
}

@media (min-width: 600px) {
  .branch-detail-hero { padding-top: 17px; padding-bottom: 52px; }
  .branch-detail-breadcrumb { margin-bottom: 31px; }
  .branch-detail h1 { font-size: 48px; }
  .branch-detail-summary { font-size: 19px; }
  .branch-detail-appointment { width: auto; }
  .branch-detail-location { padding-block: 50px; }
  .branch-detail-location-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 38px; }
  .branch-detail-location-links { align-items: flex-start; flex-direction: column; }
  .branch-detail-reading { padding-top: 47px; padding-bottom: 55px; }
  .branch-detail-prose, .branch-detail-answer { font-size: 18px; }
  .branch-detail-faq { padding-top: 49px; }
  .branch-detail-question summary { font-size: 18px; }
  .branch-detail-sister { padding-block: 46px; }
}

@media (min-width: 900px) {
  .branch-detail-hero { padding-bottom: 64px; }
  .branch-detail-hero-grid { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: 44px; }
  .branch-detail h1 { max-width: 17ch; font-size: clamp(43px, 4.1vw, 58px); }
  .branch-detail-photo { border-radius: 20px; }
  .branch-detail-location { padding-block: 56px; }
  .branch-detail-location-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 70px; margin-top: 29px; }
  .branch-detail-location-links { flex-direction: row; }
  .branch-detail-reading { padding-top: 54px; padding-bottom: 64px; }
  .branch-detail-care { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 50px; }
  .branch-detail-faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 50px; padding-top: 56px; }
  .branch-detail-faq-list { min-width: 0; margin-top: 0; }
  .branch-detail-sister { padding-block: 51px; }
  .branch-detail-sister-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 50px; }
  .branch-detail-sister-link { justify-self: end; }
}

@media (min-width: 1200px) {
  .branch-detail-hero-grid { gap: 64px; }
  .branch-detail h1 { font-size: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .branch-detail-question .branch-detail-chevron { transition: none; }
}

/* Services retain images on branch pages as well as the homepage. */
.branch-detail-services { display: grid; gap: 14px; }
.branch-detail-services li, .branch-detail-services li:last-child { border: 0; }
.branch-detail-services a { gap: 15px; min-height: 110px; padding: 14px; border: 1px solid var(--content-line); border-radius: 14px; background: var(--surface); }
.branch-detail-services a > span { flex: 1; }
.branch-detail-service-image { display: block; align-self: center; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 8px; object-fit: cover; object-position: center; background: var(--surface-raised); }
@media (max-width: 359px) { .branch-detail-service-image { flex-basis: 58px; width: 58px; height: 62px; } .branch-detail-services a { gap: 11px; padding: 12px; font-size: 16px; } }

/* Expanded footer only. Existing homepage, service pages and their imagery are untouched. */
.site-footer.site-footer--expanded { padding: 37px 0 0; color: var(--white); background: var(--ink); }
.site-footer--expanded :is(h2, h3, p, a, button, address) { overflow-wrap: break-word; }
.site-footer--expanded :is(a, button):focus-visible { outline: 3px solid #a8c6ec; outline-offset: 4px; }
.site-footer--expanded a:hover, .site-footer--expanded button:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer--expanded .sa-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 17px 30px; padding-bottom: 27px; border-bottom: 1px solid #293753; }
.site-footer--expanded .sa-footer-brand { display: inline-flex; align-items: center; flex: 0 1 auto; min-width: 0; }
.site-footer--expanded .sa-footer-brand img { display: block; width: 204px; max-width: 100%; height: auto; }
.site-footer--expanded .sa-footer-overview { min-width: 0; }
.site-footer--expanded .sa-footer-overview ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.site-footer--expanded .sa-footer-overview a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 9px; color: #e0e7f4; font-size: 15px; font-weight: 600; line-height: 1.5; }
.site-footer--expanded .sa-footer-columns { display: grid; gap: 35px; padding-top: 29px; padding-bottom: 31px; }
.site-footer--expanded .sa-footer-columns > * { min-width: 0; }
.site-footer--expanded .sa-footer-heading { margin: 0; color: var(--white); font-family: var(--font-heading); font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.site-footer--expanded .sa-footer-service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 14px 0 0; padding: 0; list-style: none; }
.site-footer--expanded .sa-footer-service-links li { min-width: 0; }
.site-footer--expanded .sa-footer-service-links a { display: flex; align-items: flex-start; min-height: 44px; padding-block: 9px; color: #cbd6e9; font-size: 15px; line-height: 1.55; }
.site-footer--expanded .sa-footer-locations-grid { display: grid; gap: 25px; margin-top: 16px; }
.site-footer--expanded .sa-footer-location { min-width: 0; }
.site-footer--expanded .sa-footer-location + .sa-footer-location { padding-top: 20px; border-top: 1px solid #293753; }
.site-footer--expanded .sa-footer-location h3 { margin: 0; color: #f2f5fd; font-family: var(--font-heading); font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; }
.site-footer--expanded .sa-footer-location h3 a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; text-decoration: underline; text-decoration-color: #7285a6; text-underline-offset: 5px; }
.site-footer--expanded .sa-footer-location h3 a:hover { text-decoration-color: currentColor; }
.site-footer--expanded .sa-footer-address { margin: 6px 0 0; color: #cbd6e9; font-size: 15px; font-style: normal; line-height: 1.65; }
.site-footer--expanded .sa-footer-address p { max-width: 40ch; margin: 0; }
.site-footer--expanded :is(.sa-footer-phone, .sa-footer-map) { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; color: #e0e7f4; font-size: 15px; line-height: 1.5; text-decoration: underline; text-decoration-color: #7285a6; text-underline-offset: 4px; }
.site-footer--expanded .sa-footer-phone { margin-top: 5px; font-variant-numeric: tabular-nums; }
.site-footer--expanded .sa-footer-map { margin-top: 0; }
.site-footer--expanded .sa-footer-secondary { padding-top: 11px; padding-bottom: 25px; border-top: 1px solid #293753; }
.site-footer--expanded .sa-footer-procedures summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding-block: 13px; color: #e0e7f4; font-family: var(--font-heading); font-size: 16px; font-weight: 650; line-height: 1.5; list-style: none; cursor: pointer; }
.site-footer--expanded .sa-footer-procedures summary::-webkit-details-marker { display: none; }
.site-footer--expanded .sa-footer-procedures summary:focus-visible { outline: 3px solid #a8c6ec; outline-offset: 4px; }
.site-footer--expanded .sa-footer-procedures summary > span { min-width: 0; }
.site-footer--expanded .sa-footer-procedures summary > svg { display: block; flex: 0 0 21px; transition: transform .18s ease; }
.site-footer--expanded .sa-footer-procedures[open] summary > svg { transform: rotate(180deg); }
.site-footer--expanded .sa-footer-procedures ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 2px 0 19px; padding: 0; list-style: none; }
.site-footer--expanded .sa-footer-procedures li { min-width: 0; }
.site-footer--expanded .sa-footer-procedures a { display: flex; align-items: flex-start; min-height: 44px; padding-block: 9px; color: #cbd6e9; font-size: 14px; line-height: 1.6; }
.site-footer--expanded .sa-footer-support { display: flex; flex-wrap: wrap; gap: 20px 52px; padding-top: 18px; }
.site-footer--expanded .sa-footer-support > nav { flex: 1 1 230px; min-width: 0; }
.site-footer--expanded .sa-footer-subheading { margin: 0; color: #e0e7f4; font-family: var(--font-heading); font-size: 15px; font-weight: 650; line-height: 1.5; letter-spacing: 0; }
.site-footer--expanded .sa-footer-support ul { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 7px 0 0; padding: 0; list-style: none; }
.site-footer--expanded .sa-footer-support li { min-width: 0; }
.site-footer--expanded .sa-footer-support a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; color: #cbd6e9; font-size: 14px; line-height: 1.6; }
.site-footer--expanded .sa-footer-bottom { display: grid; gap: 15px; padding-top: 18px; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #293753; }
.site-footer--expanded .sa-footer-professional { display: inline-flex; align-items: center; justify-content: flex-start; justify-self: start; gap: 9px; min-height: 44px; max-width: 100%; margin: 0; padding: 8px 0; border: 0; color: #e0e7f4; background: transparent; font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.5; text-align: left; cursor: pointer; }
.site-footer--expanded .sa-footer-professional svg { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
.site-footer--expanded .sa-footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.site-footer--expanded .sa-footer-legal :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; color: #cbd6e9; background: transparent; font-family: var(--font-body); font-size: 14px; line-height: 1.5; text-align: left; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.site-footer--expanded .sa-footer-legal p { margin: 0; color: #a9b7d1; font-size: 12px; line-height: 1.6; }

@media (max-width: 359px) {
  .site-footer--expanded .sa-footer-overview ul { column-gap: 21px; }
  .site-footer--expanded .sa-footer-service-links { column-gap: 18px; }
  .site-footer--expanded .sa-footer-service-links a { font-size: 14px; }
}

@media (min-width: 600px) {
  .site-footer.site-footer--expanded { padding-top: 42px; }
  .site-footer--expanded .sa-footer-top { padding-bottom: 28px; }
  .site-footer--expanded .sa-footer-brand img { width: 220px; }
  .site-footer--expanded .sa-footer-columns { gap: 35px; padding-top: 33px; padding-bottom: 36px; }
  .site-footer--expanded .sa-footer-service-links { column-gap: 34px; }
  .site-footer--expanded .sa-footer-locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .site-footer--expanded .sa-footer-location + .sa-footer-location { padding-top: 0; border-top: 0; }
  .site-footer--expanded .sa-footer-procedures ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
  .site-footer--expanded .sa-footer-social { max-width: 260px; }
  .site-footer--expanded .sa-footer-legal { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
}

@media (min-width: 900px) {
  .site-footer.site-footer--expanded { padding-top: 47px; }
  .site-footer--expanded .sa-footer-top { padding-bottom: 31px; }
  .site-footer--expanded .sa-footer-overview ul { column-gap: 32px; }
  .site-footer--expanded .sa-footer-columns { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 45px; padding-top: 36px; padding-bottom: 41px; }
  .site-footer--expanded .sa-footer-heading { font-size: 20px; }
  .site-footer--expanded .sa-footer-service-links { column-gap: 22px; }
  .site-footer--expanded .sa-footer-locations-grid { gap: 25px; margin-top: 15px; }
  .site-footer--expanded .sa-footer-address { font-size: 14px; }
  .site-footer--expanded .sa-footer-procedures ul { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 30px; }
  .site-footer--expanded .sa-footer-support { padding-top: 17px; }
  .site-footer--expanded .sa-footer-bottom { grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; padding-bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
  .site-footer--expanded .sa-footer-legal { justify-content: flex-end; }
}

@media (min-width: 1200px) {
  .site-footer--expanded .sa-footer-columns { gap: 64px; }
  .site-footer--expanded .sa-footer-service-links { column-gap: 30px; }
  .site-footer--expanded .sa-footer-locations-grid { gap: 36px; }
  .site-footer--expanded .sa-footer-address { font-size: 15px; }
}

/* Professional profiles and institutional information share the reading system. */
.institutional-page { min-width: 0; background: var(--page-bg); }
.institutional-page :is(h1, h2, h3, h4, p, li, address, a, button, dt, dd) { overflow-wrap: break-word; }
.institutional-page :is(h1, h2, h3, h4) { color: var(--content-heading); }
.institutional-page h2 { font-size: clamp(27px, 7vw, 36px); line-height: 1.19; letter-spacing: -.035em; }
.institutional-page h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.institutional-page h4 { font-size: 15px; line-height: 1.45; letter-spacing: .02em; }
.institutional-arrow { display: block; width: 21px; height: 21px; flex: 0 0 21px; }
.institutional-page svg.institutional-whatsapp { display: block; width: 21px; height: 21px; min-width: 21px; min-height: 21px; flex: 0 0 21px; fill: currentColor; stroke: none; }

.institutional-hero { padding-block: 12px 42px; }
.institutional-breadcrumb { margin-bottom: 24px; color: var(--content-muted); font-size: 14px; }
.institutional-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.institutional-breadcrumb li { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.institutional-breadcrumb li + li::before { content: "/"; color: var(--content-muted); }
.institutional-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.institutional-breadcrumb a:hover { color: var(--content-link); }
.institutional-hero-grid { display: grid; gap: 30px; min-width: 0; }
.institutional-hero-copy { min-width: 0; }
.institutional-hero h1 { max-width: 18ch; margin-top: 14px; font-size: clamp(35px, 8.8vw, 49px); line-height: 1.08; letter-spacing: -.045em; }
.institutional-lede { max-width: 56ch; margin-top: 22px; color: var(--content-muted); font-size: 18px; line-height: 1.65; }
.institutional-area { margin-top: 20px; color: var(--content-link); font-size: 18px; font-weight: 650; line-height: 1.5; }
.institutional-appointment { gap: 9px; min-width: 0; width: 100%; max-width: 370px; min-height: 54px; margin-top: 26px; }
.institutional-appointment > span { min-width: 0; }
.institutional-cta-help { max-width: 39ch; margin-top: 12px; color: var(--content-muted); font-size: 14px; line-height: 1.55; }
.institutional-portrait { width: 100%; max-width: 370px; margin: 0 auto; overflow: hidden; border: 1px solid var(--content-line); border-radius: 18px; background: var(--surface); }
.institutional-portrait img { display: block; width: 100%; height: auto; object-fit: contain; }
.institutional-portrait figcaption { padding: 15px 18px; color: var(--content-heading); font-size: 15px; font-weight: 650; line-height: 1.5; }

.institutional-section { padding-block: 40px; }
.institutional-editorial-grid { display: grid; gap: 23px; }
.institutional-editorial-grid > div, .institutional-editorial-grid > ul { min-width: 0; }
.institutional-editorial-grid h2 { max-width: 25ch; margin-top: 12px; }
.institutional-prose { max-width: 65ch; color: var(--content-text); font-size: 17px; line-height: 1.75; }
.institutional-prose > p + p { margin-top: 17px; }
.institutional-prose > .institutional-area:first-child { margin-top: 0; }
.institutional-section-note { max-width: 46ch; margin-top: 18px; color: var(--content-muted); font-size: 17px; line-height: 1.7; }
.institutional-text-link { display: inline-flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; color: var(--content-link); font-size: 16px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 5px; }
.institutional-prose > .institutional-text-link { margin-top: 17px; }
.institutional-profile-intro { border-block: 1px solid var(--content-line); background: var(--surface); }
.institutional-interconsult { padding-bottom: 50px; }
.institutional-visitor-areas { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.institutional-visitor-areas li { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 65px; padding: 17px 20px; border: 1px solid var(--content-line); border-radius: 12px; background: var(--surface); color: var(--content-heading); font-size: 17px; font-weight: 600; line-height: 1.45; }
.institutional-area-mark { width: 12px; height: 12px; flex: 0 0 12px; border: 2px solid var(--blue); border-radius: 4px; transform: rotate(45deg); }
.institutional-section-head { max-width: 680px; margin-bottom: 27px; }
.institutional-section-head h2 { margin-top: 12px; }
.institutional-section-head > p:not(.eyebrow) { margin-top: 18px; color: var(--content-muted); font-size: 17px; line-height: 1.7; }

.institutional-registration { border-block: 1px solid var(--content-line); background: var(--surface); }
.institutional-registration-grid { display: grid; gap: 20px; margin: 26px 0 0; }
.institutional-registration-grid > div { min-width: 0; padding-left: 16px; border-left: 2px solid var(--blue); }
.institutional-registration-grid dt { color: var(--content-muted); font-size: 14px; line-height: 1.5; }
.institutional-registration-grid dd { margin: 7px 0 0; color: var(--content-heading); font-size: 17px; font-weight: 650; line-height: 1.5; font-variant-numeric: tabular-nums; }
.institutional-credentials { margin: 0; padding: 0; list-style: none; }
.institutional-credentials li { position: relative; padding: 17px 0 19px 28px; border-bottom: 1px solid var(--content-line); color: var(--content-text); font-size: 17px; line-height: 1.7; }
.institutional-credentials li:first-child { padding-top: 0; }
.institutional-credentials li::before { content: ""; position: absolute; top: 28px; left: 0; width: 9px; height: 9px; border: 2px solid var(--content-link); border-radius: 50%; }
.institutional-credentials li:first-child::before { top: 11px; }
.institutional-practice { padding-top: 15px; }
.institutional-practice-list { display: grid; gap: 24px; }
.institutional-practice-card { display: grid; gap: 24px; min-width: 0; padding: 20px; border: 1px solid var(--content-line); border-radius: 18px; background: var(--surface); }
.institutional-practice-photo { width: 100%; min-width: 0; margin: 0; align-self: center; overflow: hidden; border-radius: 12px; background: var(--surface-raised); }
.institutional-practice-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.institutional-practice-photo--portrait { max-width: 320px; justify-self: center; }
.institutional-practice-copy { min-width: 0; }
.institutional-practice-copy h3 { font-size: clamp(25px, 6.2vw, 32px); }
.institutional-practice-group { margin-top: 20px; }
.institutional-practice-group h4 { margin-bottom: 8px; }
.institutional-practice-group ul { margin: 0; padding-left: 18px; }
.institutional-practice-group li { margin-bottom: 4px; color: var(--content-link); }
.institutional-practice-group a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; color: var(--content-heading); font-size: 16px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.institutional-practice-group a:hover { color: var(--content-link); }
.institutional-practice-note { margin-top: 15px; color: var(--content-muted); font-size: 16px; line-height: 1.7; }
.institutional-practice-copy > .institutional-text-link { margin-top: 19px; }

.institutional-contacts { padding-block: 43px 49px; border-top: 1px solid var(--content-line); }
.institutional-contact-grid, .institutional-branch-grid { display: grid; gap: 23px; }
.institutional-contact-card { min-width: 0; padding: 24px 21px; border: 1px solid var(--content-line); border-radius: 16px; background: var(--surface); }
.institutional-contact-card h3 a:hover, .institutional-branch-heading h2 a:hover { color: var(--content-link); text-decoration: underline; text-underline-offset: 5px; }
.institutional-contact-focus { margin-top: 13px; color: var(--content-muted); font-size: 16px; line-height: 1.6; }
.institutional-page address { margin-top: 20px; font-size: 16px; font-style: normal; line-height: 1.7; }
.institutional-hours { display: grid; gap: 8px; max-width: 395px; margin: 20px 0 0; font-size: 16px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.institutional-hours > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 18px; row-gap: 4px; }
.institutional-hours dt { color: var(--content-muted); }
.institutional-hours dd { margin: 0; color: var(--content-text); font-weight: 600; }
.institutional-emergency { margin-top: 18px; color: var(--content-muted); font-size: 14px; line-height: 1.6; }
.institutional-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 18px; }
.institutional-contact-links a { display: inline-flex; align-items: center; gap: 9px; min-width: 0; min-height: 44px; color: var(--content-link); font-size: 16px; font-weight: 650; line-height: 1.45; text-decoration: underline; text-underline-offset: 4px; }
.institutional-contact-card > .institutional-text-link { margin-top: 14px; }
.institutional-directory-link { margin-top: 23px; }
.institutional-directory { padding-top: 0; padding-bottom: 54px; }
.institutional-branch-card { min-width: 0; overflow: hidden; border: 1px solid var(--content-line); border-radius: 18px; background: var(--surface); }
.institutional-branch-heading { padding: 23px 22px; }
.institutional-branch-heading .eyebrow { font-size: 11px; }
.institutional-branch-heading h2 { margin-top: 11px; font-size: 29px; }
.institutional-branch-photo { margin: 0; background: var(--surface-raised); }
.institutional-branch-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.institutional-branch-content { padding: 25px 22px 28px; }
.institutional-branch-focus { color: var(--content-heading); font-size: 18px; font-weight: 600; line-height: 1.65; }
.institutional-branch-info { display: grid; gap: 25px; margin-top: 25px; }
.institutional-branch-info h3 { color: var(--content-muted); font-size: 14px; font-weight: 650; line-height: 1.5; letter-spacing: .015em; }
.institutional-branch-info address, .institutional-branch-info .institutional-hours { margin-top: 11px; }
.institutional-branch-page-link { margin-top: 23px; padding-top: 20px; width: 100%; justify-content: space-between; border-top: 1px solid var(--content-line); }

.institutional-hero--legal { padding-bottom: 30px; }
.institutional-hero--legal h1 { max-width: 23ch; }
.institutional-legal { max-width: 960px; padding-bottom: 52px; }
.institutional-legal-reading { padding: 25px 22px; border: 1px solid var(--content-line); border-radius: 18px; background: var(--surface); }
.institutional-legal-reading section + section { margin-top: 31px; }
.institutional-legal-reading h2 { font-size: 23px; letter-spacing: -.025em; }
.institutional-legal-reading p { margin-top: 14px; color: var(--content-text); font-size: 17px; line-height: 1.8; }
.institutional-legal-reading ul { margin: 14px 0 0; padding-left: 20px; }
.institutional-legal-reading li { margin-top: 5px; font-size: 17px; line-height: 1.75; }
.institutional-legal-reading li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--content-link); text-decoration: underline; text-underline-offset: 4px; }
.institutional-preferences-button { display: inline-flex; align-items: center; min-width: 0; min-height: 48px; padding: 10px 15px; border: 1px solid var(--blue); border-radius: 10px; background: var(--surface-raised); color: var(--content-link); font: inherit; font-size: 16px; font-weight: 650; line-height: 1.5; text-align: left; cursor: pointer; }
.institutional-preferences-button:hover { background: var(--mist); }

@media (max-width: 359px) {
  .institutional-hero h1 { font-size: 33px; }
  .institutional-appointment { gap: 7px; padding-inline: 11px; font-size: 15px; }
  .institutional-lede { font-size: 17px; }
  .institutional-contact-card, .institutional-branch-heading, .institutional-branch-content, .institutional-legal-reading { padding-inline: 18px; }
  .institutional-practice-card { padding: 16px; }
}

@media (min-width: 600px) {
  .institutional-hero { padding-top: 17px; padding-bottom: 54px; }
  .institutional-breadcrumb { margin-bottom: 30px; }
  .institutional-hero h1 { font-size: 49px; }
  .institutional-lede { font-size: 19px; }
  .institutional-appointment { width: auto; }
  .institutional-section { padding-block: 50px; }
  .institutional-visitor-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .institutional-registration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .institutional-practice-card { padding: 30px; border-radius: 22px; }
  .institutional-contacts { padding-block: 49px 55px; }
  .institutional-contact-card { padding: 29px; }
  .institutional-directory { padding-top: 0; padding-bottom: 64px; }
  .institutional-branch-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
  .institutional-branch-heading { padding: 27px 29px; }
  .institutional-branch-content { padding: 28px 29px 30px; }
  .institutional-legal { padding-bottom: 65px; }
  .institutional-legal-reading { padding: 36px; }
  .institutional-legal-reading section + section { margin-top: 37px; }
}

@media (min-width: 900px) {
  .institutional-hero { padding-bottom: 64px; }
  .institutional-hero--portrait .institutional-hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 60px; }
  .institutional-hero h1 { max-width: 18ch; font-size: clamp(43px, 4.25vw, 58px); }
  .institutional-page--sucursales .institutional-hero h1 { max-width: 24ch; }
  .institutional-page--sucursales .institutional-lede { max-width: 72ch; }
  .institutional-portrait { max-width: 420px; margin-inline: auto 0; border-radius: 22px; }
  .institutional-section { padding-block: 58px; }
  .institutional-editorial-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 64px; }
  .institutional-registration-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.35fr) minmax(0, .9fr) minmax(0, .55fr); margin-top: 33px; }
  .institutional-section-head { margin-bottom: 33px; }
  .institutional-practice { padding-top: 12px; }
  .institutional-practice-list { gap: 30px; }
  .institutional-practice-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 44px; padding: 35px; }
  .institutional-practice-card:nth-child(even) .institutional-practice-photo { order: 2; }
  .institutional-practice-photo--portrait { max-width: 340px; }
  .institutional-contact-grid, .institutional-branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
  .institutional-contacts { padding-block: 56px 64px; }
  .institutional-contact-card { padding: 31px; }
  .institutional-directory { padding-top: 0; padding-bottom: 70px; }
  .institutional-branch-card { border-radius: 22px; }
  .institutional-branch-info { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .institutional-branch-heading h2 { font-size: 33px; }
  .institutional-legal-reading { padding: 42px 47px; }
  .institutional-legal-reading p, .institutional-legal-reading li { font-size: 18px; }
}

@media (min-width: 1200px) {
  .institutional-hero--portrait .institutional-hero-grid { gap: 90px; }
  .institutional-hero h1 { font-size: 58px; }
  .institutional-practice-card { gap: 60px; padding: 40px; }
}

.measurement-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 26px; overflow: auto; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); background: var(--surface-raised); box-shadow: 0 24px 80px rgb(7 17 42 / .25); }
.measurement-dialog:not([open]) { display: none; }
.measurement-dialog::backdrop { background: rgb(7 17 42 / .66); }
.measurement-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.measurement-heading h2 { align-self: center; min-width: 0; color: var(--navy); font-size: 25px; line-height: 1.25; overflow-wrap: break-word; }
.measurement-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: var(--surface); }
.measurement-dialog p { color: var(--muted); line-height: 1.7; }
.measurement-dialog .text-link { margin-top: 14px; }
.measurement-dialog > .button { display: flex; width: 100%; margin-top: 23px; }
@media (max-width: 359px) { .measurement-dialog { padding: 20px; } .measurement-heading { gap: 10px; } .measurement-heading h2 { font-size: 22px; } }

/* Depth belongs to the background. These wrappers never affect document flow,
   sticky positioning, hit areas, or the approved photo/text composition. */
.surface-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.surface-backdrop-pattern,
.surface-backdrop-light { position: absolute; inset: -40px 0; pointer-events: none; }
.surface-backdrop-pattern {
  background-image: repeating-linear-gradient(45deg, var(--pattern-ink) 0 2.6667px, transparent 2.6667px 16px);
  background-repeat: no-repeat;
  opacity: var(--pattern-opacity);
  transform: translate3d(0, var(--surface-parallax-y, 0px), 0);
}
.surface-backdrop-light {
  background-image:
    radial-gradient(ellipse 85% 420px at 88% 15%, rgb(110 157 235 / .075), transparent 75%),
    radial-gradient(ellipse 72% 340px at 8% 78%, rgb(70 119 202 / .045), transparent 75%);
  transform: translate3d(0, var(--surface-light-y, 0px), 0);
}
/* Keep the photograph's face, desktop overlay and mobile bottom fade unchanged. */
.hero > .surface-backdrop { -webkit-mask-image: none; mask-image: none; }
.hero > .surface-backdrop > .surface-backdrop-pattern { inset: 0; transform: none; }
.hero > .surface-backdrop > .surface-backdrop-light { display: none; }

/* One symmetric quadratic arc runs edge to edge, with no flattened centre or
   rounded-box shoulders. The decoration stays inside the existing padding. */
.site-footer--expanded { position: relative; isolation: isolate; }
.surface-divider {
  --surface-edge-fill: var(--page-bg);
  position: absolute;
  z-index: 0;
  inset-inline: 0;
  height: 36px;
  overflow: hidden;
  pointer-events: none;
}
.surface-divider--top { top: 0; }
.surface-divider--bottom { bottom: 0; }
.surface-divider-curve { display: block; width: 100%; height: 100%; overflow: visible; }
.surface-divider-fill { fill: var(--surface-edge-fill); filter: drop-shadow(0 4px 4px rgb(2 8 25 / .26)); }
.surface-divider--bottom .surface-divider-fill { filter: drop-shadow(0 -4px 4px rgb(2 8 25 / .24)); }
.surface-divider-edge { fill: none; stroke: rgb(190 210 255 / .24); stroke-width: 1px; }
.services-section > .surface-divider { --surface-edge-fill: #0a1630; }
.locations-section > .surface-divider { --surface-edge-fill: var(--navy); }
.team-section { --pattern-opacity: .06; }

/* Interior pages favour white reading areas. Blue/pattern is reserved for a
   contact band, the sibling-branch band and the shared footer. */
:is(.service-detail, .branch-detail, .institutional-page) {
  --content-heading: var(--navy);
  --content-text: var(--ink);
  --content-muted: var(--muted);
  --content-link: var(--blue);
  --content-line: var(--line);
  --focus-ring: var(--blue);
  color: var(--content-text);
  background: var(--white);
}
:is(.service-detail-hero, .branch-detail-hero) {
  background: var(--surface-raised);
  border-bottom: 1px solid var(--content-line);
}
:is(.service-detail-contact, .branch-detail-sister) {
  --content-heading: var(--page-text);
  --content-text: var(--page-text);
  --content-muted: var(--page-muted);
  --content-link: var(--page-accent);
  --content-line: var(--page-line);
  --focus-ring: var(--page-accent);
  color: var(--content-text);
}
:is(.service-detail-contact, .branch-detail-sister) > .surface-divider,
body:not([data-page="home"]) .site-footer--expanded > .surface-divider {
  --surface-edge-fill: var(--white);
}
body[data-page="branch"] .site-footer--expanded > .surface-divider {
  --surface-edge-fill: var(--page-panel);
}
.service-card-copy .service-card-price {
  margin-top: 9px;
  color: var(--content-heading);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

/* Cost information is part of the page HTML and sits beside the decision,
   before long explanations. Prices never depend on a modal or JavaScript. */
.service-hero-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  max-width: 570px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid var(--content-line);
}
.service-price-amount {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-heading);
  line-height: 1.15;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.service-price-amount strong { font-size: clamp(30px, 7vw, 42px); font-weight: 750; letter-spacing: -.035em; }
.service-price-amount > span { font-size: 15px; font-weight: 650; }
.service-hero-price-note { flex: 1 1 200px; max-width: 38ch; color: var(--content-muted); font-size: 15px; line-height: 1.6; }
.service-pricing { padding-block: 30px 36px; scroll-margin-top: 105px; }
.service-pricing-header { max-width: 680px; }
.service-pricing-header h2 { margin-top: 12px; color: var(--content-heading); font-size: clamp(28px, 7vw, 38px); line-height: 1.2; }
.service-pricing-header > p:not(.eyebrow) { margin-top: 17px; color: var(--content-muted); font-size: 17px; line-height: 1.7; }
.service-pricing-grid { display: grid; gap: 20px; margin-top: 28px; }
.service-price-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--content-line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 5px 22px rgb(16 33 83 / .045);
}
.service-price-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 23px; }
.service-price-copy h3 { color: var(--content-heading); font-size: clamp(23px, 5.8vw, 28px); line-height: 1.25; }
.service-price-label { margin-bottom: 11px; }
.service-price-copy .service-price-amount { margin-top: 17px; }
.service-price-description { margin-top: 19px; color: var(--content-muted); font-size: 16px; line-height: 1.7; }
.service-price-includes { display: grid; gap: 11px; margin: 19px 0 0; padding-left: 21px; color: var(--content-text); font-size: 15px; line-height: 1.7; }
.service-price-includes li::marker { color: var(--blue); }
.service-price-link { align-self: flex-start; margin-top: auto; padding-top: 22px; font-size: 16px; }
.service-price-link svg { flex-shrink: 0; }
.service-price-media { position: relative; display: block; flex: 0 0 auto; width: 100%; aspect-ratio: 4 / 3; min-width: 0; margin: 0; overflow: hidden; background: var(--surface); }
.service-price-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-price-card--bundle { border-top: 3px solid var(--blue); background: var(--surface); }
.service-pricing-footer { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 25px; }
.service-pricing-footer > p { max-width: 70ch; color: var(--content-muted); font-size: 15px; line-height: 1.7; }
.service-pricing-appointment { max-width: 100%; }

@media (min-width: 700px) {
  .service-pricing { padding-block: 36px 45px; }
  .service-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .service-price-copy { padding: 28px; }
  .service-price-card--bundle { grid-column: 1 / -1; }
  .service-price-card--bundle .service-price-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label amount" "title amount" "description amount";
    column-gap: 32px;
    align-items: center;
  }
  .service-price-card--bundle .service-price-label { grid-area: label; }
  .service-price-card--bundle h3 { grid-area: title; }
  .service-price-card--bundle .service-price-amount { grid-area: amount; margin: 0; }
  .service-price-card--bundle .service-price-description { grid-area: description; margin-top: 13px; }
}
@media (min-width: 900px) {
  .surface-divider { height: 40px; }
  .services-section > .surface-divider { --surface-edge-fill: var(--navy); }
  .service-card-copy .service-card-price { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .surface-backdrop-pattern, .surface-backdrop-light { transform: none; }
}
@media (forced-colors: active), print {
  .surface-backdrop, .surface-divider { display: none; }
}

.route-announcement:empty{display:none}.route-announcement:not(:empty){margin:0;padding:14px 20px;color:var(--navy);background:var(--mist)}