/* ==========================================================================
   TORO TUTORING — Main Stylesheet
   Color Palette: Deep Red, Charcoal, Off-White, Gold Accents
   Typography: Playfair Display (headings) + Source Serif 4 (body)
   ========================================================================== */

/* === Google Fonts Import === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* === CSS Custom Properties === */
:root {
  /* Colors */
  --red:        #8B1A1A;
  --red-light:  #A82222;
  --red-dark:   #6B1212;
  --charcoal:   #1C1C1C;
  --charcoal-mid: #2E2E2E;
  --charcoal-soft:#3D3D3D;
  --off-white:  #F7F4EE;
  --warm-white: #FDFAF5;
  --cream:      #EDE8DF;
  --gold:       #B8973A;
  --gold-light: #CCA84C;
  --gold-subtle:#D4B866;
  --text-dark:  #1C1C1C;
  --text-mid:   #3D3D3D;
  --text-soft:  #6A6460;
  --border:     #D6CFC4;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  /* Spacing Scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;
  --space-xxl:  10rem;

  /* Layout */
  --max-width: 1160px;
  --nav-height: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === 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(--text-dark);
  background-color: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* === Typography Scale === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 68ch;
}

/* === Utility Classes === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-pad {
  padding: var(--space-xl) 0;
}

.section-pad-sm {
  padding: var(--space-lg) 0;
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.125rem;
  color: var(--text-soft);
  margin-bottom: var(--space-md);
  max-width: 58ch;
}

.divider {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.divider-center {
  margin: 1.5rem auto;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.875rem 2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 26, 26, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--off-white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}

.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 151, 58, 0.3);
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(28, 28, 28, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 151, 58, 0.2);
  transition: all 0.3s var(--ease);
}

.nav.scrolled {
  height: 68px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: height 0.3s var(--ease);
}

.nav.scrolled .nav-logo img {
  height: 44px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(247, 244, 238, 0.85);
  letter-spacing: 0.06em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--off-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-accent) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  padding: 0.5rem 1.25rem;
  background: var(--red);
  color: #fff !important;
  border: 1px solid var(--red);
  transition: all 0.25s var(--ease) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--red-dark) !important;
  border-color: var(--red-dark) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: all 0.3s var(--ease);
  display: block;
}

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

/* Mobile Nav Drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--charcoal);
  padding: var(--space-md);
  border-bottom: 2px solid var(--gold);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--off-white);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s, padding-left 0.2s;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); padding-left: 0.5rem; }

/* === Hero Section === */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Textured background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(139, 26, 26, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184, 151, 58, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

/* Subtle grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  animation: fadeUp 0.9s var(--ease) forwards;
}

.hero-eyebrow {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero h1 {
  color: var(--off-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  line-height: 1.12;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-subtle);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(247, 244, 238, 0.7);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1.1s var(--ease) 0.3s both;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
}

.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 26, 26, 0.15) 0%, transparent 70%);
}

.hero-logo-wrap img {
  width: min(380px, 90%);
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
  transition: transform 0.6s var(--ease);
}

.hero-logo-wrap:hover img {
  transform: scale(1.03);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 244, 238, 0.4);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* === Features/Services Grid === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.service-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  transition: height 0.35s var(--ease);
}

.service-card:hover {
  border-color: rgba(139, 26, 26, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  max-width: none;
  line-height: 1.65;
}

/* === Subjects Section === */
.subjects-bg {
  background: var(--charcoal);
  color: var(--off-white);
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--space-md);
}

.subject-block {
  background: var(--charcoal-mid);
  padding: 2.5rem 2rem;
  transition: background 0.25s var(--ease);
}

.subject-block:hover {
  background: var(--charcoal-soft);
}

.subject-block h3 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-accent);
  margin-bottom: 1rem;
}

.subject-block ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.subject-block li {
  font-size: 0.9375rem;
  color: rgba(247, 244, 238, 0.75);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
  font-family: var(--font-body);
}

.subject-block li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.75rem;
}

/* === How I Teach === */
.teach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.teach-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.4;
  position: relative;
  padding: 2rem 2rem 2rem 3rem;
  border-left: 3px solid var(--red);
  background: var(--cream);
  margin-bottom: var(--space-md);
}

.teach-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.teach-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.teach-feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.teach-feature h4 {
  margin-bottom: 0.375rem;
  font-size: 1.05rem;
}

.teach-feature p {
  font-size: 0.9375rem;
  margin: 0;
  max-width: none;
}

