/* =========================================================
   Revive360 CPR Training LLC
   SDC Growth Studio build. Brand palette: navy + blue, red accent.
   ========================================================= */

:root {
  /* Brand blue (primary action) */
  --blue: #1e6fc7;
  --blue-deep: #17579e;   /* hover */
  --blue-bright: #3a86dd; /* gradient highlight */
  --blue-050: #eef4fb;    /* soft section bg */
  --blue-100: #d9e8f7;    /* chips + check circles */
  --blue-200: #bcd7f2;

  --navy: #0a1f44;        /* logo navy: headings + dark bands */
  --footer: #081733;
  --ink: #17223f;
  --muted: #5a6884;
  --white: #ffffff;
  --off-white: #f5f8fc;
  --line: #dbe6f2;
  --red: #e01f2b;         /* brand red: heart, pulse, AED accents only */

  --shadow: 0 24px 55px rgba(10, 31, 68, 0.14);
  --shadow-sm: 0 12px 30px rgba(10, 31, 68, 0.09);
  --shadow-blue: 0 16px 34px rgba(30, 111, 199, 0.3);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --pill: 999px;

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-script: "Kaushan Script", "Poppins", cursive;

  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#training,
#book,
#groups,
#about,
#faq,
#contact {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3 { font-family: var(--font-head); }

h2, h3, p { overflow-wrap: anywhere; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: top 180ms ease;
}
.skip-link:focus { top: 16px; }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 236, 233, 0.9);
  backdrop-filter: blur(16px);
  transition: min-height 180ms ease, padding 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(10, 31, 68, 0.08);
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: min(240px, 56vw); height: auto; max-height: 52px; object-fit: contain; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after {
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ---------------- Buttons ---------------- */
.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  padding: 13px 24px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav-cta,
.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.nav-cta:hover,
.button.primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.button.ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.button.ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  transform: translateY(-2px);
}

.button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}
.button.secondary:hover { border-color: var(--blue); transform: translateY(-2px); }

.button.full { width: 100%; }
.button svg { width: 18px; height: 18px; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
}
.menu-toggle span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(58, 134, 221, 0.16), transparent 60%),
    linear-gradient(165deg, #eef4fb 0%, #f5f8fc 52%, #ffffff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(46px, 6vw, 86px) clamp(18px, 4vw, 54px) clamp(56px, 7vw, 96px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow::before,
.section-kicker::before {
  width: 26px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  content: "";
}
.eyebrow strong { color: var(--red); font-weight: 700; }

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--blue); }

.hero-lead {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

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

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  max-width: 440px;
  margin-top: 30px;
  padding: 13px 24px 13px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.proof-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 4px rgba(224, 31, 43, 0.18);
}
.hero-proof p { margin: 0; line-height: 1.32; }
.hero-proof strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-proof span { color: var(--muted); font-size: 14px; }

/* Hero media: portrait on navy arch with floating card + chip */
.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 460px;
}
.hero-arch {
  position: absolute;
  inset: 0 0 0 8%;
  background: linear-gradient(165deg, var(--blue) 0%, var(--navy) 100%);
  border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
}
.hero-arch::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 30% 10%, rgba(255, 255, 255, 0.22), transparent 60%);
  content: "";
}
.hero-portrait {
  position: absolute;
  inset: 14px 0 0 8%;
  width: calc(92% - 8%);
  height: calc(100% - 14px);
  object-fit: cover;
  object-position: center top;
  border-radius: 232px 232px var(--radius-lg) var(--radius-lg);
}
.hero-card {
  position: absolute;
  left: -6px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--pill);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.hero-card img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}
.hero-card .n { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.hero-card .r { display: block; color: var(--blue-deep); font-size: 13px; font-weight: 600; }
.hero-chip {
  position: absolute;
  top: 18px; right: -6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--white);
  border-radius: var(--pill);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.hero-chip svg { width: 16px; height: 16px; color: var(--blue); }

/* ---------------- Trust bar ---------------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-bar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 54px);
  list-style: none;
}
.trust-bar li {
  position: relative;
  padding-left: 34px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}
.trust-bar li::before,
.check-list li::before {
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--blue-100);
  content: "";
}
.trust-bar li::after,
.check-list li::after {
  position: absolute;
  left: 8px; top: 50%;
  width: 5px; height: 9px;
  margin-top: -6px;
  border: solid var(--blue-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}

/* ---------------- Sections ---------------- */
.section { padding: clamp(60px, 7.5vw, 108px) clamp(18px, 4vw, 54px); }
.section-inner { width: min(1180px, 100%); margin: 0 auto; }
.narrow { width: min(880px, 100%); }

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 30px 46px;
  align-items: end;
  margin-bottom: 44px;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h3 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.2; }

