/* ============================================================
   VETERAN FUNERAL PLAN — Patriotic Theme
   veteranfuneralplan.com / vfp.aegisant.com
   ============================================================ */

/* 1. Design Tokens
   ============================================================ */
:root {
  /* Patriotic palette */
  --red:          #B22234;   /* Old Glory Red */
  --red-dark:     #8B1A27;
  --red-light:    #CC3A4A;
  --red-muted:    rgba(178,34,52,0.12);

  --blue:         #002868;   /* Old Glory Blue */
  --blue-mid:     #003080;
  --blue-light:   #1A4A9A;
  --navy:         #001845;
  --navy-deep:    #000F2E;
  --navy-stripe1: #001845;
  --navy-stripe2: #002060;

  --gold:         #C8A84B;
  --gold-light:   #E2C46A;
  --gold-dark:    #A07830;

  --white:        #FFFFFF;
  --off-white:    #F7F8FC;
  --warm-white:   #FAFAF8;
  --gray-light:   #EAECF2;
  --gray-mid:     #C5C9D8;
  --gray-text:    #4A5270;
  --text-dark:    #0D1229;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --sp-xs:  6px;
  --sp-sm:  12px;
  --sp-md:  24px;
  --sp-lg:  48px;
  --sp-xl:  80px;
  --sp-2xl: 120px;

  /* Radii */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg:  16px;
  --r-xl:  24px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.10);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.14);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.20);
  --shadow-red: 0 4px 20px rgba(178,34,52,0.25);

  /* Transitions */
  --t-fast:  0.15s ease;
  --t-base:  0.28s ease;
  --t-slow:  0.5s ease;
}

/* 2. 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(--navy-deep);
  /* Blue-on-blue vertical stripes — two close navy tones create a subtle pinstripe */
  background-image: repeating-linear-gradient(
    90deg,
    var(--navy-stripe1) 0px,
    var(--navy-stripe1) 22px,
    var(--navy-stripe2) 22px,
    var(--navy-stripe2) 44px
  );
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-light); transition: color var(--t-fast); }
a:hover { color: var(--red); }

/* 3. Stars Decoration
   ============================================================ */
/* Reusable CSS star element */
.star-accent {
  display: inline-block;
  color: var(--gold);
  font-size: 1.1em;
  margin: 0 4px;
  opacity: 0.85;
}

.stars-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
}

.stars-row span {
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.7;
  letter-spacing: 2px;
}

/* Decorative star strip used above/below headings */
.star-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: var(--sp-sm) 0;
}
.star-strip::before,
.star-strip::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.star-strip-content {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

/* 4. Layout
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.container-sm {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

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

.section--white {
  background: var(--white);
}

.section--off-white {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--red {
  background: var(--red);
  color: var(--white);
}

/* 5. Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(0, 24, 69, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
  padding: 0 var(--sp-lg);
}

.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav__brand-star {
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

.site-nav__brand-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.site-nav__brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav__menu a {
  display: block;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  white-space: nowrap;
}

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

.site-nav__menu .dropdown {
  position: relative;
}

.site-nav__menu .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid rgba(200,168,75,0.2);
  border-radius: var(--r-md);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.dropdown-menu a {
  padding: 10px 18px;
  border-radius: 0;
  font-size: 0.85rem;
}

.dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
}

.site-nav__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r-sm);
  color: white;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* 6. Hero — V-shaped bottom via clip-path
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 64px;
  /* Clip the bottom into a shallow V (chevron pointing down) */
  clip-path: polygon(0 0, 100% 0, 100% 91%, 50% 100%, 0 91%);
  padding-bottom: 120px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero__slide.active { opacity: 1; }

/* Layered overlay: deep navy left + translucent center, red accent stripe */
.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      110deg,
      rgba(0, 24, 69, 0.92) 0%,
      rgba(0, 40, 104, 0.82) 45%,
      rgba(0, 15, 46, 0.90) 100%
    );
}

/* Decorative red stripe on left edge of hero */
.hero__red-stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--red);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sp-xl) var(--sp-lg) var(--sp-2xl);
  text-align: center;
  color: var(--white);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.35);
  border-radius: 40px;
  padding: 6px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--sp-md);
  animation: fadeInDown 0.8s ease both;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--sp-md);
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero__title .accent-red { color: var(--red-light); }
.hero__title .accent-gold { color: var(--gold-light); }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto var(--sp-lg);
  opacity: 0.92;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero__actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.6s both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
  animation: fadeInUp 1s ease 1.2s both;
}

.hero__scroll-hint::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* 7. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--r-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-base);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(178,34,52,0.35);
}

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

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

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

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

