/* Klinik Rasa - site styles
   Palette: sage greens, warm ink, rose accent for promotions. */

/* Self-hosted fonts (latin subset from Google Fonts) */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/lato-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/figtree-var.woff2") format("woff2"); }
@font-face { font-family: "Rozha One"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/rozha-one-400.woff2") format("woff2"); }

:root {
  --sage-50: #f3f6f4;
  --sage-100: #dde6e2;
  --sage-200: #c2d2cb;
  --sage-400: #809a91;
  --slate: #535b58;
  --ink: #2d271d;
  --sage-600: #5f786f;
  --sage-800: #3a4d47;
  --rose-100: #ffe3ed;
  --rose-200: #ffbed5;
  --rose-700: #a92856;
  --white: #ffffff;

  --font-display: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(45, 39, 29, .06), 0 8px 24px rgba(45, 39, 29, .08);
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.65; color: var(--ink); background: var(--white); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-800); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sage-600); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: 1.375rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--sage { background: var(--sage-100); }
.section--tint { background: var(--sage-50); }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-800); margin-bottom: .75rem; }
.lead { font-size: 1.1875rem; color: var(--slate); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--sage-800); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .75rem 1.375rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--sage-800); color: var(--white); }
.btn--primary:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }
.btn--whatsapp { background: #1f7a45; color: var(--white); }
.btn--whatsapp:hover { background: #17603a; color: var(--white); transform: translateY(-1px); }
.btn--ghost { border-color: var(--sage-800); color: var(--sage-800); background: transparent; }
.btn--ghost:hover { background: var(--sage-800); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid rgba(83, 91, 88, .12); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand span { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9375rem; }
.nav a:hover { background: var(--sage-100); }
.nav a.btn { margin-left: 8px; color: var(--white); padding-inline: 18px; background: var(--sage-800); }
.nav a.btn:hover { background: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; inset: 72px 0 auto 0; background: var(--white); border-bottom: 1px solid rgba(83, 91, 88, .12); box-shadow: var(--shadow); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 2px; }
  .nav a { padding: 14px 12px; border-radius: 10px; }
  .nav a.btn { margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--sage-100) 0%, var(--sage-50) 100%); padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .container { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; grid-template-columns: 1.1fr .9fr; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--sage-800); }
.hero .lead { margin-bottom: 1.75rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.status-card { position: absolute; left: -20px; bottom: -20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .9375rem; line-height: 1.35; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sage-400); flex: none; }
.status-card[data-open="true"] .status-dot { background: #2e9b57; box-shadow: 0 0 0 4px rgba(46, 155, 87, .18); }
.status-card[data-open="false"] .status-dot { background: var(--rose-700); }
.status-card strong { display: block; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 1.75rem 0 0; padding: 0; list-style: none; color: var(--slate); font-size: .9375rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--sage-600); flex: none; }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .status-card { left: 12px; bottom: -16px; }
}

/* Quick info strip */
.info-strip { background: var(--sage-800); color: var(--white); }
.info-strip .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; }
.info-item + .info-item { border-left: 1px solid rgba(255, 255, 255, .15); }
.info-item svg { width: 26px; height: 26px; color: var(--sage-200); flex: none; margin-top: 2px; }
.info-item .label { display: block; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-200); margin: 0 0 4px; font-weight: 700; }
.info-item p { margin: 0; font-size: 1rem; line-height: 1.5; }
.info-item a { color: var(--white); }
@media (max-width: 760px) {
  .info-strip .container { grid-template-columns: 1fr; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
}

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.service { background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--sage-100); color: var(--sage-800); display: grid; place-items: center; margin-bottom: 16px; }
.service-icon svg { width: 38px; height: 38px; }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--slate); margin: 0; font-size: 1rem; }
.service .tag { align-self: flex-start; margin-top: 14px; font-size: .8125rem; font-weight: 700; background: var(--rose-100); color: var(--rose-700); padding: 4px 10px; border-radius: 999px; }

