/* =========================================================================
   ÉCLAT — Dermatology & Aesthetic Clinic Template
   Design system: "Maison / Quiet Luxury"
   Blush-greige ivory · espresso-plum ink · muted rose · brushed gold.
   Display: Cormorant Garamond · UI/body: Jost
   Signature: arch-topped imagery, gold hairlines, editorial whitespace.
   ========================================================================= */

/* ------------------------------ TOKENS ---------------------------------- */
:root {
  --ivory:     #F7F1EC;   /* warm blush-greige page base */
  --ivory-200: #F1E8E1;
  --paper:     #FFFFFF;
  --espresso:  #332829;   /* deep plum-brown ink / dark sections */
  --espresso-900: #2A2022;
  --ink:       #3B2F30;
  --taupe:     #877570;   /* muted body text */
  --taupe-light:#B4A69F;
  --blush:     #E7C6BD;
  --blush-soft:#F3E4DE;
  --rose:      #BC8A8A;   /* muted mauve-rose accent (sparingly) */
  --gold:      #B08D57;   /* brushed gold — hairlines & detail */
  --gold-light:#C8A66E;
  --line:      #E7DDD5;   /* warm hairline */
  --line-dark: rgba(255,255,255,.16);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 12px;
  --arch: 50% 50% 10px 10px / 42% 42% 10px 10px;

  --shadow-sm: 0 2px 10px -4px rgba(51,40,41,.12);
  --shadow: 0 30px 60px -30px rgba(51,40,41,.34);
  --ring: 0 0 0 3px rgba(176,141,87,.32);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ RESET ----------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input,select,textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 200; background: var(--espresso); color: var(--ivory); padding: .6rem 1rem; border-radius: 6px; transition: top .2s var(--ease); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }

/* --------------------------- TYPOGRAPHY --------------------------------- */
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.3vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: .003em;
  color: var(--ink);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 500;
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); opacity: .7; }
.eyebrow .num { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; letter-spacing: 0; text-transform: none; margin-right: .1rem; }
.eyebrow--gold { color: var(--gold-light); }
.eyebrow--gold::before { background: var(--gold-light); }
.section__lede { color: var(--taupe); font-size: 1.05rem; max-width: 56ch; margin-top: 1rem; }
.section__head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section__head--center { max-width: 680px; margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.stars { color: var(--gold); letter-spacing: 2px; }

/* ----------------------------- BUTTONS ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.85rem; border-radius: 4px;
  font-family: var(--font-body); font-weight: 500; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn--sm { padding: .7rem 1.3rem; font-size: .72rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--espresso); color: var(--ivory); }
.btn--solid:hover { background: var(--gold); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--wa { background: transparent; color: #1f7d61; border: 1px solid rgba(31,125,97,.35); }
.btn--wa:hover { background: #25D366; color: #fff; border-color: #25D366; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(176,141,87,.8); }
.btn--ghost-light { background: transparent; color: var(--ivory); border: 1px solid var(--line-dark); }
.btn--ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); transform: translateY(-2px); }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem; font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.link-arrow::after { content: ""; width: 26px; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover::after { width: 40px; }

/* ------------------------------- ARCH ----------------------------------- */
.arch { position: relative; overflow: hidden; border-radius: var(--arch); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------- NAV ------------------------------------ */
.nav { position: sticky; top: 0; z-index: 100; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.nav.is-stuck { background: rgba(247,241,236,.88); backdrop-filter: saturate(1.3) blur(12px); box-shadow: 0 1px 0 var(--line); }

.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__mark { color: var(--gold); display: inline-flex; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: .02em; color: var(--ink); }

.nav__links { display: flex; gap: .3rem; align-items: center; }
.nav__links a { padding: .5rem .85rem; font-size: .78rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); position: relative; transition: color .25s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { color: var(--ink); } .nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.active { color: var(--ink); } .nav__links a.active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1.2rem; }
.nav__phone { font-size: .82rem; letter-spacing: .08em; color: var(--ink); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------- HERO ----------------------------------- */
.hero { position: relative; padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 6.4vw, 5rem); line-height: 1.03; letter-spacing: .005em; color: var(--ink); margin: .3rem 0 1.4rem; }
.hero__desc { color: var(--taupe); font-size: 1.12rem; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 2.2rem; }
.hero__meta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero__est { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--gold); }
.hero__rule { width: 1px; height: 30px; background: var(--line); }
.hero__rating { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--taupe); letter-spacing: .04em; }