/* 8. Section Headings
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.section-heading__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section-heading__eyebrow::before,
.section-heading__eyebrow::after {
  content: '★';
  font-size: 0.6rem;
  opacity: 0.7;
}

.section-heading__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section--navy .section-heading__title,
.section--red .section-heading__title {
  color: var(--white);
}

.section-heading__sub {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.section--navy .section-heading__sub,
.section--red .section-heading__sub {
  color: rgba(255,255,255,0.75);
}

/* Red underline accent for headings */
.heading-underline {
  position: relative;
  display: inline-block;
}

.heading-underline::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}

/* 9. Cards
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

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

.card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__image-bg {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.card__body {
  padding: var(--sp-md) var(--sp-md) var(--sp-lg);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--red);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card__text {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
}

.card__link:hover {
  gap: 10px;
  color: var(--red-dark);
}

/* Benefit card variant — used on benefits overview */
.benefit-card {
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  margin-bottom: var(--sp-md);
}

.benefit-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.benefit-card__amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 4px;
}

.benefit-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 10. Grid Helpers
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

/* 11. Trust Bar (below hero)
   ============================================================ */
.trust-bar {
  background: var(--white);
  padding: var(--sp-lg) 0;
  /* Negative margin to pull up into the V cutout */
  margin-top: -2px;
  position: relative;
  z-index: 1;
}

.trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-md);
}

.trust-item {
  text-align: center;
  padding: var(--sp-md);
}

.trust-item__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--red);
}

.trust-item__value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-item__label {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.4;
}

/* 12. Banner / Alert Strip
   ============================================================ */
.red-banner {
  background: var(--red);
  color: var(--white);
  padding: 14px var(--sp-lg);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

.red-banner a {
  color: var(--gold-light);
  text-decoration: underline;
}

/* 13. Page Hero (interior pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 100%);
  color: var(--white);
  padding: calc(64px + var(--sp-xl)) var(--sp-lg) var(--sp-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Shallow V at bottom */
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  padding-bottom: 100px;
}

.page-hero::before {
  /* Subtle star pattern overlay */
  content: '★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  font-size: 0.7rem;
  color: rgba(200,168,75,0.12);
  letter-spacing: 18px;
  text-align: center;
  pointer-events: none;
}

.page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  opacity: 0.9;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--sp-sm);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__sub {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

.page-hero__breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-sm);
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.page-hero__breadcrumb a:hover { color: var(--gold-light); }

/* 14. Info Sections (alternating content + image)
   ============================================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}

.split-section__image {
  background-size: cover;
  background-position: center;
  min-height: 380px;
}

.split-section__content {
  padding: var(--sp-xl) var(--sp-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-section__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-sm);
  line-height: 1.25;
}

.split-section--navy .split-section__content h2 {
  color: var(--white);
}

.split-section__content p {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--sp-sm);
}

.split-section--navy .split-section__content p {
  color: rgba(255,255,255,0.78);
}

/* 15. Stat Callouts
   ============================================================ */
.stat-callout {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: var(--sp-xl) 0;
  text-align: center;
}

.stat-callout__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.stat-callout__item {
  padding: var(--sp-md);
}

.stat-callout__number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-callout__label {
  font-size: 0.95rem;
  opacity: 0.82;
  line-height: 1.5;
}

/* 16. FAQ Accordion
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
}

.faq-item:first-child { border-top: 1px solid var(--gray-light); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-sm);
  transition: color var(--t-fast);
}

.faq-question:hover { color: var(--red); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--red);
  flex-shrink: 0;
  transition: transform var(--t-base);
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* 17. Calculator
   ============================================================ */
.calculator-widget {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-xl);
  max-width: 800px;
  margin: 0 auto;
}

.calculator-widget h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: var(--sp-md);
  text-align: center;
}

.calc-field {
  margin-bottom: var(--sp-md);
}

.calc-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.calc-field select,
.calc-field input[type="text"],
.calc-field input[type="number"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--r-md);
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  transition: border-color var(--t-fast);
  background: var(--white);
  appearance: auto;
}

.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--blue-light);
}

.calc-results {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 2px solid var(--gray-light);
  display: none;
}

.calc-results.visible { display: block; }

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
}

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

.calc-row__label { color: var(--gray-text); }

.calc-row__value {
  font-weight: 700;
  color: var(--navy);
}

.calc-row__value.positive { color: #1a7a45; }
.calc-row__value.negative { color: var(--red); }

.calc-gap-highlight {
  background: var(--red-muted);
  border: 2px solid rgba(178,34,52,0.2);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  margin-top: var(--sp-md);
  text-align: center;
}

.calc-gap-highlight__amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.calc-gap-highlight__label {
  font-size: 0.9rem;
  color: var(--gray-text);
}

/* 18. Lead Capture Form
   ============================================================ */
.lead-form {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-xl);
  max-width: 600px;
  margin: 0 auto;
}

