:root {
  --purple: #5b2f77;
  --purple-deep: #351545;
  --purple-soft: #f4eef7;
  --green: #4fac3d;
  --green-deep: #337d2a;
  --ink: #201d24;
  --muted: #66606a;
  --line: #e4dee7;
  --paper: #ffffff;
  --soft: #f7f6f8;
  --shadow: 0 24px 70px rgba(53, 21, 69, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(91,47,119,.12); backdrop-filter: blur(16px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 220px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover, nav a:focus-visible { color: var(--purple); }
.nav-call { padding: 11px 18px; border: 1px solid var(--purple); border-radius: 999px; color: var(--purple); }

.hero { position: relative; overflow: hidden; padding: 96px 0 78px; background: linear-gradient(135deg, #fff 0%, #fbf9fc 55%, #eff8ed 100%); }
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; border: 70px solid rgba(91,47,119,.055); border-radius: 50%; right: -170px; top: -180px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--green-deep); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow.light { color: #c9edc2; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.03em; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(2.65rem, 6vw, 5.3rem); font-weight: 760; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { margin-bottom: 12px; font-size: 1.3rem; }
.hero-lead { max-width: 720px; margin: 0 0 32px; color: var(--muted); font-size: 1.16rem; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); color: white; box-shadow: 0 12px 30px rgba(91,47,119,.2); }
.button-primary:hover { background: var(--purple-deep); }
.button-secondary { border: 1px solid var(--line); background: white; color: var(--purple); }
.button-white { background: white; color: var(--purple-deep); }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 50px 0 0; padding: 0; list-style: none; }
.quick-facts li { padding-top: 16px; border-top: 2px solid var(--green); }
.quick-facts strong, .quick-facts span { display: block; }
.quick-facts span { margin-top: 4px; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.hero-card { padding: 34px; border: 1px solid rgba(91,47,119,.12); border-radius: var(--radius); background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.card-kicker { margin: 0 0 8px; color: var(--green-deep); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.opening-status { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #99939c; box-shadow: 0 0 0 4px rgba(102,96,106,.1); }
.opening-status.is-open { color: var(--green-deep); }
.opening-status.is-open .status-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(79,172,61,.14); }
.opening-status.is-closed { color: #7b3a43; }
.opening-status.is-closed .status-dot { background: #b94d5c; box-shadow: 0 0 0 4px rgba(185,77,92,.12); }
.hero-card h2 { font-size: 1.7rem; }
.hours-mini { margin: 26px 0; }
.hours-mini div, .schedule-card dl div { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 750; }
.text-link, .map-link { color: var(--purple); font-weight: 750; text-underline-offset: 4px; }
.location-hint { margin: 22px 0 14px; padding: 16px 17px; border-left: 3px solid var(--green); background: var(--soft); color: var(--muted); font-size: .88rem; line-height: 1.5; }

.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-heading.compact { margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 420px; padding: 38px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.service-card::after { content: ""; position: absolute; z-index: 0; right: -50px; bottom: -70px; width: 190px; height: 190px; border: 28px solid var(--purple-soft); border-radius: 50%; pointer-events: none; }
.service-card > * { position: relative; z-index: 1; }
.service-number { display: inline-block; margin-bottom: 54px; color: var(--green-deep); font-size: .78rem; font-weight: 800; }
.service-card p { max-width: 520px; margin: 0; color: var(--muted); }
.service-list { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; color: var(--muted); list-style: none; }
.service-list li { position: relative; padding-left: 25px; }
.service-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.technology { overflow: hidden; background: linear-gradient(180deg, #fff, #faf7fb); }
.technology-grid { display: grid; grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr); gap: 86px; align-items: center; }
.technology-visual { position: relative; display: grid; min-height: 560px; place-items: end center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 50% 30%, #fff 0 34%, #f0ebf3 72%, #e9f3e7 100%); }
.technology-visual::before { content: ""; position: absolute; width: 330px; height: 330px; border: 44px solid rgba(91,47,119,.08); border-radius: 50%; left: -120px; top: -100px; }
.technology-visual img { position: relative; z-index: 1; width: min(100%, 600px); max-height: 530px; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.technology-lead { margin-bottom: 28px; color: var(--muted); font-size: 1.08rem; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { color: var(--muted); }
.medical-note { margin: 28px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--purple-soft); color: var(--purple-deep); font-size: .85rem; }
.split { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 0 0 26px; }
.steps li > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--purple); color: white; font-weight: 800; }
.steps strong { font-size: 1.08rem; }
.steps p { margin: 4px 0 0; color: var(--muted); }

.doctors { background: var(--purple-deep); color: white; }
.doctors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 86px; }
.doctor-copy > p { margin-top: 0; color: #e7dbea; font-size: 1.08rem; }
.check-list { margin: 26px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 15px 0; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #8bd87d; font-weight: 900; }
.info-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 76px; }
.info-cards { display: grid; gap: 16px; }
.info-cards article { padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; }
.info-cards p { margin: 0; color: var(--muted); }

.contact-section { background: linear-gradient(135deg, var(--purple-soft), white); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.address { margin: 0 0 8px; font-size: 1.2rem; font-weight: 750; }
.location-note { max-width: 640px; margin: 0 0 28px; color: var(--muted); }
.schedule-card { padding: 34px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.schedule-card h3 { font-size: 1.65rem; }
.schedule-card dl { margin-bottom: 24px; }
.directions { margin: 22px 0; padding: 16px 18px; border-radius: 14px; background: var(--soft); color: var(--muted); font-size: .9rem; line-height: 1.55; }

footer { padding: 64px 0 92px; background: #171319; color: #d9d1dc; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr .8fr; gap: 54px; }
.footer-logo { width: 180px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; }
footer strong { display: block; margin-bottom: 10px; color: white; }
footer p { margin: 0; font-size: .88rem; }
footer a { display: block; margin: 4px 0; color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #3a333e; color: #aaa1ad; font-size: .78rem; }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  nav a:not(.nav-call) { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid, .split, .doctors-grid, .info-grid, .contact-grid, .technology-grid { grid-template-columns: 1fr; gap: 46px; }
  .technology-visual { min-height: 480px; }
  .hero-card { max-width: 620px; }
  .section { padding: 78px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header { position: relative; }
  .header-inner { min-height: 74px; }
  .brand img { width: 178px; }
  nav { gap: 0; }
  .nav-call { padding: 9px 13px; font-size: .82rem; }
  .hero { padding: 54px 0 60px; }
  h1 { font-size: clamp(2.35rem, 12.5vw, 3.45rem); }
  h2 { font-size: 2rem; }
  .hero-lead { font-size: 1.04rem; }
  .hero-actions .button, .contact-actions .button { width: 100%; }
  .quick-facts { grid-template-columns: 1fr; margin-top: 38px; }
  .quick-facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; }
  .quick-facts span { margin: 0; }
  .hero-card, .service-card, .schedule-card { padding: 25px; border-radius: 19px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-number { margin-bottom: 34px; }
  .technology-visual { min-height: 390px; }
  .technology-visual img { max-height: 380px; }
  .feature-list li { grid-template-columns: 1fr; gap: 3px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  footer { padding-bottom: 118px; }
  .mobile-bar { position: fixed; z-index: 30; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(34,25,39,.96); box-shadow: 0 12px 40px rgba(0,0,0,.25); backdrop-filter: blur(14px); }
  .mobile-bar a { padding: 13px 5px; color: white; text-align: center; text-decoration: none; font-size: .86rem; font-weight: 750; }
  .mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.16); }
}

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