/* Promo */
.promo { background: var(--rose-100); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.promo h2 { margin-bottom: .25em; }
.promo p { margin: 0 0 1.25rem; color: var(--slate); }
.price { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 1; color: var(--rose-700); text-align: center; }
.price small { display: block; font-family: var(--font-body); font-size: .875rem; color: var(--slate); margin-top: 6px; }
@media (max-width: 640px) { .promo { grid-template-columns: 1fr; } .price { text-align: left; } }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.facts li { background: var(--sage-50); border-radius: var(--radius); padding: 16px; }
.facts strong { display: block; font-family: var(--font-display); font-size: 1.875rem; font-weight: 400; line-height: 1.1; color: var(--sage-800); }
.facts span { font-size: .875rem; color: var(--slate); }
.doctor { margin-top: 36px; padding: 24px; border-left: 4px solid var(--sage-600); background: var(--sage-50); border-radius: 0 var(--radius) var(--radius) 0; }
.doctor h3 { margin-bottom: .1em; }
.doctor .role { color: var(--slate); font-style: italic; margin-bottom: .75em; }
.doctor p:last-child { margin-bottom: 0; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } .about-media img { max-width: 420px; aspect-ratio: 4 / 5; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* Panels */
.panels { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.panels li { background: var(--white); border-radius: 12px; height: 92px; display: grid; place-items: center; padding: 14px; box-shadow: 0 1px 2px rgba(45, 39, 29, .06); }
.panels img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
.panel-note { margin-top: 24px; color: var(--slate); font-size: .9375rem; text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(45, 39, 29, .06); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--sage-800); border-bottom: 2px solid var(--sage-800); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 24px 20px; color: var(--slate); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-800); margin: 1.5em 0 .5em; }
.contact-card h3:first-of-type { margin-top: 0; }
.contact-card address { font-style: normal; }
.contact-card .btn-row { margin-top: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--sage-100); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--sage-800); }
.hours .closed { color: var(--rose-700); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: var(--sage-100); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding-block: 48px 96px; font-size: .9375rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid .label { display: block; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-200); margin-bottom: 12px; font-weight: 700; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; }
.footer-brand img { width: 40px; height: 40px; background: var(--white); border-radius: 50%; padding: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #1f7a45; color: var(--white); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: var(--white); }
.wa-float svg { width: 32px; height: 32px; }

/* Long-form pages (privacy, service pages) */
.page-hero { background: var(--sage-100); padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { margin: 0 0 .25em; }
.page-hero p { margin: 0; color: var(--slate); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; font-size: 1.1875rem; }
.prose ul { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.lang-switch a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--sage-100); text-decoration: none; font-weight: 700; color: var(--ink); }
.lang-switch a:hover { background: var(--sage-200); }
.callout { background: var(--sage-50); border-radius: var(--radius); padding: 20px 24px; margin: 1.5em 0; }

.prose ol { padding-left: 1.25em; margin: 0 0 1em; }

/* Services dropdown in the main nav */
.nav .has-sub { position: relative; }
.nav .has-sub > a { display: flex; align-items: center; gap: 6px; }
.nav .has-sub > a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav .subnav { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(83, 91, 88, .12); }
.nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.nav .has-sub:hover .subnav, .nav .has-sub:focus-within .subnav { display: flex; }
.nav .subnav a { border-radius: 10px; font-weight: 400; }
.nav a[aria-current="page"] { background: var(--sage-100); color: var(--sage-800); }
@media (max-width: 1000px) {
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .nav .has-sub > a::after { display: none; }
  .nav .subnav { display: grid; grid-template-columns: 1fr 1fr; position: static; min-width: 0; padding: 0 0 6px 12px; box-shadow: none; border: 0; background: none; }
  .nav .subnav a { padding: 10px 12px; font-size: .9375rem; }
}

/* Service cards that link to their own page */
.service--link { position: relative; transition: transform .2s, box-shadow .2s; }
.service--link h3 a { color: inherit; text-decoration: none; }
.service--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service--link:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(45, 39, 29, .06), 0 14px 32px rgba(45, 39, 29, .12); }
.service--link:has(a:focus-visible) { outline: 3px solid var(--sage-600); outline-offset: 3px; }
.service--link h3 a:focus-visible { outline: none; }
.service-more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .9375rem; color: var(--sage-800); }
.service-more::after { content: " \2192"; }
.service .tag + .service-more { padding-top: 10px; }

/* Page hero with breadcrumb and key facts */
.page-hero--split { background: linear-gradient(180deg, var(--sage-100) 0%, var(--sage-50) 100%); padding-block: clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.page-hero--split .container { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero--split h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); margin-bottom: .35em; }
.page-hero--split .lead { margin-bottom: 1.5rem; color: var(--slate); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .875rem; color: var(--slate); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--sage-400); }
.breadcrumb a { color: var(--sage-800); }
.key-facts { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 28px); }
.key-facts-title { font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-800); margin: 0 0 8px; }
.key-facts dl { margin: 0; }
.key-facts dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sage-100); }
.key-facts dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.key-facts dt { color: var(--slate); font-size: .9375rem; }
.key-facts dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }
.status-card--inline { position: static; justify-self: start; }
@media (max-width: 880px) { .page-hero--split .container { grid-template-columns: 1fr; } }

