/* ============================================================
   AERA — Dental Studio Template
   Design: Fresh Soft-UI / Clean Minimal
   Palette: mint-teal + deep spruce + honey spark on soft mint
   Type:   Sora (display) + DM Sans (body)
   Signature: recurring upward "smile arc"
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --spruce:    #0f3b34;
  --spruce-2:  #145146;
  --mint:      #17b8a0;
  --mint-2:    #34cfb4;
  --mint-dk:   #0f9a86;
  --honey:     #f2b14e;
  --aqua:      #d5f0e9;
  --mint-bg:   #eafaf4;
  --mint-bg2:  #e2f6ee;
  --ink:       #143b35;
  --slate:     #5c7a72;
  --muted:     #8aa39b;
  --line:      #dcefe8;
  --white:     #ffffff;
  --wa:        #25d366;

  --display: "Sora", system-ui, sans-serif;
  --body:    "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1180px;
  --r:    22px;
  --r-sm: 14px;
  --r-lg: 34px;
  --r-pill: 999px;
  /* Soft-UI shadows */
  --sh-soft: 0 10px 30px rgba(15,59,52,.08);
  --sh:      0 20px 48px rgba(15,59,52,.12);
  --sh-lg:   0 36px 80px rgba(15,59,52,.16);
  --sh-in:   inset 0 1px 0 rgba(255,255,255,.6);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body); color: var(--ink); background: var(--white);
  line-height: 1.65; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; color: var(--spruce); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--spruce); color: #fff; padding: 10px 16px; border-radius: 12px; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }
.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- 3. Atoms ---------- */
.eyebrow {
  display: inline-block; position: relative; font-family: var(--display); font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-dk); margin-bottom: 20px;
}
/* Signature smile-arc under eyebrows */
.eyebrow[data-arc]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 8px;
  background: radial-gradient(120% 100% at 50% 0, transparent 55%, var(--honey) 56%) bottom/100% 8px no-repeat;
  border-radius: 0 0 50% 50%;
}

.pill { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .85rem; padding: 9px 18px; border-radius: var(--r-pill); }
.pill--soft { background: var(--white); color: var(--spruce); box-shadow: var(--sh-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(23,184,160,.18); }

.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--mint { background: var(--mint-bg); }

.section__head { max-width: 660px; margin: 0 auto clamp(42px, 6vw, 66px); text-align: center; }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.section__lead { color: var(--slate); margin-top: 16px; font-size: 1.08rem; }

/* Buttons — soft, rounded */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad); border-radius: var(--r-pill); font-family: var(--display); font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn--lg { --pad: 17px 32px; font-size: 1rem; }
.btn--sm { --pad: 10px 18px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--spruce); color: #fff; box-shadow: 0 12px 26px rgba(15,59,52,.24); }
.btn--solid:hover { background: var(--spruce-2); transform: translateY(-2px); box-shadow: 0 18px 34px rgba(15,59,52,.3); }
.btn--outline { background: var(--white); color: var(--spruce); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--mint); transform: translateY(-2px); color: var(--mint-dk); }
.btn--whatsapp { background: var(--wa); color: #fff; box-shadow: 0 12px 26px rgba(37,211,102,.28); }
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(37,211,102,.34); }

/* ---------- 4. Floating pill nav ---------- */
.nav { position: fixed; inset: 16px 0 auto 0; z-index: 100; transition: inset .3s var(--ease); }
.nav__inner {
  width: min(var(--container), 94%); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.6); border-radius: var(--r-pill);
  padding: 10px 12px 10px 16px; box-shadow: var(--sh-soft);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled .nav__inner { background: rgba(255,255,255,.9); box-shadow: var(--sh); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { border-radius: 13px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-size: 1.24rem; font-weight: 800; color: var(--spruce); }
.brand__sub { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mint-dk); font-weight: 700; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__sub { color: var(--mint-2); }

.nav__links { display: flex; gap: 26px; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--slate); position: relative; padding: 4px 0; transition: color .2s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--mint); border-radius: 2px; transition: width .25s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--spruce); }
.nav__links a.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; color: var(--spruce); padding: 8px 12px; }
.nav__phone:hover { color: var(--mint-dk); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 9px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--spruce); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero (centered) ---------- */
.hero {
  padding: clamp(140px, 17vw, 190px) 0 clamp(70px, 8vw, 100px);
  background:
    radial-gradient(70% 55% at 50% 0%, var(--aqua), transparent 70%),
    radial-gradient(50% 40% at 90% 30%, rgba(242,177,78,.14), transparent 70%),
    var(--mint-bg);
  text-align: center;
}
.hero__head { max-width: 760px; margin: 0 auto; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 800; letter-spacing: -.03em; margin: 22px 0 0; }
.hero__title .hl { color: var(--mint-dk); position: relative; white-space: nowrap; }
.hero__desc { color: var(--slate); font-size: 1.16rem; margin: 22px auto 32px; max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__stage { position: relative; max-width: 940px; margin: clamp(46px, 6vw, 72px) auto 0; }
.hero__imgwrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 16/10; }
.hero__imgwrap img { width: 100%; height: 100%; object-fit: cover; }

