/* ============================================================
   Dr. Maslenko — site styles
   Translated from Claude Design "Dr Maslenko Website v2"
   (design-reference/Dr Maslenko Website v2.dc.html).
   All colors reference tokens from css/tokens.css.
   ============================================================ */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink-900);
  color: var(--ink-700);
  font-family: 'Assistant', sans-serif;
  padding: clamp(8px, 1.4vw, 20px);
}

a { color: var(--teal-700); }
a:hover { color: var(--teal-900); }

a:focus-visible {
  outline: none;
  box-shadow: var(--ring-focus);
  border-radius: 8px;
}

.frame {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
}

/* ---- Buttons ---- */
.btn-paper,
.btn-outline,
.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  border-radius: 999px;
}
.btn-paper:focus-visible,
.btn-outline:focus-visible,
.btn-teal:focus-visible { border-radius: 999px; }

.btn-paper {
  background: var(--paper);
  color: var(--teal-800);
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 24px;
}
.btn-paper:hover { background: var(--white); color: var(--teal-800); }

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 22px;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn-teal {
  background: var(--teal-800);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
}
.btn-teal:hover { background: var(--teal-900); color: #fff; }
.btn-teal--lg { font-size: 14.5px; padding: 12px 24px; }

.btn-arrow { font-weight: 400; }

.container { max-width: 1180px; margin: 0 auto; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(600px, 92vh, 820px);
  background: var(--teal-900);
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scaleX(-1);
  filter: saturate(0.82);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(22, 52, 51, 0.78) 8%, rgba(22, 52, 51, 0.35) 45%, rgba(22, 52, 51, 0.12) 75%);
}
.hero-dots {
  position: absolute;
  top: 60px;
  left: 40px;
  width: min(300px, 32vw);
  height: 230px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1.4px, transparent 1.5px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0 40%, transparent 75%);
  mask-image: radial-gradient(circle at 70% 30%, #000 0 40%, transparent 75%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: clamp(16px, 2.4vw, 28px) clamp(20px, 4vw, 52px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: flex;
  background: rgba(250, 248, 244, 0.94);
  border-radius: 50%;
  padding: 5px;
}
.brand-mark img { width: 22px; height: 22px; display: block; }
.brand-name {
  font-family: 'Heebo', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.topnav { display: flex; gap: clamp(16px, 2.4vw, 30px); flex-wrap: wrap; }
.topnav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}
.topnav a:hover { color: #fff; }

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 clamp(20px, 4vw, 52px) clamp(24px, 3.6vw, 44px);
  text-shadow: 0 1px 2px rgba(10, 28, 27, 0.4), 0 2px 26px rgba(10, 28, 27, 0.45);
}
.hero h1 {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(42px, 6.6vw, 84px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 18px;
  max-width: 11ch;
}
.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 44ch;
}
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; text-shadow: none; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  background: rgba(22, 52, 51, 0.3);
  backdrop-filter: blur(4px);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  text-shadow: none;
}

/* ============================================================
   Care / stats
   ============================================================ */
.section-care {
  background: var(--ink-50);
  padding: clamp(48px, 7vw, 84px) clamp(20px, 4vw, 52px);
}
.care-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.care-title {
  font-family: 'Heebo', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 16px;
}
.care-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 52ch;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(22px, 3.5vw, 44px);
}
.stat { border-top: 1px solid var(--ink-200); padding-top: 18px; }
.stat-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-400);
}
.stat-num {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink-900);
  margin: 8px 0 4px;
}
.stat-name { font-size: 14.5px; font-weight: 600; color: var(--ink-800); }
.stat-sub { font-size: 13px; color: var(--ink-500); margin-top: 3px; }

/* ============================================================
   Services
   ============================================================ */
