/* ============================================================
   FAITHFUL GRACE CHRISTIAN ACADEMY — Shared Stylesheet
   Author: Generated for FGCA
   ============================================================ */

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

/* ============================================================
   DESIGN TOKENS / CSS VARIABLES
   ============================================================ */
:root {
  /* Colors */
  --royal-blue:      #1a3a8f;
  --royal-blue-dark: #122b6e;
  --royal-blue-mid:  #1f4aad;
  --royal-blue-light:#2a5cc4;
  --white:           #ffffff;
  --off-white:       #faf9f7;
  --light-gray:      #f4f4f4;
  --border-gray:     #e0ddd8;
  --medium-gray:     #9e9e9e;
  --dark-gray:       #333333;
  --text-body:       #2c2c2c;
  --gold-accent:     #c9a84c;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-serif:   'Source Serif 4', Georgia, serif;
  --font-body:    'Inter', Helvetica, Arial, sans-serif;

  /* Spacing */
  --section-py:   80px;
  --container-w:  1160px;
  --container-px: 24px;

  /* Borders & Shadows */
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --shadow-card:  0 2px 12px rgba(26, 58, 143, 0.08);
  --shadow-hover: 0 8px 28px rgba(26, 58, 143, 0.14);
  --shadow-nav:   0 2px 16px rgba(26, 58, 143, 0.12);

  /* Transitions */
  --ease:         0.22s 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(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-py {
  padding: var(--section-py) 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--royal-blue);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--medium-gray);
  font-weight: 300;
  margin-top: 0.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header .rule {
  display: block;
  width: 52px;
  height: 2px;
  background: var(--gold-accent);
  margin: 18px auto 0;
}

.text-center { text-align: center; }
.text-white  { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease), box-shadow var(--ease), transform var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--white);
  color: var(--royal-blue);
  border-color: var(--white);
}
.btn-primary:hover {
  background: transparent;
  color: var(--white);
  box-shadow: 0 0 0 2px var(--white);
}

.btn-blue {
  background: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
}
.btn-blue:hover {
  background: var(--royal-blue-dark);
  border-color: var(--royal-blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* Placeholder image boxes */
.img-placeholder {
  background: var(--light-gray);
  border: 1px dashed var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium-gray);
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
}

/* ============================================================
   SITE HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  box-shadow: var(--shadow-nav);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--royal-blue);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--medium-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-gray);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--ease);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--royal-blue);
  transition: width var(--ease);
}

.site-nav a:hover {
  color: var(--royal-blue);
}

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

.site-nav a.active {
  color: var(--royal-blue);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--royal-blue);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.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 Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-gray);
  box-shadow: var(--shadow-hover);
  z-index: 99;
  padding: 24px var(--container-px);
  flex-direction: column;
  gap: 0;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-gray);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--ease);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--royal-blue); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--royal-blue-dark);
  color: var(--white);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
}

.footer-brand .logo-name {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-brand .logo-sub {
  color: rgba(255,255,255,0.55);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  margin-top: 12px;
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.footer-verse {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   PAGE HERO (INTERIOR PAGES)
   ============================================================ */
.page-hero {
  background: var(--royal-blue);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 60px
    );
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-hero-rule {
  width: 48px;
  height: 2px;
  background: var(--gold-accent);
  margin: 20px auto 0;
}

/* ============================================================
   HOME — HERO SECTION
   ============================================================ */
.home-hero {
  position: relative;
  background: var(--royal-blue);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Subtle geometric overlay */
.home-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(42,92,196,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 90%, rgba(18,43,110,0.6) 0%, transparent 60%);
}

.home-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 48px
    );
}

.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.home-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

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

.hero-motto {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ============================================================
   HOME — ABOUT SNAPSHOT
   ============================================================ */
.about-snapshot {
  background: var(--off-white);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}

.snapshot-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.snapshot-inner p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: #555;
}

.snapshot-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border-gray);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--royal-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--medium-gray);
  margin-top: 6px;
}

/* ============================================================
   HOME — ANNOUNCEMENTS / HIGHLIGHTS
   ============================================================ */
.announcements { background: var(--white); }

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

.card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: rgba(26,58,143,0.15);
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal-blue);
  background: rgba(26,58,143,0.07);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

.card-date {
  display: block;
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--medium-gray);
  font-style: italic;
}

/* ============================================================
   HOME — STAFF SECTION
   ============================================================ */
.staff-section { background: var(--off-white); }

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

.staff-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease);
}

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

.staff-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 3px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--medium-gray);
  font-family: var(--font-body);
}

.staff-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 4px;
}

