/* ==========================================================================
   DERMATREATZ — Core Styles (BEM)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-primary);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--color-gold); color: var(--color-black); }

/* Contain any horizontal overflow on narrow screens without creating a
   scroll container (safe on non-root blocks; keeps vertical page scroll). */
main, footer { overflow-x: clip; }

:focus-visible {
  outline: 2px solid var(--color-gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--color-black); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--text-on-dark); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--color-gold);
}
.section--dark .eyebrow { color: var(--color-gold); }

.section__head { max-width: 640px; margin-bottom: clamp(38px, 5vw, 64px); }
.section__title {
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  margin-top: 18px;
}
.section__lead {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.section--dark .section__lead { color: var(--text-on-dark-muted); }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--color-black);
  --btn-fg: var(--color-white);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-lux),
              box-shadow var(--dur) var(--ease-lux),
              background var(--dur-fast) var(--ease-lux);
  will-change: transform;
}
.btn i { font-size: 1em; }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(-1px); }

.btn--gold { --btn-bg: var(--color-gold); --btn-fg: #201900; font-weight: 600; }
.btn--gold:hover { box-shadow: var(--shadow-gold); }
.btn--whatsapp { --btn-bg: #128C7E; --btn-fg: #fff; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text-primary);
  border: 1.5px solid rgba(15,15,15,0.16);
}
.btn--ghost:hover { border-color: var(--color-gold); background: var(--color-gold-tint); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--color-black); }
.btn--block { width: 100%; }

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.4);
  animation: ripple 0.6s var(--ease-out);
  pointer-events: none;
}
.btn--gold .ripple, .btn--light .ripple { background: rgba(0,0,0,0.14); }

/* ==========================================================================
   NAVBAR (glassmorphism)
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  transition: background var(--dur) var(--ease-lux),
              box-shadow var(--dur) var(--ease-lux),
              backdrop-filter var(--dur) var(--ease-lux),
              border-color var(--dur) var(--ease-lux);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-soft);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo {
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-name {
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.12rem; letter-spacing: 0.02em; color: var(--text-primary);
}
.nav__brand-tag {
  font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--color-gold-deep); font-weight: 600;
}
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-lux);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--color-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-lux);
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta { padding: 12px 24px; font-size: 0.92rem; }

.nav__burger {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border-soft);
  position: relative;
  background: rgba(255,255,255,0.7);
}
.nav__burger span {
  position: absolute; left: 13px; width: 20px; height: 2px;
  background: var(--color-black); border-radius: 2px;
  transition: transform var(--dur) var(--ease-lux), opacity var(--dur-fast);
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile drawer */
.nav__drawer {
  position: fixed; inset: 0;
  z-index: var(--z-overlay);
  background: rgba(11,11,11,0.96);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease-lux);
  visibility: hidden;
}
.nav__drawer.is-open { transform: translateX(0); visibility: visible; }
.nav__drawer-link {
  font-family: var(--font-head);
  font-size: 1.9rem; font-weight: 500;
  color: var(--text-on-dark);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--dur-fast), padding-left var(--dur) var(--ease-lux);
}
.nav__drawer-link:hover { color: var(--color-gold); padding-left: 12px; }
.nav__drawer-actions { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 148px;
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% 0%, var(--color-gold-tint) 0%, transparent 55%),
    var(--color-white);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}
.hero__title .accent { color: var(--color-gold-deep); font-style: italic; font-family: var(--font-head); }
.hero__line { display: block; overflow: hidden; }
.hero__line span { display: block; }
.hero__sub {
  margin-top: 22px;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--text-primary);
}
.hero__desc {
  margin-top: 16px;
  max-width: 500px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px 24px;
  max-width: 520px;
}
.hero__badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-primary);
}
.hero__badge i { color: var(--color-gold-deep); font-size: 1.05rem; }

