/*
Theme Name: Neuro Flow Athletics
Theme URI: https://neuroflowathletics.com
Author: DB8 Labs
Description: Custom theme for Neuro Flow Athletics — Colette Struthers
Version: 3.1
*/

/* ─── Google Fonts ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────────────── */
:root {
  --teal:       #2F5D5B;
  --teal-dark:  #1e3d3c;
  --teal-light: #3d7472;
  --sage:       #7A9A97;
  --sand:       #D9D4CE;
  --stone:      #EBEEEC;
  --mint:       #3FE0B6;
  --mint-dark:  #2bb89a;
  --white:      #FFFFFF;
  --dark:       #141E1E;
  --gray:       #6b7a79;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', sans-serif;
  --radius:     12px;
  --shadow:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.18);
  --transition: all 0.3s ease;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a, button { -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ─── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1.05rem; line-height: 1.75; color: var(--gray); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.75rem;
  display: block;
}

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--mint);
  color: var(--teal-dark);
}
.btn-primary:hover {
  background: var(--mint-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63,224,182,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47,93,91,0.3);
}

.btn-amazon {
  background: #FF9900;
  color: #111;
}
.btn-amazon:hover {
  background: #e88a00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,153,0,0.3);
}

/* ─── Navigation ────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 120px;
  padding: 0;
  background: #0d2422;
  border-bottom: 1px solid rgba(63, 224, 182, 0.2);
  overflow: visible;
}

.site-header.scrolled {
  background: #0d2422;
  height: 120px;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 120px;
}

.site-logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 24px;
}

.site-logo img {
  width: 400px !important;
  max-width: none !important;
  height: auto !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  background: var(--mint) !important;
  color: var(--teal-dark) !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--mint-dark) !important;
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 10;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20,30,30,0.88) 0%,
    rgba(47,93,91,0.75) 50%,
    rgba(47,93,91,0.40) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-top: 0;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-style: italic;
  line-height: 1.1;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--mint);
}

.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Split hero layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 96px;
}

.hero-photo {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 100%;
  max-width: 420px;
  height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  border: 3px solid rgba(63,224,182,0.3);
}

.hero-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20,30,30,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(63,224,182,0.3);
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  white-space: nowrap;
}

.badge-title {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.badge-sub {
  display: block;
  color: var(--mint);
  font-size: 0.78rem;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 100px;
  }
  .hero-photo { order: -1; }
  .hero-photo img { height: auto !important; width: 100%; max-width: 320px; object-fit: unset; }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ─── Pillars Strip ─────────────────────────────────────────────────────── */
.pillars {
  background: var(--teal);
  padding: 60px 0;
}

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

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.pillar-item:last-child { border-right: none; }

.pillar-item:hover {
  background: rgba(255,255,255,0.06);
}

.pillar-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.pillar-item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--white);
}

.pillar-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  font-weight: 500;
}

/* ─── Story Section ─────────────────────────────────────────────────────── */
.story {
  background: var(--white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-text h2 {
  color: var(--teal-dark);
  margin-bottom: 20px;
}

.story-text p {
  margin-bottom: 16px;
}

.story-text p:last-of-type { margin-bottom: 28px; }

.story-image {
  position: relative;
}

.story-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.story-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--mint);
  border-radius: var(--radius);
  z-index: -1;
}

/* ─── Book Section ──────────────────────────────────────────────────────── */
.book-section {
  background: var(--teal-dark);
  position: relative;
  overflow: hidden;
}