.hero__media { position: relative; }
.hero__glow { position: absolute; inset: -12% -8% -8% 8%; z-index: -1; background: radial-gradient(closest-side, var(--blush-soft), transparent 72%); }
.arch--hero { aspect-ratio: 1/1.18; box-shadow: var(--shadow); }
.hero__badge { position: absolute; left: -8%; bottom: 10%; background: var(--paper); padding: 1.1rem 1.4rem; box-shadow: var(--shadow); text-align: center; border-radius: 8px; border: 1px solid var(--line); }
.hero__badge-num { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.hero__badge-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }

/* ------------------------------ MARQUEE --------------------------------- */
.marquee { background: var(--espresso); overflow: hidden; padding-block: 1.2rem; }
.marquee__track { display: flex; align-items: center; gap: 3rem; white-space: nowrap; animation: marquee 34s linear infinite; width: max-content; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--ivory); opacity: .85; display: inline-flex; align-items: center; gap: 3rem; }
.marquee__item::after { content: "✦"; color: var(--gold-light); font-size: .9rem; font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------- SECTION BG --------------------------------- */
.section { padding-block: var(--section-y); }
.about { background: var(--ivory); }
.services { background: var(--paper); }
.doctors { background: var(--ivory); }
.why { background: var(--paper); }
.facilities { background: var(--ivory); }
.process { background: var(--paper); }
.booking { background: var(--ivory); }
.testimonials { background: var(--paper); }
.gallery { background: var(--ivory); }
.faq { background: var(--paper); }
.contact { background: var(--ivory); }

/* ------------------------------ ABOUT ----------------------------------- */
.about__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; }
.arch--about { aspect-ratio: 1/1.15; box-shadow: var(--shadow); }
.about__stat { position: absolute; right: -6%; bottom: 8%; background: var(--espresso); color: var(--ivory); padding: 1.3rem 1.5rem; text-align: center; border-radius: 8px; box-shadow: var(--shadow); }
.about__stat-num { display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold-light); }
.about__stat-label { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,241,236,.7); }
.about__text p { color: var(--taupe); margin-bottom: 1.1rem; }
.about__points { display: grid; gap: .85rem; margin: 1.6rem 0 .3rem; }
.about__points li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); }
.about__points li::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; margin-top: .6rem; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ----------------------------- SERVICES --------------------------------- */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.4rem; }
.service { padding: 2.2rem 1.7rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); position: relative; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; margin-bottom: 1.4rem; transition: background .35s var(--ease), color .35s var(--ease); }
.service:hover .service__icon { background: var(--gold); color: #fff; }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); margin-bottom: .5rem; letter-spacing: .01em; }
.service p { color: var(--taupe); font-size: .93rem; }

/* ------------------------------ STATS ----------------------------------- */
.stats { background: var(--espresso); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding-block: clamp(3rem, 6vw, 4.5rem); }
.stat { text-align: center; padding: 0 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line-dark); }
.stat__num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--ivory); }
.stat__num .suffix { color: var(--gold-light); }
.stat__label { display: block; margin-top: .7rem; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,241,236,.62); }

/* ----------------------------- DOCTORS ---------------------------------- */
.doctors__tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2.6rem; }
.search { display: flex; align-items: center; gap: .6rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: .1rem .4rem .1rem 1rem; min-width: 260px; flex: 1 1 260px; max-width: 340px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.search:focus-within { border-color: var(--gold); box-shadow: var(--ring); }
.search__icon { color: var(--taupe-light); }
.search input { border: 0; background: none; padding: .7rem .3rem; width: 100%; outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .55rem 1.1rem; border-radius: 4px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); color: var(--taupe); background: transparent; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); }

.doctors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.doctor { text-align: center; transition: transform .35s var(--ease); }
.doctor:hover { transform: translateY(-6px); }
.doctor__photo { border-radius: var(--arch); overflow: hidden; aspect-ratio: 1/1.16; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); position: relative; background: var(--ivory-200); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.doctor:hover .doctor__photo img { transform: scale(1.05); }
.doctor__name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.doctor__qual { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.doctor__spec { color: var(--taupe); font-size: .9rem; margin: .5rem 0 .9rem; font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }
.doctor__meta { display: grid; gap: .35rem; font-size: .8rem; color: var(--taupe); padding-top: .9rem; border-top: 1px solid var(--line); }
.doctor__meta span { display: flex; gap: .5rem; align-items: center; justify-content: center; }
.doctor__meta svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.doctors__empty { text-align: center; color: var(--taupe); padding: 2rem; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; }

/* --------------------------- WHY CHOOSE US ------------------------------ */
.why__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why__head { position: sticky; top: 110px; }
.why__list { display: grid; gap: 0; }
.why__item { display: flex; gap: 1.6rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__num { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--gold); line-height: 1; flex-shrink: 0; width: 2.5rem; }
.why__item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); margin-bottom: .3rem; }
.why__item p { color: var(--taupe); font-size: .96rem; }

