:root {
  --red: #ed1c24;
  --red-dark: #bd1118;
  --blue: #073f98;
  --blue-dark: #062b67;
  --yellow: #ffd21a;
  --ink: #111318;
  --white: #fff;
  --soft: #f3f7fc;
  --line: #dce5f0;
  --muted: #5c6572;
  --shadow: 0 24px 70px rgba(4, 31, 73, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: linear-gradient(90deg, var(--red) 0 34%, var(--yellow) 34% 66%, var(--blue) 66%); }
.nav { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 66px; height: 70px; object-fit: contain; flex: 0 0 auto; }
.brand-copy { line-height: 1; }
.brand-copy strong { display: block; color: var(--blue-dark); font-size: 1.04rem; letter-spacing: -.025em; }
.brand-copy small { display: block; margin-top: 6px; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.brand-mark { display: none; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { position: relative; text-decoration: none; font-size: .94rem; font-weight: 800; }
.menu a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 3px; background: var(--red); transition: right .2s ease; }
.menu a:not(.button):hover::after, .menu a[aria-current="page"]::after { right: 0; }
.menu a[aria-current="page"] { color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--blue); font-size: 1.5rem; cursor: pointer; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 23px; border: 2px solid var(--blue); border-radius: 10px; background: var(--blue); color: var(--white); font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(5,48,112,.24); }
.menu .button.yellow { border-color: var(--red); background: var(--red); color: var(--white); }
.menu .button.yellow:hover { background: var(--red-dark); }
.hero .button.yellow { border-color: var(--yellow); background: var(--yellow); color: var(--blue-dark); }
.button.light { border-color: rgba(255,255,255,.75); background: transparent; color: var(--white); }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #062b67;

  background-image:
    linear-gradient(
      90deg,
      rgba(6, 43, 103, 0.55) 0%,
      rgba(6, 43, 103, 0.32) 45%,
      rgba(6, 43, 103, 0.08) 100%
    ),
    url("home page photo.png");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content h1 {
  width: fit-content;
  padding: 14px 20px;
  margin-bottom: 18px;
  border-left: 6px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  background: rgba(6, 43, 103, 0.75);
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}

.hero-content > p:not(.eyebrow) {
  width: fit-content;
  max-width: 590px;
  padding: 13px 17px;
  border-radius: 10px;
  background: rgba(6, 43, 103, 0.68);
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding: 122px 0 80px;
}

.hero-content > * {
  max-width: 590px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--yellow); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--red); }
h1, h2, h3 { margin-top: 0; line-height: 1.03; letter-spacing: -.045em; }
h1 { margin-bottom: 22px; font-size: clamp(3.25rem, 6.8vw, 6.2rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4.5vw, 4.15rem); }
h3 { margin-bottom: 10px; font-size: 1.42rem; letter-spacing: -.025em; }
.hero p:not(.eyebrow) { margin: 0 0 30px; color: rgba(255,255,255,.88); font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 45px; color: #fff; font-size: .9rem; font-weight: 800; }
.trust-row span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--yellow); }

