/* ==========================================================================
   LUMORA — Skin Treatment Landing Page
   Mobile-first. Breakpoints: 768px, 1100px.
   Palette is limited to the eleven brand tokens below; the sole exception is
   the amber [VERIFY] placeholder style, which must be removed before launch.
   ========================================================================== */

:root {
  --navy-deep:   #0C2740;
  --navy:        #143A5C;
  --blue:        #1F4E79;
  --blue-steel:  #3D7EB0;
  --blue-light:  #7FB2D8;
  --ice:         #EDF3F8;
  --pearl:       #F8FAFC;
  --white:       #FFFFFF;
  --ink:         #1A2530;
  --muted:       #5A6B7A;
  --champagne:   #C2A25E;

  /* 'Cormorant Fallback' / 'Manrope Fallback' are size-adjusted local faces
     declared in the inline critical CSS in index.html */
  --font-display: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  --font-body: 'Manrope', 'Manrope Fallback', system-ui, sans-serif;

  --fs-h1: clamp(2.25rem, 4.2vw + 1rem, 3.5rem);
  --fs-h2: clamp(1.75rem, 2.6vw + 0.9rem, 2.5rem);
  --fs-h3: 1.125rem;
  --fs-body: 1.0625rem;
  --fs-caption: 0.85rem;

  --container: 72rem;
  --radius: 10px;
  --shadow-card: 0 10px 30px rgba(31, 78, 121, 0.10);
  --shadow-lift: 0 14px 34px rgba(31, 78, 121, 0.16);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */

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

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0 0 0.75rem; }

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--navy);
}

h3 { font-size: var(--fs-h3); font-weight: 700; color: var(--navy); }

p { margin: 0 0 1rem; max-width: 68ch; }

a { color: var(--blue); }

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

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-steel);
  margin: 0 0 0.75rem;
}

.eyebrow-on-dark { color: var(--blue-light); }

.section { padding-block: 3.5rem; }

/* Below-fold sections skip style/layout work until they approach the viewport */
.section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

.section-lead { color: var(--muted); margin-bottom: 2rem; }

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Section hairline divider */
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  max-width: var(--container);
  margin-inline: auto;
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--blue-steel);
  outline-offset: 2px;
}

/* [VERIFY] placeholder — deliberately loud so it cannot ship unnoticed.
   Amber is intentionally off-palette; remove every instance before launch. */
.verify {
  display: inline-block;
  background: #FDF3D7;
  color: #8A6D1A;
  border: 1px dashed #C9A227;
  border-radius: 4px;
  padding: 0 0.4em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.6;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.95rem 1.75rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-cta {
  background: var(--champagne);
  color: var(--navy-deep);
}

.btn-cta:hover {
  background: var(--navy-deep);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-steel);
}

.btn-ghost:hover { background: var(--ice); }

.text-link {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn {
  background: none;
  border: none;
  padding: 0.25rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-btn:hover { color: var(--navy-deep); }

/* ---------- 1. Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(12, 39, 64, 0.10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.header-logo { display: inline-flex; align-items: center; text-decoration: none; }

.header-logo img { height: 38px; width: auto; }

@media (min-width: 768px) {
  .header-logo img { height: 48px; }
}

.logo-wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--navy);
}

.header-actions { display: flex; align-items: center; gap: 1.25rem; }

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.header-phone .icon { width: 20px; height: 20px; }

.btn-header { padding: 0.75rem 1.25rem; font-size: 0.95rem; white-space: nowrap; }

@media (max-width: 479px) {
  .btn-header { padding: 0.7rem 0.9rem; font-size: 0.85rem; }
}

/* ---------- 2. Hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 3rem;
  background: var(--white);
  overflow: hidden;
}

.hero-light {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 90%;
  background: radial-gradient(ellipse at center, rgba(31, 78, 121, 0.06), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.hero-sub { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.5rem; }

.trust-chips {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ice);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

.chip .icon { width: 18px; height: 18px; color: var(--blue); }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.hero-form-col { position: relative; }

/* Full-bleed clinical still life behind the hero; the white veil keeps the
   navy type at full contrast (heavier on mobile where text spans the image) */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/hero2-bg.jpg') right center / cover no-repeat;
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.85));
}

/* ---------- Form card & fields ---------- */

.form-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
}

.form-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.enquiry-form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: 0.35rem; }

.field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--pearl);
  border: 1px solid var(--blue-light);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: 2px solid var(--blue-steel);
  outline-offset: 1px;
  border-color: var(--blue-steel);
}

.field-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Honeypot: moved off-screen rather than display:none / visibility:hidden,
   which many bots detect and skip */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field.has-error input,
.field.has-error select {
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}