/* ---------------------------- FACILITIES -------------------------------- */
.facilities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.facility { display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.facility:hover { transform: translateY(-4px); border-color: var(--gold); }
.facility__icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--gold); display: grid; place-items: center; }
.facility__icon svg { width: 24px; height: 24px; }
.facility span:last-child { font-size: .96rem; letter-spacing: .02em; }

/* ----------------------------- PROCESS ---------------------------------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.step__num { position: absolute; top: -1px; left: 0; padding-top: .8rem; font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 46px; height: 2px; background: var(--gold); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--ink); margin-bottom: .4rem; margin-top: 1.6rem; }
.step p { color: var(--taupe); font-size: .93rem; }

/* -------------------------- CONSULTATION BAND --------------------------- */
.consult { background: var(--espresso); color: var(--ivory); text-align: center; padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
.consult::before, .consult::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(176,141,87,.16), transparent 70%); }
.consult::before { top: -140px; left: -80px; } .consult::after { bottom: -160px; right: -60px; }
.consult__inner { position: relative; max-width: 720px; margin-inline: auto; }
.consult__inner .eyebrow { justify-content: center; }
.consult__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; color: var(--ivory); margin-bottom: 1.1rem; }
.consult__text { color: rgba(247,241,236,.72); max-width: 52ch; margin: 0 auto 2.2rem; }
.consult__cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ------------------------- BOOKING + HOURS ------------------------------ */
.booking__inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(2rem, 4vw, 3.2rem); align-items: start; }
.form { margin-top: 1.9rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.3rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin-bottom: .5rem; }
.field__opt { text-transform: none; letter-spacing: 0; font-style: italic; }
.field input, .field select, .field textarea { padding: .8rem .95rem; border: 1px solid var(--line); border-radius: 4px; background: var(--ivory); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); background: var(--paper); }
.field.invalid input, .field.invalid select { border-color: var(--rose); }
.field__error { color: var(--rose); font-size: .74rem; margin-top: .35rem; min-height: 1em; letter-spacing: .02em; }
.form__note { text-align: center; color: var(--taupe); font-size: .78rem; margin-top: 1rem; font-style: italic; font-family: var(--font-display); font-size: 1rem; }
.form__success { margin-top: 1.1rem; background: var(--blush-soft); border: 1px solid var(--blush); color: #8a5a52; padding: 1.1rem 1.3rem; border-radius: 6px; }

.hours { position: sticky; top: 110px; }
.hours__card { background: var(--espresso); color: var(--ivory); border-radius: var(--radius); padding: 2rem 1.9rem; box-shadow: var(--shadow); }
.hours__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.hours__card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--ivory); }
.hours__badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .7rem; border: 1px solid var(--line-dark); border-radius: 4px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--taupe-light); }
.hours__badge.open { color: #c9d9b8; } .hours__badge.open .dot { background: #a9c98a; }
.hours__badge.closed { color: var(--blush); } .hours__badge.closed .dot { background: var(--rose); }
.hours__list li { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line-dark); font-size: .9rem; }
.hours__list li:last-child { border-bottom: 0; }
.hours__list .day { color: rgba(247,241,236,.68); letter-spacing: .04em; }
.hours__list .time { color: var(--ivory); }
.hours__list .time.closed { color: var(--blush); }
.hours__list li.today .day, .hours__list li.today .time { color: var(--gold-light); }
.hours__emergency { display: block; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line-dark); text-align: center; }
.hours__emergency-label { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247,241,236,.6); margin-bottom: .3rem; }
.hours__emergency-num { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-light); }

/* --------------------------- TESTIMONIALS ------------------------------- */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial { background: var(--ivory); border-radius: var(--radius); padding: 2.2rem 2rem; display: flex; flex-direction: column; position: relative; }
.testimonial__mark { font-family: var(--font-display); font-size: 4rem; line-height: .8; color: var(--gold); opacity: .5; margin-bottom: .4rem; }
.testimonial__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .9rem; font-size: .9rem; }
.testimonial__quote { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.5; color: var(--ink); margin-bottom: 1.5rem; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: .85rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--blush-soft); }
.testimonial__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.testimonial__role { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); }

/* ------------------------------ GALLERY --------------------------------- */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.gallery__item { overflow: hidden; border-radius: var(--arch); aspect-ratio: 3/4; position: relative; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(51,40,41,.28)); opacity: 0; transition: opacity .4s var(--ease); }
.gallery__item:hover::after { opacity: 1; }

