@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --ink: #0E1B3D;
  --blue: #2F5BFF;
  --blue-deep: #1F3FBF;
  --ice: #EAF0FF;
  --mist: #F5F8FF;
  --paper: #FFFFFF;
  --call: #FF6B4A;
  --call-hover: #FF8266;
  --muted: #4A5878;
  --line: #D5DEF2;
  font-size: 16px;
}

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

body {
  font-family: 'Figtree', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--paper);
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Figtree', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1160px; margin: 0 auto; padding: 14px 32px;
}
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo img { width: 38px; height: 38px; flex-shrink: 0; }
.logo-text { min-width: 0; line-height: 1.15; }
.logo-text .brand {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink); display: block;
}
.logo-text .tagline { font-size: 0.74rem; color: var(--muted); display: block; white-space: nowrap; }

.main-nav { display: flex; gap: 34px; margin-left: auto; }
.main-nav a {
  font-weight: 600; font-size: 0.97rem; color: var(--muted);
  padding: 6px 0; border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-bottom-color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.phone-pill {
  background: var(--call); color: var(--ink); font-weight: 700;
  padding: 11px 22px; border-radius: 999px; font-size: 0.98rem; white-space: nowrap;
}
.phone-pill:hover { background: var(--call-hover); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; background: transparent; border: none; cursor: pointer; padding: 0 6px;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.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); }

.mobile-nav-panel { display: none; }
.mobile-nav-panel.open {
  display: block; position: absolute; top: 100%; left: 0; width: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px 0 22px; box-shadow: 0 18px 30px -18px rgba(14,27,61,.35);
}
.mobile-nav-panel a { display: block; font-weight: 600; padding: 14px 32px; border-bottom: 1px solid var(--line); }
.mobile-nav-panel a.active { color: var(--blue); }
.mobile-nav-panel .mobile-phone {
  margin: 18px 32px 0; background: var(--call); text-align: center; border-radius: 999px; border: none; font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--call); color: var(--ink);
  padding: 15px 30px; font-weight: 700; border-radius: 999px; font-size: 1rem;
}
.btn:hover { background: var(--call-hover); }
.btn-arrow {
  display: inline-block; border: 2px solid var(--ink); color: var(--ink);
  padding: 12px 26px; font-weight: 700; border-radius: 999px;
}
.btn-arrow:hover { background: var(--ink); color: #fff; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--ice); padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); font-weight: 800; margin-bottom: 22px; }
.hero p.lede { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.call-big {
  display: inline-flex; flex-direction: column; gap: 2px;
  background: var(--call); color: var(--ink);
  padding: 18px 34px 20px; border-radius: 20px;
}
.call-big:hover { background: var(--call-hover); }
.call-big .call-label { font-size: 0.92rem; font-weight: 600; }
.call-big .call-num {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.1;
}
.hero-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }

/* ---------- Sub hero ---------- */
.page-hero {
  background-color: var(--ink); background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center; min-height: 260px;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,27,61,.94) 30%, rgba(14,27,61,.45)); }
.page-hero-inner { position: relative; max-width: 1160px; margin: 0 auto; padding: 64px 32px; width: 100%; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 800; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-cream { background: var(--paper); }
.section-yellow { background: var(--ice); }
.section-dark { background: var(--ink); color: #fff; }

.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 720px; margin-bottom: 18px; }
.section-lede { color: var(--muted); max-width: 640px; margin-bottom: 40px; }

/* Services ledger */
.ledger { margin-top: 36px; border-bottom: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); }
.ledger-row h3 { font-size: 1.4rem; }
.ledger-row p { color: var(--muted); max-width: 620px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split img { border-radius: 28px; object-fit: cover; width: 100%; aspect-ratio: 4 / 3; }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 22px; }
.split p { color: var(--muted); margin-bottom: 20px; }
.mv-block { margin-bottom: 30px; padding-left: 20px; border-left: 4px solid var(--blue); }
.mv-block h3 { font-size: 1.3rem; margin-bottom: 8px; }
.mv-block p { color: var(--muted); margin-bottom: 0; }