/* Content + sidebar */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.page-layout .prose { max-width: 720px; }
.side-card { position: sticky; top: 96px; background: var(--sage-50); border-radius: var(--radius-lg); padding: 24px; font-size: 1rem; }
.section--tint .side-card { background: var(--white); box-shadow: var(--shadow); }
.side-card-title { font-size: 1.625rem; margin-bottom: .4em; }
.side-card h3 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-800); margin: 1.25em 0 .35em; }
.side-card address { font-style: normal; color: var(--slate); }
.hours--compact { font-size: .9375rem; }
.hours--compact th, .hours--compact td { padding: 6px 0; }
.btn-stack { display: grid; gap: 10px; margin-top: 20px; }
.btn-stack .btn { justify-content: center; }
.side-card-link { margin: 14px 0 0; text-align: center; font-size: .9375rem; }
@media (max-width: 880px) { .page-layout { grid-template-columns: 1fr; } .side-card { position: static; } }

/* Price tables */
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 1em; background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(45, 39, 29, .06), 0 0 0 1px var(--sage-100); overflow: hidden; }
.price-table thead th { background: var(--sage-100); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-800); text-align: left; padding: 10px 18px; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th, .price-table tbody td { padding: 14px 18px; border-top: 1px solid var(--sage-100); vertical-align: top; }
.price-table tbody th { text-align: left; font-weight: 700; }
.price-table tbody td { text-align: right; white-space: nowrap; font-weight: 700; color: var(--sage-800); }
.price-note { display: block; font-weight: 400; font-size: .9375rem; color: var(--slate); margin-top: 2px; }
.small-print { font-size: .9375rem; color: var(--slate); }
@media (max-width: 520px) { .price-table thead th, .price-table tbody th, .price-table tbody td { padding-inline: 14px; } }

/* Checkup packages */
.packages, .prose .packages { list-style: none; padding: 0; margin: 1.5em 0 2em; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .packages, .prose .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .packages, .prose .packages { grid-template-columns: 1fr; } }
.package { background: var(--white); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); border-top: 4px solid var(--sage-600); display: flex; flex-direction: column; }
.package--alt { border-top-color: var(--rose-700); }
.prose .package h3 { margin: 0 0 .15em; font-size: 1.1875rem; }
.package-price { font-family: var(--font-display); font-size: 2.125rem; line-height: 1.1; color: var(--sage-800); margin: 0 0 .5em; }
.package--alt .package-price { color: var(--rose-700); }
.package-intro { font-size: .9375rem; color: var(--slate); margin: 0 0 .5em; }
.prose .checklist, .checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 26px; font-size: .9688rem; margin-bottom: .45em; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px; border-left: 2px solid var(--sage-600); border-bottom: 2px solid var(--sage-600); transform: rotate(-45deg); }

/* Insurance list */
.panel-list { columns: 2; column-gap: 32px; }
.panel-list li { break-inside: avoid; }
@media (max-width: 520px) { .panel-list { columns: 1; } }

/* Related services */
.section--compact { padding-block: clamp(40px, 6vw, 64px); }
.related-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }
.related { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } .related-link { padding: 10px 12px; gap: 10px; font-size: .9375rem; } .related-icon { width: 38px; height: 38px; } }
@media (max-width: 340px) { .related { grid-template-columns: 1fr; } }
.related-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--white); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(45, 39, 29, .06); text-decoration: none; font-weight: 700; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.related-link:hover { color: var(--sage-800); transform: translateY(-1px); box-shadow: var(--shadow); }
.related-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sage-100); color: var(--sage-800); display: grid; place-items: center; flex: none; }
.related-icon svg { width: 26px; height: 26px; }