/* hero image card */
.hero__visual { position: relative; }
.hero__card {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-black) 0%, #201a0c 100%);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
.hero__card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(150deg, var(--color-gold), transparent 40%, transparent 60%, var(--color-gold-deep));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero__photo {
  display: block;
  width: 100%;
  height: clamp(420px, 40vw, 540px);
  border-radius: calc(var(--radius-xl) - 12px);
  object-fit: cover;
  object-position: top center;
}
.hero__float {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
}
.hero__float--doc { left: -22px; bottom: 46px; }
.hero__float--rating { right: -18px; top: 42px; display: flex; align-items: center; gap: 12px; }
.hero__float-name { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.hero__float-role { font-size: 0.78rem; color: var(--text-muted); }
.hero__float-num { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--color-gold-deep); }
.hero__float-stars { color: var(--color-gold); font-size: 0.8rem; letter-spacing: 1px; }
.hero__float-cap { font-size: 0.72rem; color: var(--text-muted); }

/* ==========================================================================
   TRUST STRIP + MARQUEE
   ========================================================================== */
.trust {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding-block: 26px;
  background: var(--color-white);
}
.trust__row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px 34px;
}
.trust__item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 500;
  font-size: 0.98rem; color: var(--text-secondary);
}
.trust__item i { color: var(--color-gold-deep); font-size: 1.2rem; }

.marquee {
  background: var(--color-black);
  color: var(--text-on-dark);
  padding-block: 22px;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex; align-items: center;
  gap: 46px;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 46px;
  color: var(--text-on-dark);
}
.marquee__item::after { content: "✦"; color: var(--color-gold); font-size: 0.8em; }

/* ==========================================================================
   WHY / MANIFESTO CHAPTERS
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.chapter {
  padding: 34px 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  transition: transform var(--dur) var(--ease-lux),
              box-shadow var(--dur) var(--ease-lux),
              border-color var(--dur) var(--ease-lux);
  will-change: transform;
}
.chapter:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}
.chapter__num {
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.2em;
  color: var(--color-gold-deep);
}
.chapter__icon {
  margin: 18px 0 20px;
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--color-gold-tint);
  color: var(--color-gold-deep);
  font-size: 1.4rem;
}
.chapter__title { font-size: 1.22rem; margin-bottom: 10px; }
.chapter__text { color: var(--text-secondary); font-size: 0.96rem; }

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-lux),
              box-shadow var(--dur) var(--ease-lux),
              color var(--dur) var(--ease-lux),
              background var(--dur) var(--ease-lux);
  will-change: transform;
}
.service::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--color-black), var(--color-ink));
  opacity: 0; transition: opacity var(--dur) var(--ease-lux); z-index: 0;
}
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text-on-dark); }
.service:hover::after { opacity: 1; }
.service:hover .service__icon { background: rgba(212,175,55,0.16); color: var(--color-gold); }
.service:hover .service__title { color: #fff; }
.service:hover .service__link { color: var(--color-gold); }
.service__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--color-gold-tint); color: var(--color-gold-deep);
  font-size: 1.25rem; margin-bottom: 18px;
  transition: background var(--dur), color var(--dur);
}
.service__title { font-size: 1.08rem; transition: color var(--dur); }
.service__link {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  transition: color var(--dur), gap var(--dur-fast);
}
.service:hover .service__link { gap: 12px; }

/* ==========================================================================
   DOCTOR SECTION
   ========================================================================== */
.doctor__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.doctor__visual { position: relative; }
.doctor__photo-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden; position: relative;
  border: 1.5px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}