/* Carriers */
.carrier-strip { text-align: center; }
.carrier-strip .section-title, .carrier-strip .section-lede { margin-left: auto; margin-right: auto; text-align: center; }
.carrier-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 36px 52px; margin: 44px 0 80px; }
.carrier-badge { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.carrier-badge img { height: 32px; width: auto; max-width: 150px; }
.carrier-badge .cert { font-size: 0.74rem; color: var(--muted); white-space: nowrap; }

.why-choose { text-align: left; }
.carrier-strip .why-choose .section-title { margin-left: 0; margin-right: 0; text-align: left; }
.why-choose p { color: var(--muted); max-width: 760px; margin-bottom: 20px; }

.cta-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-radius: 28px; overflow: hidden; text-align: left; }
.cta-split .yellow-panel { background: var(--ice); padding: 52px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.cta-split .yellow-panel h3 { font-size: 1.7rem; max-width: 300px; }
.cta-split img { height: 100%; min-height: 240px; width: 100%; object-fit: cover; }

.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 640px; margin-bottom: 34px; color: #fff; }

/* Disclaimer + footer */
.disclaimer { background: var(--mist); padding: 64px 0; }
.disclaimer h2 { font-size: 1.6rem; margin-bottom: 20px; }
.disclaimer p { color: var(--muted); max-width: 860px; margin-bottom: 16px; font-size: 0.95rem; }

footer { background: var(--ink); color: #fff; padding: 64px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.8fr 1.5fr; gap: 56px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-logo img { width: 34px; height: 34px; }
.footer-logo strong { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.35rem; font-weight: 800; display: block; line-height: 1.1; }
.footer-logo small { font-size: 0.74rem; color: #AEBBDD; }
.footer-col h4 { font-size: 1.15rem; margin-bottom: 16px; }
.footer-col p, .footer-col a { color: #C5D0EA; display: block; margin-bottom: 10px; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col ul { list-style: none; }
.footer-col ul li a { margin-bottom: 10px; }
.footer-bottom { max-width: 1160px; margin: 44px auto 0; padding: 24px 32px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 0.85rem; color: #AEBBDD; }

/* Contact page */
.contact-details h1 { font-size: 2rem; margin-bottom: 22px; }
.contact-details .we-help { font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.contact-details .we-help + p { color: var(--muted); margin-bottom: 22px; }
.contact-line { color: var(--muted); margin-bottom: 10px; }
.contact-line a { color: var(--blue-deep); font-weight: 600; }
.contact-details { padding-bottom: 20px; }

/* Legal pages */
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; }
.legal-date { color: var(--muted); font-size: 0.88rem; margin-bottom: 34px; }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--muted); margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin-bottom: 16px; }
.legal-content ul li { color: var(--muted); margin-bottom: 8px; }
.legal-content a { color: var(--blue-deep); text-decoration: underline; }
.legal-highlight { background: var(--ice); border-radius: 20px; padding: 24px 28px; margin-top: 34px; }
.legal-highlight p { color: var(--ink); margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; padding: 12px 22px; }
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .ledger-row { grid-template-columns: 1fr; gap: 10px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .cta-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 22px; }
  .page-hero-inner { padding: 48px 22px; }
  .mobile-nav-panel a { padding: 14px 22px; }
  .mobile-nav-panel .mobile-phone { margin: 18px 22px 0; }
  section { padding: 60px 0; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-split .yellow-panel { padding: 36px 26px; }
  .footer-bottom { padding: 24px 22px 0; }
}
@media (max-width: 480px) {
  :root { font-size: 15px; }
  .logo img { width: 32px; height: 32px; }
  .logo-text .brand { font-size: 1.2rem; }
  .logo-text .tagline { display: none; }
  .phone-pill { padding: 9px 14px; font-size: 0.85rem; }
  .btn, .btn-arrow { width: 100%; text-align: center; }
  .call-big { width: 100%; align-items: center; text-align: center; }
  .carrier-logos { gap: 26px 32px; }
  .carrier-badge img { height: 26px; }
}

/* ---------- Call popup (opens on page load) ---------- */
.modal-open { overflow: hidden; }
.call-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; }
.call-modal.open { display: flex; }
.call-modal-backdrop { position: absolute; inset: 0; background: rgba(14, 27, 61, .7); backdrop-filter: blur(6px); }
.call-modal-card { position: relative; width: min(480px, 100%); background: #fff; border-radius: 24px; padding: 34px 28px 28px; box-shadow: 0 32px 90px -30px rgba(7,15,36,.7); text-align: center; }
.call-modal-card .eyebrow { display: block; margin-bottom: 8px; color: var(--blue-deep); font-size: 0.92rem; font-weight: 700; }
.call-modal-card h2 { margin: 0 0 10px; font-size: clamp(26px, 6vw, 34px); }
.call-modal-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.call-modal-number { display: flex; align-items: center; justify-content: center; margin: 24px 0 16px; min-height: 64px; border-radius: 16px; background: var(--call); color: var(--ink); font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.call-modal-number:hover { background: var(--call-hover); }
.call-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.call-modal-actions .btn { background: var(--ink); color: #fff; text-align: center; padding: 13px 16px; }
.call-modal-actions .btn:hover { background: var(--blue-deep); }
.call-modal-secondary { border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 12px 16px; font-weight: 700; font-family: inherit; font-size: 1rem; cursor: pointer; }
.call-modal-secondary:hover { border-color: var(--ink); }
.modal-close { position: absolute; right: 14px; top: 14px; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-family: inherit; padding: 5px 14px; cursor: pointer; }
.modal-close:hover { border-color: var(--ink); }
@media (max-width: 480px) {
  .call-modal-actions { grid-template-columns: 1fr; }
  .call-modal-number { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