/* Call-to-action band */
.cta-band { background: var(--sage-800); color: var(--white); padding-block: clamp(36px, 5vw, 56px); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band h2 { color: var(--white); font-size: clamp(1.625rem, 3.2vw, 2.25rem); margin-bottom: .2em; }
.cta-band p { margin: 0; color: var(--sage-100); }

.contact-note { margin: 20px 0 0; color: var(--slate); font-size: .9375rem; }
.key-facts .status-card--inline { box-shadow: none; background: var(--sage-50); margin: 8px 0 4px; }
.key-facts dd a { color: var(--ink); }

/* Clinic photos on service pages */
.page-photo { margin: clamp(24px, 4vw, 40px) 0 0; }
.page-photo img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-photo--portrait { max-width: 480px; }
.page-photo--portrait img { max-height: none; }

.page-photo--banner img { aspect-ratio: 2 / 1; max-height: none; object-position: 50% 40%; }
.photo-split { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.photo-split-media { margin: 0; position: sticky; top: 96px; }
.photo-split-media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-split .panels { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
@media (max-width: 880px) { .photo-split { grid-template-columns: 1fr; } .photo-split-media { position: static; max-width: 420px; } }
.photo-split .panel-note { text-align: left; }

/* Keep the floating WhatsApp button clear of the last lines of text */
.footer-bottom { padding-right: 84px; }
@media (max-width: 600px) {
  .site-footer { padding-bottom: 104px; }
  .cta-band .container { padding-bottom: 8px; }
  .page-hero .btn-row .btn, .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 1101px) { .packages .package { padding: 18px 14px; } .prose .packages .package h3 { font-size: 1.0625rem; } .packages .package-price { font-size: 1.75rem; } .packages .checklist li { font-size: .9063rem; } }

/* Language toggle (BM | EN) in the header */
.lang-toggle { display: flex; align-items: center; gap: 2px; flex-shrink: 0; margin-left: 8px; padding: 3px; border: 1px solid var(--sage-200); border-radius: 999px; background: var(--white); font-weight: 700; font-size: .8125rem; line-height: 1; }
.lang-toggle a { display: block; padding: 7px 10px; border-radius: 999px; color: var(--slate); text-decoration: none; }
.lang-toggle a:hover { background: var(--sage-100); color: var(--ink); }
.lang-toggle a[aria-current="page"] { background: var(--sage-800); color: var(--white); }
.lang-toggle span { display: none; }
@media (min-width: 1001px) { .site-header .nav { margin-left: auto; } }
@media (max-width: 1000px) {
  .lang-toggle { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; }
}
@media (min-width: 1001px) { .nav > ul > li > a { white-space: nowrap; } }
@media (min-width: 1001px) and (max-width: 1120px) {
  .site-header .container { gap: 8px; }
  .nav > ul > li > a { padding: 10px 8px; font-size: .875rem; }
  .nav a.btn { margin-left: 4px; padding-inline: 12px; }
}

/* Keep short units together (X-ray, prices, time ranges) */
.nowrap { white-space: nowrap; }
.brand span, .nav > ul > li > a { white-space: nowrap; }
.hours td { white-space: nowrap; padding-left: 12px; }
.hours th { padding-right: 8px; }

/* Checkup packages get their own full-width row */
.section--packages { padding-bottom: 0; }
.section--packages + .section { padding-top: clamp(40px, 6vw, 64px); }
.prose.packages-wrap { max-width: none; }
.packages-wrap > p { max-width: 760px; }
.packages, .prose .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { .packages, .prose .packages { grid-template-columns: repeat(4, minmax(0, 1fr)); } .packages .package { padding: 22px 20px; } .prose .packages .package h3 { font-size: 1.1875rem; } .packages .package-price { font-size: 2rem; } .packages .checklist li { font-size: .9375rem; } }
@media (max-width: 560px) { .packages, .prose .packages { grid-template-columns: 1fr; } }

/* Insurance panel logos: equal tiles, equal visual weight */
.panels, .photo-split .panels { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.panels li { height: 96px; padding: 16px 18px; }
.panels img { width: auto; height: calc(var(--lh, 48) * 1px); max-width: 100%; max-height: none; object-fit: contain; }
@media (max-width: 1000px) { .panels, .photo-split .panels { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .panels, .photo-split .panels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .panels li { height: 76px; padding: 10px 12px; } .panels img { height: calc(var(--lh, 48) * .75px); } }
/* Hide the floating WhatsApp button on phones while the hero (which has its own WhatsApp button) is on screen */
.wa-float { transition: opacity .2s, transform .2s; }
@media (max-width: 760px) { .wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; } }

/* Warning callout (e.g. pregnancy before X-ray) */
.callout { display: flex; gap: 12px; align-items: flex-start; margin: 1rem 0 1.5rem; padding: 14px 18px; border-radius: var(--radius); border-left: 5px solid var(--rose-700); background: var(--rose-100); color: var(--ink); }
.callout svg { width: 24px; height: 24px; flex: none; color: var(--rose-700); margin-top: 1px; }
.callout p { margin: 0; }
.callout strong { color: var(--rose-700); }

/* Portrait photo stacked above the sidebar card */
.side-col { display: flex; flex-direction: column; gap: 20px; }
.side-photo { margin: 0; }
.side-photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 880px) { .side-photo { max-width: 420px; } }

/* Show landscape page photos whole (no cropping) */
.page-photo:not(.page-photo--banner) img { max-height: none; object-fit: contain; }

/* FOMEMA logo on the service card and FOMEMA page */
.service-icon--logo { width: auto; min-width: 64px; padding: 0 12px; background: var(--white); border: 1px solid var(--sage-100); }
.service-icon--logo img { width: auto; height: 24px; }
.hero-logo { display: block; width: auto; height: 44px; margin: 0 0 14px; }

.page-photo--narrow { max-width: 820px; margin-inline: auto; }

.service-logo-title { line-height: 0; margin-bottom: .35em; }
.service-logo-title img { width: auto; height: 1.6em; }

/* Panel logos: trimmed files, fill the tile */
.panels li { height: 110px; padding: 14px 18px; }
.panels img { width: auto; height: auto; max-width: 88%; max-height: 72px; object-fit: contain; }
@media (max-width: 600px) { .panels li { height: 84px; padding: 10px; } .panels img { max-height: 54px; max-width: 92%; } }

/* Two promo cards side by side on the homepage */
.promo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo--card { display: flex; flex-direction: column; align-items: flex-start; }
.promo--card .price { text-align: left; margin: .25rem 0 1.25rem; font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
.promo--card .btn-row { margin-top: auto; }
.promo--sage { background: var(--sage-100); }
.promo--sage .price { color: var(--sage-800); }
@media (max-width: 880px) { .promo-pair { grid-template-columns: 1fr; } }
.price-from { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--slate); margin-right: 4px; }

.panels img { height: var(--h, 48px); width: auto; max-width: 92%; max-height: none; }
@media (max-width: 600px) { .panels img { height: calc(var(--h, 48px) * .72); } }
.promo--card > p:not(.price) { flex: 1 1 auto; }
.promo--card .btn-row { margin-top: 0; }
.panels img { object-fit: contain; }
.photo-split .panels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 600px) { .photo-split .panels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Icons (added 2026-10-28) */
/* 1A: homepage about facts */
.facts-ico { display: block; width: 26px; height: 26px; color: var(--sage-600); margin: 0 0 8px; }
/* 2A: at-a-glance rows */
.key-facts dl > div { align-items: center; }
.key-facts dt { display: flex; align-items: center; gap: 10px; }
.kf-ico { width: 20px; height: 20px; flex: none; color: var(--sage-600); }
/* 3A: preparation lists */
.prose ul.prep-list, .prep-list { list-style: none; padding: 0; margin: 0 0 1em; }
.prep-list li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--sage-100); }
.prep-list li:last-child { border-bottom: 0; }
.prep-ico, .cdot { width: 34px; height: 34px; border-radius: 50%; background: var(--sage-100); color: var(--sage-800); display: grid; place-items: center; flex: none; }
.prep-ico svg, .cdot svg { width: 18px; height: 18px; }
/* 4A / 9A: step cards */
.prose ol.step-cards, .step-cards { list-style: none; padding: 0; margin: 1.25em 0 1.75em; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-cards li { margin: 0; background: var(--sage-50); border-radius: var(--radius); padding: 18px 14px; text-align: center; font-size: .9375rem; line-height: 1.45; }
.step-tile, .pkg-tile, .hero-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--sage-100); color: var(--sage-800); display: grid; place-items: center; flex: none; }
.step-tile svg, .pkg-tile svg { width: 30px; height: 30px; }
.step-tile { margin: 0 auto 10px; }
.section--tint .step-cards li, .section--sage .step-cards li { background: var(--white); box-shadow: var(--shadow); }
.step-num { display: block; font-weight: 700; font-size: .8125rem; color: var(--rose-700); margin-bottom: 4px; }
.step-text { display: block; }
@media (min-width: 700px) { .prose ol.step-cards--3, .step-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .prose ol.step-cards--4, .step-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 380px) { .prose ol.step-cards, .step-cards { grid-template-columns: 1fr; } }
/* 5A: checkup package tiles */
.pkg-tile { margin-bottom: 12px; }
/* 7A: service page hero tile */
.hero-icon { margin: 0 0 14px; background: var(--white); box-shadow: var(--shadow); }
.hero-icon svg { width: 32px; height: 32px; }
/* 8A: contact details */
.cdetail { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; margin-top: 1.75em; }
.contact-card > .cdetail:first-child { margin-top: 0; }
.cdetail > div { display: contents; }
.cdetail h3, .cdetail address { grid-column: 2; }
.cdetail .hours { grid-column: 1 / -1; }
.contact-card .cdetail h3 { margin: 5px 0 .5em; }
.cdetail--rows > h3 { grid-column: 2; }
.crows { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; }
.crows li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 5px 0; overflow-wrap: anywhere; }

