/* ==============================================
   REDDING CRASH — Design System 2025
   Font: Outfit (Google Fonts)
   Primary: #2196C9 (Blue)
   Dark: #0D1B2B (Deep Navy)
   ============================================= */

:root {
  --blue: #2196C9;
  --blue-dark: #1677A5;
  --blue-light: #4BBADF;
  --blue-glow: rgba(33, 150, 201, 0.12);
  --blue-grad: linear-gradient(135deg, #2196C9, #1677A5);

  --dark: #0D1B2B;
  --dark-2: #112438;
  --dark-3: #162E45;

  --text: #3B4D5E;
  --text-muted: #7A90A6;
  --white-70: rgba(255, 255, 255, 0.70);
  --white-45: rgba(255, 255, 255, 0.45);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-04: rgba(255, 255, 255, 0.04);

  --light: #F0F6FB;
  --light-alt: #E5EFF7;
  --white: #FFFFFF;
  --border: #D8E8F2;

  --font: 'Outfit', sans-serif;

  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-sm: 0 2px 10px rgba(13, 27, 43, 0.06);
  --shadow-md: 0 8px 32px rgba(13, 27, 43, 0.10);
  --shadow-lg: 0 20px 60px rgba(13, 27, 43, 0.14);
  --shadow-xl: 0 30px 80px rgba(13, 27, 43, 0.20);
  --glow: 0 0 40px rgba(33, 150, 201, 0.18);

  --pad: 7.5rem;
  --container: 1200px;
}


/* ==============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }

h1, h2, h3, h4 {
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-family: var(--font);
}


/* ==============================================
   LAYOUT
   ============================================= */
.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.5); }
.eyebrow--light::before { background: rgba(255, 255, 255, 0.3); }

.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }


/* ==============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.25rem;
  border-radius: var(--r);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-lg { padding: 1.1rem 3rem; font-size: 1rem; border-radius: var(--r-lg); }

.btn-primary {
  background: var(--blue-grad);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(33, 150, 201, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(33, 150, 201, 0.42);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.22);
  color: var(--blue-dark);
}

.btn-full { width: 100%; }


/* ==============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(13, 27, 43, 0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.18);
}

.nav-container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
}

.nav-logo img { height: 38px; width: auto; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-menu a:hover { color: var(--white); }

.nav-active { color: var(--blue) !important; }

.nav-cta {
  background: var(--blue-grad) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 14px rgba(33, 150, 201, 0.28);
  transition: all 0.3s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(33, 150, 201, 0.38);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ==============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../assets/images/hero-bg.jpg') center / cover no-repeat;
  background-color: var(--dark);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 75%, rgba(33, 150, 201, 0.18) 0%, transparent 55%),
    linear-gradient(165deg, rgba(13, 27, 43, 0.94) 0%, rgba(13, 27, 43, 0.75) 50%, rgba(13, 27, 43, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
}

.hero-eyebrow {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

.scroll-line {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: pulse-line 2.5s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scaleY(0.5); }
  50% { opacity: 0.8; transform: translateX(-50%) scaleY(1); }
}


/* ==============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.trust-stat {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 2.5rem 2rem;
  position: relative;
}

.trust-stat + .trust-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.trust-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--blue-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.trust-lbl {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
}


/* ==============================================
   SPLIT LAYOUT (used in Problem + About)
   ============================================= */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.split-layout--reverse { grid-template-columns: 1.2fr 1fr; }

.split-image {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.split-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.split-image--portrait img {
  height: 540px;
  object-position: top;
}

.split-image-accent {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--blue);
  border-radius: var(--r-xl);
  z-index: -1;
  opacity: 0.14;
}

.split-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.split-text p {
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.split-text p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.5rem;
  margin-top: 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--dark);
  line-height: 1.65;
}

/* Credential list in about section */
.cred-list {
  list-style: none;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.cred-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  padding: 0.6rem 0;
}

.cred-list svg { color: var(--blue); flex-shrink: 0; }