.section-heading-row p,
.split-copy > p,
.group-layout p,
.about-copy > p,
.contact-copy > p { color: var(--muted); font-size: 17px; }

/* ---------------- Certifications ---------------- */
.service-strip { background: var(--blue-050); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.service-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card,
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-200);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--blue-100);
  color: var(--blue-deep);
}
.service-icon svg { width: 30px; height: 30px; }

.service-tag {
  position: absolute;
  top: 22px; right: 22px;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-card > p,
.course-card p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.card-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.card-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 14.5px;
}
.card-list li::before {
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--blue-100);
  content: "";
}
.card-list li::after {
  position: absolute;
  left: 6px; top: 50%;
  width: 4px; height: 8px;
  margin-top: -5px;
  border: solid var(--blue-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}

.service-card > a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue-deep);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.service-card > a::after { content: " \2192"; }
.service-card > a:hover { color: var(--blue); }

.service-price {
  margin: 6px 0 0 !important;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--muted);
  font-size: 13.5px;
  letter-spacing: 0.01em;
}
.service-price span {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.pricing-note {
  margin: 26px 0 0;
  padding: 16px 20px;
  border: 1px dashed var(--blue-200);
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  color: var(--ink);
  font-size: 15px;
  text-align: center;
}
.pricing-note strong { color: var(--navy); }

.group-pricing {
  margin: 24px 0 0 !important;
  padding: 16px 18px;
  border-left: 3px solid var(--blue-bright);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 15px;
}
.group-pricing strong { color: var(--white); }

.hp-field { display: none !important; }

/* ---------------- Legal / 404 pages ---------------- */
.doc-main {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px) 80px;
}
.doc-main .section-kicker { margin-bottom: 14px; }
.doc-main h1 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  margin: 0 0 10px;
}
.doc-updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc-main h2 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 21px;
  margin: 38px 0 12px;
}
.doc-main p, .doc-main li { color: var(--ink); font-size: 16px; line-height: 1.7; }
.doc-main ul { padding-left: 20px; display: grid; gap: 8px; }
.doc-main a { color: var(--blue-deep); font-weight: 600; }
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: none;
}
.doc-back:hover { color: var(--blue); }

.notfound {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 80px 24px;
  gap: 6px;
}
.notfound .code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(72px, 16vw, 132px);
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.notfound h1 { font-family: var(--font-head); color: var(--navy); font-size: clamp(24px, 4vw, 32px); margin: 8px 0 6px; }
.notfound p { color: var(--muted); max-width: 460px; margin: 0 auto 26px; }