/* Vaccine icons in the price table */
.vax-row { display: flex; gap: 14px; align-items: flex-start; }
.vax-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--sage-100); color: var(--sage-800); display: grid; place-items: center; }
.vax-ico svg { width: 26px; height: 26px; }

/* Contact card: consistent layout (plain headings, icon rows, full-width hours) */
.contact-card .cdetail--rows { display: block; margin-top: 1.6rem; }
.contact-card .cdetail--rows:first-child { margin-top: 0; }
.contact-card .cdetail--rows h3 { margin: 0 0 .7rem; }
.contact-card .crows { list-style: none; margin: 0; padding: 0; }
.contact-card .crows li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.contact-card .crows li > span:last-child, .contact-card .crows address { padding-top: 6px; line-height: 1.5; font-style: normal; }
.contact-card .crows .cdot { flex: none; }

@media (max-width: 480px) { .contact-card .hours th { white-space: nowrap; padding-right: 10px; } .contact-card .hours td .nowrap { white-space: normal; } }

/* Typography: Figtree for everything */
h1, h2 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h3 { font-weight: 700; }
.brand span, .footer-brand { font-weight: 800; letter-spacing: -0.01em; }
.price, .package-price, .facts strong { font-weight: 800; letter-spacing: -0.02em; }
.lead { font-size: 1.25rem; }