.floatcard {
  position: absolute; background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--r); box-shadow: var(--sh);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.floatcard__stars { color: var(--honey); letter-spacing: 1px; font-size: .95rem; }
.floatcard__k { display: flex; flex-direction: column; font-size: .78rem; color: var(--slate); line-height: 1.3; }
.floatcard__k strong { color: var(--spruce); font-family: var(--display); font-size: .95rem; }
.floatcard__ic { font-size: 1.4rem; }
.floatcard__big { font-family: var(--display); font-size: 1.5rem; color: var(--mint-dk); font-weight: 800; }
.floatcard--rating { top: 8%; left: -3%; flex-direction: column; align-items: flex-start; gap: 4px; animation-delay: .2s; }
.floatcard--calm { bottom: 12%; left: -4%; max-width: 210px; animation-delay: 1.1s; }
.floatcard--smiles { top: 14%; right: -3%; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: .6s; }
.floatcard--smiles span { font-size: .78rem; color: var(--slate); }

/* ---------- 6. Trust strip ---------- */
.strip { background: var(--spruce); padding: 26px 0; }
.strip__grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.strip__item { display: flex; align-items: center; gap: 12px; color: #d6ece6; font-weight: 500; font-size: .96rem; }
.strip__item .ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--mint-2); font-size: 1.2rem; }

