/* ============================================================
   OGA DENTAL CLINIC — Premium CSS
   Palette: Mint (#4CAF7D / #2D7A55) · Cream (#FAF8F4) · Charcoal (#1C2B1E)
   Fonts: Playfair Display (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --green-light: #7EC8A0;
  --green-mid:   #4CAF7D;
  --green-dark:  #2D7A55;
  --green-deep:  #1C4D35;
  --cream:       #FAF8F4;
  --cream-warm:  #F2EDE4;
  --beige:       #E8DFD0;
  --rose-dust:   #E8D5CC;
  --charcoal:    #1C2B1E;
  --charcoal-60: rgba(28,43,30,.6);
  --white:       #FFFFFF;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  --section-gap: 120px;
  --container:   1280px;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   32px;
  --radius-xl:   64px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: fixed; top: -100%; left: 20px; z-index: 9999;
  padding: 12px 24px; background: var(--green-dark); color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-dark);
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: '';
  display: block; width: 32px; height: 2px;
  background: var(--green-mid);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: transform .25s var(--ease-out-expo),
              box-shadow .25s var(--ease-out-expo),
              background .2s;
  min-height: 44px;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 4px;
}
.btn-primary {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 4px 24px rgba(45,122,85,.3);
}
.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45,122,85,.4);
}
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
}
.btn-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease-in-out),
              backdrop-filter .4s,
              box-shadow .4s;
}
.site-nav.scrolled {
  background: rgba(250,248,244,.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(28,43,30,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--charcoal);
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .8; }
.nav-logo img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-text { line-height: 1.1; }
.nav-logo-text span { display: block; font-size: 0.65rem; font-family: var(--ff-body); font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal-60); }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--charcoal);
  position: relative;
  transition: color .2s;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--green-mid);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-out-expo);
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-dark); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { font-size: 14px !important; padding: 10px 24px !important; }
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
}
.nav-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal);
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  flex-direction: column;
  padding: 100px 40px 40px;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--green-dark); }
.mobile-menu .mobile-cta {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: var(--green-deep);
  overflow: hidden;
  position: relative;
}
.hero-content {
  padding: 140px 0 80px;
  padding-left: max(40px, calc((100vw - var(--container)) / 2 + 20px));
  padding-right: 60px;
  position: relative; z-index: 2;
}
.hero-label { color: var(--green-light); margin-bottom: 28px; }
.hero-label::before { background: var(--green-light); }
.hero-title {
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--green-light);
  display: block;
}
.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 440px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 56px;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.hero-badge {
  padding: 8px 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
}
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 100svh;
  overflow: hidden;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-img.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    var(--green-deep) 0%,
    transparent 30%
  );
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6);
  font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--beige);
  padding: 28px 0;
}
.trust-strip .container {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 12px 40px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--charcoal);
}
.trust-icon {
  width: 36px; height: 36px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

/* ── SECTION GENERIC ─────────────────────────────────────── */
.section { padding-block: var(--section-gap); }
.section-header { margin-bottom: 72px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label {
  justify-content: center;
  margin-bottom: 20px;
}
.section-header.centered .section-label::before { display: none; }
.section-header:not(.centered) .section-label { margin-bottom: 20px; }
.section-title { margin-top: 12px; }
.section-desc {
  margin-top: 20px;
  max-width: 540px;
  color: var(--charcoal-60);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-header.centered .section-desc { margin-inline: auto; }

/* ── SERVICES GRID (HOME) ────────────────────────────────── */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform .4s var(--ease-out-expo),
              box-shadow .4s var(--ease-out-expo);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(28,43,30,.12);
}
.service-card-1 { grid-column: 1 / 7; grid-row: 1 / 3; }
.service-card-2 { grid-column: 7 / 10; grid-row: 1; }
.service-card-3 { grid-column: 10 / 13; grid-row: 1; }
.service-card-4 { grid-column: 7 / 10; grid-row: 2; }
.service-card-5 { grid-column: 10 / 13; grid-row: 2; }
.service-card-6 { grid-column: 1 / 5; grid-row: 3; }
.service-card-7 { grid-column: 5 / 13; grid-row: 3; }

.service-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out-expo);
}
.service-card:hover .service-card-img { transform: scale(1.04); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,77,53,.9) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.service-card-1 .service-card-overlay { padding: 40px; }
.service-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green-light);
  margin-bottom: 8px;
}
.service-name {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 1.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.service-card-1 .service-name { font-size: clamp(1.4rem, 2.2vw, 2.2rem); }
.service-desc-short {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  max-width: 300px;
}
.service-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  margin-top: 16px;
  transition: background .2s, transform .2s;
}
.service-card:hover .service-arrow { background: var(--green-mid); transform: translateX(4px); }
.service-arrow svg { width: 16px; height: 16px; fill: #fff; }

/* No-image fallback cards */
.service-card-plain {
  background: var(--green-deep);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.service-card-plain .service-tag { color: var(--green-light); }
.service-card-plain .service-name { color: #fff; }
.service-card-plain .service-desc-short { color: rgba(255,255,255,.7); }
.service-card-plain-light {
  background: var(--cream-warm);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.service-card-plain-light .service-tag { color: var(--green-dark); }
.service-card-plain-light .service-name { color: var(--charcoal); }
.service-card-plain-light .service-desc-short { color: var(--charcoal-60); }

/* ── BEFORE/AFTER ────────────────────────────────────────── */
.ba-section { background: var(--charcoal); padding-block: var(--section-gap); }
.ba-section .section-label { color: var(--green-light); }
.ba-section .section-label::before { background: var(--green-light); }
.ba-section .section-title { color: #fff; }
.ba-section .section-desc { color: rgba(255,255,255,.6); }
.ba-scroll-track {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  cursor: grab;
}
.ba-scroll-track::-webkit-scrollbar { display: none; }
.ba-scroll-track:active { cursor: grabbing; }
.ba-item {
  flex-shrink: 0;
  width: clamp(280px, 35vw, 480px);
  scroll-snap-align: start;
}
.ba-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border-radius: var(--radius-md); overflow: hidden;
}
.ba-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.ba-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease-out-expo);
}
.ba-item:hover .ba-img-wrap img { transform: scale(1.04); }
.ba-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff;
}
.ba-label.before { background: rgba(28,43,30,.7); }
.ba-label.after  { background: rgba(45,122,85,.8); }
.ba-case-num {
  margin-top: 16px;
  font-size: 13px; color: rgba(255,255,255,.5);
  text-align: center;
}

/* ── REVIEWS ─────────────────────────────────────────────── */
.reviews-section { background: var(--cream-warm); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: transform .4s var(--ease-out-expo), box-shadow .4s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(28,43,30,.1);
}
.review-quote {
  font-size: 64px; line-height: 1;
  font-family: var(--ff-display);
  color: var(--green-light);
  margin-bottom: 16px;
}
.review-text {
  font-size: 1rem; line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 28px;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700; font-size: 1.1rem;
  color: var(--green-dark);
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-author-name { font-weight: 600; font-size: 14px; }
.review-author-sub { font-size: 12px; color: var(--charcoal-60); }
.review-stars {
  position: absolute; top: 36px; right: 36px;
  display: flex; gap: 3px;
}
.star { color: #F4C430; font-size: 14px; }
.review-featured {
  background: var(--green-dark);
  color: #fff;
}
.review-featured .review-text,
.review-featured .review-author-name { color: #fff; }
.review-featured .review-author-sub { color: rgba(255,255,255,.65); }
.review-featured .review-quote { color: var(--green-light); }

/* ── WHY US / FEATURES ───────────────────────────────────── */
.why-section { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-visual { position: relative; }
.why-main-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) var(--radius-sm);
}
.why-accent-box {
  position: absolute;
  bottom: -32px; right: -32px;
  background: var(--green-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 220px;
  box-shadow: 0 20px 40px rgba(28,43,30,.25);
}
.why-accent-num {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--green-light);
}
.why-accent-label { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 6px; line-height: 1.4; }
.features-list { display: flex; flex-direction: column; gap: 32px; }
.feature-item {
  display: flex; gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--beige);
}
.feature-item:last-child { border-bottom: none; padding-bottom: 0; }
.feature-icon-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: background .3s, transform .3s;
}
.feature-item:hover .feature-icon-wrap {
  background: var(--green-mid);
  transform: scale(1.08);
}
.feature-title {
  font-weight: 600; font-size: 1.05rem;
  margin-bottom: 6px;
}
.feature-desc { color: var(--charcoal-60); font-size: 0.92rem; line-height: 1.6; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--green-dark);
  padding-block: 96px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(76,175,125,.4), transparent 60%);
}
.cta-banner .container {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.cta-banner-text .section-label { color: var(--green-light); margin-bottom: 16px; }
.cta-banner-text .section-label::before { background: var(--green-light); }
.cta-banner-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.cta-banner-sub {
  margin-top: 16px;
  color: rgba(255,255,255,.75);
  max-width: 440px;
  line-height: 1.6;
}
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-phone-link {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  transition: color .2s;
}
.cta-phone-link:hover { color: var(--green-light); }

/* ── DOCTOR CARD (HOME TEASER) ───────────────────────────── */
.doctor-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.doctor-img-wrap {
  position: relative;
}
.doctor-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-xl) var(--radius-xl) var(--radius-sm);
}
.doctor-badge {
  position: absolute;
  top: 32px; left: -24px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(28,43,30,.15);
}
.doctor-badge-name { font-weight: 700; font-size: 0.95rem; }
.doctor-badge-role { font-size: 12px; color: var(--charcoal-60); }
.doctor-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--green-mid);
  display: inline-block; margin-right: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}