.book-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(63,224,182,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

.book-cover {
  position: relative;
}

.book-cover img {
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.book-cover:hover img {
  transform: rotate(0deg) scale(1.02);
}

.book-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.book-content .eyebrow { color: var(--mint); }

.book-subtitle {
  font-style: italic;
  color: var(--sage) !important;
  font-size: 1.1rem !important;
  margin-bottom: 24px !important;
}

.book-content p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
}

.book-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.book-badge {
  background: rgba(63,224,182,0.1);
  border: 1px solid rgba(63,224,182,0.3);
  color: var(--mint);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ─── Services ──────────────────────────────────────────────────────────── */
.services {
  background: var(--stone);
}

.services-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.services-header h2 { color: var(--teal-dark); margin-bottom: 14px; }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--mint);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-card h3 {
  color: var(--teal-dark);
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-card .btn {
  padding: 10px 22px;
  font-size: 0.88rem;
}

/* ─── Quote/Mission ─────────────────────────────────────────────────────── */
.mission {
  background: var(--teal);
  text-align: center;
  padding: 80px 0;
}

.mission blockquote {
  max-width: 800px;
  margin: 0 auto;
}

.mission blockquote p {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 24px;
}

.mission blockquote cite {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}

/* ─── CTA Banner ────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 192px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--mint);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
}

/* ─── Page Hero (inner pages) ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  padding: 160px 0 80px;
  text-align: center;
}

.page-hero .eyebrow { color: var(--mint); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ─── About Page ────────────────────────────────────────────────────────── */
.about-story .story-grid { gap: 60px; }

.credentials-section {
  background: var(--stone);
}

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

.credential-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.credential-card .icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.credential-card h4 {
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 8px;
}

.credential-card p {
  font-size: 0.88rem;
}

/* ─── Book Page ─────────────────────────────────────────────────────────── */
.book-page-content {
  background: var(--white);
}

.book-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

.book-page-cover img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.book-page-text h2 { color: var(--teal-dark); margin-bottom: 8px; }
.book-page-text .subtitle {
  font-style: italic;
  color: var(--sage);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.book-page-text p { margin-bottom: 16px; }

.what-youll-find {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 28px;
  margin: 28px 0;
}

.what-youll-find h4 {
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 16px;
}

.what-youll-find ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.what-youll-find ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray);
}

.what-youll-find ul li::before {
  content: '✦';
  color: var(--mint);
  font-size: 0.7rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ─── Training Page ─────────────────────────────────────────────────────── */
.training-intro {
  background: var(--white);
}

.training-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.pcs-section {
  background: var(--teal-dark);
  padding: 80px 0;
}

.pcs-section h2 { color: var(--white); text-align: center; margin-bottom: 16px; }
.pcs-section .section-intro { color: rgba(255,255,255,0.7); text-align: center; max-width: 620px; margin: 0 auto 48px; }

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

.pcs-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.pcs-card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.pcs-card h4 { color: var(--white); font-family: var(--font-body); font-weight: 700; margin-bottom: 10px; }
.pcs-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.training-approach {
  background: var(--stone);
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.approach-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-text h4 { color: var(--teal-dark); font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.step-text p { font-size: 0.93rem; }

/* ─── Speaking Page ─────────────────────────────────────────────────────── */
.speaking-intro {
  background: var(--white);
}

.topics-section {
  background: var(--stone);
}

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

.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: var(--transition);
}

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

.topic-num {
  font-size: 2.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--mint);
  line-height: 1;
  flex-shrink: 0;
}

.topic-card h4 { color: var(--teal-dark); font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.topic-card p { font-size: 0.92rem; }

.speaking-form-section {
  background: var(--teal-dark);
  padding: 100px 0;
}

.speaking-form-section h2 { color: var(--white); text-align: center; margin-bottom: 12px; }
.speaking-form-section > .container > p { color: rgba(255,255,255,0.7); text-align: center; margin-bottom: 48px; }

/* ─── Contact & Forms ───────────────────────────────────────────────────── */
.contact-section {
  background: var(--stone);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 { color: var(--teal-dark); margin-bottom: 16px; }
.contact-info p { margin-bottom: 24px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail span { color: var(--dark); font-weight: 500; }

/* ─── Form Styles ───────────────────────────────────────────────────────── */
.nf-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}

.nf-form.dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  max-width: 680px;
  margin: 0 auto;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.nf-form.dark .form-group label {
  color: rgba(255,255,255,0.75);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--sand);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a79' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.nf-form.dark input,
.nf-form.dark textarea,
.nf-form.dark select {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--white);
}

.nf-form.dark input::placeholder,
.nf-form.dark textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(63,224,182,0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  background: rgba(63,224,182,0.12);
  border: 1px solid var(--mint);
  color: var(--teal-dark);
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 24px;
  display: none;
}

.form-error {
  background: rgba(220,50,50,0.1);
  border: 1px solid rgba(220,50,50,0.3);
  color: #c0392b;
  padding: 16px 20px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 24px;
  display: none;
}

/* ─── Fade-in Animation ─────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal-dark);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; text-align: center; padding: 12px 16px; }
  .hamburger { display: flex; }

  .story-grid,
  .book-grid,
  .book-page-grid,
  .training-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Text always before image on mobile */
  .story-text { order: 1; }
  .story-image { order: 2; }
  .book-content { order: 1; }
  .book-cover { order: 2; }

  .book-cover img { max-width: 240px; transform: none; }
  .book-cover { text-align: center; }

  .story-image::before { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .pcs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero-content h1 { font-size: 2.4rem; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }

  .nf-form { padding: 28px 24px; }

  /* Inner page heroes — push below fixed header */
  .page-hero { padding: 160px 0 60px; }

  /* Speaking intro grid */
  .speaking-intro .training-grid { grid-template-columns: 1fr; gap: 40px; }
  .speaking-intro .training-grid > div { order: 1; }
  .speaking-intro .story-image { order: 2; }
}

@media (max-width: 480px) {
  .credentials-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ─── Coming Soon / Training Page ──────────────────────────────────────── */
.training-coming-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.training-coming-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/C1.jpg');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.training-coming-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20,30,30,0.92) 0%, rgba(47,93,91,0.80) 50%, rgba(47,93,91,0.45) 100%);
  z-index: 1;
}

.training-coming-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 60px;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--mint);
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.training-coming-text h1 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.training-coming-text h1 em {
  font-style: normal;
  color: var(--mint);
}

.training-coming-text > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.75;
}

.coming-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coming-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.cf-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.training-coming-photo {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.training-coming-photo img {
  width: 100%;
  max-width: 380px;
  height: 520px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 3px solid rgba(63,224,182,0.3);
}

/* ─── Waitlist Section ──────────────────────────────────────────────────── */
.waitlist-section {
  background: var(--teal-dark);
  padding: 100px 0;
}

.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.waitlist-text h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.waitlist-text p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}

.waitlist-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.waitlist-form label { color: rgba(255,255,255,0.8) !important; }

.waitlist-form input,
.waitlist-form textarea,
.waitlist-form select {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: rgba(255,255,255,0.35) !important;
}

/* ─── Mobile overrides ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .training-coming-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 200px;
  }
  .training-coming-text { order: 1; }
  .training-coming-photo { order: 2; }
  .training-coming-photo img { height: 340px; max-width: 260px; }
  .waitlist-inner { grid-template-columns: 1fr; gap: 40px; }
  .site-logo img { width: 200px !important; height: auto !important; }
}

@media (max-width: 480px) {
  .coming-features { gap: 10px; }
  .coming-feature { font-size: 0.88rem; }
}
