/*
Theme Name:        Aurora Dental
Theme URI:         https://example.com/
Author:            Aurora Dental Co.
Author URI:        https://example.com/
Description:       A multi-page WordPress theme for a modern family dental practice. Clean teal-on-white aesthetic, full-bleed photo hero with cyan highlight on accent words, treatment cards, animated testimonials slider, FAQ accordion, accessible scroll-reveal throughout. Five core page templates (Home, Treatments, About, Team, Contact) and an appointment booking form backed by a custom post type.
Version:           2.1.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       aurora
Tags:              dental, healthcare, multi-page, custom-colors, responsive-layout, one-column
*/

/* ============================================================
   Palette: deep teal + bright cyan highlight on white.
   Clinical, calm, modern. Plus Jakarta Sans throughout.
   ============================================================ */

:root {
  --teal:        #0E7490;
  --teal-dark:   #155E75;
  --teal-darker: #083344;
  --cyan:        #06B6D4;
  --cyan-light:  #22D3EE;
  --cyan-mark:   #A5F3FC;   /* highlighter colour */

  --ink:         #0F172A;
  --ink-2:       #1E293B;
  --slate:       #475569;
  --slate-2:     #64748B;
  --slate-3:     #94A3B8;
  --line:        #E2E8F0;
  --line-2:      #CBD5E1;
  --paper:       #FFFFFF;
  --paper-2:     #F8FAFC;
  --mint:        #ECFEFF;   /* very pale cyan backdrop */

  --sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.06);
  --shadow:    0 4px 12px -4px rgba(15,23,42,.08), 0 8px 24px -10px rgba(15,23,42,.08);
  --shadow-lg: 0 24px 48px -16px rgba(15,23,42,.18);
  --shadow-cyan: 0 8px 20px -6px rgba(6,182,212,.35);
  --transition: 240ms cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* ---------- the cyan-marker highlighter, the signature flourish ---------- */
.mark {
  background: var(--cyan-mark);
  color: var(--ink);
  padding: .1em .35em;
  border-radius: 4px;
  white-space: nowrap;
  font-style: normal;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  letter-spacing: .005em;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--cyan); color: var(--paper); box-shadow: var(--shadow-cyan); }
.btn--primary:hover { background: var(--teal); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(6,182,212,.5); }
.btn--secondary { background: var(--teal); color: var(--paper); }
.btn--secondary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,.1); color: var(--paper); border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--paper); color: var(--teal); border-color: var(--paper); }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--line-2); }
.btn--outline:hover { background: var(--mint); border-color: var(--cyan); color: var(--teal); }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   TOP UTILITY STRIP (badges + phone — adapted from plumb theme)
   ============================================================ */

.topstrip {
  background: var(--teal-dark);
  color: var(--paper);
  font-size: .82rem;
}
.topstrip__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .65rem 0;
  flex-wrap: wrap;
}
.topstrip__badges {
  display: inline-flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.topstrip__badge {
  display: inline-flex; align-items: center; gap: .45rem;
  opacity: .92;
  font-weight: 500;
}
.topstrip__badge .stars { display: inline-flex; gap: 1px; }
.topstrip__badge .stars svg { width: 12px; height: 12px; fill: #FBBF24; }
.topstrip__phone {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--paper);
  transition: color var(--transition);
}
.topstrip__phone:hover { color: var(--cyan-mark); }
.topstrip__phone .dot {
  width: 8px; height: 8px;
  background: var(--cyan-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,211,238,.6);
  animation: pulse 1.6s infinite;
}

/* ============================================================
   HEADER
   Top with logo · centred nav · CTA on right
   ============================================================ */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.92);
}
.header__row {
  display: flex; align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
  transition: padding var(--transition);
}
.header.is-scrolled .header__row { padding: .7rem 0; }
.brand { flex-shrink: 0; }

.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--teal);
}
.brand__mark {
  width: 44px; height: 44px;
  background: var(--paper);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cyan);
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--transition), color var(--transition);
}
.brand__mark svg { width: 22px; height: 22px; }
/* Decorative cyan sparkle in the top-right of the mark */
.brand__mark::after {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--cyan-light);
  transform: rotate(45deg);
  border-radius: 2px;
}
.brand:hover .brand__mark { border-color: var(--teal); color: var(--teal); }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.025em;
  color: var(--ink);
  line-height: 1;
}
.brand__name em { font-style: normal; color: var(--cyan); }
.brand__tag {
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-top: .3rem;
}