/* === Homeschool Section === */
.homeschool-bg {
  background: var(--cream);
}

.homeschool-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.homeschool-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.homeschool-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.homeschool-point-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.homeschool-point h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.homeschool-point p {
  font-size: 0.9375rem;
  max-width: none;
  margin: 0;
}

/* === Vision / Philosophy === */
.vision-bg {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.vision-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(139, 26, 26, 0.12) 0%, transparent 60%);
}

.vision-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.vision-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.vision-pillar {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.75rem;
  transition: background 0.25s;
}

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

.vision-pillar-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.vision-pillar h4 {
  color: var(--off-white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.vision-pillar p {
  font-size: 0.875rem;
  color: rgba(247,244,238,0.55);
  max-width: none;
  margin: 0;
  line-height: 1.6;
}

/* === About Section === */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.about-image-side {
  position: relative;
}

.about-logo-display {
  background: var(--charcoal);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-logo-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(139, 26, 26, 0.15) 0%, transparent 70%);
}

.about-logo-display img {
  width: 280px;
  position: relative;
  z-index: 1;
}

.about-tag {
  background: var(--red);
  color: #fff;
  padding: 1rem 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.about-strengths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.strength-item {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--cream);
}

.strength-item h4 {
  font-size: 0.875rem;
  color: var(--red);
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.strength-item p {
  font-size: 0.875rem;
  margin: 0;
  max-width: none;
  color: var(--text-soft);
}

/* === Testimonials === */
.testimonials-bg {
  background: var(--cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-md);
}

.testimonial-card {
  background: var(--warm-white);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--red);
  opacity: 0.12;
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-name {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--gold);
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}

/* === CTA Banner === */
.cta-banner {
  background: var(--red);
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  max-width: 55ch;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
}

.cta-banner-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Contact Section === */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: var(--space-md);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: var(--text-mid);
}

.contact-detail-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

/* === Form === */
.contact-form {
  background: var(--warm-white);
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 0.875rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.1);
}

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

.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='%236A6460' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-note {
  font-size: 0.875rem;
  color: var(--text-soft);
  font-style: italic;
  margin: 0;
  max-width: none;
}

.form-success {
  display: none;
  background: #f0faf4;
  border: 1px solid #a3d9b1;
  padding: 1.25rem 1.5rem;
  color: #1a6b3a;
  font-family: var(--font-accent);
  font-size: 0.9375rem;
  grid-column: 1 / -1;
}

/* === Footer === */
.footer {
  background: #111;
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid rgba(184, 151, 58, 0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-brand img {
  height: 64px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(247,244,238,0.45);
  max-width: 36ch;
  line-height: 1.65;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col li a {
  font-size: 0.9rem;
  color: rgba(247,244,238,0.55);
  transition: color 0.2s;
  font-family: var(--font-body);
}

.footer-col li a:hover {
  color: var(--off-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(247,244,238,0.3);
  margin: 0;
  max-width: none;
}

/* === Page Hero (Interior Pages) === */
.page-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-height) + 4rem) 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(139, 26, 26, 0.14) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(247, 244, 238, 0.65);
  max-width: 54ch;
  font-weight: 300;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: rgba(247,244,238,0.4);
}

.breadcrumb a {
  color: var(--gold);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(247,244,238,0.25); }

/* === FAQ Section === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 800px;
  margin: var(--space-md) auto 0;
}

.faq-item {
  background: var(--warm-white);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  user-select: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--cream);
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--red);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-icon::after {
  height: 100%;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 2rem 1.75rem;
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.75;
}

/* === Animations === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* === Responsive === */
@media (max-width: 960px) {
  :root {
    --space-xl: 5rem;
    --space-xxl: 7rem;
  }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }

  .hero-ctas { justify-content: center; }

  .hero-visual { order: -1; }

  .hero-logo-wrap img { width: min(280px, 70vw); }

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

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

  .homeschool-inner { grid-template-columns: 1fr; }

  .vision-inner { grid-template-columns: 1fr; }
  .vision-pillars { grid-template-columns: 1fr 1fr; }

  .about-inner { grid-template-columns: 1fr; }

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

  .contact-inner { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--space-sm); }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }
  .form-submit { grid-column: 1; }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 3rem;
  }

  .hero { min-height: 100svh; }

  .about-strengths { grid-template-columns: 1fr; }

  .vision-pillars { grid-template-columns: 1fr; }

  .contact-form { padding: 1.75rem; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
