:root {
  --ink: #004347;
  --ink-deep: #002e31;
  --ink-soft: #205b5e;
  --teal: #004347;
  --teal-dark: #00383b;
  --mint: #64d41e;
  --mint-soft: #e8f8dd;
  --cream: #f7f8f3;
  --white: #ffffff;
  --text: #17484b;
  --muted: #5b7273;
  --line: #dce8e0;
  --shadow: 0 24px 70px rgba(0, 67, 71, 0.12);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.container { width: var(--container); margin-inline: auto; }
section[id] { scroll-margin-top: 82px; }
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 64px 0; }
.section-dark { position: relative; overflow: hidden; color: var(--white); background: var(--ink-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; color: var(--white); background: var(--teal); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }

.site-header { position: absolute; z-index: 50; top: 0; left: 0; width: 100%; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); transition: background .2s ease, box-shadow .2s ease; }
.site-header.is-sticky { position: fixed; color: var(--ink); background: rgba(247,248,243,.94); box-shadow: 0 12px 35px rgba(4,37,40,.08); backdrop-filter: blur(18px); border-color: rgba(9,45,49,.08); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { display: grid; place-items: center; width: 45px; height: 45px; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-mark .brand-logo-on-light { display: none; }
.site-header.is-sticky .brand-logo-on-dark { display: none; }
.site-header.is-sticky .brand-logo-on-light { display: block; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 20px; letter-spacing: -.03em; }
.brand-copy small { margin-top: 5px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; opacity: .66; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.main-nav a, .footer-main a { transition: color .18s ease; }
.main-nav a:hover, .footer-main a:hover { color: var(--mint); }
.header-cta { justify-self: end; }
.menu-toggle { display: none; color: inherit; background: none; border: 0; }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 21px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; line-height: 1; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button .whatsapp-icon { flex: 0 0 auto; fill: currentColor; stroke: none; }
.button-sm { min-height: 42px; padding-inline: 17px; font-size: 13px; color: var(--ink-deep); background: var(--mint); }
.button-primary { color: var(--ink-deep); background: var(--mint); }
.button-primary:hover, .button-sm:hover { background: #79e633; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: var(--mint); background: rgba(255,255,255,.1); }
.button-outline-dark { color: var(--ink); border-color: rgba(0,67,71,.38); background: transparent; }
.button-outline-dark:hover { background: var(--mint-soft); border-color: var(--teal); }

.hero { min-height: 790px; padding: 170px 0 0; background: radial-gradient(circle at 80% 8%, #08565a 0, var(--ink-deep) 46%); }
.hero-logo-outline { position: absolute; top: 60px; right: -180px; width: min(760px, 57vw); height: auto; opacity: .31; pointer-events: none; user-select: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .88fr); align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 17px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: var(--mint); }
.eyebrow-icon { display: inline-block; width: 24px; height: 24px; margin: 0 9px -7px 0; stroke-width: 1.7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; letter-spacing: -.035em; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
h1 { max-width: 720px; margin-bottom: 25px; font-size: clamp(46px, 5.15vw, 74px); }
h2 { margin-bottom: 20px; font-size: clamp(36px, 4vw, 54px); }
h3 { margin-bottom: 12px; font-size: 21px; }
.hero-lead { max-width: 630px; margin-bottom: 22px; color: #c5d8d7; font-size: 18px; line-height: 1.65; }
.hero-location { width: max-content; max-width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 29px; padding: 12px 16px; border: 1px solid rgba(100,212,30,.42); border-radius: 14px; background: rgba(100,212,30,.08); line-height: 1.35; }
.hero-location svg { width: 25px; height: 25px; flex: none; color: var(--mint); stroke-width: 1.6; }
.hero-location strong, .hero-location small { display: block; }
.hero-location strong { color: var(--white); font-size: 13px; }
.hero-location small { margin-top: 3px; color: #c5d8d7; font-size: 11px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 22px 0 0; color: rgba(255,255,255,.58); font-size: 13px; }

.image-frame { position: relative; margin: 0; overflow: hidden; background: #dce7de; border-radius: 25px; }
.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-frame figcaption { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; color: var(--ink-deep); background: rgba(255,255,255,.9); border-radius: 99px; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.hero-photo { width: 100%; height: 530px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 32px 80px rgba(0,0,0,.24); }
.hero-photo img { object-position: center 34%; }

.trust-row { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 80px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; border-radius: 22px 22px 0 0; overflow: hidden; }
.trust-row > div { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 22px 27px; background: rgba(255,255,255,.045); }
.trust-row svg { width: 30px; height: 30px; color: var(--mint); }
.trust-row strong, .trust-row small { display: block; }
.trust-row strong { font-size: 14px; }
.trust-row small { margin-top: 3px; color: rgba(255,255,255,.56); font-size: 11px; }

.split-heading { display: grid; grid-template-columns: 1.05fr .8fr; align-items: end; gap: 90px; margin-bottom: 50px; }
.split-heading h2 { max-width: 630px; margin-bottom: 0; }
.split-heading > p { max-width: 510px; margin: 0 0 5px; color: var(--muted); }
.situation-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.situation-grid article { min-height: 245px; padding: 30px 25px; background: rgba(255,255,255,.34); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.situation-grid article:hover { z-index: 2; background: var(--white); transform: translateY(-4px); box-shadow: var(--shadow); }
.situation-grid span { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 45px; color: var(--teal); background: var(--mint-soft); border-radius: 50%; font-size: 11px; font-weight: 800; }
.situation-grid p, .section-heading > p, .exams-copy > p, .faq-intro > p { color: var(--muted); }

.solutions { background: var(--white); }
.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p { max-width: 620px; margin: 0 auto; }
.solutions-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.solution-card { min-height: 310px; display: flex; flex-direction: column; padding: 30px; background: #f7faf8; border: 1px solid var(--line); border-radius: var(--radius-md); }
.solution-card:nth-child(4) { grid-column: 2 / 4; min-height: 250px; }
.solution-featured { grid-row: span 2; min-height: 578px; color: var(--white); background: var(--ink); border-color: var(--ink); }
.solution-featured h3 { max-width: 390px; margin-top: auto; color: var(--white); font-size: clamp(30px, 3vw, 43px); }
.solution-card > p { color: var(--muted); }
.solution-featured > p:not(.card-kicker) { color: rgba(255,255,255,.65); }
.card-kicker { margin: 0; color: var(--mint) !important; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.card-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 62px; color: var(--teal); }
.card-icon svg { width: 34px; height: 34px; stroke-width: 1.55; }
.solution-featured .card-icon { color: var(--mint); }
.solution-card > .button { align-self: flex-start; margin-top: auto; font-size: 13px; }

.process { background: var(--ink); }
.process-layout { display: grid; grid-template-columns: .8fr 1.1fr; gap: 120px; }
.process-intro { position: sticky; top: 130px; align-self: start; }
.process-intro p:not(.eyebrow) { color: #a9c0bf; }
.process-intro .button { margin-top: 18px; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 31px 0; border-top: 1px solid rgba(255,255,255,.13); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.process-list > li > span { color: var(--mint); font-size: 12px; font-weight: 800; }
.process-list h3 { margin-bottom: 8px; }
.process-list p { margin: 0; color: #9cb3b2; }

.exams { background: #edf4f0; }
.exams-layout { display: grid; grid-template-columns: .8fr 1.1fr; gap: 100px; align-items: start; }
.exams-copy { position: sticky; top: 130px; }
.exams-photo { height: 235px; margin-top: 28px; border-radius: 18px; }
.exams-photo img { object-position: center 42%; }
.partner-note { display: grid; grid-template-columns: 38px 1fr; gap: 14px; margin-top: 35px; padding-top: 28px; border-top: 1px solid #cdded8; }
.partner-note svg { width: 36px; height: 36px; color: var(--teal); stroke-width: 1.5; }
.partner-note p { margin: 0; color: var(--muted); font-size: 13px; }
.partner-note strong { display: block; margin-bottom: 3px; color: var(--ink); }
.exam-list { background: var(--white); border-radius: var(--radius-md); box-shadow: 0 18px 55px rgba(8,58,61,.08); overflow: hidden; }
.exam-list > div { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 18px; min-height: 82px; padding: 15px 25px; border-bottom: 1px solid var(--line); }
.exam-list > div:last-child { border-bottom: 0; }
.exam-list span { color: var(--teal); font-size: 11px; font-weight: 800; }
.exam-list strong { font-size: 16px; }
.exam-list small { padding: 5px 9px; color: var(--teal-dark); background: var(--mint-soft); border-radius: 99px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.clinic { background: var(--cream); }
.clinic-layout { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 90px; }
.clinic-copy { max-width: 610px; }
.clinic-copy p:not(.eyebrow) { max-width: 550px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.clinic-highlight { position: relative; min-height: 320px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; overflow: hidden; padding: 38px; color: var(--white); background: linear-gradient(135deg, #07565a, var(--ink)); border-radius: var(--radius-lg); }
.clinic-highlight::before { content: ""; position: absolute; width: 340px; height: 340px; right: -95px; top: -150px; opacity: .3; background: url("./assets/oficimed_logo_outline.svg") center / contain no-repeat; pointer-events: none; }
.clinic-highlight-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 28px; color: var(--mint); }
.clinic-highlight-icon svg { width: 50px; height: 50px; stroke-width: 1.35; }
.clinic-highlight span { position: relative; color: var(--mint); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.clinic-highlight strong { position: relative; max-width: 360px; margin-top: 8px; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -.03em; }
.clinic-gallery { margin-top: 68px; }
.clinic-gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.clinic-gallery-heading .eyebrow { margin-bottom: 9px; }
.clinic-gallery-heading h3 { margin: 0; font-size: clamp(25px, 2.6vw, 34px); }
.clinic-gallery-hint { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.clinic-gallery-controls { display: flex; align-items: center; gap: 9px; flex: none; }
.clinic-gallery-count { min-width: 77px; margin-right: 7px; color: var(--muted); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.gallery-arrow { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--ink); background: transparent; border: 1px solid rgba(0,67,71,.35); border-radius: 50%; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.gallery-arrow:hover:not(:disabled) { background: var(--mint-soft); border-color: var(--teal); transform: translateY(-2px); }
.gallery-arrow:disabled { opacity: .35; cursor: not-allowed; }
.gallery-arrow svg { width: 20px; height: 20px; }
.clinic-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; }
.clinic-carousel.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.clinic-carousel.is-dragging img { pointer-events: none; }
.clinic-carousel::-webkit-scrollbar { display: none; }
.clinic-slide { min-width: 0; margin: 0; scroll-snap-align: start; }
.clinic-slide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: #dce8e0; border-radius: 22px; }
.clinic-slide figcaption { padding: 13px 2px 0; color: var(--ink); font-size: 14px; font-weight: 750; }

.companies { background: var(--white); }
.company-panel { position: relative; min-height: 530px; display: grid; grid-template-columns: 1fr .85fr; align-items: center; overflow: hidden; padding: 68px; color: var(--white); background: linear-gradient(135deg, #07565a, var(--ink)); border-radius: var(--radius-lg); }
.company-panel::before { content: ""; position: absolute; width: 540px; height: 540px; right: -110px; bottom: -260px; opacity: .3; background: url("./assets/oficimed_logo_outline.svg") center / contain no-repeat; pointer-events: none; }
.company-copy { position: relative; z-index: 2; max-width: 610px; }
.company-copy h2 { color: var(--white); }
.company-copy p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.company-copy .button { margin-top: 15px; }
.company-photo { z-index: 2; height: 395px; margin-left: 42px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.company-photo img { object-position: center; }

.worker-cta { background: var(--mint-soft); }
.worker-card { display: grid; grid-template-columns: auto 1fr 1.1fr auto; align-items: center; gap: 25px; }
.worker-badge { width: 54px; height: 54px; display: grid; place-items: center; color: var(--teal); }
.worker-badge svg { width: 43px; height: 43px; stroke-width: 1.5; }
.worker-card h2 { margin: 0; font-size: 28px; }
.worker-card .eyebrow { margin-bottom: 7px; }
.worker-card > p { margin: 0; color: var(--muted); font-size: 14px; }

.faq { background: var(--cream); }
.faq-layout { display: grid; grid-template-columns: .65fr 1fr; gap: 110px; }
.faq-intro { position: sticky; top: 130px; align-self: start; }
.accordion details { border-top: 1px solid #cbd9d5; }
.accordion details:last-child { border-bottom: 1px solid #cbd9d5; }
.accordion summary { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--ink); font-size: 18px; font-weight: 750; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { position: relative; flex: none; width: 27px; height: 27px; }
.accordion summary span::before, .accordion summary span::after { content: ""; position: absolute; top: 13px; left: 5px; width: 17px; height: 1px; background: var(--teal); transition: transform .2s ease; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { max-width: 650px; padding: 0 45px 26px 0; color: var(--muted); }

.contact { background: var(--ink-deep); }
.contact-layout { display: grid; grid-template-columns: .75fr 1fr; gap: 100px; align-items: start; }
.contact-copy { position: sticky; top: 130px; }
.contact-copy > p:not(.eyebrow) { color: #abc0bf; }
.contact-location { margin-top: 29px; padding: 23px; border: 1px solid rgba(100,212,30,.32); border-radius: 18px; background: rgba(255,255,255,.045); }
.contact-location .eyebrow { display: block; margin-bottom: 10px; }
.contact-location h3 { margin-bottom: 9px; font-size: 24px; }
.contact-location p { margin: 0; color: #abc0bf; font-size: 14px; }
.contact-whatsapp { display: inline-flex; margin-top: 14px; color: var(--mint); font-size: 14px; font-weight: 750; }
.contact-whatsapp:hover { color: var(--white); }
.contact-copy ul { display: grid; gap: 13px; margin: 35px 0 0; padding: 0; list-style: none; }
.contact-copy li { display: flex; align-items: center; gap: 13px; color: #d5e1e0; }
.contact-copy li span { display: grid; place-items: center; width: 28px; height: 28px; color: var(--mint); border: 1px solid rgba(100,212,30,.35); border-radius: 50%; font-size: 9px; }
.contact-form { padding: 35px; background: var(--white); border-radius: var(--radius-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 15px; color: var(--ink); font-size: 12px; font-weight: 750; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; color: var(--text); background: #f5f8f6; border: 1px solid #d9e5e1; border-radius: 10px; outline: none; transition: border .18s ease, box-shadow .18s ease; }
.contact-form input, .contact-form select { min-height: 49px; padding: 0 13px; }
.contact-form textarea { resize: vertical; padding: 12px 13px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,67,71,.1); }
.form-submit { width: 100%; margin-top: 5px; border: 0; }
.form-footnote { margin: 14px 0 0; color: #7b8e8f; font-size: 10px; text-align: center; }

.site-footer { color: #bdd0cf; background: #031b1d; }
.footer-main { display: grid; grid-template-columns: 1.4fr .7fr .8fr; gap: 80px; padding: 65px 0 48px; }
.brand-footer { color: var(--white); }
.footer-brand p { max-width: 360px; margin: 23px 0 0; color: #849f9e; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-main h2 { margin: 0 0 10px; color: var(--mint); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact-link .whatsapp-icon { width: 15px; height: 15px; flex: 0 0 auto; fill: currentColor; }
.footer-main a { font-size: 14px; }
.footer-main > div > p { color: #718c8b; font-size: 12px; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }
.footer-bottom p { margin: 0; }

.whatsapp-fab {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #25d366;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(0,0,0,.28);
  animation: whatsapp-fab-float 3.5s ease-in-out infinite;
  transition: width .3s ease-out, background-color .3s ease-out, transform .2s ease;
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible { width: 208px; background: #20bd5a; }
.whatsapp-fab:hover { transform: scale(1.045); }
.whatsapp-fab:active { transform: scale(.97); }
.whatsapp-fab:focus-visible { outline: 2px solid #25d366; outline-offset: 4px; }
.whatsapp-fab-icon { position: absolute; left: 16px; width: 32px; height: 32px; flex: 0 0 auto; fill: currentColor; stroke: none; }
.whatsapp-fab span { margin-left: 56px; white-space: nowrap; opacity: 0; font-size: 14px; font-weight: 750; transition: opacity .2s ease; }
.whatsapp-fab:hover span, .whatsapp-fab:focus-visible span { opacity: 1; transition-delay: .1s; }

@keyframes whatsapp-fab-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  :root { --container: min(100% - 40px, 920px); }
  .section-pad { padding: 88px 0; }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; inset: 82px 0 auto; display: none; padding: 26px 20px 30px; color: var(--ink); background: var(--cream); box-shadow: 0 20px 40px rgba(4,37,40,.12); }
  .main-nav.is-open { display: grid; gap: 20px; }
  .menu-toggle { justify-self: end; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; padding: 0; }
  .menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header-cta { display: none; }
  .hero { padding-top: 145px; }
  .hero-grid { grid-template-columns: 1fr 410px; gap: 35px; }
  .situation-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .solution-featured { grid-column: 1 / 3; grid-row: auto; min-height: 420px; }
  .solution-card:nth-child(4) { grid-column: auto; min-height: 310px; }
  .process-layout, .exams-layout, .faq-layout, .contact-layout { gap: 65px; }
  .clinic-layout { gap: 50px; }
  .clinic-carousel { grid-auto-columns: calc((100% - 18px) / 2); }
  .company-panel { padding: 55px; }
  .worker-card { grid-template-columns: auto 1fr auto; }
  .worker-card > p { grid-column: 2; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 690px; }
  .hero-photo { max-width: 560px; height: 480px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row > div { min-height: 85px; }
  .split-heading, .process-layout, .exams-layout, .clinic-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .process-intro, .exams-copy, .faq-intro, .contact-copy { position: static; }
  .company-panel { grid-template-columns: 1fr; }
  .company-photo { height: 340px; margin: 30px 0 0; }
  .worker-card { grid-template-columns: auto 1fr; }
  .worker-card > p, .worker-card .button { grid-column: 2; }
  .worker-card .button { width: max-content; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 35px; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 32px); }
  section[id] { scroll-margin-top: 72px; }
  .section-pad { padding: 72px 0; }
  .section-pad-sm { padding: 48px 0; }
  .header-inner { min-height: 72px; }
  .main-nav { inset-block-start: 72px; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-logo-outline { top: 100px; right: -265px; width: 510px; opacity: .25; }
  h1 { font-size: clamp(42px, 12.5vw, 59px); }
  h2 { font-size: clamp(33px, 10vw, 45px); }
  .hero-actions .button { width: 100%; }
  .hero-photo { height: 430px; margin-top: 20px; }
  .trust-row { margin-top: 48px; }
  .situation-grid, .solutions-grid { grid-template-columns: 1fr; }
  .situation-grid article { min-height: 210px; }
  .situation-grid span { margin-bottom: 30px; }
  .solution-featured, .solution-card:nth-child(4) { grid-column: auto; min-height: 360px; }
  .solution-card > .button, .process-intro .button, .company-copy .button { width: 100%; }
  .process-list li { grid-template-columns: 39px 1fr; gap: 14px; }
  .exam-list > div { grid-template-columns: 36px 1fr; padding-inline: 18px; }
  .exam-list small { grid-column: 2; width: max-content; margin-top: -10px; }
  .clinic-highlight { min-height: 280px; padding: 30px; }
  .clinic-gallery { margin-top: 44px; }
  .clinic-gallery-heading { align-items: flex-end; gap: 12px; }
  .clinic-gallery-heading h3 { max-width: 190px; font-size: 24px; }
  .clinic-gallery-controls { gap: 6px; }
  .clinic-gallery-count { min-width: 49px; margin-right: 2px; font-size: 10px; }
  .gallery-arrow { width: 37px; height: 37px; }
  .clinic-carousel { grid-auto-columns: 100%; gap: 12px; }
  .company-panel { min-height: auto; padding: 38px 24px; border-radius: 24px; }
  .company-photo { height: 270px; }
  .worker-card { grid-template-columns: 1fr; text-align: left; }
  .worker-card > p, .worker-card .button { grid-column: auto; }
  .worker-card .button { width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 18px; }
  .footer-main { grid-template-columns: 1fr; padding-top: 50px; }
  .footer-bottom { min-height: 100px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clinic-carousel { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
