/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2AA198; text-decoration: none; transition: color .2s; }
a:hover { color: #1B2A4A; }
ul, ol { list-style: none; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .75rem 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus {
  top: 1rem;
}

button, input, select, textarea { font: inherit; }

/* ===== CUSTOM PROPERTIES ===== */
:root {
  --navy: #1B2A4A;
  --teal: #2AA198;
  --teal-light: #E8F4F2;
  --gray-light: #F5F7FA;
  --text: #333333;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(27,42,74,.08);
  --shadow-lg: 0 8px 30px rgba(27,42,74,.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: .3s ease;
  --max-width: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-white { color: var(--white); }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-gray { background: var(--gray-light); }
.section-teal { background: var(--teal-light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

/* ===== GRID ===== */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 992px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* Flex helpers */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: #239089;
  border-color: #239089;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #142240;
  border-color: #142240;
  color: var(--white);
}
.btn-sm { padding: .625rem 1.25rem; font-size: .875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: background var(--transition), box-shadow var(--transition);
}
.header-transparent {
  background: transparent;
  box-shadow: none;
}
.header-transparent .nav-link,
.header-transparent .logo { color: var(--white); }
.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}
.header.scrolled .nav-link,
.header.scrolled .logo { color: var(--navy); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}
.logo span { color: var(--teal); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-weight: 500;
  color: var(--navy);
  font-size: .9375rem;
  position: relative;
  padding: .25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--teal); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--teal);
  font-size: .9375rem;
}
.nav-phone svg { width: 18px; height: 18px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  border-radius: 2px;
}
.header-transparent .hamburger span { background: var(--white); }
.header.scrolled .hamburger span { background: var(--navy); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mega Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  cursor: pointer;
}
.nav-dropdown > .nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.nav-dropdown:hover > .nav-link .chevron,
.nav-dropdown.open > .nav-link .chevron {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 1001;
  min-width: 900px;
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-col h5 {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .75rem;
  font-weight: 700;
}
.mega-col a {
  display: block;
  padding: .3rem 0;
  font-size: .875rem;
  color: var(--text);
  font-weight: 400;
  transition: color var(--transition);
}
.mega-col a:hover {
  color: var(--teal);
}
.header-transparent .mega-menu { background: var(--white); }
.header-transparent .mega-menu .mega-col a { color: var(--text); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links .nav-link,
  .nav-links .nav-phone { color: var(--navy); font-size: 1.125rem; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .mega-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: .5rem 0 .5rem 1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    border-left: 3px solid var(--teal-light);
  }
  .nav-dropdown.open .mega-menu {
    display: grid;
    transform: none;
  }
  .nav-dropdown > .nav-link { width: 100%; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 65vh;
  overflow: hidden;
  color: var(--white);
  padding-bottom: 6rem;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(27,42,74,.85) 0%, rgba(27,42,74,.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 72px;
  padding-bottom: 2rem;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content p {
  font-size: 1.25rem;
  opacity: .9;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero (non-video) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.125rem; opacity: .85; max-width: 600px; margin: 0 auto; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: .75rem; }
.card p { color: var(--text-muted); margin-bottom: 1rem; }
.card-link {
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .375rem;
}
.card-link:hover { gap: .625rem; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: var(--navy);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 0;
}
.trust-strip .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: var(--white);
  font-weight: 500;
  font-size: .9375rem;
}
.trust-item svg { width: 24px; height: 24px; color: var(--teal); flex-shrink: 0; }

/* ===== STEPS / TIMELINE ===== */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 28px;
  top: calc(2rem + 56px);
  bottom: 0;
  width: 2px;
  background: var(--teal-light);
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: .5rem; }
.step-content p { color: var(--text-muted); }

@media (max-width: 576px) {
  .step { flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
  .step:not(:last-child)::after { display: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}
.testimonial-text {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.testimonial-author { font-weight: 600; color: var(--navy); }
.testimonial-role { font-size: .875rem; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #243a5e 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { opacity: .85; max-width: 600px; margin: 0 auto 2rem; font-size: 1.125rem; }
.cta-banner .btn-group { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===== ABOUT ===== */
.about-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
}
.about-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--teal);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) {
  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-photo { margin: 0 auto; width: 220px; height: 220px; }
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  margin-bottom: .375rem;
  font-weight: 500;
  color: var(--navy);
  font-size: .9375rem;
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,161,152,.15);
}
.form-control.error { border-color: #e53e3e; }
.form-error {
  color: #e53e3e;
  font-size: .8125rem;
  margin-top: .25rem;
  display: none;
}
.form-control.error + .form-error { display: block; }
textarea.form-control { min-height: 140px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }

/* ===== FAQ ACCORDION ===== */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--navy);
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--teal);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question::after {
  content: '\2212';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}
.faq-answer p { color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.footer-brand p {
  color: rgba(255,255,255,.7);
  font-size: .9375rem;
  line-height: 1.7;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,.7);
  padding: .25rem 0;
  font-size: .9375rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  margin-top: .75rem;
}
.section-label {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}

/* ===== FEATURES LIST ===== */
.features-list { list-style: none; }
.features-list li {
  padding: .75rem 0 .75rem 2rem;
  position: relative;
  color: var(--text);
}
.features-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-sm { max-width: 500px; }
.max-w-md { max-width: 700px; }
.max-w-lg { max-width: 900px; }

/* ===== ARTICLE ===== */
.article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: .875rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.article-meta span { display: inline-flex; align-items: center; gap: .375rem; }
.article h2 { margin: 2.5rem 0 1rem; }
.article h3 { margin: 2rem 0 .75rem; }
.article p { margin-bottom: 1.25rem; line-height: 1.8; }
.article ul, .article ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.8;
}
.article ul li, .article ol li { margin-bottom: .5rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article blockquote {
  border-left: 4px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
}
.article a { color: var(--teal); text-decoration: underline; }
.article a:hover { color: var(--navy); }
.article a.btn { color: var(--white); text-decoration: none; }
.article a.btn:hover { color: var(--white); }
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.article-card-body { padding: 1.5rem; }
.article-card-body h3 { margin: 0 0 .5rem; font-size: 1.125rem; }
.article-card-body h3 a { color: var(--navy); text-decoration: none; }
.article-card-body h3 a:hover { color: var(--teal); }
.article-card-body p { color: var(--text-muted); font-size: .9375rem; margin-bottom: .75rem; }
.article-card-meta { font-size: .8125rem; color: var(--text-muted); }
.article-tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .625rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ===== HERO AUTHOR ===== */
.hero-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-author-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
  flex-shrink: 0;
}
.hero-author-info {
  display: flex;
  flex-direction: column;
  gap: .125rem;
}
.hero-author-info strong {
  color: var(--white);
  font-size: 1rem;
}
.hero-author-info span {
  color: rgba(255,255,255,.7);
  font-size: .8125rem;
}

/* ===== STICKY MOBILE CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  box-shadow: 0 -2px 16px rgba(27,42,74,.12);
  padding: .75rem 1rem;
  gap: .625rem;
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: .75rem .5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
}
.mobile-cta .mobile-cta-call {
  background: var(--navy);
  color: var(--white);
}
.mobile-cta .mobile-cta-start {
  background: var(--teal);
  color: var(--white);
}
.mobile-cta svg { width: 16px; height: 16px; }

@media (max-width: 768px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 64px; }
  .footer { padding-bottom: 0; }
}