/* ==============================================
   PROBLEM SECTION
   ============================================= */
.problem {
  padding: var(--pad) 0;
  background: var(--white);
}


/* ==============================================
   STAKES SECTION
   ============================================= */
.stakes {
  position: relative;
  padding: var(--pad) 0;
  background: url('../assets/images/stakes-bg.jpg') center / cover no-repeat fixed;
  background-color: var(--dark);
  overflow: hidden;
}

.stakes::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(33, 150, 201, 0.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(13, 27, 43, 0.96) 0%, rgba(13, 27, 43, 0.93) 100%);
}

.stakes-content {
  position: relative;
  z-index: 2;
}

.stakes h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 3.5rem;
}

.stakes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stake-card {
  padding: 2.75rem 2.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-xl);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stake-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue-grad);
  transition: width 0.4s;
}

.stake-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(33, 150, 201, 0.22);
  transform: translateY(-6px);
  box-shadow: var(--glow);
}

.stake-card:hover::after { width: 100%; }

.stake-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--r);
  background: var(--blue-glow);
  border: 1px solid rgba(33, 150, 201, 0.18);
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}

.stake-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.stake-card p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
  line-height: 1.75;
}


/* ==============================================
   ABOUT SECTION
   ============================================= */
.about {
  padding: var(--pad) 0;
  background: var(--light);
}


/* ==============================================
   STEPS SECTION
   ============================================= */
.steps {
  padding: var(--pad) 0;
  background: var(--white);
  text-align: center;
}

.steps h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.steps-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  text-align: left;
}

.step-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover {
  border-color: rgba(33, 150, 201, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-card:hover::before { opacity: 1; }

.step-card-num {
  display: inline-flex;
  align-items: center;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 1.25rem;
  gap: 0.6rem;
}

.step-card-num::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--border);
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.steps-success {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  padding: 1.75rem 2.5rem;
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--r-lg);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.75;
  text-align: left;
}

.steps-cta { margin-top: 0.5rem; }


/* ==============================================
   SERVICES SECTION
   ============================================= */
.services {
  padding: var(--pad) 0;
  background: var(--light);
}

.services h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 5rem;
}

/* Alternating service rows */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.service-row--flip { direction: rtl; }
.service-row--flip > * { direction: ltr; }

.service-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.service-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-img:hover img { transform: scale(1.04); }

.service-img::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  border-radius: var(--r-xl);
  pointer-events: none;
}

.service-text h3 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  position: relative;
}

.service-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--blue-grad);
  border-radius: 2px;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

/* Bottom cards row */
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  padding: 2.75rem 2.5rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-grad);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.service-card:hover::before { opacity: 1; }

.service-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--r);
  background: var(--blue-glow);
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-glow);
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(33, 150, 201, 0.14);
}


/* ==============================================
   CTA SECTION
   ============================================= */
.cta-section {
  position: relative;
  padding: 7rem 0;
  background: url('../assets/images/cta-bg.jpg') center / cover no-repeat fixed;
  background-color: var(--dark);
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(33, 150, 201, 0.28) 0%, transparent 60%),
    linear-gradient(145deg, rgba(22, 119, 165, 0.90) 0%, rgba(13, 27, 43, 0.96) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-urgent {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 1.25rem;
}

.cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.1;
}

.cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 3rem;
}


/* ==============================================
   CONTACT SECTION
   ============================================= */
.contact {
  padding: var(--pad) 0;
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--text-muted);
}

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

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r);
  background: var(--blue-glow);
  border: 1px solid rgba(33, 150, 201, 0.12);
  color: var(--blue);
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-method a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  transition: color 0.2s;
}

.contact-method a:hover { color: var(--blue); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

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

.form-field { margin-bottom: 1.25rem; }

.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--light);
  transition: all 0.25s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-glow);
  background: var(--white);
}

.contact-form .btn-primary { margin-top: 0.5rem; padding: 1rem; font-size: 1rem; }


