*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2B4B;
  --sky: #D4E8F0;
  --teal: #3A7D99;
  --light-teal: #5FA8C4;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --gray: #6B7C93;
  --light-gray: #EEF2F6;
  --accent: #E8734A;
  --green: #4A8C6F;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: white;
  box-shadow: 0 1px 0 rgba(27,43,75,0.08);
}

.nav-left { display: flex; align-items: center; gap: 44px; }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }

.logo-mark {
  width: 38px; height: 38px;
  background: var(--teal);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 20px; height: 20px; }

.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.logo-sub { font-size: 10px; font-weight: 400; color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-size: 14px;
  font-weight: 400; opacity: 0.65; transition: opacity 0.2s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--teal); font-weight: 500; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 14px; color: var(--gray); font-weight: 400; }

.nav-cta {
  background: var(--teal); color: white; text-decoration: none;
  padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--navy); }

/* ===================== SHARED ===================== */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px;
}

.section-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.15; color: var(--navy); font-weight: 400;
}

.section-p { font-size: 16px; line-height: 1.8; color: var(--gray); margin-top: 16px; }

.inner-hero {
  background: var(--navy); padding: 130px 60px 80px;
  position: relative; overflow: hidden;
}

.inner-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}

.inner-hero-content { position: relative; z-index: 2; max-width: 640px; }
.inner-hero .eyebrow { color: var(--light-teal); margin-bottom: 16px; }
.inner-hero h1 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 5vw, 68px);
  font-weight: 400; color: white; line-height: 1.1; margin-bottom: 20px;
}
.inner-hero p { font-size: 18px; line-height: 1.75; color: rgba(255,255,255,0.55); }

/* Trust Bar */
.trust-bar {
  background: white; border-bottom: 1px solid var(--light-gray);
  padding: 22px 60px; display: flex; align-items: center; justify-content: space-between;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--gray); }
.trust-icon {
  width: 34px; height: 34px; background: var(--light-gray); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.trust-divider { width: 1px; height: 28px; background: var(--light-gray); }

/* Feature items */
.feature-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; background: white; border-radius: 14px;
  border: 1px solid var(--light-gray); transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-item:hover { border-color: var(--sky); box-shadow: 0 8px 24px rgba(58,125,153,0.08); }
.feature-icon-wrap {
  width: 42px; height: 42px; background: var(--sky); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0;
}
.feature-text h4 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.feature-text p { font-size: 14px; line-height: 1.65; color: var(--gray); }

/* Final CTA */
.final-cta {
  background: var(--navy); padding: 80px 60px;
  text-align: center; width: 100%; box-sizing: border-box;
}

.final-cta-inner { position: relative; z-index: 2; }
.final-cta .eyebrow { color: var(--light-teal); margin-bottom: 20px; }
.final-cta h2 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400; color: white; line-height: 1.15;
  max-width: 600px; margin: 0 auto 20px;
}
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.5); max-width: 440px; margin: 0 auto 44px; line-height: 1.75; }

.cta-btn-group { display: flex; justify-content: center; gap: 16px; }
.btn-white {
  background: white; color: var(--navy); text-decoration: none;
  padding: 15px 38px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.3); }
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.25); color: white; text-decoration: none;
  padding: 15px 38px; border-radius: 10px; font-size: 15px; font-weight: 400;
  transition: background 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); }

/* Footer */
footer { background: #111827; padding: 64px 60px 36px; color: white; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px;
  margin-bottom: 52px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.f-logo { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--light-teal); margin-bottom: 12px; }
.f-tagline { font-size: 14px; color: rgba(255,255,255,0.35); line-height: 1.8; max-width: 240px; }
.f-col-head { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.f-links a { text-decoration: none; color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.2s; }
.f-links a:hover { color: white; }
.f-contact { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 2.1; }
.f-contact a { color: var(--light-teal); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.25);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== MOBILE NAV MENU ===================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* Animate to X when open */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: white;
  border-top: 1px solid var(--light-gray);
  padding: 24px 24px 32px;
  z-index: 99;
  box-shadow: 0 12px 40px rgba(27,43,75,0.12);
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  text-decoration: none;
  color: var(--navy);
  font-size: 16px;
  font-weight: 400;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  display: block;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu .mobile-cta {
  background: var(--teal);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 500;
  margin-top: 12px;
  border-bottom: none;
}

/* ===================== TABLET (max 1024px) ===================== */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-phone { display: none; }

  .inner-hero { padding: 110px 32px 60px; }

  .trust-bar {
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 32px;
    justify-content: flex-start;
  }
  .trust-divider { display: none; }

  .final-cta { padding: 80px 32px; }
  .cta-btn-group { flex-direction: column; align-items: center; gap: 12px; }
  .btn-white, .btn-outline-white { width: 100%; max-width: 320px; text-align: center; }

  footer { padding: 48px 32px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===================== MOBILE (max 768px) ===================== */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 20px; height: 64px; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-menu { top: 64px; padding: 20px 20px 28px; }

  /* Inner hero */
  .inner-hero { padding: 96px 20px 52px; }
  .inner-hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .inner-hero p { font-size: 16px; }

  /* Trust bar — hide on mobile, too cramped */
  .trust-bar { display: none; }

  /* Feature items */
  .feature-item { padding: 18px; }

  /* Final CTA */
  .final-cta { padding: 64px 20px; }
  .final-cta h2 { font-size: clamp(30px, 7vw, 44px); }
  .final-cta p { font-size: 15px; }

  /* Footer */
  footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 11px; }
}
