:root {
  --navy: #071a33;
  --navy-2: #0b274b;
  --blue: #0a98f5;
  --blue-dark: #0878c7;
  --ink: #10223a;
  --body: #4e5e72;
  --muted: #6f7d90;
  --line: #dce6f0;
  --soft: #f5f8fc;
  --white: #fff;
  --green: #1bb978;
  --shadow: 0 18px 48px rgba(7, 26, 51, .12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }

.site-header { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); position: sticky; top: 0; z-index: 30; }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0; }
.brand img { width: 135px; filter: brightness(0) invert(1); }
.brand-copy { font-size: 11px; line-height: 1.25; color: #bcc9da; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { font-size: 14px; color: #d6e0eb; font-weight: 700; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.header-button, .button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 21px; font-weight: 800; border: 1px solid transparent; cursor: pointer; }
.header-button, .button-primary { background: var(--blue); color: #fff; }
.header-button:hover, .button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 10px; padding: 9px 12px; }

.hero { background: linear-gradient(115deg, #06162f 0%, #0b2a50 100%); color: #fff; padding: 72px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: 48px; }
.eyebrow { margin: 0 0 12px; color: #72c9ff; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; }
.hero h1 { margin: 0; font-size: clamp(46px, 5.4vw, 72px); line-height: .99; letter-spacing: -.045em; }
.hero h1 span { color: #16a9ff; }
.hero-lead { max-width: 610px; margin: 22px 0; font-size: 18px; color: #d2deeb; }
.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; padding: 0; list-style: none; color: #e8f0f8; font-size: 14px; }
.tick-list li { position: relative; padding-left: 26px; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #052b22; font-size: 11px; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 24px 60px rgba(0,0,0,.32); background: #0b203b; }
.hero-media img { width: 100%; aspect-ratio: 1016 / 345; object-fit: cover; }
.hero-media-caption { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(5,18,36,.96); }
.hero-media-caption strong { font-size: 15px; }
.hero-media-caption span { font-size: 12px; color: #b8c9db; }
.hero-media-caption b { color: #56c9ff; font-size: 12px; }

.section { padding: 76px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-heading { max-width: 770px; margin-bottom: 30px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(34px, 4vw, 48px); line-height: 1.07; letter-spacing: -.03em; }
.section-heading p { margin: 0; color: var(--body); font-size: 17px; }
.section-dark .section-heading p { color: #c7d5e4; }
.kicker-dark { color: #087fda; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; box-shadow: 0 8px 24px rgba(8,31,60,.06); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0 0 18px; color: var(--body); font-size: 14px; }
.card a { color: #0786dd; font-weight: 800; font-size: 14px; }
.icon { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; display: grid; place-items: center; background: #eaf6ff; color: #087ed0; font-weight: 900; font-size: 18px; }
.card.featured { border-color: #a9d9fa; background: linear-gradient(#f7fcff, #fff); }

.tech-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 20px 0; }
.tech-row { display: flex; align-items: center; gap: 26px; justify-content: space-between; flex-wrap: wrap; }
.tech-row span { color: var(--muted); font-size: 12px; }
.tech-row strong { font-size: 16px; }

.family-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.family-copy h2 { margin: 0 0 16px; font-size: clamp(38px, 4.2vw, 56px); line-height: 1.03; }
.family-copy h2 span { color: #16a9ff; }
.family-copy p { color: #c9d7e6; font-size: 16px; }
.family-media { border-radius: 18px; overflow: hidden; border: 1px solid #285078; box-shadow: 0 18px 46px rgba(0,0,0,.25); }
.family-media img { width: 100%; object-fit: cover; }
.family-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.family-features div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 14px; border-radius: 12px; }
.family-features strong { display: block; font-size: 13px; }
.family-features span { color: #afc4d8; font-size: 11px; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-grid div { border-left: 3px solid #13a1f5; padding-left: 18px; }
.why-grid h3 { margin: 0 0 4px; font-size: 16px; }
.why-grid p { margin: 0; color: #b8c9db; font-size: 13px; }

.support-grid, .contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.plan.recommended { border-color: #8bcdf6; box-shadow: var(--shadow); }
.plan span { color: #087fd5; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.plan strong { display: block; font-size: 20px; margin: 6px 0; }
.plan p { color: var(--body); font-size: 14px; margin: 0; }

.contact-section { background: #0b2447; color: #fff; }
.contact-section p { color: #cbd8e6; }
.contact-lines { display: grid; gap: 9px; margin-top: 24px; }
.contact-lines a { color: #fff; font-weight: 800; }
.quote-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form label { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid #cad6e2; border-radius: 10px; padding: 12px; color: var(--ink); background: #fff; }
.quote-form textarea { resize: vertical; }
.quote-form small { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }
.quote-form .button { width: 100%; border: 0; }

.page-hero { background: linear-gradient(115deg, #06162f, #0b2a50); color: #fff; padding: 64px 0; }
.page-hero h1 { margin: 0 0 14px; font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.page-hero p { max-width: 720px; color: #d3dfeb; font-size: 18px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.content-grid .card p { min-height: 0; }

.site-footer { background: #06152c; color: #c8d5e3; padding: 40px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.footer-brand img { width: 140px; filter: brightness(0) invert(1); margin-bottom: 10px; }
.footer-grid strong { display: block; color: #fff; margin-bottom: 10px; }
.footer-grid a, .footer-grid span { display: block; margin: 7px 0; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; font-size: 12px; color: #91a5bb; }

@media (max-width: 1050px) {
  .brand-copy { display: none; }
  .main-nav { gap: 16px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .family-grid, .support-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 900px; }
}

@media (max-width: 760px) {
  .site-header { position: relative; }
  .nav-wrap { min-height: 68px; flex-wrap: wrap; padding: 10px 0; }
  .brand img { width: 120px; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .header-button { display: none; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 4px; border-top: 1px solid rgba(255,255,255,.08); }
  .hero { padding: 48px 0; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .tick-list, .field-row, .support-options, .content-grid { grid-template-columns: 1fr; }
  .hero-media-caption { grid-template-columns: 1fr; }
  .service-grid, .why-grid, .family-features { grid-template-columns: 1fr 1fr; }
  .section { padding: 58px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .service-grid, .why-grid, .family-features, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-media img { aspect-ratio: 16 / 8.5; }
}

/* Header refinement — V6 */
.site-header {
  background: rgba(5, 20, 42, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
}
.nav-wrap {
  position: relative;
  min-height: 74px;
  gap: 28px;
}
.brand {
  display: grid;
  grid-template-columns: 122px auto;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  flex: 0 0 auto;
}
.brand img {
  width: 122px;
  height: auto;
  filter: none;
}
.brand-tagline {
  color: #9fb0c4;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
}
.brand-tagline i {
  color: #2caeff;
  font-style: normal;
  margin: 0 2px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 9px;
  color: #c8d5e3;
  font-size: 13.5px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease;
}
.main-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.055);
}
.main-nav a.active {
  color: #fff;
  background: rgba(10,152,245,.10);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}
.header-button {
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
  font-size: 13px;
  box-shadow: 0 8px 22px rgba(10,152,245,.20);
}
.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 11px;
  background: rgba(255,255,255,.045);
  color: #fff;
  cursor: pointer;
}
.menu-button span {
  width: 19px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-quote { display: none !important; }

@media (max-width: 1120px) {
  .brand { grid-template-columns: 112px auto; }
  .brand img { width: 112px; }
  .brand-tagline { display: none; }
  .nav-wrap { gap: 18px; }
  .main-nav a { padding-inline: 9px; font-size: 13px; }
}

@media (max-width: 820px) {
  .site-header { position: sticky; }
  .nav-wrap {
    min-height: 68px;
    flex-wrap: nowrap;
    padding: 0;
  }
  .brand { display: block; margin-right: auto; }
  .brand img { width: 116px; }
  .brand-tagline { display: none; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .header-button { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #081c37;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    box-shadow: 0 20px 48px rgba(0,0,0,.28);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 9px;
  }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: rgba(10,152,245,.12); }
  .mobile-quote {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 5px;
    background: var(--blue) !important;
    color: #fff !important;
  }
}
@media (max-width: 760px) {
  .site-header { position: sticky; }
  .nav-wrap { min-height: 68px; flex-wrap: nowrap; padding: 0; }
  .brand img { width: 116px; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .main-nav { width: 100%; padding: 8px; }
  .main-nav a { padding: 0 14px; border-top: 0; }
}