.nav {
  display: flex; gap: 2rem;
  flex: 1;
  justify-content: center;
  font-weight: 500;
  font-size: .95rem;
}
.nav a {
  position: relative;
  padding: .35rem 0;
  color: var(--ink-2);
  transition: color var(--transition);
}
.nav a:hover, .nav a.is-current { color: var(--cyan); }
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }

.header__cta { flex-shrink: 0; display: inline-flex; }
.header__cta .btn {
  padding: .7rem 1.25rem;
  font-size: .9rem;
  gap: .45rem;
}
.header__cta .btn svg { width: 16px; height: 16px; }

.hamburger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 41;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO — full-bleed photo (used on Home & page banners)
   ============================================================ */

.hero {
  position: relative;
  min-height: 540px;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--paper);

  /* Photo from Unsplash — "A dental room with a desk and chairs" by Kari Bjorn Photography */
  /* Free for commercial use under the Unsplash License */
  background:
    linear-gradient(120deg, rgba(8,51,68,.78) 0%, rgba(14,116,144,.55) 100%),
    url('https://images.unsplash.com/photo-1704455306251-b4634215d98f?auto=format&fit=crop&w=1920&q=80')
    center / cover no-repeat;
  background-color: var(--teal-darker);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, transparent 35%, rgba(8,51,68,.45) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(165,243,252,.18);
  border: 1px solid rgba(165,243,252,.4);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
  color: var(--cyan-mark);
}
.hero__eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--cyan-light);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,211,238,.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
.hero__title {
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 1.25rem;
  color: var(--paper);
}
.hero__title .mark {
  background: var(--cyan-mark);
  color: var(--ink);
}
.hero__lede {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  max-width: 58ch;
  margin: 0 0 2rem;
}
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }

/* Smaller hero variant for non-home pages */
.hero--page { min-height: 360px; }
.hero--page .hero__content { padding: 3.5rem 0; }
.hero--page .hero__title { font-size: clamp(2rem, 4vw, 2.75rem); }

/* ============================================================
   SECTIONS — shared scaffolding
   ============================================================ */

.section { padding: clamp(4.5rem, 7vw, 6.5rem) 0; }
.section--alt  { background: var(--paper-2); }
.section--mint { background: var(--mint); }
.section--ink  { background: var(--ink); color: var(--paper); }

.section__head { max-width: 720px; margin-bottom: 3rem; }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.section__title {
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.028em;
  margin: 0 0 1rem;
  color: var(--ink);
}
.section__title--light { color: var(--paper); }
.section__title .mark {
  background: var(--cyan-mark);
  color: var(--ink);
}
.section__sub {
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
.section__sub--light { color: rgba(255,255,255,.78); }

/* ============================================================
   TREATMENT CARDS — 3-column grid with cyan mint icon
   Used on Home and Treatments pages
   ============================================================ */

.treatments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.treatment {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.treatment:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-light);
  box-shadow: var(--shadow);
}
.treatment__icon {
  width: 56px; height: 56px;
  background: var(--mint);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--teal);
  margin-bottom: 1.5rem;
  transition: background var(--transition), transform var(--transition);
}
.treatment:hover .treatment__icon {
  background: var(--cyan-light);
  color: var(--paper);
  transform: scale(1.05) rotate(-3deg);
}
.treatment__icon svg { width: 30px; height: 30px; }
.treatment h3 {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.015em;
  margin: 0 0 .6rem;
  color: var(--ink);
}
.treatment p {
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
  flex: 1;
}
.treatment__link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--teal);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .005em;
  align-self: flex-start;
  transition: gap var(--transition), color var(--transition);
}
.treatment__link:hover { gap: .65rem; color: var(--cyan); }
.treatment__link svg { width: 14px; height: 14px; }

/* ============================================================
   ONE-STOP / SPLIT FEATURE (Home page mid-section)
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(14,116,144,.18) 100%),
    /* Photo from Unsplash — "white dental chair in a room with a window" by Katarzyna Zygnerska */
    url('https://images.unsplash.com/photo-1728342057953-94bfad8f0e7e?auto=format&fit=crop&w=900&q=80')
    center / cover no-repeat;
  background-color: var(--mint);
  box-shadow: var(--shadow-lg);
}
.split__photo--overlay::before {
  content: "";
  position: absolute;
  top: -12px; left: -12px; right: 24px; bottom: 24px;
  border: 2px solid var(--cyan-light);
  border-radius: var(--radius);
  z-index: -1;
}
.split__copy { max-width: 540px; }
.split__copy .section__title { margin-bottom: 1.25rem; }
.split__list {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.split__list-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.split__list-icon {
  width: 36px; height: 36px;
  background: var(--mint);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--teal);
  flex-shrink: 0;
}
.split__list-icon svg { width: 18px; height: 18px; }
.split__list-text strong {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .2rem;
}
.split__list-text span {
  color: var(--slate);
  font-size: .92rem;
  line-height: 1.55;
}