/* ==============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  padding: 5rem 0 2.25rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 150, 201, 0.25), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.footer-logo span { color: var(--blue); }

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
  max-width: 300px;
}

.footer-area {
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.28) !important;
  margin-top: 0.5rem !important;
  letter-spacing: 0.02em;
}

.footer-col h4 {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue-light); }

.footer-col p { margin-bottom: 0.5rem; }

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

.footer-bottom a {
  color: rgba(33, 150, 201, 0.55);
  font-size: 0.72rem;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--blue); }


/* ==============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }


/* ==============================================
   PAGE HEADER (About / Resume page)
   ============================================= */
.page-header {
  position: relative;
  padding: 10rem 0 5rem;
  background: url('../assets/images/hero-bg.jpg') center / cover no-repeat;
  background-color: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(33, 150, 201, 0.18) 0%, transparent 55%),
    linear-gradient(145deg, rgba(13, 27, 43, 0.94) 0%, rgba(13, 27, 43, 0.86) 100%);
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.58);
  max-width: 520px;
}


/* ==============================================
   RESUME PAGE
   ============================================= */
.resume-page {
  padding: var(--pad) 0;
  background: var(--white);
}

.resume-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* Sidebar */
.resume-sidebar { position: sticky; top: 100px; }

.resume-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.75rem;
}

.resume-photo img { width: 100%; display: block; }

.sidebar-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-card h3 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dark);
  margin-bottom: 1rem;
}

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.sidebar-contact-item:last-child { margin-bottom: 0; }

.sidebar-contact-item svg { color: var(--blue); flex-shrink: 0; }

.sidebar-contact-item a { color: var(--dark); font-weight: 500; transition: color 0.2s; }
.sidebar-contact-item a:hover { color: var(--blue); }

/* Accreditations card — dark */
.sidebar-creds {
  background: var(--dark);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.sidebar-creds::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-grad);
}

.sidebar-creds h3 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.sidebar-creds ul { list-style: none; }

.sidebar-creds li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.65rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.sidebar-creds li:last-child { margin-bottom: 0; }

.sidebar-creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* Resume main content */
.resume-main {}

.resume-bio {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.resume-sec {
  margin-bottom: 3.25rem;
  padding-bottom: 3.25rem;
  border-bottom: 1px solid var(--border);
}

.resume-sec:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.resume-sec p { font-size: 0.9rem; line-height: 1.65; }

.resume-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.resume-heading svg { color: var(--blue); flex-shrink: 0; }

/* Timeline entries */
.resume-entry {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-alt);
}

.resume-entry:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.entry-date {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding-top: 0.15rem;
}