/* -------------------------------- FAQ ----------------------------------- */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; text-align: left; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.32rem; }
.faq__q .plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__q .plus::before, .faq__q .plus::after { content: ""; position: absolute; background: var(--gold); transition: transform .35s var(--ease); }
.faq__q .plus::before { top: 7.5px; left: 0; width: 16px; height: 1px; }
.faq__q .plus::after { left: 7.5px; top: 0; width: 1px; height: 16px; }
.faq__item.open .plus::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 0 1.5rem; color: var(--taupe); max-width: 60ch; }

/* ------------------------------ CONTACT --------------------------------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact__list { display: grid; gap: 1.3rem; margin-top: 1.6rem; }
.contact__list li { display: flex; gap: 1.1rem; align-items: flex-start; }
.contact__list .ci { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; }
.contact__list .ci svg { width: 20px; height: 20px; }
.contact__list .lbl { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-light); margin-bottom: .1rem; }
.contact__list .val { color: var(--ink); font-size: 1.02rem; }
.contact__social { display: flex; gap: .6rem; margin-top: 2rem; }
.contact__social a, .footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--taupe); transition: all .3s var(--ease); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.contact__social a:hover { background: var(--gold); color: #fff; border-color: var(--gold); transform: translateY(-3px); }

.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 400px; border: 1px solid var(--line); }
.map-placeholder { height: 100%; min-height: 400px; display: grid; place-content: center; justify-items: center; gap: .5rem; text-align: center; padding: 2rem; color: var(--taupe);
  background: linear-gradient(rgba(243,228,222,.55), rgba(243,228,222,.55)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px), var(--ivory-200); }
.map-placeholder__pin { color: var(--gold); }
.map-placeholder p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.map-placeholder small { letter-spacing: .04em; }

/* ------------------------------ FOOTER ---------------------------------- */
.footer { background: var(--espresso-900); color: rgba(247,241,236,.6); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer .brand__name { color: var(--ivory); }
.footer .brand__mark { color: var(--gold-light); }
.footer__inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: 2.6rem; padding-bottom: 2.8rem; border-bottom: 1px solid var(--line-dark); }
.footer__brand p { margin: 1.2rem 0 1.5rem; max-width: 36ch; font-size: .92rem; }
.footer__social { display: flex; gap: .55rem; }
.footer__social a { border-color: var(--line-dark); color: var(--ivory); }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); }
.footer__col h4 { font-family: var(--font-display); font-weight: 500; color: var(--ivory); font-size: 1.25rem; margin-bottom: 1.2rem; }
.footer__col li { margin-bottom: .65rem; }
.footer__col a, .footer__col li { font-size: .9rem; transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; padding-block: 1.6rem; font-size: .82rem; letter-spacing: .03em; }
.footer__credit strong { color: var(--gold-light); font-family: var(--font-display); font-style: italic; font-weight: 500; letter-spacing: .04em; }

/* -------------------------- FLOATING / TO-TOP --------------------------- */
.fab-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(37,211,102,.6); transition: transform .3s var(--ease); }
.fab-whatsapp:hover { transform: translateY(-3px) scale(1.05); }
.to-top { position: fixed; right: 25px; bottom: 86px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--espresso); color: var(--ivory); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); }

/* --------------------------- SCROLL REVEAL ------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------ RESPONSIVE ------------------------------ */
@media (max-width: 1024px) {
  .services__grid, .doctors__grid, .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .facilities__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1px; }
  .stat:nth-child(3)::before { display: none; }
  .process__grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
  .why__inner { grid-template-columns: 1fr; } .why__head { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 80px var(--gutter) auto var(--gutter); flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 1rem 1.4rem; box-shadow: var(--shadow); border-radius: var(--radius); transform: translateY(-130%); transition: transform .4s var(--ease); z-index: 99; }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: .9rem .2rem; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .nav__phone, .nav__cta { display: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; margin: 0 auto; }
  .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .booking__inner { grid-template-columns: 1fr; }
  .hours { position: static; }
  .faq__inner, .contact__inner { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .services__grid, .doctors__grid, .facilities__grid, .process__grid, .stats__grid, .gallery__grid, .footer__inner { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat { padding-block: 1.4rem; border-bottom: 1px solid var(--line-dark); }
  .form__row { grid-template-columns: 1fr; }
  .hero__badge { left: 0; }
  .about__stat { right: 0; }
  .footer__col a, .footer__col li, .contact__list .val { overflow-wrap: anywhere; }
}