/* ---------- 7. Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.service__icon {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 1.7rem;
  margin-bottom: 20px; background: var(--mint-bg); box-shadow: var(--sh-in);
}
.service:nth-child(3n+2) .service__icon { background: #fbf1dd; }
.service:nth-child(3n) .service__icon { background: var(--aqua); }
.service__title { font-size: 1.24rem; margin-bottom: 10px; }
.service__desc { color: var(--slate); font-size: .96rem; }
.service__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--mint-dk); }
.service__link svg { transition: transform .25s var(--ease); }
.service:hover .service__link svg { transform: translateX(4px); }

/* ---------- 8. About + counters ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px,5vw,72px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--r-lg); box-shadow: var(--sh); }
.about__badge {
  position: absolute; left: -18px; bottom: -20px; background: var(--white); border-radius: var(--r);
  padding: 14px 18px; box-shadow: var(--sh); display: flex; align-items: center; gap: 12px; max-width: 230px;
}
.about__badge-ic { font-size: 1.7rem; }
.about__badge strong { display: block; font-family: var(--display); color: var(--spruce); font-size: .98rem; }
.about__badge span span, .about__badge > span > span { font-size: .8rem; color: var(--slate); }
.about__copy p { color: var(--slate); font-size: 1.06rem; }
.about__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 24px 0 30px; }
.about__list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--ink); font-size: .96rem; }
.about__list li::before { content: "✓"; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-size: .74rem; font-weight: 700; margin-top: 2px; }

.counters { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; box-shadow: var(--sh-soft); }
.counter { text-align: center; position: relative; }
.counter + .counter::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line); }
.counter__num { font-family: var(--display); font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; color: var(--spruce); line-height: 1; }
.counter__num .suffix { color: var(--mint-dk); }
.counter__label { color: var(--muted); font-size: .78rem; margin-top: 6px; }

/* ---------- 9. Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.why__card { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.why__card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.why__icon { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; background: var(--mint-bg); color: var(--mint-dk); display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--sh-in); }
.why__card h3 { font-size: 1.16rem; margin-bottom: 6px; }
.why__card p { color: var(--slate); font-size: .94rem; }

/* ---------- 10. Doctors ---------- */
.doctors__tools { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.search { position: relative; min-width: 260px; color: var(--muted); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.search input { width: 100%; padding: 14px 18px 14px 44px; border: none; border-radius: var(--r-pill); background: var(--white); color: var(--ink); box-shadow: var(--sh-soft); transition: box-shadow .2s var(--ease); }
.search input:focus { outline: none; box-shadow: 0 0 0 3px var(--mint), var(--sh-soft); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: var(--r-pill); background: var(--white); font-family: var(--display); font-size: .84rem; font-weight: 500; color: var(--slate); box-shadow: var(--sh-soft); transition: .2s var(--ease); }
.chip:hover { color: var(--spruce); }
.chip.is-active { background: var(--spruce); color: #fff; }

.doctors__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.doctor { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.doctor:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.doctor__photo { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--mint-bg); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.doctor:hover .doctor__photo img { transform: scale(1.05); }
.doctor__spec { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: var(--mint-dk); font-family: var(--display); font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: var(--r-pill); }
.doctor__body { padding: 22px 24px 26px; }
.doctor__name { font-size: 1.22rem; }
.doctor__qual { color: var(--muted); font-size: .84rem; margin: 3px 0 14px; }
.doctor__meta { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.doctor__meta div { display: flex; justify-content: space-between; font-size: .88rem; }
.doctor__meta dt { color: var(--muted); }
.doctor__meta dd { color: var(--spruce); font-weight: 600; text-align: right; }
.doctors__empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }

/* ---------- 11. Process (horizontal track) ---------- */
.process__track { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.process__track::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; background: repeating-linear-gradient(90deg, var(--mint) 0 10px, transparent 10px 20px); opacity: .5; }
.process__step { text-align: center; position: relative; }
.process__num { width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-soft); display: grid; place-items: center; font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--mint-dk); position: relative; z-index: 1; border: 3px solid var(--mint-bg); }
.section--mint .process__num { border-color: var(--white); }
.process__step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.process__step p { color: var(--slate); font-size: .92rem; max-width: 22ch; margin: 0 auto; }

/* ---------- 12. Facilities ---------- */
.facilities__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.facility { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: .3s var(--ease); }
.facility:hover { box-shadow: var(--sh-soft); transform: translateY(-3px); }
.facility__icon { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; background: var(--mint-bg); color: var(--mint-dk); display: grid; place-items: center; font-size: 1.4rem; box-shadow: var(--sh-in); }
.facility h3 { font-size: 1rem; }
.facility p { font-size: .84rem; color: var(--muted); }

/* ---------- 13. Gallery ---------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 180px; gap: 16px; }
.gallery__item { overflow: hidden; border-radius: var(--r); position: relative; box-shadow: var(--sh-soft); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- 14. Testimonials ---------- */
.testi__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--sh-soft); }
.testi__stars { color: var(--honey); letter-spacing: 2px; margin-bottom: 16px; }
.testi__text { color: var(--slate); font-size: 1rem; margin-bottom: 22px; }
.testi__person { display: flex; align-items: center; gap: 12px; }
.testi__person img { width: 48px; height: 48px; border-radius: 50%; }
.testi__name { font-family: var(--display); font-weight: 700; color: var(--spruce); font-size: .95rem; }
.testi__role { font-size: .8rem; color: var(--muted); }

/* ---------- 15. Booking ---------- */
.book__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px,5vw,60px); align-items: start; }
.book__aside p { color: var(--slate); margin-bottom: 26px; }
.hours { background: var(--mint-bg); border-radius: var(--r); padding: 22px 24px; margin-bottom: 18px; }
.hours__title { font-family: var(--display); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mint-dk); margin-bottom: 12px; }
.hours__list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.hours__list li:last-child { border-bottom: none; }
.hours__list .day { color: var(--slate); }
.hours__list .time { font-weight: 600; color: var(--spruce); }
.hours__list .time.closed { color: var(--honey); }

