/* ============================================================
   Aviation Management Insurance Services, Inc.
   Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy:       #0d2137;
  --blue:       #1461a8;
  --sky:        #3a9bd5;
  --gold:       #c8930a;
  --gold-light: #e8a80c;
  --white:      #ffffff;
  --off-white:  #f4f7fb;
  --light-gray: #e8ecf1;
  --mid-gray:   #7a8a9a;
  --dark-text:  #1a2535;
  --footer-bg:  #091827;

  --font-sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(13,33,55,0.10);
  --shadow-md: 0 4px 20px rgba(13,33,55,0.16);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text);
  background: var(--white);
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--mid-gray); max-width: 680px; margin: 0 auto 2.5rem; text-align: center; }

/* ---------- Layout Helpers ---------- */
.container { width: 92%; max-width: 1160px; margin: 0 auto; }
.section { padding: 72px 0; }
.section-alt { background: var(--off-white); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.72rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(200,147,10,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-lg { padding: 0.95rem 2.4rem; font-size: 1.05rem; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.85rem; }


/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-top {
  background: #071420;
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--mid-gray);
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.header-top a { color: var(--mid-gray); }
.header-top a:hover { color: var(--gold); }

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 1rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.logo-text { color: var(--white); line-height: 1.15; }
.logo-text .logo-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.logo-text .logo-tagline {
  display: block;
  font-size: 0.72rem;
  color: var(--sky);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--light-gray);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.main-nav a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem;
}
.main-nav a.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--white);
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.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); }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: #04101c; /* dark fallback while photo loads */
  overflow: hidden;
}
/* Text-protection overlay — left-heavy dark gradient over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(4,16,28,0.78) 0%,
      rgba(4,16,28,0.52) 38%,
      rgba(4,16,28,0.18) 62%,
      rgba(4,16,28,0.00) 80%),
    linear-gradient(to top,
      rgba(4,16,28,0.55) 0%,
      rgba(4,16,28,0.00) 35%);
  z-index: 1;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(200,147,10,0.2);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Parallax hero photo — extends 40% below to allow upward travel on scroll */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140%;        /* extra height = parallax travel room */
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%; /* keep aircraft/sky in frame */
  display: block;
  user-select: none;
}


/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--off-white);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--light-gray);
  padding: 22px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }


/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--gold);
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.88rem; color: var(--mid-gray); margin-bottom: 1.2rem; }
.card .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card .card-link:hover { color: var(--gold); }


/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}


/* ============================================================
   SPLIT / TWO-COL
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 6rem;
}
.split-content h2 { margin-bottom: 1rem; }
.split-content p { color: #4a5a6a; }
.split-content ul.check-list {
  margin: 1rem 0 1.5rem;
}
.check-list li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
  font-size: 0.95rem;
  color: #4a5a6a;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c8930a'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}


/* ============================================================
   TESTIMONIALS / QUOTE BLOCK
   ============================================================ */
.testimonials { background: var(--navy); color: var(--white); }
.testimonials .section-heading { color: var(--white); }
.testimonials .section-heading::after { background: var(--gold); }
.testimonials .section-lead { color: rgba(255,255,255,0.65); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 1.8rem;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.testimonial-author {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.88rem;
}
.testimonial-role {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.45);
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 0.8rem; }


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 1.8rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 64px 0 52px;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.6rem; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--sky); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep::before { content: '/'; }


/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}
.form-group { margin-bottom: 1.3rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
label .req { color: var(--gold); }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid #cdd5df;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(58,155,213,0.18);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8a9a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 2rem;
}
textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 0.78rem; color: var(--mid-gray); margin-top: 0.3rem; }
.form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--mid-gray);
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 0.5rem;
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
}


/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-item {
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--off-white); }
.accordion-header .acc-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s;
}
.accordion-item.open .acc-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 1.4rem 1.4rem;
  font-size: 0.93rem;
  color: #4a5a6a;
  line-height: 1.75;
}
.accordion-item.open .accordion-body { display: block; }


/* ============================================================
   NEWS / EVENTS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img {
  height: 160px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.18);
}
.news-card-body { padding: 1.4rem; }
.news-meta {
  font-size: 0.78rem;
  color: var(--mid-gray);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
}
.news-tag {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}
.news-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.news-card p { font-size: 0.87rem; color: #4a5a6a; margin-bottom: 1rem; }
.news-card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}
.news-card .read-more:hover { color: var(--gold); }


/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  background: linear-gradient(90deg, var(--navy), var(--blue));
  padding: 48px 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.3rem;
}


/* ============================================================
   INFO BOXES
   ============================================================ */
.info-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}
.info-box.blue { border-color: var(--sky); }
.info-box strong { display: block; margin-bottom: 0.3rem; color: var(--navy); }

.alert-box {
  background: #fff8e1;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 1rem 1.3rem;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}


/* ============================================================
   CONTACT GRID
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.2rem; }
.contact-method {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.4rem;
  align-items: flex-start;
}
.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-method-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.contact-method-text span, .contact-method-text a {
  font-size: 0.97rem;
  color: var(--dark-text);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 0;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.footer-col p { line-height: 1.7; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.55); }
.footer-col a:hover { color: var(--gold); }
.footer-logo-text {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-tagline { margin-bottom: 1rem; }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold); }
.footer-legal {
  background: rgba(0,0,0,0.25);
  padding: 14px 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.30);
  border-top: 1px solid rgba(255,255,255,0.05);
}


/* ============================================================
   TABLE
   ============================================================ */
.coverage-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}
.coverage-table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.coverage-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--light-gray);
  color: #4a5a6a;
}
.coverage-table tr:nth-child(even) td { background: var(--off-white); }
.coverage-table tr:hover td { background: #eef3f9; }
.check { color: #27ae60; font-size: 1.1rem; }
.cross { color: #e74c3c; font-size: 1.1rem; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    gap: 0.25rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.65rem 1rem; font-size: 1rem; border-radius: 6px; }
  .main-nav a.nav-cta { margin-left: 0; }
  .header-main .container { position: relative; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  /* hero-scene stays visible on mobile — mountains scale with preserveAspectRatio */
  .section { padding: 48px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}


/* ============================================================
   TESTIMONIAL MARQUEE (auto-scrolling)
   ============================================================ */
.testimonial-marquee {
  overflow: hidden;
  margin-top: 2.5rem;
  padding: 0.5rem 0;
  position: relative;
}
/* Fade edges */
.testimonial-marquee::before,
.testimonial-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.testimonial-marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.testimonial-marquee::after  { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee-scroll 45s linear infinite;
  width: max-content;
}
.testimonial-track:hover {
  animation-play-state: paused;
}
.testimonial-track .testimonial-card {
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