.doctor-content .section-label { margin-bottom: 20px; }
.doctor-content .display-md { margin-bottom: 20px; }
.doctor-content p { color: var(--charcoal-60); line-height: 1.75; margin-bottom: 16px; }
.doctor-content p:last-of-type { margin-bottom: 32px; }
.doctor-skills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.skill-tag {
  padding: 6px 16px;
  background: var(--cream);
  border: 1px solid var(--beige);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--charcoal);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.7);
  padding-top: 80px;
  padding-bottom: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .nav-logo { margin-bottom: 20px; color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-logo-img { width: 44px; height: 44px; border-radius: 50%; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: #fff; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--green-light); }
.footer-contact-item {
  display: flex; gap: 10px;
  font-size: 14px; margin-bottom: 14px; align-items: flex-start;
}
.footer-contact-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-contact-item a:hover { color: var(--green-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 32px;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom a:hover { color: var(--green-light); }

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--green-deep);
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,175,125,.2), transparent 70%);
}
.page-hero-label { color: var(--green-light); margin-bottom: 24px; }
.page-hero-label::before { background: var(--green-light); }
.page-hero-title { color: #fff; margin-bottom: 20px; }
.page-hero-sub { color: rgba(255,255,255,.7); max-width: 560px; font-size: 1.1rem; line-height: 1.7; }

/* ── SERVICES PAGE ───────────────────────────────────────── */
.services-list { display: flex; flex-direction: column; gap: 48px; }
.service-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  align-items: start;
  transition: box-shadow .4s;
}
.service-item:hover { box-shadow: 0 16px 48px rgba(28,43,30,.1); }
.service-item-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.service-item-num {
  font-family: var(--ff-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--beige);
  line-height: 1;
  margin-bottom: 4px;
}
.service-item-name {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.service-item-desc {
  color: var(--charcoal-60);
  line-height: 1.75;
  margin-bottom: 24px;
}
.service-item-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-main {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: var(--radius-sm) var(--radius-xl) var(--radius-xl) var(--radius-sm);
}
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--charcoal-60); line-height: 1.75; margin-bottom: 16px; }