.section-services {
  background: var(--paper);
  padding: clamp(52px, 8vw, 96px) clamp(20px, 4vw, 52px);
}
.services-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 3.5vw, 44px) 0;
}
.services-intro,
.service { padding: 0 clamp(18px, 2.5vw, 34px); }
.services-intro h2 {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-900);
  margin: 0 0 18px;
  max-width: 9ch;
}
.service--rule { border-right: 1px solid var(--border-subtle); }
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.service-num { font-family: 'Heebo', sans-serif; font-size: 15px; color: var(--ink-500); }
.service-tags { display: flex; gap: 6px; }
.tag {
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}
.service-icon {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px auto;
}
.service-icon--mint { background: var(--mint); }
.service-icon--honey { background: var(--honey-50); }
.service-icon--blush { background: var(--blush-100); }
.service-name {
  font-family: 'Heebo', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 7px;
}
.service-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-600);
}
.service-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-800);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.service-link:hover { color: var(--teal-700); }

/* ============================================================
   Doctor
   ============================================================ */
.section-doctor {
  background: var(--paper);
  padding: 0 clamp(20px, 4vw, 52px) clamp(52px, 8vw, 96px);
}
.doctor-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0 0 28px;
  max-width: 26ch;
  text-wrap: balance;
}
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.doc-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--mint-deep);
}
.doc-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doc-badge {
  position: absolute;
  top: 14px;
  border-radius: 999px;
  padding: 5px 13px;
}
.doc-badge--light {
  right: 14px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-800);
}
.doc-badge--dark {
  left: 14px;
  background: rgba(22, 52, 51, 0.55);
  backdrop-filter: blur(4px);
  font-size: 11.5px;
  color: #fff;
}
.doc-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(16, 36, 35, 0.85), rgba(16, 36, 35, 0));
  padding: 44px 18px 16px;
}
.doc-role {
  font-family: 'Heebo', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}
.doc-note {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}

/* ============================================================
   Quote
   ============================================================ */
.section-quote {
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
  padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}
.quote-mark {
  position: absolute;
  top: 14px;
  left: clamp(16px, 4vw, 60px);
  font-family: 'Heebo', sans-serif;
  font-size: clamp(120px, 16vw, 220px);
  line-height: 1;
  color: var(--ink-100);
  font-weight: 700;
  pointer-events: none;
}
.quote-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal-600);
  margin-bottom: 16px;
}
.section-quote blockquote {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-900);
  margin: 0 0 22px;
  text-wrap: balance;
}
.quote-attrib { display: inline-flex; align-items: center; gap: 10px; }
.quote-attrib img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 65% 20%;
}
.quote-who { text-align: right; }
.quote-name { display: block; font-size: 14px; font-weight: 700; color: var(--ink-900); }
.quote-place { display: block; font-size: 12px; color: var(--ink-500); }

/* ============================================================
   Contact / CTA
   ============================================================ */
.section-contact {
  background: var(--mint-deep);
  padding: clamp(52px, 7vw, 88px) clamp(20px, 4vw, 52px) 0;
  overflow: hidden;
}
.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-900);
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.cta-side { max-width: 300px; }
.cta-side p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-600);
}
.cta-dots {
  width: min(620px, 86%);
  height: clamp(180px, 26vw, 300px);
  margin: clamp(30px, 5vw, 54px) auto 0;
  background-image: radial-gradient(var(--teal-700) 1.6px, transparent 1.7px);
  background-size: 15px 15px;
  -webkit-mask-image: radial-gradient(ellipse 50% 90% at 50% 100%, #000 0 55%, transparent 78%);
  mask-image: radial-gradient(ellipse 50% 90% at 50% 100%, #000 0 55%, transparent 78%);
  opacity: 0.75;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--teal-900);
  padding: clamp(44px, 6vw, 68px) clamp(20px, 4vw, 52px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(26px, 4vw, 44px);
  align-items: start;
}
.f-lockup { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.f-about {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32ch;
}
.f-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--honey-300);
  margin-bottom: 12px;
}
.f-links { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.f-links a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.f-links a:hover { color: #fff; }
.f-clinic {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}
.f-tel {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 700;
  text-align: right;
}
.f-tel:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 30px;
  padding-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