.lead-form h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.lead-form .form-subtitle {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: var(--sp-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.form-field {
  margin-bottom: var(--sp-sm);
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-light);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  background: var(--white);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(0,40,104,0.08);
}

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

.form-privacy {
  font-size: 0.78rem;
  color: var(--gray-mid);
  text-align: center;
  margin-top: var(--sp-sm);
  line-height: 1.5;
}

/* 19. DD-214 Steps
   ============================================================ */
.steps-list {
  counter-reset: step;
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.step-item {
  counter-increment: step;
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.step-item::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-item__content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-item__content p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* 20. Branch Cards (Honors by Branch)
   ============================================================ */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.branch-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.branch-card__header {
  height: 10px;
}

.branch-card__header--army     { background: linear-gradient(90deg, #4a6741, #3d5736); }
.branch-card__header--navy     { background: linear-gradient(90deg, #003366, #001f4d); }
.branch-card__header--marines  { background: linear-gradient(90deg, #8b1a1a, #6b1212); }
.branch-card__header--airforce { background: linear-gradient(90deg, #1a3f7a, #0f2550); }
.branch-card__header--coast    { background: linear-gradient(90deg, var(--red), var(--red-dark)); }
.branch-card__header--space    { background: linear-gradient(90deg, #1a1a3e, #0d0d28); }

.branch-card__body {
  padding: var(--sp-md);
}

.branch-card__icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.branch-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.branch-card__preview {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.55;
}

/* 21. Checklist
   ============================================================ */
.checklist {
  list-style: none;
  max-width: 680px;
  margin: 0 auto;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.55;
}

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

.checklist li::before {
  content: '☐';
  font-size: 1.1rem;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

.checklist__category {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 22. CTA Strip (full-width call to action)
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%);
  color: var(--white);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '★ ★ ★ ★ ★ ★ ★ ★ ★ ★';
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 24px;
  pointer-events: none;
}

.cta-strip__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  margin-bottom: var(--sp-sm);
}

.cta-strip__sub {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: var(--sp-lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* 23. Agent Referral Banner
   ============================================================ */
.agent-banner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 14px var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  font-size: 0.9rem;
  text-align: center;
  flex-wrap: wrap;
}

.agent-banner__name {
  font-weight: 700;
  color: var(--gold-light);
}

/* 24. Footer
   ============================================================ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-xl) var(--sp-lg) var(--sp-lg);
  /* Subtle vertical stripes continuation */
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 22px,
    transparent 22px, transparent 44px
  );
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--sp-lg);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: var(--sp-sm);
}

.footer-brand__star {
  color: var(--gold);
  font-size: 1.8rem;
}

.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand__tagline {
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-brand__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

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

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

.footer-cta-box {
  background: rgba(178,34,52,0.15);
  border: 1px solid rgba(178,34,52,0.3);
  border-radius: var(--r-md);
  padding: var(--sp-md);
}

.footer-cta-box p {
  font-size: 0.88rem;
  margin-bottom: var(--sp-sm);
  line-height: 1.5;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  font-size: 0.8rem;
  opacity: 0.55;
}

.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.45;
  margin-top: var(--sp-sm);
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 25. Utility
   ============================================================ */
.text-red   { color: var(--red); }
.text-blue  { color: var(--blue); }
.text-navy  { color: var(--navy); }
.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }

.bg-white     { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-navy      { background: var(--navy); }
.bg-red       { background: var(--red); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* 26. Animations
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.15); }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* 27. Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --sp-xl: 48px;
    --sp-2xl: 72px;
  }

  .container, .container-sm { padding: 0 var(--sp-md); }

  .site-nav__menu { display: none; }
  .site-nav__menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(200,168,75,0.15);
    padding: var(--sp-sm) var(--sp-md);
    border-bottom: 2px solid var(--red);
  }

  .nav-hamburger { display: flex; }

  .hero { clip-path: polygon(0 0, 100% 0, 100% 94%, 50% 100%, 0 94%); }
  .page-hero { clip-path: polygon(0 0, 100% 0, 100% 92%, 50% 100%, 0 92%); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-section__image { min-height: 240px; }
  .split-section__content { padding: var(--sp-lg) var(--sp-md); }
  .stat-callout__inner { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 16px 32px; }

  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .trust-bar__inner { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2rem; }
  .calculator-widget, .lead-form { padding: var(--sp-md); }
}

/* 28. Print
   ============================================================ */
@media print {
  .site-nav, .hero__scroll-hint, .cta-strip, .site-footer { display: none; }
  body { background: white; color: black; }
  .page-hero { background: white; color: black; clip-path: none; }
}