.field-error {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

/* Pre-selection highlight for the signature concern flow */
.field select.is-highlighted {
  border-color: var(--champagne);
  box-shadow: 0 0 0 3px rgba(194, 162, 94, 0.35);
}

.btn-submit { width: 100%; }

.form-privacy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* Success panel */
.form-success { text-align: center; padding-block: 1rem; }

.form-success .icon {
  width: 52px;
  height: 52px;
  color: var(--blue);
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
}

.form-success p { margin-inline: auto; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: var(--white);
}

.btn-whatsapp:hover { background: var(--navy-deep); color: var(--white); }

.btn-whatsapp .icon { width: 20px; height: 20px; }

/* ---------- 4. Trust bar ---------- */

.trust-bar { background: var(--ice); padding-block: 1.5rem; }

.trust-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

.trust-item .icon { color: var(--blue); }

/* ---------- 5. Concerns ---------- */

.concern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.concern-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
  background: var(--pearl);
  border: 1px solid var(--ice);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.concern-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--blue-light);
}

.concern-card .icon { color: var(--blue); width: 28px; height: 28px; }

.concern-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.concern-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- 6. Differentiator ---------- */

.why { background: var(--navy-deep); }

.why-inner {
  text-align: center;
  padding-block: 1.5rem;
}

.why-inner h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }

.why-inner p {
  color: var(--ice);
  margin-inline: auto;
  margin-bottom: 1.75rem;
  max-width: 62ch;
}

/* ---------- 7. Offers ---------- */

.offers { background: var(--white); }

.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.offer-card {
  background: var(--pearl);
  border-top: 3px solid var(--champagne);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.offer-card h3 { font-size: 1.25rem; }

.offer-lead {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

/* Anchor price struck through in muted; offer price steps up in navy so the
   saving reads at a glance */
.offer-price-was {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.offer-price-now {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--navy);
  vertical-align: -0.1em;
}

.offer-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Offer terms disclosure — same ARIA pattern as the FAQ accordion, kept
   deliberately quiet beneath the cards */
.offers-terms { margin-bottom: 1.25rem; }

.offers-terms-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0.25rem 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.offers-terms-trigger:hover { color: var(--navy); }

.offers-terms-trigger .accordion-chevron { width: 16px; height: 16px; }

.offers-terms-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }

.offers-terms-panel { padding-top: 0.35rem; }

.offers-terms-panel p { margin: 0; font-size: 0.82rem; color: var(--muted); }

.offers-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ---------- 8. Treatments ---------- */

.treatments { background: var(--ice); }

.treatment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatment-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.treatment-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.35rem;
}

.treatment-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.treatment-group { margin-top: 2.5rem; }

.treatment-group .eyebrow { margin-bottom: 0.35rem; }

.treatment-group-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.treatment-group-divider { margin-top: 2.5rem; }

.treatments-toggle-row { text-align: center; margin-top: 2.75rem; }

/* ---------- 9. Doctors ---------- */

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 1.5rem;
}

/* Flex column so uneven qualification blocks never ragged the row edge:
   the hours block takes the slack and sits flush to the card bottom */
.doctor-card {
  display: flex;
  flex-direction: column;
  background: var(--pearl);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.doctor-photo {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ice);
  margin-bottom: 1rem;
  position: relative;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctor-photo .doctor-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3rem;
  color: var(--blue);
  background: var(--ice);
}

.doctor-card h3 { margin-bottom: 0.3rem; }

.doctor-quals { margin: 0 0 0.9rem; }

.doctor-qual {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--blue);
  line-height: 1.55;
  margin: 0;
}

.doctor-qual-extra {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0.2rem 0 0;
}

.doctor-hours {
  list-style: none;
  margin: auto 0 1rem; /* top auto: pins hours + button to the card bottom */
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.doctor-card .text-btn { align-self: flex-start; }

.doctor-hours li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--ice);
  border-radius: 5px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}

/* ---------- 10. Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}

.step p { margin: 0; color: var(--muted); }

/* ---------- 11. Location ---------- */

.location { background: var(--pearl); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

.location-details h3 { font-size: 1.2rem; }

.location-details h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.location-address { color: var(--muted); }

.location-details .btn { margin-bottom: 1rem; }

/* Wayfinding note beneath the address — the 4th floor of Axis Mall itself is a
   different building, so the building name has to be unmissable */
.address-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.location-phone { margin-bottom: 0; }

.location-hours {
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.location-hours-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  min-height: 320px;
  height: 100%;
  background: var(--ice);
  padding: 2rem 1.5rem;
}

.map-placeholder .icon { width: 32px; height: 32px; color: var(--blue); }

.map-placeholder p { margin: 0; font-size: 0.95rem; color: var(--navy); }

/* ---------- 12. FAQ ---------- */

.faq-inner { max-width: 50rem; }

.accordion {
  border: 1px solid var(--ice);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.accordion-item + .accordion-item { border-top: 1px solid var(--ice); }

.accordion-heading { margin: 0; }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding: 1.1rem 1.25rem;
  cursor: pointer;
}

.accordion-trigger:hover { background: var(--pearl); }

.accordion-chevron { width: 18px; height: 18px; color: var(--blue-steel); transition: transform 0.25s ease; }

.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }

.accordion-panel { padding: 0 1.25rem 1.1rem; }

.accordion-panel p { margin: 0; color: var(--muted); }

/* ---------- 13. Second form ---------- */

.book { background: var(--ice); }

.book-inner { max-width: 46rem; }

.form-card-wide { padding: 2rem 1.5rem; }

/* ---------- 14. Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--ice);
  padding-block: 3rem 5.5rem; /* extra bottom room for the mobile bar */
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* The mark is navy on solid white, so it sits on a white tile against the navy footer */
.footer-logo {
  height: 56px;
  width: auto;
  background: var(--white);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.footer-wordmark { display: block; margin-bottom: 1rem; }

.logo-wordmark-footer { color: var(--white); display: block; }

.footer-tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--blue-light);
  margin-top: 0.3rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.site-footer p { color: var(--blue-light); margin-bottom: 0.5rem; }

.site-footer a { color: var(--ice); }

.footer-social { display: flex; gap: 0.9rem; margin-top: 0.75rem; }

.footer-social a { color: var(--blue-light); }

.footer-social a:hover { color: var(--white); }

.footer-social .icon { width: 22px; height: 22px; }

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--navy);
}

.footer-legal p { margin: 0; color: var(--blue-light); font-size: 0.8rem; }

/* ---------- 15. Sticky mobile action bar ---------- */

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: flex;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -2px 12px rgba(12, 39, 64, 0.18);
}

.mobile-bar-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-bar-btn .icon { width: 20px; height: 20px; }

.mobile-bar-call { background: var(--navy-deep); color: var(--white); }

.mobile-bar-wa { background: var(--blue); color: var(--white); }

/* ---------- Desktop call widget ---------- */

/* Anchored to the right edge, so the hover pill expands leftward into the page */
.call-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 80; /* below the modal overlay (200) */
  display: none;
  align-items: center;
  justify-content: flex-end; /* keeps the icon pinned while the pill grows left */
  gap: 0;
  height: 58px;
  min-width: 58px;
  max-width: 58px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--champagne);
  color: var(--navy-deep);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(12, 39, 64, 0.22);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, max-width 0.3s ease;
}

.call-widget.is-visible { opacity: 1; visibility: visible; }

.call-widget .icon { width: 24px; height: 24px; flex-shrink: 0; }

.call-widget-number {
  order: -1; /* number sits left of the icon, so the icon stays where the circle was */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0;
  margin-right: 0;
  transition: opacity 0.2s ease 0.1s, margin-right 0.3s ease;
}

.call-widget:hover,
.call-widget:focus-visible { max-width: 260px; }

.call-widget:hover .call-widget-number,
.call-widget:focus-visible .call-widget-number { opacity: 1; margin-right: 10px; }

@media (min-width: 768px) {
  .call-widget { display: inline-flex; }
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 39, 64, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 1.75rem 1.5rem;
  width: 100%;
  max-width: 26rem;
  margin-block: auto;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
}

.modal-close:hover { color: var(--navy); background: var(--ice); }

.modal-close .icon { width: 20px; height: 20px; display: block; }

.modal-doctor-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -0.75rem;
  margin-bottom: 1rem;
}

body.modal-open { overflow: hidden; }

/* ---------- Reveal animation ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal.in-view { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Breakpoint: 768px
   ========================================================================== */

@media (min-width: 768px) {
  .section { padding-block: 4.5rem; }

  .header-phone { display: inline-flex; }

  .mobile-bar { display: none; }

  .site-footer { padding-block: 3.5rem 0; }

  .trust-bar-grid { grid-template-columns: repeat(4, 1fr); }

  .concern-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }

  .offers-grid { grid-template-columns: 1fr 1fr; }

  .treatment-grid { grid-template-columns: repeat(2, 1fr); }

  .doctor-grid { grid-template-columns: repeat(2, 1fr); }

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

  .location-grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .map-wrap iframe { height: 420px; }

  .footer-grid { grid-template-columns: 2fr 1.5fr 1fr; }

  .modal-overlay { align-items: center; }

  .form-card { padding: 2rem 1.75rem; }
}

/* ==========================================================================
   Breakpoint: 1100px
   ========================================================================== */

@media (min-width: 1100px) {
  .hero { min-height: 88vh; display: flex; align-items: center; padding-bottom: 4rem; }

  /* Two-column hero: reveal more of the image on the form side, keep the
     headline side near-white */
  .hero-bg::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 50%, rgba(255, 255, 255, 0.55) 100%);
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
  }

  .concern-grid { grid-template-columns: repeat(4, 1fr); }

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

  .doctor-grid { grid-template-columns: repeat(3, 1fr); }
}
