/* =========================================================
   Kavya Speech & Hearing Clinic – Landing Page
   ========================================================= */

:root {
  --navy: #0b2d5c;
  --navy-900: #071d3d;
  --navy-700: #123f7c;
  --blue: #1e6fd9;
  --blue-50: #eef5ff;
  --blue-100: #dbe9fd;
  --orange: #ff8a00;
  --orange-600: #e97a00;
  --green: #25d366;
  --green-600: #1ebe5b;
  --ink: #12233d;
  --muted: #5b6b82;
  --line: #e3eaf4;
  --white: #ffffff;
  --bg: #ffffff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 45, 92, .06);
  --shadow: 0 12px 32px rgba(11, 45, 92, .10);
  --shadow-lg: 0 24px 60px rgba(7, 29, 61, .22);

  --container: 1200px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.accent { color: var(--orange); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.ico { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow--light { color: #9cc4ff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  font: 600 .95rem/1.2 inherit; font-family: inherit;
  border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid #9cc4ff; outline-offset: 2px; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 138, 0, .35); }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 12px 26px rgba(255, 138, 0, .45); }

.btn--whatsapp { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--whatsapp:hover { background: var(--green-600); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c9d8ee; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__text, .topbar__link { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__link { color: #fff; font-weight: 600; }
.topbar__link:hover { color: var(--orange); }
.topbar .ico { width: 15px; height: 15px; color: var(--orange); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.25rem; color: var(--navy); letter-spacing: .02em; }
.brand__text small { font-size: .74rem; color: var(--muted); font-weight: 500; }

.nav { display: flex; gap: 28px; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); transition: width .25s ease; }
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }

.header__cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: #fff;
  padding: 72px 0 88px;
  background: var(--navy);
}
.hero__bg {
  position: absolute; inset: 0;
  /* photo is set from Admin → Home Page (inline style in the page) */
  background-color: var(--navy);
  background-image: linear-gradient(100deg, rgba(7, 29, 61, .97) 0%, rgba(11, 45, 92, .92) 42%, rgba(11, 45, 92, .55) 100%);
  background-position: center, center right;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(30, 111, 217, .35), transparent 65%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.hero h1 { color: #fff; }
.hero__lead { font-size: 1.12rem; color: #d6e3f5; max-width: 560px; }

.checklist { display: grid; gap: 10px; margin: 26px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--light li { color: #eef4fc; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .15); }
.stat strong { display: block; font-size: 1.9rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stat span { font-size: .86rem; color: #a9bfdc; }

/* ---------- Form card ---------- */
.form-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 34px 30px 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 30px; right: 30px; height: 4px;
  border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--orange), #ffb347);
}
.form-card__head h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card__head p { color: var(--muted); font-size: .93rem; margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 16px;
  font: inherit; font-size: .95rem; color: var(--ink);
  background: #f7faff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230b2d5c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px; cursor: pointer;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30, 111, 217, .12); }

.phone-input { display: flex; align-items: stretch; }
.phone-input span {
  display: grid; place-items: center; padding: 0 14px;
  font-weight: 600; font-size: .95rem; color: var(--navy);
  background: var(--blue-50); border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px;
}
.phone-input input { border-radius: 0 12px 12px 0; }

.field__error { display: none; color: #d93025; font-size: .8rem; margin-top: 5px; }
.field.has-error input { border-color: #d93025; background: #fff6f5; }
.field.has-error .field__error { display: block; }

.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form-note .ico { width: 14px; height: 14px; color: var(--green-600); }

.form-message { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff3f2; color: #c5221f; font-size: .85rem; line-height: 1.45; }
.lead-form button[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-success {
  text-align: center; padding: 20px 4px;
}
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e7f9ef; display: grid; place-items: center; }
.form-success__icon svg { width: 32px; height: 32px; }

/* ---------- Brands (auto-sliding marquee) ---------- */
.brands { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0; }
.brands__inner { display: flex; align-items: center; gap: 32px; }
.brands__label { flex-shrink: 0; margin: 0; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); max-width: 190px; line-height: 1.4; }

.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex-shrink: 0; display: grid; place-items: center;
  width: 170px; height: 64px; margin-right: 18px; padding: 8px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.marquee__item img { max-height: 46px; width: auto; }
.brand-word { font-size: 1.6rem; font-weight: 700; color: #e4002b; letter-spacing: -.02em; line-height: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: linear-gradient(180deg, var(--blue-50), #f7fbff); }
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section--navy::before {
  content: ""; position: absolute; top: -200px; left: -200px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(30, 111, 217, .35), transparent 65%);
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .eyebrow { justify-content: center; }
.section__head--light h2 { color: #fff; }

/* ---------- Signs ---------- */
.signs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.signs__media { position: relative; }
.signs__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.badge-float {
  position: absolute; right: -18px; bottom: 28px; max-width: 220px;
  background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}
.badge-float strong { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.badge-float span { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }

.signs__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 32px; }
.signs__list li {
  display: flex; align-items: center; gap: 12px;
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: 12px 14px; border-radius: 12px; font-size: .92rem; font-weight: 500; line-height: 1.35;
}
.signs__list span {
  flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700;
}

/* ---------- Products ---------- */
.ptabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -24px 0 40px; }
.ptabs a {
  padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--blue-100);
  font-size: .9rem; font-weight: 600; color: var(--navy); transition: background .2s, color .2s, border-color .2s;
}
.ptabs a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.ptype {
  display: grid; grid-template-columns: 270px 1fr; gap: 24px; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.ptype + .ptype { margin-top: 28px; }
.ptype__info {
  display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff;
  border-radius: var(--radius); padding: 18px 20px 22px;
}
.ptype__text h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.ptype__text p { color: #c9d8ee; font-size: .88rem; line-height: 1.55; margin-bottom: 14px; }
.ptype__text .tag { background: rgba(255, 255, 255, .12); color: #9cc4ff; }
.ptype__text .tag--accent { background: var(--orange); color: #fff; }
.ptype__text { display: flex; flex-direction: column; flex: 1; }
.ptype__text .mini-list { margin: 0 0 20px; }
.ptype__cta { margin-top: auto; align-self: flex-start; }
.ptype__text .mini-list li { color: #eef4fc; }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.pcard__img { border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; aspect-ratio: 500 / 423; object-fit: cover; }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 14px 14px 16px; }
.pcard__brand { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.pcard h4 { margin: 2px 0 14px; font-size: .98rem; line-height: 1.3; color: var(--navy); font-weight: 600; }
.pcard__btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap;
  background: #e9f9ef; color: #128c4a; border: 1px solid #bfeccf;
  transition: background .2s, color .2s, border-color .2s;
}
.pcard__btn .ico { width: 16px; height: 16px; }
.pcard__btn:hover { background: var(--green); border-color: var(--green); color: #fff; }

.tag {
  align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: var(--blue-50); color: var(--blue); padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.tag--accent { background: #fff2e0; color: var(--orange-600); }

.mini-list { display: grid; gap: 6px; margin-bottom: 22px; }
.mini-list li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--ink); }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--orange); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, var(--blue) 0%, var(--navy) 100%); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #d6e3f5; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Why us ---------- */
.why__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.feature {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s;
}
.feature:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.feature__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}
.feature__icon svg { width: 22px; height: 22px; fill: #fff; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.5; }

.why__media { position: relative; }
.why__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.why__stamp {
  position: absolute; left: -24px; top: 32px;
  background: var(--orange); color: #fff; border-radius: var(--radius); padding: 18px 22px; max-width: 170px;
  box-shadow: 0 16px 30px rgba(255, 138, 0, .35);
}
.why__stamp strong { display: block; font-size: 2.2rem; line-height: 1; }
.why__stamp span { font-size: .82rem; line-height: 1.35; display: block; margin-top: 6px; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps::before {
  content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--navy); border: 2px solid var(--orange);
  font-size: 1.6rem; font-weight: 700; color: #fff;
  box-shadow: 0 0 0 8px rgba(255, 138, 0, .12);
}
.step h3 { color: #fff; }
.step p { color: #b9cbe4; font-size: .92rem; margin: 0; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
  display: flex; flex-direction: column;
}
.review::after {
  content: "\201D"; position: absolute; top: 6px; right: 22px; font-size: 6rem; line-height: 1; color: var(--blue-100); font-family: Georgia, serif;
}
.stars { color: #ffb400; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; color: var(--ink); font-size: .97rem; position: relative; z-index: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption strong { display: block; color: var(--navy); font-size: .95rem; }
.review figcaption small { color: var(--muted); font-size: .8rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 600; font-size: .85rem;
}
.slider-dots { display: none; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__contact { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; max-width: 300px; }

.accordion { display: grid; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .25s, box-shadow .25s; }
.acc-item.is-open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 600 1rem/1.4 inherit; font-family: inherit; color: var(--navy);
}
.acc-btn:focus-visible { outline: 3px solid #9cc4ff; outline-offset: -3px; border-radius: var(--radius); }
.acc-icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); transition: background .25s; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--navy);
  transform: translate(-50%, -50%); transition: transform .25s ease, background .25s;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open .acc-icon { background: var(--orange); }
.acc-item.is-open .acc-icon::before, .acc-item.is-open .acc-icon::after { background: #fff; }
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-panel > p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--muted); font-size: .95rem; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-item.is-open .acc-panel > p { padding-bottom: 20px; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 96px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(30, 111, 217, .4), transparent 45%),
    linear-gradient(135deg, var(--navy-900), var(--navy) 60%, var(--navy-700));
  color: #fff;
}
.final-cta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.final-cta h2 { color: #fff; }
.final-cta__content > p { color: #c9d8ee; font-size: 1.08rem; }
.form-card--flat { box-shadow: var(--shadow-lg); }

.contact-list { display: grid; gap: 20px; margin-top: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
}
.contact-list__icon svg { width: 22px; height: 22px; fill: var(--orange); }
.contact-list strong { display: block; color: #fff; margin-bottom: 2px; }
.contact-list p { margin: 0; color: #b9cbe4; font-size: .93rem; word-break: break-word; }
.contact-list a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb3cf; font-size: .88rem; padding: 36px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand { display: flex; align-items: center; gap: 14px; max-width: 560px; }
.footer__brand img { border-radius: 50%; flex-shrink: 0; }
.footer__brand p { margin: 0; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; font-size: .8rem; }
.footer__bottom p { margin: 0; }
.disclaimer { max-width: 560px; text-align: right; color: #7189ab; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--green);
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green);
  animation: pulse 2.2s ease-out infinite; z-index: -1;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before { animation: none; }
  .marquee__track { animation-duration: 60s; }
  .btn, .pcard { transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav { display: none; }
  .ptype { grid-template-columns: 1fr; }
  .hero__grid { gap: 36px; }
  .why__stamp { left: 16px; }
  .badge-float { right: 16px; }
}

@media (max-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero__grid,
  .signs__grid,
  .why__grid,
  .faq__grid,
  .final-cta__grid { grid-template-columns: 1fr; }
  .hero__bg { background-position: center, center top; }
  .form-card { max-width: 560px; width: 100%; margin: 0 auto; }
  .signs__media { order: 2; }
  .why__media { max-width: 560px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .faq__intro { position: static; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { justify-content: center; }
  .section, .final-cta { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }

  /* reviews become a swipe slider */
  .reviews {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-bottom: 6px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scroll-padding: 0 20px;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
  .slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .slider-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: #b9cbe4; cursor: pointer; transition: width .25s, background .25s; }
  .slider-dots button.is-active { width: 24px; background: var(--orange); }

  .brands { padding: 40px 0 34px; }
  .brands__inner { flex-direction: column; align-items: stretch; gap: 18px; text-align: center; }
  .brands__label { max-width: none; }
  .marquee__item { width: 140px; height: 56px; margin-right: 12px; }
  .marquee__item img { max-height: 38px; }
  .brand-word { font-size: 1.35rem; }

  .footer__inner, .footer__bottom { flex-direction: column; align-items: flex-start; }
  .disclaimer { text-align: left; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { padding-bottom: 68px; } /* room for mobile bar */
  .container { padding-left: 16px; padding-right: 16px; }
  .topbar__text { display: none; }
  .topbar__inner { justify-content: center; }
  .hide-sm { display: none; }
  .brand img { width: 42px; height: 42px; }
  .brand__text strong { font-size: 1.08rem; }
  .brand__text small { font-size: .66rem; white-space: nowrap; }
  .brand { gap: 8px; }
  .header__cta .btn--sm { padding: 9px 14px; font-size: .8rem; }

  .hero__lead { font-size: 1rem; }
  .hero__actions { display: none; } /* call & WhatsApp live in the sticky bottom bar */
  .checklist { margin-bottom: 0; }
  .stats { gap: 18px; justify-content: space-between; }
  .stat strong { font-size: 1.4rem; }
  .stat span { font-size: .76rem; }
  .form-card { padding: 28px 20px 22px; }

  .signs__list { grid-template-columns: 1fr; }
  .badge-float { position: static; max-width: none; margin-top: -24px; margin-inline: 16px; position: relative; }

  .ptype { padding: 14px; }
  .ptype__info { padding: 16px; }
  .ptype__text .mini-list { margin-bottom: 14px; }
  .ptype__text h3 { font-size: 1.05rem; }
  .ptabs { margin-top: -16px; gap: 8px; }
  .ptabs a { padding: 8px 14px; font-size: .8rem; }
  /* products swipe sideways on phones */
  .pgrid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 -14px; padding: 2px 14px 6px; scroll-padding: 0 14px;
  }
  .pgrid::-webkit-scrollbar { display: none; }
  .pcard { scroll-snap-align: start; }
  .features { grid-template-columns: 1fr; }
  .why__stamp { left: 12px; top: 12px; padding: 12px 16px; }
  .why__stamp strong { font-size: 1.7rem; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 0 16px; text-align: left; align-items: start; }
  .step__num { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 1.3rem; }
  .step h3 { margin: 6px 0 4px; }
  .faq__contact { max-width: none; }
  .acc-btn { padding: 18px; font-size: .95rem; }
  .acc-panel > p { padding: 0 18px; }
  .cta-band__actions .btn { flex: 1 1 100%; }

  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; box-shadow: 0 -6px 20px rgba(7, 29, 61, .12);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: 12px;
    font-weight: 600; font-size: .85rem; background: var(--blue-50); color: var(--navy); white-space: nowrap;
  }
  .mobile-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .mobile-bar__wa { background: var(--green) !important; color: #fff !important; }
  .mobile-bar__book { background: var(--orange) !important; color: #fff !important; }
}

@media (max-width: 640px) {
  .reviews { margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding: 0 16px; }
}

@media (max-width: 400px) {
  .header__cta { display: none; } /* "Book Test" stays in the sticky bottom bar */
}

/* ---------- Mobile hero: photo on top, short content ---------- */
.hero__photo, .hero__lead-sm, .hero__chips { display: none; }

@media (max-width: 640px) {
  .hero { padding: 0 0 36px; }
  .hero__bg { background-image: linear-gradient(180deg, var(--navy) 0, var(--navy) 360px, var(--navy-900) 100%); }
  .hero__bg::after { display: none; }

  .hero__photo { display: block; position: relative; height: 260px; overflow: hidden; margin-bottom: -1px; }
  .hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
  .hero__photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11, 45, 92, 0) 40%, rgba(11, 45, 92, .8) 75%, var(--navy) 94%);
  }
  .hero__photo-tag {
    position: absolute; left: 16px; top: 14px; z-index: 1;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .95); color: var(--navy);
    font-size: .78rem; font-weight: 600; box-shadow: 0 6px 18px rgba(7, 29, 61, .25);
  }
  .hero__photo-tag .ico { width: 15px; height: 15px; color: var(--green-600); }

  .hero__grid { gap: 24px; margin-top: -48px; position: relative; z-index: 1; }
  .hero .eyebrow { margin-bottom: 8px; font-size: .7rem; }
  .hero h1 { font-size: 2.1rem; margin-bottom: 10px; }
  .hero__lead, .hero .checklist, .hero .stats { display: none; }
  .hero__lead-sm { display: block; color: #d6e3f5; font-size: .98rem; margin-bottom: 14px; }

  .hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .hero__chips li {
    padding: 6px 12px; border-radius: 999px; font-size: .78rem; color: #d6e3f5;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  }
  .hero__chips strong { color: #fff; }

  .form-card__head h2 { font-size: 1.3rem; }
  .form-card__head p { margin-bottom: 16px; }
}

/* ---------- Speech therapy ---------- */
.speech {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fff8f0 0%, #fff3e6 100%);
  border-top: 1px solid #ffe2c2;
}
.speech__blob { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.speech__blob--1 { width: 420px; height: 420px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(255, 138, 0, .16), transparent 70%); }
.speech__blob--2 { width: 360px; height: 360px; bottom: -140px; left: -120px; background: radial-gradient(circle, rgba(30, 111, 217, .10), transparent 70%); }
.speech .container { position: relative; }

.eyebrow--warm { color: var(--orange-600); }
.eyebrow--warm::before { background: var(--navy); }
.speech__hl { color: var(--orange); }

.speech__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 28px; align-items: start; }

.speech__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.scard {
  position: relative; background: #fff; border: 1px solid #ffe6cc; border-radius: var(--radius);
  padding: 22px 22px 20px; box-shadow: 0 6px 18px rgba(233, 122, 0, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.scard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(233, 122, 0, .14); border-color: #ffc98f; }
.scard h3 { font-size: 1.02rem; margin: 14px 0 6px; }
.scard p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--muted); }
.scard__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.scard__icon svg { width: 24px; height: 24px; fill: #fff; }
.scard__icon--a { background: linear-gradient(135deg, #ffb347, #ff8a00); }
.scard__icon--b { background: linear-gradient(135deg, #4f9cff, #1e6fd9); }
.scard__icon--c { background: linear-gradient(135deg, #34d399, #0f9f6e); }
.scard__icon--d { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.scard__icon--e { background: linear-gradient(135deg, #fb7185, #e11d48); }
.scard__icon--f { background: linear-gradient(135deg, #22d3ee, #0891b2); }

.speech__book {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff;
  border-radius: var(--radius-lg); padding: 28px 26px 24px; box-shadow: var(--shadow-lg);
}
.speech__book-tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  background: rgba(255, 255, 255, .12); color: #ffd29c; font-size: .74rem; font-weight: 600; letter-spacing: .05em;
}
.speech__book h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.speech__book > p { color: #c9d8ee; font-size: .9rem; margin-bottom: 18px; }
.speech__book .field label { color: #dbe7f7; }
.speech__book .field input, .speech__book .field select { background: #fff; border-color: transparent; }
.speech__book .phone-input span { background: #e9f1fd; border-color: transparent; }
.speech__wa {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  font-size: .86rem; font-weight: 600; color: #8ff0b5;
}
.speech__wa:hover { color: #fff; }
.speech__wa .ico { width: 16px; height: 16px; }

.speech__steps {
  display: grid; grid-template-columns: repeat(var(--speech-steps, 4), minmax(0, 1fr)); gap: 14px; margin-top: 36px;
  background: #fff; border: 1px solid #ffe6cc; border-radius: var(--radius-lg); padding: 20px;
}
.speech__steps li { display: flex; gap: 12px; align-items: flex-start; }
.speech__steps li > span {
  flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: .95rem;
}
.speech__steps strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.3; }
.speech__steps small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; margin-top: 3px; }

@media (max-width: 1080px) {
  .speech__grid { grid-template-columns: 1fr; }
  .speech__book { position: static; max-width: 560px; width: 100%; margin: 0 auto; }
  .speech__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .speech__cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scard { padding: 16px 14px; }
  .scard h3 { font-size: .9rem; margin: 10px 0 0; }
  .scard p { display: none; } /* titles say enough on a phone; keeps the booking box close */
  .scard__icon { width: 40px; height: 40px; border-radius: 12px; }
  .scard__icon svg { width: 20px; height: 20px; }
  .speech__book { padding: 24px 18px 20px; }
  .speech__steps { grid-template-columns: 1fr; padding: 16px; }
}
.speech__book .form-note { color: #b9cbe4; }
.speech__book .form-note .ico { color: #8ff0b5; }
.speech__book .field__error { color: #ffb4ab; }