.sterilization-section { background: var(--green-deep); padding-block: var(--section-gap); }
.sterilization-section .section-label { color: var(--green-light); }
.sterilization-section .section-label::before { background: var(--green-light); }
.sterilization-section .section-title { color: #fff; }
.sterilization-section .section-desc { color: rgba(255,255,255,.7); max-width: 600px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.step-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: background .3s, transform .3s;
}
.step-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--ff-display);
  font-size: 3rem; font-weight: 900;
  color: var(--green-light);
  opacity: .5;
  line-height: 1; margin-bottom: 12px;
}
.step-text { color: rgba(255,255,255,.8); font-size: 0.92rem; line-height: 1.6; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  background: var(--cream-warm);
  transition: transform .4s, box-shadow .4s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(28,43,30,.1); }
.value-card:nth-child(2) { background: var(--green-dark); }
.value-card:nth-child(2) .value-title,
.value-card:nth-child(2) .value-desc { color: #fff; }
.value-card:nth-child(2) .value-desc { color: rgba(255,255,255,.7); }
.value-icon { font-size: 32px; margin-bottom: 20px; }
.value-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.value-desc { color: var(--charcoal-60); font-size: 0.92rem; line-height: 1.6; }

/* ── CONTACTS PAGE ───────────────────────────────────────── */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(28,43,30,.06);
}
.contact-card h3 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--beige);
}
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px;
}
.contact-row-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-row-label { font-size: 12px; color: var(--charcoal-60); margin-bottom: 2px; }
.contact-row-value { font-weight: 500; }
.contact-row-value a { transition: color .2s; }
.contact-row-value a:hover { color: var(--green-dark); }