.doctor__photo { display: block; width: 100%; height: clamp(460px, 46vw, 620px); object-fit: cover; object-position: top center; }
.doctor__badge {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(11,11,11,0.82);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 16px 20px; color: #fff;
  display: flex; align-items: center; gap: 14px;
}
.doctor__badge i { color: var(--color-gold); font-size: 1.6rem; }
.doctor__badge-t { font-family: var(--font-head); font-weight: 600; }
.doctor__badge-s { font-size: 0.82rem; color: var(--text-on-dark-muted); }
.doctor__name { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 16px; }
.doctor__degree { font-family: var(--font-head); font-weight: 500; color: var(--color-gold-deep); margin-top: 6px; }
.doctor__role { color: var(--text-secondary); margin-top: 4px; }
.doctor__focus { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.doctor__tag {
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: var(--color-gold-tint); color: var(--color-gold-deep);
  font-size: 0.85rem; font-weight: 600;
}
.timeline { margin-top: 34px; border-left: 2px solid var(--border-gold); padding-left: 26px; }
.timeline__item { position: relative; padding-bottom: 24px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -33px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-gold); box-shadow: 0 0 0 4px var(--color-gold-tint);
}
.timeline__title { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.timeline__text { color: var(--text-secondary); font-size: 0.94rem; margin-top: 2px; }

/* ==========================================================================
   CONDITIONS (icon cards)
   ========================================================================== */
.conditions__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.condition {
  padding: 26px 18px; text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--dur) var(--ease-lux), background var(--dur), border-color var(--dur);
  will-change: transform;
}
.condition:hover { transform: translateY(-6px); background: rgba(212,175,55,0.1); border-color: var(--border-gold); }
.condition__icon { font-size: 1.7rem; color: var(--color-gold); margin-bottom: 14px; }
.condition__name { font-family: var(--font-head); font-weight: 500; font-size: 0.98rem; color: var(--text-on-dark); }

/* ==========================================================================
   TREATMENTS
   ========================================================================== */
.treatments__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.treatment {
  position: relative;
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
  will-change: transform;
}
.treatment::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-lux);
}
.treatment:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.treatment:hover::before { transform: scaleX(1); }
.treatment__abbr {
  font-family: var(--font-head); font-weight: 600;
  font-size: 2.2rem; color: var(--color-gold-deep); letter-spacing: -0.02em;
}
.treatment__title { font-size: 1.2rem; margin: 8px 0 10px; }
.treatment__text { color: var(--text-secondary); font-size: 0.96rem; }

/* ==========================================================================
   TESTIMONIALS (slider)
   ========================================================================== */
.testi__viewport { overflow: hidden; }
.testi__track { display: flex; transition: transform var(--dur-slow) var(--ease-lux); }
.testi__slide { min-width: 100%; padding: 4px; }
.testi__card {
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testi__item { border-left: 2px solid var(--color-gold-tint); padding-left: 20px; }
.testi__stars { color: var(--color-gold); letter-spacing: 2px; margin-bottom: 12px; }
.testi__quote { font-size: 1rem; color: var(--text-primary); font-style: italic; }
.testi__person { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.testi__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--color-black); color: var(--color-gold);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600;
}
.testi__name { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.testi__src { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.testi__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; }
.testi__dots { display: flex; gap: 8px; }
.testi__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(15,15,15,0.16);
  transition: width var(--dur) var(--ease-lux), background var(--dur);
}
.testi__dot.is-active { width: 28px; border-radius: 6px; background: var(--color-gold); }
.testi__arrows { display: flex; gap: 10px; }
.testi__arrow {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: grid; place-items: center; font-size: 1rem;
  color: var(--text-primary);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.testi__arrow:hover { background: var(--color-black); color: #fff; transform: scale(1.06); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border-soft); }
.faq__q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-head); font-weight: 500; font-size: 1.08rem;
  color: var(--text-primary);
  transition: color var(--dur-fast);
}
.faq__q:hover { color: var(--color-gold-deep); }
.faq__icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-gold); display: grid; place-items: center;
  color: var(--color-gold-deep);
  transition: transform var(--dur) var(--ease-lux), background var(--dur-fast);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--color-gold); color: #201900; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease-lux); }