.section { padding: 100px 0; }
.section.soft { background: var(--soft); }
.section.dark { position: relative; overflow: hidden; background: var(--blue-dark); color: var(--white); }
.section.dark::after { content: ""; position: absolute; right: -100px; bottom: -130px; width: 360px; height: 360px; border: 48px solid var(--red); border-radius: 50%; opacity: .18; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-head h2 { max-width: 700px; margin-bottom: 0; color: var(--blue-dark); }
.section-head > p { max-width: 520px; margin: 0; color: var(--muted); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 34px; height: 4px; background: var(--yellow); box-shadow: 10px 0 0 var(--blue); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; min-height: 300px; padding: 36px 30px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 12px 36px rgba(6,43,103,.07); }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: var(--red); }
.card:nth-child(2)::before { background: var(--yellow); }
.card:nth-child(3)::before { background: var(--blue); }
.card-number { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 52px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 900; }
.card:nth-child(2) .card-number { background: var(--red); }
.card:nth-child(3) .card-number { background: var(--yellow); color: var(--blue-dark); }
.card p { margin: 0; color: var(--muted); }
.card.featured { border-color: #ffe879; background: #fffced; }
.card.featured p { color: #635820; }

.split { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: center; }
.section.dark p { color: #cbd8e9; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.step:last-child { border-bottom: 0; }
.step b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); color: var(--blue-dark); }
.step:nth-child(2) b { background: var(--red); color: #fff; }
.step h3 { color: #fff; }
.step p { margin: 4px 0 0; }

.cta { padding: 82px 0; color: #fff; background: linear-gradient(105deg, var(--red) 0 62%, var(--blue) 62%); border-top: 8px solid var(--yellow); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { max-width: 720px; margin: 0; }
.cta .button { border-color: var(--yellow); background: var(--yellow); color: var(--blue-dark); }

/* Products and Contact page cover */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 86px;
  color: #fff;
  border-bottom: 8px solid var(--yellow);

  background-color: var(--blue-dark);
  background-image:
    linear-gradient(
      90deg,
      rgba(6, 43, 103, 0.88) 0%,
      rgba(6, 43, 103, 0.65) 48%,
      rgba(6, 43, 103, 0.20) 100%
    ),
    url("home page photo.png");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Remove the old red and yellow circles */
.page-hero::after {
  display: none;
}

.page-hero .shell {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.page-hero p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.page-hero p:not(.eyebrow) { max-width: 660px; margin: 0; color: #d8e3f2; font-size: 1.1rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: end; padding: 42px 38px 38px; overflow: hidden; border-radius: 26px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 14px 36px rgba(6,43,103,.08); }
.product::before { content: ""; position: absolute; top: -85px; right: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--red); opacity: .13; }
.product:nth-child(2) { background: var(--blue); color: #fff; }
.product:nth-child(2)::before { background: var(--yellow); opacity: 1; }
.product:nth-child(3) { background: var(--yellow); color: var(--blue-dark); }
.product:nth-child(3)::before { background: var(--red); opacity: .9; }
.product:nth-child(4) { border: 4px solid var(--red); }
.product-tag { align-self: flex-start; margin-bottom: auto; padding: 7px 12px; border: 2px solid currentColor; border-radius: 999px; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.product p { max-width: 480px; margin: 0; color: inherit; opacity: .75; }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-list article { padding: 28px; border-left: 5px solid var(--red); background: #fff; box-shadow: 0 10px 28px rgba(6,43,103,.06); }
.feature-list article:nth-child(2) { border-color: var(--yellow); }
.feature-list article:nth-child(3) { border-color: var(--blue); }
.feature-list p { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-card { padding: 40px; border-radius: 26px; color: #fff; background: var(--blue-dark); border-top: 9px solid var(--red); box-shadow: var(--shadow); }
.contact-card .eyebrow { color: var(--yellow); }
.contact-card p { color: #d5e0ee; }
.contact-card a { color: var(--yellow); font-weight: 900; }
.contact-item { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-item small { display: block; color: #aebfd3; font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--blue-dark); font-size: .9rem; font-weight: 900; }
input, select, textarea { width: 100%; min-height: 53px; padding: 13px 15px; border: 2px solid #cad8e8; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
textarea { min-height: 132px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255,210,26,.5); border-color: var(--blue); }
.form .button { border-color: var(--red); background: var(--red); }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .86rem; }
.form-status { display: none; grid-column: 1 / -1; padding: 16px; border-left: 5px solid var(--blue); border-radius: 8px; background: #fff7bf; color: var(--blue-dark); font-weight: 800; }

.site-footer { padding: 50px 0 28px; color: #fff; background: var(--blue-dark); border-top: 8px solid var(--red); }
.site-footer .brand { padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; }
.site-footer .brand-logo { width: 62px; height: 64px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 36px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #dce7f4; text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: #aebfd3; font-size: .85rem; }

@media (max-width: 900px) {
  .shell, .hero-content { width: min(100% - 30px, 700px); }
  .menu-toggle { display: block; }
  .menu { position: absolute; top: 88px; left: 0; right: 0; display: none; padding: 24px; background: #fff; border-bottom: 4px solid var(--red); box-shadow: var(--shadow); }
  .menu.open { display: grid; }
  .menu .button { width: 100%; }
  .hero { min-height: 820px; }
  .hero::before { background: linear-gradient(180deg, var(--blue-dark) 0 64%, transparent 64%), linear-gradient(170deg, transparent 0 69%, var(--red) 69% 82%, var(--yellow) 82% 85%, var(--blue) 85%); }
  .hero-content { padding: 76px 0 390px; }
  .hero-media { top: auto; left: 15px; right: 15px; bottom: 28px; width: auto; height: 340px; border-width: 6px; border-radius: 26px 26px 8px 26px; }
  .hero-video { object-position: center 45%; }
  .section { padding: 76px 0; }
  .section-head, .cta-inner, .footer-top { align-items: flex-start; flex-direction: column; }
  .cards, .feature-list { grid-template-columns: 1fr; }
  .card { min-height: 240px; }
  .card-number { margin-bottom: 34px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 290px; }
  .page-hero::after { width: 250px; height: 250px; top: -110px; right: -110px; box-shadow: -90px 150px 0 var(--yellow); }
}

@media (max-width: 560px) {
  .nav { min-height: 80px; }
  .brand-logo { width: 55px; height: 60px; }
  .brand-copy strong { font-size: .94rem; }
  .menu { top: 80px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4rem); }
  .hero { min-height: 790px; }
  .hero-content { padding-top: 64px; }
  .actions { display: grid; }
  .actions .button { width: 100%; }
  .trust-row { gap: 8px; margin-top: 34px; }
  .trust-row span { font-size: .78rem; }
  .contact-card { padding: 32px 24px; }
  .form { grid-template-columns: 1fr; }
  .field { grid-column: 1 / -1; }
  .cta { background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero-video { display: none; }
  .hero-media { background: var(--blue); }
  .video-control { display: none; }
}
