/* Soft Dentrist-inspired mint clinic — gentle, airy, patient-first */
:root {
  --bg: #f4faf7;
  --bg-soft: #eaf6f1;
  --ink: #24363a;
  --muted: #5f7378;
  --line: #d5e8e0;
  --card: #ffffff;
  --mint: #4eb39a;
  --mint-deep: #2f8f78;
  --mint-soft: #d8f0e8;
  --blush: #fff7f4;
  --sand: #f7f1ea;
  --radius: 26px;
  --font: "Nunito", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow: 0 18px 40px rgba(47, 110, 96, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, #dff3eb 0%, transparent 55%),
    radial-gradient(700px 360px at 100% 0%, #ffeef0 0%, transparent 45%),
    linear-gradient(180deg, #f8fcfa, var(--bg));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 32px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico {
  width: 44px; height: 44px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--mint-soft); color: var(--mint-deep);
}
.ico svg { width: 22px; height: 22px; }

.topbar {
  background: rgba(255,255,255,.7);
  border-bottom: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.topbar-inner {
  min-height: 40px; display: flex; flex-wrap: wrap; gap: 10px 22px;
  align-items: center; justify-content: space-between;
}
.topbar a { color: var(--mint-deep); font-weight: 700; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244,250,247,.9);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255,255,255,.94);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 18%, transparent 19%),
    linear-gradient(145deg, #7fd0bb, var(--mint-deep));
  box-shadow: 0 10px 22px rgba(47, 143, 120, .28);
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; justify-content: flex-end; }
.nav a { color: var(--muted); font-weight: 700; font-size: .9rem; }
.nav a:hover { color: var(--mint-deep); }
.nav-cta {
  background: var(--mint); color: #fff !important;
  padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 10px 22px rgba(78, 179, 154, .28);
}
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; }
.nav-toggle span { display: block; height: 2px; margin: 6px 8px; background: var(--ink); border-radius: 2px; }

.hero {
  position: relative;
  padding: 42px 0 28px;
  overflow: hidden;
  background:
    radial-gradient(1000px 420px at 78% 18%, rgba(122, 184, 164, .22), transparent 60%),
    linear-gradient(180deg, #f7fcfa 0%, #eef7f3 48%, #f7fcfa 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr 0.92fr;
  gap: 22px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .72rem;
  font-weight: 800; color: var(--mint-deep); margin: 0 0 10px;
}
.eyebrow.soft { opacity: .9; }
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.35rem);
  line-height: 1.05; margin: 0; letter-spacing: -0.03em; color: #1f3336;
}
.tag { font-size: 1.15rem; font-weight: 800; color: var(--mint-deep); margin: 14px 0 8px; }
.lede { color: var(--muted); line-height: 1.6; max-width: 38ch; margin: 0 0 16px; }
.hero-meta {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: .95rem;
}
.hero-meta a { color: var(--mint-deep); font-weight: 800; }
.hero-photo {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 320px;
  justify-self: center;
  align-self: center;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(213, 232, 224, .8);
  background: var(--mint-soft);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.lead-card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 30px; padding: 24px;
  display: grid; gap: 12px; box-shadow: var(--shadow);
}
.lead-card.light { background: #fff; }
.lead-card.soft { background: linear-gradient(160deg, #fff, var(--mint-soft)); }
.lead-kicker {
  margin: 0; font-size: .75rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mint-deep);
}
.lead-card h2, .lead-card h3 {
  margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.65rem;
}
.lead-card > p { margin: 0; color: var(--muted); }
.lead-card input, .lead-card textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 16px; font: inherit; background: #f7fcfa; resize: vertical;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 18px; border-radius: 999px; font-weight: 800;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #63c3ab, var(--mint-deep));
  color: #fff; box-shadow: 0 14px 28px rgba(47, 143, 120, .25);
}
.btn-ghost { border-color: var(--line); background: #fff; color: var(--mint-deep); }
.fine { font-size: .8rem; color: var(--muted); margin: 0; }
.fine.center { text-align: center; margin-top: 14px; }

.trust { padding: 8px 0 4px; }
.trust-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 18px; box-shadow: var(--shadow);
}
.trust-row article { text-align: center; padding: 6px; }
.trust-row strong {
  display: block; font-family: var(--display); font-size: 1.45rem;
  color: var(--mint-deep); font-weight: 600;
}
.trust-row span { color: var(--muted); font-size: .9rem; }

.section { padding: 64px 0; }
.soft-band {
  background:
    linear-gradient(180deg, transparent, rgba(232, 246, 240, .85) 12%, rgba(232, 246, 240, .85) 88%, transparent);
}
.section-head { margin-bottom: 26px; max-width: 54ch; }
.section-head.row {
  max-width: none; display: flex; justify-content: space-between;
  gap: 16px; align-items: end;
}
.section-head h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
  margin: 0 0 8px; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); line-height: 1.5; }