.emergency { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; box-shadow: var(--sh-soft); }
.emergency__icon { width: 44px; height: 44px; border-radius: 13px; background: var(--spruce); color: #fff; display: grid; place-items: center; }
.emergency__label { display: block; font-size: .8rem; color: var(--slate); }
.emergency__num { font-family: var(--display); font-size: 1.4rem; font-weight: 700; color: var(--spruce); }

.book__formwrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--sh); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-family: var(--display); font-size: .82rem; font-weight: 600; color: var(--spruce); margin-bottom: 7px; }
.field input, .field select, .field textarea { padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fbfefd; color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(23,184,160,.12); outline: none; background: #fff; }
.field textarea { resize: vertical; }
.field input.invalid, .field select.invalid { border-color: var(--honey); background: #fffaf0; }
.form__note { margin-top: 14px; font-size: .92rem; text-align: center; }
.form__note.ok { color: var(--mint-dk); font-weight: 600; }
.form__note.err { color: #d98a1a; font-weight: 600; }

/* ---------- 16. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px,5vw,60px); align-items: start; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; box-shadow: var(--sh-soft); transition: box-shadow .3s var(--ease); }
.faq__item.is-open { box-shadow: var(--sh); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--display); font-size: 1.06rem; font-weight: 600; color: var(--spruce); }
.faq__q .plus { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--mint-bg); display: grid; place-items: center; position: relative; transition: .3s var(--ease); }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--mint-dk); border-radius: 2px; }
.faq__q .plus::before { width: 11px; height: 2px; }
.faq__q .plus::after { width: 2px; height: 11px; transition: transform .3s var(--ease); }
.faq__item.is-open .plus { background: var(--mint); }
.faq__item.is-open .plus::before, .faq__item.is-open .plus::after { background: #fff; }
.faq__item.is-open .plus::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { color: var(--slate); padding: 0 24px 22px; font-size: .96rem; }

/* ---------- 17. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,60px); align-items: stretch; }
.contact__list { display: grid; gap: 20px; margin: 26px 0 28px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic { flex: 0 0 46px; height: 46px; border-radius: 14px; background: var(--mint-bg); display: grid; place-items: center; font-size: 1.1rem; box-shadow: var(--sh-in); }
.contact__k { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact__v { display: block; color: var(--spruce); font-weight: 600; }
a.contact__v:hover { color: var(--mint-dk); }
.contact__social { display: flex; gap: 10px; }
.contact__social a { width: 44px; height: 44px; border-radius: 14px; background: var(--white); box-shadow: var(--sh-soft); display: grid; place-items: center; color: var(--spruce); transition: .25s var(--ease); }
.contact__social a:hover { background: var(--spruce); color: #fff; transform: translateY(-3px); }

.contact__map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); min-height: 400px; }
.map { height: 100%; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(circle at 30% 30%, rgba(23,184,160,.12), transparent 42%), repeating-linear-gradient(0deg, var(--mint-bg) 0 39px, var(--aqua) 39px 40px), repeating-linear-gradient(90deg, var(--mint-bg) 0 39px, var(--aqua) 39px 40px);
  color: var(--muted); text-align: center; padding: 20px; }
.map__pin { color: var(--mint-dk); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 18. Footer ---------- */
.footer { background: var(--spruce); color: #a9c8bf; padding: clamp(56px,7vw,84px) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer__tag { margin: 18px 0 20px; max-width: 26em; font-size: .95rem; }
.footer__col h4 { color: #fff; font-family: var(--display); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer__col a, .footer__addr { display: block; color: #a9c8bf; padding: 6px 0; font-size: .94rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer .contact__social a { background: rgba(255,255,255,.08); color: #fff; box-shadow: none; }
.footer .contact__social a:hover { background: var(--mint); }

/* ---------- 19. Floating buttons ---------- */
.fab-wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.4); animation: floaty 3s ease-in-out infinite; transition: transform .25s var(--ease); }
.fab-wa:hover { transform: scale(1.08); }
.fab-top { position: fixed; right: 24px; bottom: 88px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--spruce); color: #fff; display: grid; place-items: center; box-shadow: var(--sh); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.fab-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.fab-top:hover { background: var(--mint-dk); }

/* ---------- 20. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid, .book__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__grid, .doctors__grid, .testi__grid, .facilities__grid { grid-template-columns: repeat(2,1fr); }
  .process__track { grid-template-columns: repeat(2,1fr); gap: 36px 24px; }
  .process__track::before { display: none; }
  .about__media { max-width: 540px; }
  .floatcard--rating { left: 2%; }
  .floatcard--calm { left: 1%; }
  .floatcard--smiles { right: 2%; }
}
@media (max-width: 760px) {
  .nav { inset: 10px 0 auto 0; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(320px,82%); background: #fff; flex-direction: column; padding: 96px 32px 32px; gap: 6px; box-shadow: var(--sh-lg); transform: translateX(100%); transition: transform .35s var(--ease); z-index: 99; border-radius: 24px 0 0 24px; }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__phone { display: none; }
  .nav__toggle { display: flex; z-index: 100; }
  .services__grid, .doctors__grid, .testi__grid, .facilities__grid, .why__grid { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .counter:nth-child(3)::before { display: none; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .strip__grid { justify-content: flex-start; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery__item:nth-child(4) { grid-row: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero__stage { margin-top: 40px; }
  .floatcard--calm { display: none; }
  .floatcard--rating { left: 0; top: 4%; }
  .floatcard--smiles { right: 0; top: 6%; }
}
@media (max-width: 460px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
  .process__track { grid-template-columns: 1fr; }
}

/* ---------- 22. Reduced motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, .fab-wa, .fab-top, .hero__cta, .book__formwrap { display: none; }
  body { font-size: 12px; }
}