.map-embed {
  background: var(--beige);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; background: var(--cream-warm);
}
.map-placeholder-icon { font-size: 48px; }
.map-placeholder p { color: var(--charcoal-60); text-align: center; }
.map-placeholder a {
  margin-top: 8px;
  color: var(--green-dark); font-weight: 600;
  text-decoration: underline;
}

.cta-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.cta-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.cta-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(28,43,30,.12); }
.cta-card-icon { font-size: 32px; margin-bottom: 12px; }
.cta-card-title { font-weight: 600; margin-bottom: 6px; }
.cta-card-sub { font-size: 13px; color: var(--charcoal-60); }
.cta-card-green { background: var(--green-dark); }
.cta-card-green .cta-card-title,
.cta-card-green .cta-card-sub { color: rgba(255,255,255,.9); }
.cta-card-green .cta-card-sub { color: rgba(255,255,255,.65); }
.cta-card-light { background: var(--cream-warm); }

/* ── ANIMATION CLASSES ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out-expo),
              transform .8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .8s var(--ease-out-expo),
              transform .8s var(--ease-out-expo);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .8s var(--ease-out-expo),
              transform .8s var(--ease-out-expo);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out-expo),
              transform .7s var(--ease-out-expo);
}
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .5s; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: .6s; }
.stagger-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: .7s; }

/* ── PREFERS REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-left, .reveal-right,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-gap: 96px; }
  .services-bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .service-card-1 { grid-column: 1 / 7; grid-row: 1 / 2; }
  .service-card-2 { grid-column: 1 / 4; grid-row: 2; }
  .service-card-3 { grid-column: 4 / 7; grid-row: 2; }
  .service-card-4 { grid-column: 1 / 4; grid-row: 3; }
  .service-card-5 { grid-column: 4 / 7; grid-row: 3; }
  .service-card-6 { grid-column: 1 / 4; grid-row: 4; }
  .service-card-7 { grid-column: 4 / 7; grid-row: 4; }
  .why-grid { gap: 48px; }
  .doctor-teaser { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 80px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: 100svh; }
  .hero-content {
    padding: 120px 20px 60px;
    grid-row: 2;
  }
  .hero-visual {
    grid-row: 1;
    min-height: 55vw;
  }
  .hero-overlay {
    background: linear-gradient(to top, var(--green-deep) 0%, transparent 50%);
  }
  .services-bento { grid-template-columns: 1fr 1fr; }
  .service-card-1 { grid-column: 1 / 3; }
  .service-card-2, .service-card-3, .service-card-4,
  .service-card-5, .service-card-6 { grid-column: span 1; }
  .service-card-7 { grid-column: 1 / 3; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .doctor-teaser { grid-template-columns: 1fr; }
  .doctor-img-wrap { max-height: 420px; overflow: hidden; }
  .doctor-badge { left: 16px; top: auto; bottom: 16px; }
  .about-intro { grid-template-columns: 1fr; }
  .contacts-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner .container { flex-direction: column; }
  .service-item { grid-template-columns: 1fr; }
  .why-accent-box { right: 16px; bottom: -16px; }
}

@media (max-width: 480px) {
  :root { --section-gap: 64px; }
  .services-bento { grid-template-columns: 1fr; }
  .service-card-1, .service-card-7 { grid-column: span 1; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .ba-item { width: 85vw; }
  .reviews-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 24px; }
}