.text-link { font-weight: 800; color: var(--mint-deep); white-space: nowrap; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: grid; gap: 8px; min-height: 220px; box-shadow: var(--shadow);
}
.service-card h3 { margin: 0; font-size: 1.08rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.price { margin-top: auto; font-weight: 800; color: var(--mint-deep); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doctor {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow); display: grid; grid-template-rows: 170px 1fr;
}
.doctor img { width: 100%; height: 170px; object-fit: cover; }
.doctor > div { padding: 14px 16px 18px; display: grid; gap: 4px; }
.doctor h3 { margin: 0; font-size: 1.05rem; }
.doctor .focus { margin: 0; font-weight: 800; color: var(--mint-deep); font-size: .9rem; }
.doctor p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.about-list { margin: 0 0 18px; padding-left: 18px; color: var(--muted); line-height: 1.6; }
.about-photo img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-weight: 800; color: var(--muted); cursor: pointer;
}
.chip.is-on { background: var(--mint-deep); color: #fff; border-color: var(--mint-deep); }
.price-table {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow);
}
.price-row {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row.is-hidden { display: none; }
.price-row .g {
  color: var(--mint-deep); font-size: .74rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
}
.price-row .p { font-weight: 800; white-space: nowrap; }

.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.promo {
  background: linear-gradient(165deg, #fff, var(--blush));
  border: 1px solid #f0e2dc; border-radius: 24px; padding: 20px;
  display: grid; gap: 10px; box-shadow: var(--shadow);
}
.badge {
  width: fit-content; background: var(--mint-soft); color: var(--mint-deep);
  font-size: .75rem; font-weight: 800; padding: 6px 10px; border-radius: 999px;
}
.promo h3 { margin: 0; font-size: 1.15rem; }
.promo p { margin: 0; color: var(--muted); line-height: 1.45; }

.patients-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 10px 0 4px; color: var(--muted); line-height: 1.5; }
.docs-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 22px; box-shadow: var(--shadow);
}
.docs-card h3, .docs-card h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; }
.docs-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.oms {
  background: var(--mint-soft); border-radius: 18px; padding: 14px;
}
.oms p { margin: 0; color: var(--muted); line-height: 1.45; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.reviews blockquote {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 18px; display: grid; gap: 14px; min-height: 180px; box-shadow: var(--shadow);
}
.reviews p { margin: 0; line-height: 1.5; }
.reviews footer { display: grid; gap: 2px; margin-top: auto; }
.reviews span { color: var(--muted); font-size: .8rem; }

.contact-sec { padding-bottom: 88px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mint-deep); }
.callback-stack { display: grid; gap: 14px; }