.faq__a-inner { padding: 0 4px 26px; color: var(--text-secondary); max-width: 92%; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.clinic {
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  transition: transform var(--dur) var(--ease-lux), box-shadow var(--dur) var(--ease-lux);
}
.clinic:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.clinic__tag {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--color-black); color: var(--color-gold);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.clinic__name { font-size: 1.4rem; margin: 18px 0 12px; }
.clinic__row { display: flex; gap: 12px; margin-bottom: 12px; color: var(--text-secondary); }
.clinic__row i { color: var(--color-gold-deep); margin-top: 4px; width: 18px; text-align: center; }
.clinic__row strong { color: var(--text-primary); font-weight: 600; display: block; }
.clinic__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.clinic__actions .btn { padding: 12px 20px; font-size: 0.9rem; }

/* ==========================================================================
   BOOK / LEAD-CAPTURE FORM
   ========================================================================== */
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.book__intro .section__title { margin-top: 16px; }
.book__points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.book__points li { display: flex; align-items: center; gap: 12px; color: var(--text-on-dark-muted); font-size: 0.98rem; }
.book__points i { color: var(--color-gold); }
.book__form {
  background: #fff; border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-lg);
}
.book__field { margin-bottom: 18px; }
.book__field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 8px; }
.book__optional { color: var(--text-muted); font-weight: 400; }
.book__field input, .book__field select {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border-soft); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--text-primary);
  background: var(--color-cream);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.book__field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B8912B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.book__field input:focus, .book__field select:focus { outline: none; border-color: var(--color-gold); background: #fff; box-shadow: 0 0 0 4px var(--color-gold-tint); }
.book__field input::placeholder { color: var(--text-muted); }
.book__error { display: none; margin-top: 6px; font-size: 0.82rem; color: #C0392B; }
.book__field.is-invalid input, .book__field.is-invalid select { border-color: #C0392B; background: #fff; }
.book__field.is-invalid .book__error { display: block; }
.book__submit { margin-top: 6px; }
.book__note { margin-top: 14px; text-align: center; font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--color-black); color: var(--text-on-dark); padding-block: clamp(56px, 7vw, 88px) 34px; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 52px; height: 52px; border-radius: 50%; }
.footer__brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.footer__about { color: var(--text-on-dark-muted); font-size: 0.94rem; max-width: 320px; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  display: grid; place-items: center; color: var(--text-on-dark);
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.footer__social a:hover { background: var(--color-gold); color: #201900; transform: translateY(-3px); }
.footer__title { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 20px; }
.footer__link { display: block; color: var(--text-on-dark-muted); padding: 6px 0; font-size: 0.94rem; transition: color var(--dur-fast), padding-left var(--dur-fast); }
.footer__link:hover { color: #fff; padding-left: 6px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.86rem; color: var(--text-on-dark-muted); }
.footer__bottom a:hover { color: var(--color-gold); }

/* ==========================================================================
   FLOATING ELEMENTS
   ========================================================================== */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: var(--z-float);
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  transition: transform var(--dur-fast) var(--ease-lux);
}
.float-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulse 2.2s ease-out infinite;
}
.float-wa:hover { transform: scale(1.1); }

.to-top {
  position: fixed; right: 24px; bottom: 92px; z-index: var(--z-float);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-black); color: var(--color-gold);
  display: grid; place-items: center; font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease-lux), transform var(--dur) var(--ease-lux), background var(--dur-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--color-gold); color: #201900; }

/* sticky mobile appointment bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
  display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-soft);
}
.mobile-bar .btn { flex: 1; padding: 14px; }

/* progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--color-gold-deep), var(--color-gold));
  z-index: 1000;
}

/* ==========================================================================
   SUB PAGES (privacy / thankyou / 404)
   ========================================================================== */
.page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px var(--gutter) 80px;
  background: radial-gradient(120% 70% at 50% 0%, var(--color-gold-tint) 0%, transparent 55%), var(--color-white);
}
.page__code { font-family: var(--font-head); font-weight: 600; font-size: clamp(5rem, 18vw, 10rem); color: var(--color-gold-deep); line-height: 1; letter-spacing: -0.04em; }
.page__title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: 12px; }
.page__text { color: var(--text-secondary); max-width: 520px; margin: 18px 0 30px; }
.page__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.page__icon {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--color-gold-tint); color: var(--color-gold-deep);
  display: grid; place-items: center; font-size: 2.4rem; margin-bottom: 24px;
}

.legal { max-width: 820px; margin: 0 auto; padding: 140px var(--gutter) 90px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal .muted { color: var(--text-muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--text-secondary); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--color-gold-deep); font-weight: 600; }
