/* October revisions: contact strip, welcome card and compact photo consultation. */
/* Both header rows keep their full height when the scroll state changes. */
body .site-header,
body .site-header.is-scrolled { height: auto; }
body .site-header .header-container { height: 78px; min-height: 78px; }
.clinic-contact-strip { background: #080808; color: #fff; }
.contact-strip-inner { display:flex; align-items:center; justify-content:space-between; height:38px; gap:16px; }
.contact-strip-phone { color:#ddd; font-size:14px; letter-spacing:.05em; }
.contact-strip-actions, .contact-strip-social { display:flex; align-items:center; }
.contact-strip-social { gap:10px; }
.contact-strip-social a { display:grid; place-items:center; width:32px; height:34px; color:#fff; }
.contact-strip-social svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; }
.contact-strip-cta { display:flex; align-items:center; gap:20px; margin-left:22px; padding-left:22px; border-left:1px solid #555; color:#fff; font-size:14px; font-weight:650; }
.contact-strip-social a:hover, .contact-strip-cta:hover { color:#c7c7c7; }
.clinic-contact-strip a:focus-visible { outline:2px solid #fff; outline-offset:2px; }
body .mobile-menu, body .site-header.is-scrolled + .mobile-menu { inset-block-start:var(--header-height); }
.welcome-open { overflow:hidden; }
.welcome-dialog { position:fixed; inset:0; width:min(380px, calc(100vw - 36px), calc((100dvh - 40px) * .655)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:0; border:0; background:transparent; color:white; overflow:visible; }
.welcome-dialog::backdrop { background:rgba(0,0,0,.72); backdrop-filter:blur(4px); }
.welcome-dialog > img { display:block; width:100%; height:auto; }
.welcome-close { position:absolute; top:15%; right:0; display:grid; place-items:center; width:38px; height:38px; border:1px solid #ffffff66; border-radius:50%; background:#111; color:#fff; font-size:26px; cursor:pointer; }
.welcome-cta { position:absolute; bottom:3.5%; left:20%; right:12%; display:flex; justify-content:center; align-items:center; gap:15px; min-height:42px; border-radius:4px; padding:8px; background:#fff; color:#191919; font-size:14px; font-weight:700; }
.welcome-cta:hover { background:#e1e1e1; }
.welcome-dialog :focus-visible { outline:3px solid #b3b3b3; outline-offset:4px; }

body.consultation-page .consultation-page-main { min-height:0; padding-top:var(--header-height); }
body.consultation-page .consultation-page-flow { padding:16px 24px; }
body.consultation-page .consultation-page-layout { width:min(1160px,100%); grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); }
body.consultation-page .consultation-page-layout,
body.consultation-page .consultation-form-stage,
body.consultation-page .consultation-page-summary,
body.consultation-page .consultation-page-layout:has(.consultation-step:nth-of-type(3):not([hidden])),
body.consultation-page .consultation-page-layout:has(.consultation-step:nth-of-type(3):not([hidden])) .consultation-form-stage,
body.consultation-page .consultation-page-layout:has(.consultation-step:nth-of-type(3):not([hidden])) .consultation-page-summary { min-height:0; }
body.consultation-page .consultation-form-stage { padding:24px 32px; }
body.consultation-page .consultation-form-heading { margin-bottom:18px; }
body.consultation-page .consultation-return { margin-bottom:12px; }
body.consultation-page .consultation-page-form .wizard-step-kicker { margin-bottom:8px; }
body.consultation-page .consultation-page-form .consultation-step .wizard-step-title { font-size:clamp(28px,2.5vw,38px); line-height:1.08; letter-spacing:-.045em; }
body.consultation-page .consultation-page-form .wizard-step-intro { margin:10px 0 16px; font-size:14px; line-height:1.45; }
body.consultation-page .consultation-page-form .consultation-step:first-child .consultation-options { margin-top:22px; }
body.consultation-page .consultation-page-form .consultation-options span { min-height:72px; padding:12px 36px 12px 14px; gap:4px; }
body.consultation-page .consultation-page-form .consultation-options span b { font-size:14px; letter-spacing:.02em; }
body.consultation-page .consultation-page-form .consultation-options span small { font-size:14px; }
body.consultation-page .consultation-page-form .wizard-contact-grid { gap:10px 14px; }
body.consultation-page .consultation-page-form .wizard-contact-grid label { gap:4px; }
body.consultation-page .consultation-page-form .wizard-contact-grid :is(input,select,textarea) { min-height:40px; padding:8px 10px; }
body.consultation-page .consultation-page-form .wizard-contact-note { grid-column:auto; }
body.consultation-page .consultation-page-form .wizard-contact-grid textarea { min-height:40px; height:40px; }
body.consultation-page .wizard-photo-field { margin-top:12px; }
body.consultation-page .wizard-photo-drop { min-height:64px; padding:10px 12px; gap:10px; grid-template-columns:32px minmax(0,1fr) auto; }
body.consultation-page .wizard-photo-icon { width:32px; height:32px; }
body.consultation-page .wizard-photo-copy small { font-size:14px !important; }
body.consultation-page .wizard-photo-help { margin-top:5px; font-size:14px !important; }
body.consultation-page .consultation-page-form .wizard-consent { margin-top:10px; }
body.consultation-page .consultation-page-form .wizard-actions { margin-top:16px; }
body.consultation-page .consultation-page-form .wizard-actions .button { min-height:44px; padding:0 16px; }
body.consultation-page .form-note { margin-top:8px; font-size:14px !important; }
body.consultation-page .consultation-form-footer { margin-top:16px; padding-top:10px; font-size:14px; gap:10px; }
body.consultation-page .consultation-page-summary { padding:28px; background:radial-gradient(ellipse at 50% 30%,#2a2a2a,#141414 75%); }
body.consultation-page .consultation-page-summary::before, body.consultation-page .consultation-page-summary::after { display:none; }
.consultation-photo-guide { position:relative; margin:auto 0; padding-top:24px; }
.photo-guide-kicker { margin:0 0 10px; text-transform:uppercase; letter-spacing:.16em; color:#bbbbbb; font-size:14px; font-weight:700; }
.consultation-photo-guide h1 { margin:0; color:#fff; font-size:34px; line-height:1.08; font-weight:500; letter-spacing:-.04em; }
.consultation-photo-guide h1 em { color:#cecece; font-family:Georgia,serif; font-weight:400; }
.consultation-photo-guide > p:not(.photo-guide-kicker) { color:#bebebe; font-size:14px; line-height:1.5; }
.photo-guide-steps { list-style:none; margin:18px 0; padding:0; display:grid; gap:8px; }
.photo-guide-steps li { display:grid; grid-template-columns:42% 1fr; align-items:center; gap:14px; padding:8px 10px; border:1px solid #ffffff17; border-radius:8px; background:#ffffff04; }
.photo-guide-steps img { display:block; width:100%; height:94px; object-fit:contain; }
.photo-guide-steps li span { color:#a8a8a8; font-size:14px; letter-spacing:.1em; }
.photo-guide-steps h2 { margin:3px 0; color:#fff; font-size:17px; font-weight:600; }
.photo-guide-steps li p { margin:0; color:#bebebe; font-size:14px; line-height:1.45; }
.consultation-photo-guide .photo-guide-tip { padding-top:12px; border-top:1px solid #ffffff20; }
body.consultation-page .wizard-photo-preview { grid-template-columns:minmax(0,1fr) auto; }
.wizard-photo-thumbnails { display:flex; gap:6px; grid-column:1 / -1; }
body.consultation-page .wizard-photo-thumbnails img { width:55px; height:45px; border-radius:3px; object-fit:cover; }
@media (max-width:900px) {
  body .site-header .header-container { height:68px; min-height:68px; }
  .contact-strip-inner { height:40px; }
  .contact-strip-phone { font-size:14px; }
  .contact-strip-social { gap:2px; }
  .contact-strip-social a { width:28px; height:36px; }
  .contact-strip-cta { gap:8px; margin-left:10px; padding-left:10px; font-size:14px; }
  body.consultation-page .consultation-page-layout { display:grid; grid-template-columns:minmax(0,1fr); }
  body.consultation-page .consultation-page-summary { order:2; padding:24px; }
  body.consultation-page .consultation-form-stage { order:1; padding:24px; }
  body.consultation-page .consultation-page-form .wizard-contact-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .consultation-photo-guide { padding-top:20px; }
  .photo-guide-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .photo-guide-steps li { display:block; }
  .photo-guide-steps img { height:100px; }
}
@media (max-width:560px) {
  .contact-strip-inner { width:100%; padding-inline:16px; }
  .contact-strip-phone { display:none; }
  .contact-strip-actions { justify-content:space-between; width:100%; }
  .contact-strip-social { gap:6px; }
  .contact-strip-cta { font-size:14px; }
  body.consultation-page .consultation-page-flow { padding:0; }
  body.consultation-page .consultation-form-stage { padding:22px 20px; }
  body.consultation-page .consultation-page-form .wizard-contact-grid { grid-template-columns:1fr !important; }
  body.consultation-page .consultation-page-form .consultation-options--grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.consultation-page .consultation-page-form .consultation-options span { min-height:92px; padding:12px 26px 12px 10px; }
  body.consultation-page .consultation-page-form .consultation-options span::after { width:12px; height:12px; right:8px; }
  body.consultation-page .consultation-page-form .wizard-contact-grid textarea { height:60px; }
  body.consultation-page .consultation-form-footer { display:flex; flex-wrap:wrap; }
  .photo-guide-steps { grid-template-columns:1fr; }
  .photo-guide-steps li { display:grid; }
  body.consultation-page .consultation-page-form .wizard-actions { grid-template-columns:auto minmax(0,1fr); }
}
@media (min-width:901px) and (max-height:800px) {
  body.consultation-page .consultation-page-flow { padding-block:10px; }
  body.consultation-page .consultation-form-stage { padding:16px 26px; }
  body.consultation-page .consultation-form-heading { margin-bottom:12px; }
  body.consultation-page .consultation-page-summary { padding:20px 26px; }
  .consultation-photo-guide { padding-top:16px; }
  .photo-guide-steps img { height:76px; }
  .photo-guide-steps { margin:12px 0; }
  body.consultation-page .consultation-form-footer { margin-top:12px; }
}
/* The primary CTA now lives in the black strip, freeing room for navigation. */
body .site-header .header-actions > .header-cta,
body .site-header .header-actions > .mobile-header-cta { display:none !important; }
body.consultation-page .consultation-page-summary { background:radial-gradient(ellipse at 50% 30%,#2a2a2a,#141414 75%) !important; }
body.consultation-page .consultation-form-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
body.consultation-page .consultation-return { flex-shrink:0; margin:0 !important; }
body.consultation-page .consultation-form-heading .consultation-page-map { width:55%; margin:0 !important; }
body.consultation-page .consultation-page-form .wizard-step-kicker { display:none; }
body.consultation-page .consultation-page-form .wizard-actions .button { height:44px !important; min-height:44px !important; padding:0 18px !important; }
body.consultation-page .consultation-page-form .consultation-options input:focus-visible + span { outline:2px solid #c7c7c7; outline-offset:3px; }
.photo-guide-link { display:none; }
@media (max-width:900px) {
  .photo-guide-link { display:inline-block; margin-top:8px; color:#c7c7c7; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
  #photo-guide { scroll-margin-top:calc(var(--header-height) + 20px); }
}
@media (max-width:560px) {
  body.consultation-page .consultation-form-heading { display:block; }
  body.consultation-page .consultation-form-heading .consultation-page-map { width:100%; margin-top:18px !important; }
}
/* Form language menu: inset arrow, bounded scrolling and clear selected state. */
body.consultation-page .consultation-language-field { position:relative; display:grid; grid-column:auto; gap:4px; min-width:0; }
body.consultation-page .consultation-language-field > label { color:rgba(255,255,255,.68); font-size:14px; font-weight:600; line-height:1.45; }
body.consultation-page .consultation-language-field select[hidden] { display:none !important; }
body.consultation-page .consultation-language-trigger {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  width:100%; min-height:42px; margin:0; padding:9px 16px;
  border:1px solid rgba(255,255,255,.2); border-radius:3px;
  background:rgba(255,255,255,.055); color:#fff;
  font:inherit; font-size:15px; line-height:1.45; text-align:start; cursor:pointer;
}
body.consultation-page .consultation-language-trigger svg { flex:0 0 16px; width:16px; height:16px; margin:0; fill:none; stroke:currentColor; stroke-width:1.5; transition:transform .15s; }
body.consultation-page .consultation-language-trigger[aria-expanded="true"] { border-color:#a8a8a8; }
body.consultation-page .consultation-language-trigger[aria-expanded="true"] svg { transform:rotate(180deg); }
body.consultation-page .consultation-language-trigger:focus-visible { outline:2px solid #a8a8a8; outline-offset:2px; }
body.consultation-page .consultation-language-options {
  position:absolute; z-index:30; inset-inline:0; top:calc(100% + 6px);
  overflow-y:auto; overscroll-behavior:contain; max-height:240px; padding:5px;
  border:1px solid #494949; border-radius:6px; background:#1c1c1c;
  box-shadow:0 14px 32px #0008; scrollbar-width:thin; scrollbar-color:#696969 #1c1c1c;
}
body.consultation-page .consultation-language-options[hidden] { display:none !important; }
body.consultation-page .consultation-language-options.opens-up { top:auto; bottom:48px; }
body.consultation-page .consultation-language-options [role="option"] { position:relative; padding:10px 34px 10px 12px; border-radius:3px; color:#f2f2f2; font-size:14px; line-height:1.5; text-align:start; cursor:pointer; }
body.consultation-page .consultation-language-options [role="option"]:is(:hover,.is-active) { background:#373737; }
body.consultation-page .consultation-language-options [aria-selected="true"] { background:#323232; color:#fff; }
body.consultation-page .consultation-language-options [aria-selected="true"]::after { content:'✓'; position:absolute; inset-inline-end:12px; }
@media (max-width:620px) {
  body.consultation-page .consultation-language-trigger { font-size:16px; }
}
body.consultation-page .consultation-language-field > label { font-size:14px !important; color:rgba(255,255,255,.68) !important; letter-spacing:.04em; }
body.consultation-page .consultation-language-trigger > span { color:#fff !important; }
body.consultation-page .consultation-language-trigger svg { transform:none; }
body.consultation-page .consultation-language-trigger[aria-expanded="true"] svg { transform:rotate(180deg); }

/* Homepage review: coloured facts, larger credentials and a curved transition. */
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(6n + 1) { --fact-colour:#236a5d; }
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(6n + 2) { --fact-colour:#285e8d; }
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(6n + 3) { --fact-colour:#86581e; }
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(6n + 4) { --fact-colour:#772e46; }
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(6n + 5) { --fact-colour:#5d4a8b; }
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(6n + 6) { --fact-colour:#237080; }
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(n) {
  background:var(--fact-colour) !important; border-color:var(--fact-colour) !important; color:#fff !important;
}
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(n) .hero-trust-icon {
  background:rgba(255,255,255,.13) !important; border-color:rgba(255,255,255,.28) !important; color:#fff !important;
}
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(n) .hero-trust-copy strong,
body.home-page .clinic-signature .hero-trust-group .hero-trust-item:nth-child(n) .hero-trust-copy > span { color:#fff !important; }
body.home-page .clinic-package-foot { justify-content:center; }
body.home-page .clinic-package-card figure { aspect-ratio:819 / 1024; }
body.home-page .clinic-certificate-copy { text-align:center; }
body.home-page .clinic-certificate-copy > img { display:block; width:180px; max-width:65%; height:auto; margin:0 auto 20px; opacity:1; }
body.home-page .clinic-certificate-copy p { max-width:340px; margin-inline:auto; }
@media (min-width:1081px) {
  body.home-page .clinic-package-grid { grid-template-columns:minmax(0,.88fr) minmax(0,.88fr) minmax(0,1.24fr); align-items:center; gap:22px; }
  body.home-page .clinic-package-card { align-self:center; }
  body.home-page .clinic-certificate-card { align-self:stretch; min-height:0; padding:24px 28px; }
  body.home-page .clinic-certificate-docs { grid-template-columns:1.15fr .85fr; gap:14px; margin:18px 0 28px; }
  body.home-page .clinic-certificate-paper { grid-template-rows:170px auto; }
  body.home-page .clinic-certificate-paper img { height:170px; }
  body.home-page .clinic-certificate-copy { margin-block:auto; }
}
@media (max-width:760px) {
  body.home-page .clinic-package-card { width:min(100%,360px); justify-self:center; }
  body.home-page .clinic-certificate-card { width:100%; }
  body.home-page .clinic-certificate-copy > img { width:160px; }
}
body.home-page .material-showcase .material-track.is-animating { transition-duration:440ms; }
body.home-page .material-showcase { position:relative; padding-bottom:clamp(110px,10vw,150px); }
body.home-page .material-section-curve { position:absolute; inset:auto 0 -1px; display:block; width:100%; height:clamp(38px,5vw,72px); pointer-events:none; }
@media (prefers-reduced-motion:reduce) {
  body.home-page .material-showcase .material-track.is-animating { transition:none; }
}

/* Stronger section labels and clearer shared footer contacts. */
body :is([class*="-kicker"], [class*="-eyebrow"], .eyebrow, .mini-label, .footer-label, .nav-mega-label, .mobile-menu-label),
body .clinic-package-head > div > span,
body .journey-story-head > p,
body .journey-flight-opening > p,
body .journey-flight-closing > p { font-weight:750 !important; }
body[class] .site-footer .footer-contact .footer-accordion-panel > a { grid-template-columns:48px minmax(0,1fr); align-items:center; gap:14px; }
body[class] .site-footer .footer-contact .footer-accordion-panel > a > b {
  width:46px; height:46px; border-width:2px; border-color:rgba(255,255,255,.46) !important;
  background:rgba(255,255,255,.05); transform:none; align-self:center;
}
body .site-footer .footer-contact b svg { display:block; width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
body .site-footer .footer-social > div { display:grid; grid-template-columns:repeat(3,44px); gap:10px; }
body .site-footer .footer-social a { width:44px; height:44px; border-width:1.5px; }
body .site-footer .footer-social a svg { width:20px; height:20px; stroke-width:1.9; }
body .site-footer .footer-social a:focus-visible { outline:2px solid #fff; outline-offset:4px; }

/* Final review: readable copy, neutral surfaces and subtle image motion. */
body .mission-grid article p,
body .clinic-role-copy p,
body .clinic-role-copy li,
body .guide-card-grid article p,
body .treatment-card > div > p:not(.treatment-card-tag),
body .doctor-editorial-copy :is(dt,dd) { font-size:16px !important; line-height:1.7; }
body .mission-grid article > span { font-size:18px; font-weight:700; line-height:1.5; }
body .site-footer .footer-bottom :where(p,small,a,span) { font-size:14px !important; }
.footer-update { border-top:1px solid #ffffff30; background:#000; color:#fff; }
.footer-update > .container { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px 24px; padding-block:18px; }
.footer-update p { margin:0; font-size:16px; line-height:1.5; }
.footer-update a { color:#fff; font-size:16px; font-weight:600; }
.footer-update a:hover { text-decoration:underline; text-underline-offset:4px; }
body .photo-motion-frame { overflow:hidden; }
body .photo-motion-image { transform-origin:center; transition:transform 850ms cubic-bezier(.2,.7,.2,1); }
@media (hover:hover) and (pointer:fine) {
  body .photo-motion-frame:is(:hover,:focus-within) .photo-motion-image { transform:scale(1.035); }
}
.international-team { display:grid; grid-template-columns:1.15fr 1fr; gap:40px 70px; padding-block:70px; scroll-margin-top:calc(var(--header-height) + 24px); }
.international-team h2 { margin:16px 0 22px; font-size:clamp(32px,3.6vw,52px); line-height:1.1; letter-spacing:-.04em; }
.international-team h2 em { color:#666; }
.international-team-heading > p:not(.eyebrow) { max-width:540px; font-size:17px; line-height:1.7; color:#555; }
.international-team-heading > a { margin-top:24px; }
.international-team-services { display:grid; }
.international-team-services article { padding:20px 0; border-bottom:1px solid #ddd; }
.international-team-services h3 { margin:0 0 8px; font-size:22px; }
.international-team-services p { margin:0; font-size:16px; line-height:1.65; color:#555; }
.international-team-grid { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.international-team-grid[hidden] { display:none; }
@media (max-width:760px) {
  .international-team { grid-template-columns:1fr; gap:24px; padding-block:44px; }
  .international-team-grid { grid-template-columns:1fr; }
  .footer-update > .container { gap:4px 14px; }
  .footer-update p, .footer-update a { font-size:14px; }
  .contact-strip-social { gap:2px; }
  .contact-strip-cta { font-size:14px; gap:6px; padding-left:8px; margin-left:8px; }
}
@media (prefers-reduced-motion:reduce) {
  body .photo-motion-image { animation:none !important; transition:none !important; transform:none !important; }
}
body input[type="range"] { color:#999; accent-color:#111; }

/* Keep photo captions legible when the surrounding section uses dark headings. */
body.home-page .clinic-signature .clinic-signature-visual::after {
  background:linear-gradient(180deg,rgba(0,0,0,.02) 30%,rgba(0,0,0,.6) 65%,rgba(0,0,0,.88) 100%);
}
body.home-page .clinic-signature .clinic-signature-visual figcaption,
body.home-page .clinic-signature .clinic-signature-visual figcaption :is(strong,span),
body.home-page .founder-intro-portrait figcaption :is(strong,span) {
  color:#fff !important;
  text-shadow:0 2px 8px rgba(0,0,0,.55);
}

/* Readability audit: preserve contrast on each component's actual surface. */
body.home-page .real-smiles-kicker,
body .about-section-index,
body .clinic-role-copy > span,
body .clinic-spaces-grid figcaption,
body .mission-grid article > span,
body .international-team-heading > .eyebrow,
body.home-page .google-review-summary b > i { color:#595959 !important; }
body .clinic-support-teams .clinic-section-heading h2 { color:#fff !important; }
body .clinic-support-teams .clinic-section-heading :is(p,em) { color:#d0d0d0 !important; }
body .art-hero .art-crumb :is(a,span) { color:#ddd !important; }
body.error-page .error-page-main > .container > p:first-child { color:#666 !important; }
/* Adjacent carousel cards must remain readable before they become active. */
body.home-page .treatment-gallery--carousel .treatment-gallery-card { opacity:1; }
body.home-page .treatment-gallery--carousel .treatment-gallery-card figure { opacity:.7; transition:opacity .3s; }
body.home-page .treatment-gallery--carousel .treatment-gallery-card:is(.is-active,:hover,:focus-within) figure { opacity:1; }

/* Leave room for flags, focus rings, tooltips and the action's shadow. */
body.home-page .journey-story .journey-story-foot {
  padding:34px clamp(22px,3vw,40px) !important;
  border-radius:28px !important;
  overflow:visible;
  gap:32px;
}
body.home-page .journey-foot-copy { min-width:0; }
body.home-page .journey-story .journey-languages { flex-wrap:wrap; }
body.home-page .journey-story .journey-languages a { flex-shrink:0; }
body.home-page .journey-story .journey-cta { max-width:100%; white-space:normal; text-align:center; }
@media (max-width:1000px) {
  body.home-page .journey-story .journey-story-foot { grid-template-columns:minmax(0,1fr); }
  body.home-page .journey-story .journey-cta { justify-self:start; }
}
@media (max-width:560px) {
  body.home-page .journey-foot-copy > small { font-size:14px; letter-spacing:.07em; line-height:1.5; }
}

/* The final footer row follows the supplied credit line and keeps the agency at right. */
body .footer-update > .container { display:flex; justify-content:space-between; flex-wrap:nowrap; gap:24px; padding-block:22px; }
body .footer-update .footer-credit { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; min-width:0; margin:0; }
body .footer-update .footer-credit,
body .footer-update .footer-credit :is(span,a,time) { color:#ddd !important; font-size:14px; line-height:1.65; font-weight:400; }
body .footer-update .footer-editor { margin-left:8px; padding-left:14px; border-left:1px solid #777; }
body .footer-update .agency-signature { position:relative; inset:auto; flex:0 0 92px; width:92px; height:24px; transform:none; }
body .footer-update .agency-card i { background-position:right center; }
@media (max-width:760px) {
  body .footer-update > .container { align-items:flex-start; gap:16px; }
  body .footer-update .footer-credit { display:block; }
  body .footer-update .footer-credit > span,
  body .footer-update .footer-credit > a { display:block; }
  body .footer-update .footer-editor { margin:4px 0 0; padding:0; border:0; }
  body .footer-update .agency-signature { flex-basis:74px; width:74px; margin-top:4px; }
}
body.error-page .error-page-main > .container > p:first-child { opacity:1; }
body.home-page .founder-language-menu [role="option"] small { color:#595959 !important; }
body.home-page .founder-language-menu [role="option"]:is(:hover,:focus-visible,[aria-selected="true"]) small { color:inherit !important; }
body .site-header .nav-mega { width:min(960px,calc(100vw - 48px)); }
body .site-header .nav-mega-grid { gap:0 20px; }
body .site-header .nav-mega-label { min-height:42px; margin-bottom:10px; letter-spacing:.08em; }
body .site-header .nav-mega-col > a { min-height:44px; padding:8px 7px; line-height:1.45 !important; }
/* Narrow screens: allow text and cards to shrink within their grid columns. */
body .smile-map-grid > *,
body .smile-panel-kart { min-width:0; max-width:100%; }
body .smile-panel-kart h3 { overflow-wrap:break-word; }
body .smile-panel-cta { max-width:100%; white-space:normal; text-align:center; }
body .closing-wall .end-label { width:max-content; max-width:calc(100% - 32px); white-space:normal; text-align:center; line-height:1.5; }
body .treatment-detail-aside h2 { overflow-wrap:break-word; }
@media (max-width:900px) {
  body .smile-map-grid { grid-template-columns:minmax(0,1fr); }
  body .menu-banner--clinic-tooth .rontgen-ipucu { right:20%; max-width:70%; white-space:normal; }
}
@media (max-width:560px) {
  body .clinic-section-heading { grid-template-columns:minmax(0,1fr); }
  body .clinic-section-heading h2 { font-size:clamp(32px,8vw,44px); overflow-wrap:break-word; }
  body .treatment-detail-aside h2 { font-size:26px; line-height:1.2; }
  body .smile-panel-kiyas::after { max-width:calc(100% - 24px); white-space:normal; text-align:center; }
}
/* Inputs and helper copy stay legible over the consultation photograph. */
body.consultation-page .consultation-page-form :is(input,textarea)::placeholder { color:#bdbdbd !important; opacity:1; }
body.consultation-page :is(.wizard-step-intro,.wizard-photo-help,.wizard-photo-copy small,.wizard-consent > span,.wizard-photo-action) { color:#ccc !important; }
body.consultation-page .wizard-actions :is(.wizard-next,.button-primary) { border-color:#777 !important; }
@media (prefers-reduced-motion:reduce) {
  body .mobile-menu.is-open nav a { opacity:1; transform:none; transition:none; }
}
/* Opaque menu surfaces keep page content from showing through their labels. */
body .site-header :is(.nav-mega,.language-menu) { background:#fff !important; }
body .story-film-shade { background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.08) 40%,rgba(0,0,0,.82)); }
body .story-film-copy p { color:#e0e0e0 !important; text-shadow:0 1px 4px #000; }
@media (max-width:560px) {
  body.consultation-page .consultation-form-heading .consultation-page-map li b {
    font-size:14px !important; font-weight:600; letter-spacing:0 !important; line-height:1.4; white-space:normal;
  }
}
@media (max-width:560px) {
  body.consultation-page .consultation-form-heading .consultation-page-map {
    grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,.8fr);
    gap:12px;
  }
}