/* ---------------- Why / split ---------------- */
.split-section { background: var(--white); }
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.94fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.image-feature { position: relative; margin: 0; }
.image-feature::before {
  position: absolute;
  right: -18px; top: -18px;
  width: 58%; height: 62%;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  border-radius: var(--radius-lg);
  content: "";
  z-index: 0;
}
.image-feature img,
.portrait-main {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.image-feature img { aspect-ratio: 4 / 5; object-position: center; }
.image-feature figcaption { position: relative; z-index: 1; margin-top: 16px; color: var(--muted); font-size: 14px; }

/* ---------------- Group training (bold band) ---------------- */
.group-section {
  background:
    radial-gradient(900px 500px at 88% -20%, rgba(58, 134, 221, 0.32), transparent 60%),
    linear-gradient(155deg, #1e6fc7 0%, #0a1f44 100%);
  color: var(--white);
}
.group-section .section-kicker { color: #9ec7f0; }
.group-section .section-kicker::before { background: #9ec7f0; }
.group-section h2 { color: var(--white); }
.group-section p { color: rgba(255, 255, 255, 0.82); }

.group-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.audience-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  font-size: 15px;
}
.audience-list li::before {
  position: absolute;
  left: 14px; top: 50%;
  width: 20px; height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  content: "";
}
.audience-list li::after {
  position: absolute;
  left: 21px; top: 50%;
  width: 5px; height: 9px;
  margin-top: -6px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  content: "";
}

.benefits-heading {
  margin: 34px 0 0;
  color: var(--white);
  font-size: 18px;
}
.benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.benefits-list li {
  position: relative;
  padding: 9px 18px 9px 38px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 600;
}
.benefits-list li::before {
  position: absolute;
  left: 13px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--blue-bright);
  content: "";
}
.benefits-list li::after {
  position: absolute;
  left: 19px; top: 50%;
  width: 4px; height: 8px;
  margin-top: -5px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: "";
}

/* ---------------- Forms ---------------- */
.booking-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(24px, 4vw, 36px);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.booking-form.compact { border-color: rgba(255, 255, 255, 0.2); }
.booking-form h3 { margin-bottom: 6px; }
.booking-form label {
  display: block;
  margin: 16px 0 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfe4e0;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.booking-form textarea { resize: vertical; }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30, 111, 199, 0.16);
}
.booking-form .button { margin-top: 22px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-status { min-height: 22px; margin: 14px 0 0; color: var(--blue-deep); font-size: 14px; font-weight: 700; }
.form-status.is-sending { color: var(--muted); }
.form-status.is-success { color: #0f8a4d; }
.form-status.is-error { color: var(--red); }
.form-status a { color: inherit; text-decoration: underline; }

/* ---------------- About / instructor ---------------- */
.about-section { background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.portrait-stack { position: relative; }
.portrait-stack::before {
  position: absolute;
  left: -18px; bottom: -18px;
  width: 62%; height: 58%;
  background: var(--blue-100);
  border-radius: var(--radius-lg);
  content: "";
  z-index: 0;
}
.portrait-main {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1.12;
  object-position: center top;
}

.mission-quote {
  position: relative;
  margin: 26px 0 0;
  padding: 20px 24px 20px 26px;
  border-radius: var(--radius);
  background: var(--blue-050);
  border-left: 4px solid var(--blue);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.45;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.proof-row div { border-top: 3px solid var(--blue); padding: 16px 0 0; }
.proof-row strong { display: block; color: var(--navy); font-family: var(--font-head); line-height: 1.25; }
.proof-row span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }

/* ---------------- FAQ ---------------- */
.faq-section { background: var(--blue-050); }
.faq-list { display: grid; gap: 14px; margin-top: 32px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  position: absolute;
  right: 4px; top: 50%;
  width: 10px; height: 10px;
  margin-top: -7px;
  border: solid var(--blue-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  content: "";
}
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-list p { margin: 0 0 20px; color: var(--muted); }

/* ---------------- Contact ---------------- */
.contact-section { background: var(--white); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.contact-panel {
  margin-top: 28px;
  border-radius: var(--radius);
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  padding: 26px;
}
.contact-panel img { max-width: 260px; }
.contact-panel p { margin: 18px 0 0; color: var(--muted); }
.contact-panel a { color: var(--blue-deep); font-weight: 600; text-decoration: none; }
.contact-panel a:hover { text-decoration: underline; }

/* ---------------- Footer ---------------- */
.site-footer {
  padding: 54px clamp(18px, 4vw, 54px) 96px;
  background: var(--footer);
  color: rgba(255, 255, 255, 0.72);
}
.footer-inner {
  display: grid;
  width: min(1180px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 30px;
  align-items: start;
}
.footer-inner img { width: min(240px, 78vw); filter: brightness(0) invert(1); }
.footer-inner p { margin: 16px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--white); font-family: var(--font-head); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--blue-bright); }
.studio-credit,
.copyright {
  grid-column: 1 / -1;
}
.studio-credit {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}
.studio-credit a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  font-size: 14px;
}

/* Footer contact row */
.footer-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 10px;
}
.footer-contact a,
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.footer-contact a:hover { color: var(--white); }
.footer-contact .fc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.footer-contact .fc-icon svg { width: 19px; height: 19px; }
.footer-contact span { display: block; }
.footer-contact .fc-sub { color: rgba(255, 255, 255, 0.55); font-size: 13px; }

/* ---------------- Brand accents ---------------- */
.hero h1 .script {
  display: block;
  margin-top: 6px;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--blue);
  font-size: 1.3em;
  line-height: 1.05;
  letter-spacing: 0;
}
.hero-pulse {
  display: block;
  width: 260px;
  max-width: 62%;
  margin: 12px 0 0;
  color: var(--red);
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawPulse 1200ms 260ms ease-out forwards;
}
.hero-pulse svg { display: block; width: 100%; height: auto; }

.service-icon.heart { background: #fde5e7; color: var(--red); }

/* AHA authorized callout in trust bar */
.trust-bar li.aha {
  padding-left: 0;
  color: var(--navy);
  font-weight: 700;
}
.trust-bar li.aha::before,
.trust-bar li.aha::after { content: none; }
.trust-bar li.aha .aha-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--pill);
  background: var(--navy);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
}
.trust-bar li.aha .aha-pill svg { width: 16px; height: 16px; color: var(--red); }

/* ---------------- Booking / Calendly ---------------- */
.booking-embed-section { background: var(--blue-050); }
.booking-embed-section .section-inner { text-align: center; }
.booking-embed-section h2 { margin-bottom: 12px; }
.booking-embed-section > .section-inner > p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 17px;
}
.booking-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(900px, 100%);
  margin: 0 auto 24px;
  text-align: left;
}
.booking-flow div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
  box-shadow: 0 12px 26px rgba(10, 31, 68, 0.07);
}
.booking-flow span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
}
.booking-flow strong {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1.2;
}
.booking-flow small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.calendly-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.calendly-inline-widget { min-width: 320px; height: 700px; }
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.booking-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.booking-note a { color: var(--blue-deep); font-weight: 600; }

