:root {
  --ink: #123241;
  --ink-soft: #516b77;
  --blue: #0b5674;
  --blue-deep: #07384e;
  --aqua: #71cbd0;
  --aqua-pale: #dff3f1;
  --cream: #f6f4ed;
  --paper: #fbfaf6;
  --white: #fff;
  --line: rgba(18, 50, 65, .16);
  --shell: min(1180px, calc(100% - 48px));
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Arial, sans-serif; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: -80px; left: 16px; padding: 10px 16px; background: var(--white); color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 80; inset: 0 0 auto; color: var(--ink); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.is-solid { background: rgba(251,250,246,.96); border-color: var(--line); box-shadow: 0 10px 30px rgba(18,50,65,.06); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; margin-right: auto; line-height: 1.05; }
.brand-mark { width: 44px; aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 1px solid currentColor; border-radius: 50% 50% 47% 53%; transform: rotate(-6deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; top: -3px; width: 12px; height: 12px; border-top: 1px solid currentColor; }
.brand-mark::before { left: 6px; transform: rotate(25deg); }
.brand-mark::after { right: 6px; transform: rotate(-25deg); }
.brand-mark span { transform: rotate(6deg); font-size: 11px; font-weight: 800; letter-spacing: -.05em; }
.brand-copy { display: flex; flex-direction: column; gap: 6px; }
.brand-copy b { font-size: 17px; letter-spacing: -.025em; }
.brand-copy small { color: var(--ink-soft); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.site-nav { display: flex; align-items: center; gap: 23px; font-size: 13px; }
.site-nav a { position: relative; padding-block: 9px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--blue); transition: right .25s; }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.header-call { padding: 11px 15px; border: 1px solid var(--ink); font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.header-call:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 9px; border: 0; color: currentColor; background: transparent; }
.menu-toggle > span:not(.visually-hidden) { display: block; height: 1px; margin: 6px 0; background: currentColor; }

.hero { min-height: 760px; height: 100svh; max-height: 920px; position: relative; display: grid; align-items: center; overflow: hidden; background: linear-gradient(120deg, #edf7f5 0 60%, #d5ecea 60%); }
.hero::before { content: ""; position: absolute; left: -9vw; bottom: -26vw; width: 48vw; aspect-ratio: 1; border: 1px solid rgba(11,86,116,.15); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(113,203,208,.06), 0 0 0 14vw rgba(113,203,208,.04); }
.hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 6.5vw; align-items: center; padding-top: 86px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--aqua); }
.hero h1 { margin-bottom: 28px; font-size: clamp(52px, 6vw, 88px); line-height: .97; letter-spacing: -.055em; font-weight: 520; }
.hero h1 em { display: block; color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.hero-lead { max-width: 610px; color: var(--ink-soft); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 23px; border: 1px solid transparent; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-deep); }
.button-secondary { border-color: var(--ink); background: transparent; }
.button-secondary:hover { color: var(--white); background: var(--ink); }
.button-light { color: var(--blue-deep); background: var(--white); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 45px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts dt { color: var(--ink-soft); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.hero-facts dd { margin-top: 5px; font-size: 13px; font-weight: 700; }
.hero-media { margin: 0; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(11,86,116,.25); }
.hero-media img { width: 100%; height: min(64vh, 610px); min-height: 480px; object-fit: cover; object-position: center; filter: saturate(.78) contrast(.96); }
.hero-media figcaption { position: absolute; left: -1px; bottom: -1px; display: flex; gap: 12px; padding: 13px 18px; color: var(--white); background: rgba(7,56,78,.9); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero-media figcaption span { color: var(--aqua); font-weight: 800; }
.scroll-cue { position: absolute; left: 50%; bottom: 25px; display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: 8px; text-transform: uppercase; letter-spacing: .18em; transform: translateX(-50%); }
.scroll-cue b { font-size: 18px; animation: bounce 1.8s infinite; }

.section { padding-block: 110px; scroll-margin-top: 75px; }
.section-heading { margin-bottom: 58px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .6fr; gap: 80px; align-items: end; }
.section-heading h2, .visit-copy h2, .contacts-heading h2 { margin-bottom: 0; max-width: 780px; font-size: clamp(38px, 5vw, 66px); line-height: 1.03; letter-spacing: -.045em; font-weight: 520; }
.section-heading > p { margin-bottom: 5px; color: var(--ink-soft); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 330px; display: flex; flex-direction: column; position: relative; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background .25s, transform .25s, box-shadow .25s; }
.service-card:hover { z-index: 1; background: var(--white); transform: translateY(-5px); box-shadow: 0 18px 50px rgba(18,50,65,.09); }
.service-number { color: var(--blue); font-size: 10px; font-weight: 800; }
.service-icon { width: 64px; aspect-ratio: 1; display: grid; place-items: center; margin: 40px 0 auto; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; font-size: 25px; }
.service-card h3 { margin: 28px 0 10px; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.service-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; }
.service-note { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 28px; padding: 25px 28px; background: var(--aqua-pale); }
.service-note p { max-width: 710px; margin: 0; color: var(--ink-soft); font-size: 14px; }
.service-note p b { color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.text-link span { color: var(--aqua); font-size: 17px; }

.doctors { color: var(--white); background: var(--blue-deep); }
.doctors .section-heading > p { color: rgba(255,255,255,.62); }
.doctor-list { border-top: 1px solid rgba(255,255,255,.16); }
.doctor-row { display: grid; grid-template-columns: 50px 1fr .75fr; gap: 20px; align-items: center; min-height: 92px; border-bottom: 1px solid rgba(255,255,255,.16); }
.doctor-row > span { color: var(--aqua); font-size: 10px; font-weight: 800; }
.doctor-row h3 { margin: 0; font-size: clamp(20px, 2.3vw, 29px); font-weight: 500; letter-spacing: -.03em; }
.doctor-row p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }
.doctor-action { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 34px; }
.doctor-action p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }

.clinic { background: var(--cream); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
.gallery-item { min-width: 0; display: flex; flex-direction: column; position: relative; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: zoom-in; text-align: left; }
.gallery-item img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #e8e8e4; transition: transform .35s, filter .35s; }
.gallery-item:hover img { transform: translateY(-4px); filter: saturate(1.08); }
.gallery-item span { padding: 11px 0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.gallery-wide { grid-column: span 2; }

.visit { background: var(--paper); }
.visit-grid { display: grid; grid-template-columns: 1.1fr .72fr; gap: 9vw; align-items: start; }
.visit-copy > p:not(.eyebrow) { max-width: 660px; margin: 28px 0 45px; color: var(--ink-soft); font-size: 15px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--blue); font-size: 10px; font-weight: 800; }
.steps b { font-size: 16px; }
.steps p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }
.visit-card { position: sticky; top: 120px; padding: 48px; color: var(--white); background: var(--blue); box-shadow: 20px 20px 0 var(--aqua-pale); }
.visit-card h3 { margin: 30px 0 22px; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.035em; font-weight: 500; }
.visit-card > p:not(.eyebrow) { margin-bottom: 32px; color: rgba(255,255,255,.68); font-size: 13px; }

.contacts { padding-block: 110px; scroll-margin-top: 75px; color: var(--white); background: #092e40; }
.contacts-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px 100px; }
.contacts-heading p:not(.eyebrow) { max-width: 480px; margin: 24px 0 0; color: rgba(255,255,255,.58); }
.contact-block { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-block > span { display: block; margin-bottom: 20px; color: var(--aqua); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.contact-block h3 { max-width: 450px; margin-bottom: 28px; font-size: 27px; line-height: 1.25; font-weight: 500; }
.light-link span { color: var(--aqua); }
.contact-phone { display: block; width: fit-content; margin-bottom: 5px; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.03em; }
.contact-phone:hover { color: var(--aqua); }
.schedule p { display: flex; justify-content: space-between; gap: 25px; margin: 0; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.schedule p b { font-weight: 500; }
.schedule time { color: var(--aqua); font-variant-numeric: tabular-nums; }

.site-footer { padding-top: 65px; color: var(--ink); background: var(--aqua-pale); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 70px; padding-bottom: 55px; }
.footer-brand { align-self: start; }
.footer-grid nav { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer-grid nav a:hover, .footer-grid > div a:hover { color: var(--blue); }
.footer-grid > div a { display: block; margin-bottom: 10px; font-size: 17px; font-weight: 700; }
.footer-grid > div p { color: var(--ink-soft); font-size: 12px; }
.footer-bottom { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 10px; }

.lightbox { width: min(1000px, calc(100% - 42px)); max-height: calc(100vh - 42px); padding: 0; border: 0; color: var(--white); background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(3,24,33,.92); backdrop-filter: blur(5px); }
.lightbox > div { display: grid; justify-items: center; max-height: calc(100vh - 42px); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 100px); width: auto; height: auto; object-fit: contain; }
.lightbox p { margin: 12px 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.lightbox-close { position: absolute; z-index: 2; top: -40px; right: 0; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.45); color: var(--white); background: transparent; font-size: 24px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 34px, 860px); }
  .site-nav { gap: 14px; }
  .header-call { display: none; }
  .hero { height: auto; max-height: none; padding: 150px 0 90px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 0; }
  .hero-media img { height: 560px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split-heading { grid-template-columns: 1fr; gap: 25px; }
  .doctor-row { grid-template-columns: 40px 1fr; padding: 17px 0; }
  .doctor-row p { grid-column: 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { gap: 50px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: block; order: 2; }
  .site-nav { position: fixed; inset: 74px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 30px 24px; color: var(--ink); background: var(--paper); transform: translateX(100%); transition: transform .25s; }
  .site-nav.is-open { transform: none; }
  .site-nav a { width: 100%; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .site-nav a::after { display: none; }
  .brand-copy b { font-size: 15px; }
  .brand-copy small { font-size: 7px; }
  .hero { min-height: 0; padding: 120px 0 80px; }
  .hero h1 { font-size: 48px; }
  .hero-media img { min-height: 0; height: auto; object-fit: contain; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { padding: 10px 0; }
  .hero-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .scroll-cue { display: none; }
  .section, .contacts { padding-block: 75px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-note, .doctor-action { align-items: flex-start; flex-direction: column; }
  .doctor-row { grid-template-columns: 30px 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .visit-grid, .contacts-grid { grid-template-columns: 1fr; gap: 55px; }
  .visit-card { position: static; padding: 34px; box-shadow: 10px 10px 0 var(--aqua-pale); }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
}

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