.entry-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.entry-location {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.entry-role {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.entry-body p { font-size: 0.88rem; line-height: 1.65; }

/* Training list */
.training-list {
  display: flex;
  flex-direction: column;
}

.training-item {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--light-alt);
  font-size: 0.88rem;
  line-height: 1.5;
  align-items: baseline;
}

.training-item:last-child { border-bottom: none; }

.training-year {
  font-weight: 800;
  color: var(--blue);
  font-size: 0.76rem;
  min-width: 42px;
  flex-shrink: 0;
}

/* Court experience */
.court-label {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

.court-grid--3 { grid-template-columns: repeat(3, 1fr); }

.court-card--new {
  border-color: rgba(33, 150, 201, 0.25);
  background: rgba(33, 150, 201, 0.04);
}

.court-card--new h4 { color: var(--blue); }

.court-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.court-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.court-card ul { list-style: none; }

.court-card li {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
  color: var(--text);
}

.court-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

/* Organizations */
.org-list { list-style: none; }

.org-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-alt);
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

.org-list li:last-child { border-bottom: none; }


/* ==============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 1024px) {
  .split-layout,
  .split-layout--reverse { gap: 3.5rem; }

  .service-row { gap: 3rem; }
}


/* ==============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  :root { --pad: 5rem; }

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

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 27, 43, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu.active { display: flex; }
  .nav-menu a { padding: 0.6rem 0; font-size: 0.95rem; }
  .nav-cta { text-align: center; padding: 0.75rem 1rem !important; }

  /* Hero */
  .hero { min-height: 92vh; }
  .hero h1 br { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .scroll-line { display: none; }

  /* Trust bar */
  .trust-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .trust-stat { padding: 1.75rem 1.25rem; }
  .trust-stat + .trust-stat::before { display: none; }

  /* Split layouts */
  .split-layout,
  .split-layout--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .split-image img,
  .split-image--portrait img { height: 280px; }
  .split-image-accent { display: none; }

  .cred-list { grid-template-columns: 1fr; }

  /* Stakes */
  .stakes-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Steps */
  .steps-grid-4 { grid-template-columns: 1fr 1fr; }

  /* Services */
  .service-row,
  .service-row--flip {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
    margin-bottom: 4rem;
  }

  .service-img img { height: 260px; }
  .service-cards { grid-template-columns: 1fr; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Resume page */
  .page-header { padding: 8rem 0 3.5rem; }
  .resume-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .resume-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .resume-photo { grid-column: 1 / -1; max-width: 240px; margin: 0 auto; }
  .resume-entry { grid-template-columns: 1fr; gap: 0.3rem; }
  .court-grid { grid-template-columns: 1fr; }
  .court-grid--3 { grid-template-columns: 1fr; }
}


/* ==============================================
   ACCESSIBILITY WIDGET
   ============================================= */

/* Floating button */
.a11y-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9000;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(33, 150, 201, 0.42);
  transition: transform 0.25s, box-shadow 0.25s;
}

.a11y-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(33, 150, 201, 0.58);
}

.a11y-fab:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}

/* Backdrop */
.a11y-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 43, 0.48);
  z-index: 8998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.a11y-backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

/* Slide-in panel */
.a11y-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 300px;
  background: var(--white);
  box-shadow: 6px 0 40px rgba(13, 27, 43, 0.16);
  z-index: 8999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.a11y-panel--open {
  transform: translateX(0);
}

/* Panel header */
.a11y-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--dark);
  flex-shrink: 0;
}

.a11y-header-title {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.a11y-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.a11y-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.a11y-close:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

/* Panel body */
.a11y-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
}

.a11y-section {
  margin-bottom: 1.5rem;
}

.a11y-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-family: var(--font);
}

/* Option row */
.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.a11y-row:last-child { border-bottom: none; }

.a11y-row-label {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
}

/* Toggle switch */
.a11y-switch {
  position: relative;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.a11y-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.a11y-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  transition: background 0.25s;
}

.a11y-switch input:checked + .a11y-track {
  background: var(--blue);
}

.a11y-track::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.a11y-switch input:checked + .a11y-track::before {
  transform: translateX(18px);
}

.a11y-switch input:focus-visible + .a11y-track {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Text size controls */
.a11y-size-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.a11y-size-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s;
}

.a11y-size-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.a11y-size-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.a11y-size-value {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 38px;
  text-align: center;
}

/* Reset button */
.a11y-reset {
  width: 100%;
  padding: 0.75rem;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.a11y-reset:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.a11y-reset:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ==============================================
   ACCESSIBILITY MODES (body classes)
   ============================================= */

body.a11y-high-contrast { filter: contrast(1.45); }
body.a11y-grayscale     { filter: grayscale(100%); }
body.a11y-high-contrast.a11y-grayscale { filter: contrast(1.45) grayscale(100%); }

body.a11y-underline-links a { text-decoration: underline !important; }

body.a11y-pause-animations *,
body.a11y-pause-animations *::before,
body.a11y-pause-animations *::after {
  animation-duration: 0.001ms !important;
  transition-duration: 0.001ms !important;
}

body.a11y-dyslexia,
body.a11y-dyslexia * {
  font-family: 'Atkinson Hyperlegible', sans-serif !important;
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
  line-height: 1.9;
}
