/* ============================================================
   ত্বক ও চর্মরোগ বিশেষজ্ঞ — clinic site
   Calm teal + white theme
   ============================================================ */

:root {
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-200: #99f6e4;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;
  --ink:      #12332f;
  --text:     #3f5551;
  --muted:    #64748b;
  --border:   #dcefeb;
  --bg-tint:  #f4fbf9;
  --white:    #ffffff;
  --danger:   #dc2626;
  --danger-bg:#fef2f2;
  --danger-bd:#fecaca;
  --green:    #16a34a;
  --green-bg: #f0fdf4;
  --green-bd: #bbf7d0;
  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(15, 118, 110, 0.07);
  --shadow:    0 12px 34px rgba(15, 118, 110, 0.10);
  --shadow-lg: 0 22px 50px rgba(15, 118, 110, 0.16);
  --font: "Poppins", "Hind Siliguri", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--teal-100); color: var(--teal-800); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

section { scroll-margin-top: 86px; }
.section { padding: 92px 0; }
.section-tint { background: var(--bg-tint); }

.hidden { display: none !important; }

/* ---------------- typography ---------------- */

.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-sub { font-size: 16.5px; color: var(--muted); line-height: 1.75; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:focus-visible { outline: 3px solid var(--teal-200); outline-offset: 2px; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(13, 148, 136, 0.36); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-ghost {
  background: var(--white);
  border-color: var(--teal-200);
  color: var(--teal-700);
}
.btn-ghost:hover { background: var(--teal-50); border-color: var(--teal-500); }

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------------- header ---------------- */

#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
#site-header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-text strong { font-size: 16.5px; font-weight: 700; color: var(--ink); }
.brand-text small { font-size: 12px; font-weight: 500; color: var(--teal-600); }

#nav-menu { display: flex; gap: 28px; }
#nav-menu a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.15s ease;
}
#nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--teal-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
#nav-menu a:hover { color: var(--teal-700); }
#nav-menu a.active { color: var(--teal-700); font-weight: 600; }
#nav-menu a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-700);
  background: #fff;
  border: 1.5px solid var(--teal-200);
  border-radius: 999px;
  padding: 7px 15px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-toggle:hover { background: var(--teal-50); border-color: var(--teal-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 10px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  padding: 158px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(640px 420px at 88% 8%, rgba(20, 184, 166, 0.10), transparent 70%),
    radial-gradient(560px 400px at 4% 92%, rgba(13, 148, 136, 0.08), transparent 70%),
    var(--white);
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 999px;
  padding: 7px 16px;
}
.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  margin: 18px 0 14px;
}

.hero-name-line strong { display: block; font-size: 26px; font-weight: 700; color: var(--teal-700); }
.hero-name-line span { font-size: 15.5px; color: var(--muted); }

.hero-degrees { font-size: 15.5px; font-weight: 500; color: var(--text); margin: 12px 0 20px; }

.hero-subtitle { font-size: 17px; color: var(--text); line-height: 1.8; max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--teal-700);
}
.hero-call svg { width: 19px; height: 19px; }
.hero-call:hover span { text-decoration: underline; }

.hero-media { position: relative; }

.hero-photo-wrap { position: relative; width: min(100%, 440px); margin: 0 auto; }
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -22px -22px auto auto;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-50));
  z-index: 0;
}
.hero-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 6px solid #fff;
  box-shadow: var(--shadow-lg);
}

.hero-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite alternate;
}
.hero-chip svg { width: 17px; height: 17px; color: var(--teal-600); }
.chip-top { top: 26px; left: -26px; }
.chip-bottom { bottom: 40px; right: -22px; animation-delay: 1.6s; }

/* ---------------- stats ---------------- */