/* ============================================================
   FEATURE-COMPLETE PROMISE / WHY CHOOSE US
   4 small cards with cyan mint icons
   ============================================================ */

.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.promise__card {
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
}
.promise__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--mint);
  display: grid; place-items: center;
  color: var(--teal);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.promise__card:hover .promise__icon {
  background: var(--cyan);
  color: var(--paper);
  transform: scale(1.05);
}
.promise__icon svg { width: 28px; height: 28px; }
.promise__card h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.promise__card p {
  color: var(--slate);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   STATS BAND
   ============================================================ */

.stats {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--paper);
  padding: 3.5rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: center; }
.stat__num {
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--cyan-mark);
  margin-bottom: .5rem;
}
.stat__num span {
  color: var(--paper);
  font-size: .55em;
  font-weight: 700;
  margin-left: .1em;
}
.stat__label {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  letter-spacing: .02em;
}

/* ============================================================
   TESTIMONIALS slider — bigger redesign: decorative quote mark,
   centered quote, author row at the bottom
   ============================================================ */

.slider {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}
.slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider__track { position: relative; min-height: 360px; }
.slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms cubic-bezier(.2,.7,.2,1), transform 500ms cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  padding: 3.5rem 3rem 2.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.slider__slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }

/* Giant decorative quote mark in the top-left of every slide */
.slider__slide::before {
  content: "\201C";
  position: absolute;
  top: -.6rem; left: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--cyan);
  opacity: .25;
  font-weight: 700;
  pointer-events: none;
}

.slider__stars {
  display: inline-flex; gap: .15rem;
  margin: 0 0 1.25rem;
}
.slider__stars svg { width: 18px; height: 18px; fill: #FBBF24; }

.slider__quote {
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 2rem;
  position: relative;
  z-index: 1;
}

/* Author row at the bottom — outlined avatar on the left, name + location stacked */
.slider__author {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.slider__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 2px solid var(--cyan);
  display: grid; place-items: center;
  color: var(--teal);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.slider__cite { display: flex; flex-direction: column; font-size: .92rem; }
.slider__cite strong { color: var(--ink); font-weight: 700; font-size: 1rem; }
.slider__cite span   { color: var(--slate-2); font-size: .85rem; margin-top: .15rem; }

.slider__btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--teal);
  display: grid; place-items: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  z-index: 2;
  box-shadow: var(--shadow);
}
.slider__btn:hover {
  background: var(--cyan);
  color: var(--paper);
  border-color: var(--cyan);
  transform: translateY(-50%) scale(1.06);
}
.slider__btn--prev { left: -22px; }
.slider__btn--next { right: -22px; }
.slider__btn svg { width: 16px; height: 16px; }

.slider__dots {
  display: flex; justify-content: center; gap: .5rem;
  margin-top: 1.75rem;
}
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background var(--transition), width var(--transition);
  padding: 0;
}
.slider__dot:hover { background: var(--cyan-light); }
.slider__dot.is-active {
  background: var(--cyan);
  width: 32px;
  border-radius: 999px;
}

/* ============================================================
   FAQ accordion
   ============================================================ */

.faq { max-width: 800px; margin-inline: auto; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item.is-open { border-color: var(--cyan); box-shadow: var(--shadow); }
.faq__q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  color: var(--ink);
  transition: color var(--transition);
}
.faq__q:hover { color: var(--teal); }
.faq__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--mint);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1), background var(--transition), color var(--transition);
  color: var(--teal);
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.faq__icon::before { width: 11px; height: 2px; }
.faq__icon::after  { width: 2px; height: 11px; }
.faq__item.is-open .faq__icon {
  background: var(--cyan);
  color: var(--paper);
  transform: rotate(180deg);
}
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 380ms cubic-bezier(.2,.7,.2,1);
}
.faq__a-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--slate);
  font-size: .98rem;
  line-height: 1.65;
  max-width: 65ch;
}

/* ============================================================
   TEAM (no faces) — initial-avatar cards
   ============================================================ */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.team__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.team__card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-light);
  box-shadow: var(--shadow);
}
.team__avatar {
  width: 96px; height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 100%);
  display: grid; place-items: center;
  color: var(--paper);
  font-weight: 800;
  font-size: 1.85rem;
  letter-spacing: .02em;
  box-shadow: var(--shadow-cyan);
  position: relative;
}
.team__avatar::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--cyan-light);
  opacity: .5;
}
.team__card h3 {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 .25rem;
  letter-spacing: -.015em;
  color: var(--ink);
}
.team__role {
  display: block;
  color: var(--cyan);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}