.staff-title {
  font-size: 0.78rem;
  color: var(--medium-gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.staff-divider {
  width: 28px;
  height: 1px;
  background: var(--gold-accent);
  margin: 12px auto;
}

.staff-bio {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

/* ============================================================
   HOME — BIBLE VERSE BANNER
   ============================================================ */
.verse-banner {
  background: var(--royal-blue-dark);
  position: relative;
  overflow: hidden;
}

.verse-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(42,92,196,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.verse-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.verse-rule-top,
.verse-rule-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.verse-rule-bottom {
  margin-bottom: 0;
  margin-top: 28px;
}

.verse-rule-top span,
.verse-rule-bottom span {
  color: var(--gold-accent);
  font-size: 1rem;
}

.verse-rule-top::before,
.verse-rule-top::after,
.verse-rule-bottom::before,
.verse-rule-bottom::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.verse-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--white);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.verse-ref {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-accent);
}

/* ============================================================
   HOME — CTA SECTION
   ============================================================ */
.cta-section { background: var(--white); }

.cta-box {
  background: var(--royal-blue);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.65;
}

/* ============================================================
   ABOUT PAGE — HISTORY SECTION
   ============================================================ */
.history-section { background: var(--white); }

.history-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.history-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 8px;
}

.history-text .rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold-accent);
  margin-bottom: 28px;
}

.history-text p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
}

.history-image {
  width: 110%;
  height: 110%;
}

/* ============================================================
   ABOUT — MISSION & VALUES
   ============================================================ */
.mission-section { background: var(--off-white); }

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

.value-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease);
}

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

.value-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

/* ============================================================
   ABOUT — CURRICULUM OVERVIEW
   ============================================================ */
.curriculum-section { background: var(--white); }

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

.curriculum-card {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.curriculum-card:hover {
  border-color: rgba(26,58,143,0.25);
  box-shadow: var(--shadow-card);
}

.curriculum-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.curriculum-card h4 .c-icon {
  color: var(--gold-accent);
}

.curriculum-card p {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.6;
}

/* Curriculum ACE intro paragraph */
.curriculum-intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

/* Expansion / Coming Soon callout */
.expansion-callout {
  margin-top: 36px;
  border: 1px solid rgba(26,58,143,0.2);
  border-left: 4px solid var(--royal-blue);
  border-radius: var(--radius-md);
  background: rgba(26,58,143,0.04);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.expansion-callout-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.expansion-callout h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.expansion-callout .soon-badge {
  display: inline-block;
  background: var(--royal-blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  vertical-align: middle;
}

.expansion-callout p {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.65;
}

/* ============================================================
   ABOUT — ACCREDITATION
   ============================================================ */
.accreditation-section { background: var(--off-white); }

.accred-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.accred-badge {
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 24px 36px;
  background: var(--white);
  text-align: center;
  min-width: 180px;
  transition: box-shadow var(--ease);
}

.accred-badge:hover {
  box-shadow: var(--shadow-card);
}

.accred-badge .badge-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.accred-badge span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--medium-gray);
  display: block;
}

/* ============================================================
   CONTACT PAGE — INFO BLOCK
   ============================================================ */
.contact-info { background: var(--off-white); }

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

.info-col {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow var(--ease);
}

.info-col:hover {
  box-shadow: var(--shadow-hover);
}

.info-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}

.info-col h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 8px;
}

.info-col p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE — FORM
   ============================================================ */
.contact-form-section { background: var(--white); }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

.form-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 8px;
}

.form-intro .rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold-accent);
  margin-bottom: 20px;
}

.form-intro p {
  font-family: var(--font-serif);
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark-gray);
}

.form-field label .opt {
  font-weight: 400;
  color: var(--medium-gray);
  text-transform: none;
  letter-spacing: 0;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--dark-gray);
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(26,58,143,0.1);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--medium-gray);
  font-style: italic;
}

.form-field 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='%239e9e9e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

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

.form-submit {
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--royal-blue);
  color: var(--white);
  border: 2px solid var(--royal-blue);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--royal-blue-dark);
  border-color: var(--royal-blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

/* Form Sidebar Info */
.form-sidebar {
  padding-top: 8px;
}

.sidebar-card {
  background: var(--off-white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 12px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.hours-table tr:not(:last-child) td {
  padding-bottom: 8px;
}

.hours-table td:first-child {
  color: var(--dark-gray);
  font-weight: 500;
  width: 50%;
}

.hours-table td:last-child {
  color: #666;
  text-align: right;
}

/* ============================================================
   CONTACT — MAP PLACEHOLDER
   ============================================================ */
.map-section { background: var(--off-white); }

.map-placeholder {
  width: 100%;
  height: 380px;
  background: var(--light-gray);
  border: 1px dashed var(--border-gray);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--medium-gray);
}

.map-placeholder .map-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.map-placeholder p {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

.map-placeholder span {
  font-size: 0.75rem;
  color: var(--border-gray);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 960px) {
  :root {
    --section-py: 60px;
  }

  /* Nav */
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Home */
  .cards-row { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .history-grid { grid-template-columns: 1fr; }
  .history-image { height: 280px; }
  .values-grid { grid-template-columns: 1fr; }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .info-cols { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .form-sidebar { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --section-py: 48px;
    --container-px: 18px;
  }

  .header-inner { height: 64px; }
  .mobile-nav { top: 64px; }

  .logo-text { display: none; }

  .home-hero { min-height: 80vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .snapshot-stats {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .cta-box { padding: 40px 24px; }

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

  .accred-badges { flex-direction: column; align-items: center; }
}