.stats { background: linear-gradient(120deg, var(--teal-800), var(--teal-600)); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 42px 0;
}
.stat { text-align: center; padding: 6px 18px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.stat strong { display: block; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; color: #fff; }
.stat span { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }

/* ---------------- about ---------------- */

.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }

.about-media { position: relative; }
.about-logo {
  width: min(100%, 400px);
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.about-quote {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 20px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.about-quote svg { width: 19px; height: 19px; color: var(--teal-500); }
.about-quote p { font-size: 14px; font-weight: 600; color: var(--ink); }

.about-bio { margin-top: 22px; }
.about-bio p { font-size: 16px; line-height: 1.9; margin-bottom: 14px; }

.about-quals { margin-top: 26px; }
.about-quals h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.about-quals ul { display: flex; flex-direction: column; gap: 9px; }
.about-quals li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--text); }
.about-quals li svg { width: 19px; height: 19px; color: var(--teal-600); flex-shrink: 0; }
.about-quals .btn { margin-top: 22px; }

/* ---------------- treatments ---------------- */

.treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.treatment-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}

.treatment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  margin-bottom: 18px;
}
.treatment-icon svg { width: 26px; height: 26px; color: var(--teal-600); stroke-width: 1.8; }

.treatment-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.treatment-card p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------------- chambers ---------------- */

.chamber-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.chamber-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.chamber-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.chamber-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.chamber-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }

.chamber-district {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--teal-700);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  padding: 5px 14px;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-bd);
  border-radius: 999px;
  padding: 5px 12px;
}
.open-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

.chamber-center { font-size: 19.5px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

.chamber-address {
  display: flex;
  gap: 9px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}
.chamber-address svg { width: 17px; height: 17px; color: var(--teal-500); flex-shrink: 0; margin-top: 3px; }

.chamber-schedule, .chamber-serial {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8fcfb;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 13px 16px;
  margin-bottom: 10px;
}
.chamber-schedule svg, .chamber-serial svg { width: 19px; height: 19px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }
.chamber-schedule strong, .chamber-serial strong { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 1px; }
.chamber-schedule span, .chamber-serial a { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.chamber-serial a:hover { color: var(--teal-700); }

.chamber-actions { display: flex; gap: 12px; margin-top: 18px; }
.chamber-actions .btn { flex: 1; }

/* ---------------- online consultation ---------------- */

.online-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: linear-gradient(120deg, var(--teal-800), var(--teal-600));
  border-radius: 26px;
  padding: clamp(28px, 4.5vw, 52px);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.eyebrow-light { color: var(--teal-200); }

.online-title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.online-text p { font-size: 15.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.88); max-width: 560px; }

.online-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 22px; }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); background: #1ebe5b; box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45); }

.online-imo { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: #fff; }
.online-imo svg { width: 19px; height: 19px; color: var(--teal-200); }
.online-imo b { font-weight: 700; }

.online-visual { flex-shrink: 0; }
.online-visual svg {
  width: 110px; height: 110px;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  stroke: #fff;
  stroke-width: 1.5;
}

/* ---------------- appointment form ---------------- */

.appt-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(26px, 4.5vw, 46px);
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }

.form-field-full { margin-bottom: 22px; }

.form-field label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: #fbfdfd;
  border: 1.5px solid #d7e6e2;
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 84px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}
.form-field input.field-error,
.form-field select.field-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.field-err { display: none; font-size: 12.5px; font-weight: 500; color: var(--danger); margin-top: 6px; }
.field-err.show { display: block; }

.chamber-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 13px;
  padding: 15px 18px;
  margin-bottom: 22px;
}
.chamber-info > svg { width: 18px; height: 18px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }
.chamber-info strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.chamber-info span { font-size: 14px; color: var(--text); }
.chamber-info a { font-size: 14px; font-weight: 600; color: var(--teal-700); }
.chamber-info a:hover { text-decoration: underline; }

.appt-privacy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 18px;
}
.appt-privacy svg { width: 16px; height: 16px; color: var(--teal-500); flex-shrink: 0; margin-top: 3px; }

.send-err {
  background: var(--danger-bg);
  border: 1px solid var(--danger-bd);
  color: #b91c1c;
  font-size: 14px;
  border-radius: 11px;
  padding: 13px 16px;
  margin-top: 18px;
}
.send-err a { font-weight: 700; text-decoration: underline; }