.team__bio {
  color: var(--slate);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.team__chips {
  display: flex; flex-wrap: wrap; gap: .35rem;
  justify-content: center;
}
.team__chips span {
  font-size: .72rem;
  font-weight: 600;
  background: var(--mint);
  color: var(--teal);
  padding: .25rem .65rem;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* ============================================================
   FORM — icons inside fields, full-width submit, trust line
   ============================================================ */

.form {
  background: var(--paper);
  color: var(--ink);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; }
.field > span:not(.field__wrap) {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .015em;
  margin-bottom: .45rem;
  color: var(--ink-2);
}
.field > span:not(.field__wrap) em { color: var(--slate-2); font-style: normal; font-weight: 500; }

/* Wrapper that lets us put an icon inside the input */
.field__wrap {
  position: relative;
  display: block;
}
.field__wrap svg.field__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--slate-3);
  pointer-events: none;
  transition: color var(--transition);
  z-index: 1;
}
.field__wrap--textarea svg.field__icon { top: 1rem; transform: none; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* When the wrapper has an icon, push the text right to make room */
.field__wrap svg.field__icon ~ input,
.field__wrap svg.field__icon ~ select,
.field__wrap svg.field__icon ~ textarea { padding-left: 2.85rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6,182,212,.15);
}
.field__wrap:focus-within svg.field__icon { color: var(--cyan); }

.field textarea { resize: vertical; min-height: 110px; }

.check {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .9rem;
  color: var(--ink-2);
  cursor: pointer;
}
.check input { margin-top: .2rem; accent-color: var(--cyan); }

/* Full-width prominent submit */
.form__submit {
  width: 100%;
  padding: 1.1rem 1.5rem;
  margin-top: .5rem;
  font-size: 1.02rem;
  letter-spacing: -.005em;
}

/* Trust line under the submit button */
.form__trust {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .82rem;
  color: var(--slate-2);
  margin: 0;
  padding-top: .25rem;
}
.form__trust svg {
  width: 16px; height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}

.form__fine { font-size: .78rem; color: var(--slate-2); margin: 0; text-align: center; }