/* ===== Colour refresh: warm paper, deep green, terracotta accent ===== */
:root {
  --paper: #faf7f2;
  --paper-2: #f3eee6;
  --green: #23423a;
  --sage-800: #23423a;
  --rose-100: #fbe7e1;
  --rose-200: #f2c3b6;
  --rose-700: #a63e2a;
}
body { background: var(--paper); }
.section--tint { background: var(--paper-2); }
.section--sage { background: var(--paper-2); }
.hero { background: linear-gradient(180deg, #f1ece3 0%, var(--paper) 100%); }
.page-hero, .page-hero--split { background: linear-gradient(180deg, #f1ece3 0%, var(--paper) 100%); }
.site-header { background: rgba(250, 247, 242, .95); }
.btn--primary { background: var(--green); }
.nav a.btn { background: var(--green); }
.eyebrow { color: var(--rose-700); }
.hero h1 em { color: var(--green); }
.service .tag { background: var(--rose-100); color: var(--rose-700); }
.promo--sage { background: var(--sage-100); }
.site-footer { background: var(--green); }

/* Quick answers strip under the hero */
.quick { padding: 0 0 8px; margin-top: -28px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.chip { display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 16px 18px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.chip:hover { transform: translateY(-2px); color: var(--ink); }
.chip-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sage-100); color: var(--green); display: grid; place-items: center; }
.chip-ico svg { width: 24px; height: 24px; }
.chip b { display: block; font-size: 1rem; line-height: 1.3; }
.chip b + span { display: block; font-size: .875rem; color: var(--slate); line-height: 1.35; margin-top: 2px; }
@media (max-width: 960px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .quick { margin-top: 0; padding-top: 8px; } .chip { padding: 12px; gap: 10px; } .chip-ico { width: 38px; height: 38px; } .chip b { font-size: .95rem; } .chip b + span { font-size: .8rem; } }

/* Phone bottom action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-top: 1px solid rgba(35,66,58,.12); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 0 10px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--green); }
  .mbar a.mbar-wa { background: #1f7a45; color: #fff; }
  .wa-float { display: none !important; }
  body { padding-bottom: 64px; }
}

/* Photo service cards (X-ray, ultrasound) */
.services--photo { grid-template-columns: repeat(2, 1fr); margin-bottom: 20px; }
.service-photo { display: block; width: calc(100% + 48px); max-width: none; margin: -26px -24px 20px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
@media (max-width: 760px) { .services--photo { grid-template-columns: 1fr; } }

/* Flu promo hidden out of window: checkup card takes the full row */
.promo[hidden] { display: none; }
.promo-pair--single { grid-template-columns: 1fr; }