.noscript-note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 13px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.noscript-note strong { font-size: 15.5px; font-weight: 700; color: #92400e; }
.noscript-note p { font-size: 14px; color: #78350f; margin-top: 6px; }
.noscript-note ul { margin-top: 10px; }
.noscript-note li { font-size: 14.5px; margin-bottom: 5px; }
.noscript-note a { font-weight: 700; color: var(--teal-700); text-decoration: underline; }

/* success panel */
.appt-success { text-align: center; padding: 26px 8px; }

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #dcfce7;
  border: 1px solid var(--green-bd);
  color: var(--green);
}
.success-icon svg { width: 36px; height: 36px; stroke-width: 2.2; }

.appt-success h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }

.appt-summary {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--teal-800);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  padding: 9px 20px;
  margin-bottom: 16px;
}

.appt-success p { font-size: 15.5px; color: var(--text); max-width: 470px; margin: 0 auto 24px; line-height: 1.75; }
.appt-success .btn { margin: 0 6px 10px; }

/* ---------------- steps ---------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.step {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.3);
}
.step h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------------- footer ---------------- */

footer { background: #0d3531; color: #b9d7d2; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr;
  gap: 44px;
  padding: 68px 24px 40px;
}

.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: var(--teal-400); }
.footer-brand p { font-size: 14.5px; line-height: 1.8; margin-top: 16px; max-width: 300px; }

.footer-col h3 { font-size: 15.5px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col a {
  display: block;
  font-size: 14.5px;
  margin-bottom: 11px;
  transition: color 0.15s ease;
}
.footer-col nav a:hover, .footer-col > a:hover { color: #fff; }

.footer-contact { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal-400); flex-shrink: 0; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.footer-bottom-inner { padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 13.5px; color: #86aba4; }

/* ---------------- reveal animations ---------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.treatment-grid .reveal:nth-child(2), .chamber-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.treatment-grid .reveal:nth-child(3), .chamber-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.treatment-grid .reveal:nth-child(4), .chamber-grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.treatment-grid .reveal:nth-child(5), .chamber-grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.treatment-grid .reveal:nth-child(6) { transition-delay: 0.08s; }
.treatment-grid .reveal:nth-child(7) { transition-delay: 0.16s; }
.treatment-grid .reveal:nth-child(8) { transition-delay: 0.08s; }
.treatment-grid .reveal:nth-child(9) { transition-delay: 0.16s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-9px); }
}

@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.85); }
  70% { transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1); }
}
.pop-in { animation: pop-in 0.4s ease both; }

/* ---------------- responsive ---------------- */

@media (max-width: 1020px) {
  .hero-grid { gap: 44px; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .chip-top { left: -6px; }
  .chip-bottom { right: -6px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  #nav-menu {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px 24px 20px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  #nav-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  #nav-menu a { padding: 10px 4px; font-size: 16px; border-bottom: 1px solid #f0f7f5; }
  #nav-menu a:last-child { border-bottom: none; }
  #nav-menu a::after { display: none; }

  .hero { padding: 132px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-text { text-align: center; }
  .hero-subtitle { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-call { justify-content: center; }
  .hero-media { order: -1; }
  .hero-photo-wrap { width: min(100%, 330px); }

  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-media { max-width: 380px; margin: 0 auto; width: 100%; }
  .about-quote { white-space: normal; text-align: left; }

  .chamber-grid { grid-template-columns: 1fr; }
  .chamber-card:last-child:nth-child(odd) { grid-column: auto; }

  .steps { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .container { padding: 0 18px; }
  .brand-text small { display: none; }
  .online-panel { flex-direction: column; align-items: flex-start; gap: 22px; }
  .online-visual svg { width: 72px; height: 72px; padding: 18px; border-radius: 20px; }

  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 26px; }

  .treatment-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
  .chamber-actions { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip-top { top: 14px; }
  .chip-bottom { bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