.flash {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.flash--success { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.flash--error   { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }

/* ============================================================
   CONTACT block (used on Home & Contact page)
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-lines { display: flex; flex-direction: column; gap: 1rem; }
.contact-line {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-line:last-child { border-bottom: 0; }
.contact-line__icon {
  width: 44px; height: 44px;
  background: var(--mint);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-line__icon svg { width: 20px; height: 20px; }
.contact-line__label {
  display: block;
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--slate-2);
  font-weight: 600;
  margin-bottom: .2rem;
}
.contact-line__value {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}

.hours {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
}
.hours h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.hours ul { display: grid; gap: .55rem; }
.hours li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .92rem;
}
.hours li dt { font-weight: 500; color: var(--slate); }
.hours li dd { margin: 0; font-weight: 600; color: var(--ink); }
.hours li.is-open dd { color: var(--cyan); }
.hours li.is-closed dd { color: var(--slate-2); font-weight: 500; }

/* ============================================================
   CTA banner
   ============================================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(165,243,252,.15), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(6,182,212,.2), transparent 50%);
  pointer-events: none;
}
.cta-banner__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.cta-banner h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 0 0 .85rem;
  color: var(--paper);
}
.cta-banner h2 .mark { background: var(--cyan-mark); color: var(--ink); }
.cta-banner p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0;
}
.cta-banner__actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
  justify-self: end;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 1.5rem;
  font-size: .92rem;
}
.brand--light .brand__name { color: var(--paper); }
.brand--light .brand__name em { color: var(--cyan-light); }
.brand--light .brand__tag { color: rgba(255,255,255,.5); }
.brand--light .brand__mark {
  background: transparent;
  border-color: var(--cyan-light);
  color: var(--cyan-light);
}
.brand--light .brand__mark::after { color: var(--cyan-light); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p { margin: 1rem 0 0; max-width: 30ch; font-size: .9rem; line-height: 1.6; }
.footer h4 {
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--paper);
  margin: 0 0 1.25rem;
}
.footer ul { display: flex; flex-direction: column; gap: .6rem; }
.footer a:hover { color: var(--cyan-light); }
.footer__social {
  display: flex; gap: .55rem;
  margin-top: 1.25rem;
}
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer__social a:hover { background: var(--cyan); color: var(--paper); border-color: var(--cyan); }
.footer__social svg { width: 15px; height: 15px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.footer__bottom a { color: rgba(255,255,255,.6); }

/* ============================================================
   SCROLL REVEAL primitives
   ============================================================ */

.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible,
.reveal-stagger > .is-visible { opacity: 1; transform: none; }

.reveal-stagger > *:nth-child(1) { transition-delay:  60ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 140ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 220ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 380ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 460ms; }

.reveal--left  { transform: translateX(-28px); }
.reveal--right { transform: translateX( 28px); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: none; }

/* Hero content enters on load */
.hero__content > * { animation: hero-in 800ms cubic-bezier(.2,.7,.2,1) both; }
.hero__content > *:nth-child(1) { animation-delay:  80ms; }
.hero__content > *:nth-child(2) { animation-delay: 180ms; }
.hero__content > *:nth-child(3) { animation-delay: 280ms; }
.hero__content > *:nth-child(4) { animation-delay: 380ms; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   PAGE-SPECIFIC: TREATMENTS DETAIL
   ============================================================ */

.treatment-detail {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.treatment-detail:last-child { border-bottom: 0; }
.treatment-detail__icon {
  width: 56px; height: 56px;
  background: var(--mint);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--teal);
  flex-shrink: 0;
}
.treatment-detail__icon svg { width: 28px; height: 28px; }
.treatment-detail h3 {
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 .5rem;
  color: var(--ink);
  letter-spacing: -.015em;
}
.treatment-detail p {
  color: var(--slate);
  font-size: .98rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.treatment-detail__bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem 1.5rem;
  margin: .5rem 0 0;
}
.treatment-detail__bullets li {
  display: flex; align-items: center; gap: .5rem;
  color: var(--slate);
  font-size: .9rem;
}
.treatment-detail__bullets li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   VALUES (About page)
   ============================================================ */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.value {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition);
}
.value:hover { transform: translateY(-4px); border-color: var(--cyan-light); }
.value__num {
  display: inline-block;
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.value h3 {
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 .65rem;
  color: var(--ink);
  letter-spacing: -.015em;
}
.value p {
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   INSURANCE / PARTNER strip
   ============================================================ */

.partners {
  display: flex; gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  opacity: .8;
}
.partners__item {
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--slate);
  font-size: .95rem;
  padding: .65rem 1.25rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  transition: border-color var(--transition), color var(--transition);
}
.partners__item:hover {
  border-color: var(--cyan);
  color: var(--teal);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
  .treatments    { grid-template-columns: repeat(2, 1fr); }
  .promise       { grid-template-columns: repeat(2, 1fr); }
  .stats__grid   { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .team          { grid-template-columns: repeat(2, 1fr); }
  .values        { grid-template-columns: 1fr; }
  .split         { grid-template-columns: 1fr; gap: 2.5rem; }
  .split__photo  { aspect-ratio: 16 / 10; max-width: 600px; margin-inline: auto; }
  .contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-banner__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-banner__actions { justify-self: start; }
  .slider__btn--prev { left: 8px; }
  .slider__btn--next { right: 8px; }
  .treatment-detail__bullets { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .header__row { padding: .75rem 0; }
  .header__cta { display: none; }
  .nav {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    flex: none;
    justify-content: flex-start;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem;
    z-index: 40;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 220ms cubic-bezier(.2,.7,.2,1),
      transform 220ms cubic-bezier(.2,.7,.2,1),
      visibility 220ms;
  }
  .nav a {
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  body.nav-open .nav {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }

  .hamburger { display: flex; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .topstrip__row {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: .4rem;
    padding: .6rem 0;
  }
  .topstrip__badges { gap: .85rem; font-size: .75rem; justify-content: center; }
  .topstrip__phone { font-size: .88rem; }
  /* On the narrowest screens drop the secondary badges to save space */
  .topstrip__badge--extra { display: none; }

  .hero { min-height: 480px; }
  .hero__content { padding: 4rem 0; }
  .hero__title { font-size: clamp(1.85rem, 7vw, 2.4rem); }
  .hero__cta .btn { flex: 1 1 100%; }

  .treatments    { grid-template-columns: 1fr; }
  .promise       { grid-template-columns: 1fr; }
  .stats__grid   { grid-template-columns: 1fr; gap: 1.5rem; }
  .team          { grid-template-columns: 1fr; }
  .form          { padding: 1.5rem; }
  .form__row     { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; gap: 2rem; }
  .treatment-detail { grid-template-columns: 1fr; gap: .85rem; }
  .partners      { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* WordPress admin bar safety */
body.admin-bar .header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header { top: 46px; } }