.site-footer {
  background: #1f3336; color: #dceee8; padding: 48px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.footer-label {
  display: block; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; opacity: .7; margin-bottom: 10px;
}
.site-footer a { display: block; margin: 6px 0; color: #fff; font-weight: 700; }
.site-footer .back { margin-top: 14px; opacity: .85; }

.float-cta {
  position: fixed; z-index: 60; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: linear-gradient(135deg, #63c3ab, var(--mint-deep));
  color: #fff; font-weight: 800; padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 16px 34px rgba(47, 143, 120, .35);
}
main { padding-bottom: 28px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .shot {
  position: relative; display: block; margin: 0; border-radius: 22px; overflow: hidden;
  background: var(--mint-soft); color: inherit; isolation: isolate;
}
.gallery .shot img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s ease; }
.shot-overlay {
  position: absolute; inset: auto 0 0 0; padding: 18px 14px 14px; display: grid; gap: 4px;
  background: linear-gradient(180deg, transparent, rgba(24, 52, 48, .78)); color: #fff;
  transform: translateY(8px); opacity: 0; transition: opacity .25s ease, transform .25s ease;
}
.shot-title { font-weight: 800; font-size: .92rem; line-height: 1.25; }
.shot-link { font-size: .78rem; opacity: .9; }
.gallery .shot:hover img, .gallery .shot:focus-visible img { transform: scale(1.05); }
.gallery .shot:hover .shot-overlay, .gallery .shot:focus-visible .shot-overlay { opacity: 1; transform: translateY(0); }
.gallery-more { margin-top: 16px; }
.gallery-more a { font-weight: 800; color: var(--mint-deep); }

html, body { overflow-x: clip; }
.nav-toggle { cursor: pointer; }

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-photo {
    grid-column: 1 / -1;
    max-width: 280px;
  }
  .service-grid, .team-grid, .about-grid, .promo-grid,
  .patients-grid, .reviews, .contact-grid, .footer-grid, .trust-row {
    grid-template-columns: 1fr 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: min(1140px, calc(100% - 24px)); }
  .topbar { font-size: .8rem; }
  .topbar-inner {
    min-height: 0; padding: 8px 0; gap: 6px 14px;
    justify-content: flex-start;
  }
  .topbar-inner span:nth-child(2) { display: none; }
  .header-inner { min-height: 60px; gap: 10px; }
  .brand-text { font-size: .95rem; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  }
  .nav {
    position: fixed; inset: 100px 12px auto; z-index: 70;
    display: none; flex-direction: column; align-items: stretch;
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 12px; gap: 2px;
    max-height: min(72vh, 560px); overflow: auto;
    box-shadow: var(--shadow);
  }
  .nav a { padding: 11px 10px; border-radius: 12px; font-size: .95rem; }
  .nav a:active { background: var(--mint-soft); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav.is-open { display: flex; }
  .hero { padding: 28px 0 18px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-photo {
    order: 2;
    max-width: 260px;
    max-height: 340px;
  }
  .lead-card { order: 3; padding: 20px; }
  .hero-copy { order: 1; }
  .btn, .lead-card .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.25; }
  .trust { padding: 8px 0 18px; }
  .trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .trust-row article { padding: 14px; }
  .section { padding: 44px 0; }
  .service-grid, .team-grid, .about-grid, .promo-grid,
  .patients-grid, .reviews, .contact-grid, .footer-grid,
  .gallery, .price-row {
    grid-template-columns: 1fr;
  }
  .section-head.row { flex-direction: column; align-items: start; gap: 10px; }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-right: -12px;
    padding-right: 12px;
  }
  .chips .chip { flex: 0 0 auto; }
  .price-row { flex-wrap: wrap; gap: 6px 12px; }
  .price-row .g { display: none; }
  .price-row .p { white-space: normal; }
  .about-grid img { aspect-ratio: 4/3; }
  .shot-overlay { opacity: 1; transform: none; }
  .float-cta {
    width: calc(100% - 28px);
    max-width: 420px;
    text-align: center;
    padding: 13px 16px;
  }
  main { padding-bottom: 88px; }
  .site-footer { padding: 36px 0 28px; }
}

@media (max-width: 420px) {
  .trust-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
}