.mobile-cta { display: none; }

:focus-visible { outline: 3px solid rgba(30, 111, 199, 0.85); outline-offset: 3px; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drawPulse {
  to { stroke-dashoffset: 0; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 80px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 14px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 10px; }
  .nav-cta { margin-top: 8px; }
  .menu-toggle { display: inline-flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { min-height: 420px; max-width: 460px; margin: 8px auto 0; width: 100%; }

  .section-heading-row,
  .split-layout,
  .group-layout,
  .about-layout,
  .contact-layout,
  .footer-inner { grid-template-columns: 1fr; }

  .service-grid,
  .service-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-layout .portrait-stack { max-width: 420px; }

  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-flow { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { min-height: 70px; padding: 12px 16px; }
  .brand img { width: min(200px, 60vw); max-height: 44px; }
  .site-nav { inset: 70px 16px auto; }

  .site-header.is-scrolled { min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
  .hero-inner { padding-top: 34px; padding-bottom: 46px; }
  .hero h1 { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-media { min-height: 380px; }
  .hero-card {
    left: 12px;
    right: 12px;
    bottom: 18px;
    transform: none;
    justify-content: center;
  }
  .hero-chip {
    right: 8px;
    max-width: calc(100% - 28px);
    white-space: normal;
    line-height: 1.2;
  }

  .section { padding: 54px 16px; }

  .service-grid,
  .service-grid-3,
  .audience-list,
  .proof-row,
  .form-grid { grid-template-columns: 1fr; }

  .image-feature img { aspect-ratio: 1 / 1.15; }
  .booking-form { padding: 22px; }
  .hero-pulse { max-width: 78%; }
  .booking-flow div { padding: 14px; }
  .calendly-wrap {
    margin-left: -8px;
    margin-right: -8px;
    border-radius: var(--radius);
  }
  .calendly-inline-widget {
    min-width: 0;
    width: 100%;
    height: 620px;
  }
  .booking-actions { align-items: stretch; flex-direction: column; }
  .booking-actions .button { width: 100%; }
  .footer-contact { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 118px; }
  .studio-credit { font-size: 13px; }

  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
    transition: transform 180ms ease;
  }
  .mobile-cta a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: var(--pill);
    font-family: var(--font-head);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
  }
  .mobile-cta a:first-child { border: 1px solid var(--line); color: var(--navy); }
  .mobile-cta a:last-child { background: var(--blue); color: var(--white); }
  body.booking-in-view .mobile-cta { transform: translateY(110%); }

  #training,
  #book,
  #groups,
  #about,
  #faq,
  #contact {
    scroll-margin-top: 76px;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
