:root {
  --black: #0a0a0c;
  --ink: #17181d;
  --navy: #0a1f44;
  --navy-deep: #060f2a;
  --navy-soft: #122a52;
  --flag-blue: #002868;
  --red: #c8102e;
  --red-dark: #a30d25;
  --paper: #f4f5f8;
  --white: #ffffff;
  --line: #e1e3ea;
  --muted: #5c6472;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(10, 15, 31, 0.10);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--red); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red-dark);
  margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200, 16, 46, 0.35); }
.btn--outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn--outline:hover { border-color: var(--red); color: #fff; background: rgba(200, 16, 46, 0.12); }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* Topbar */
.topbar { position: relative; background: var(--black); color: #c7cfd8; font-size: 0.8rem; }
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 33.3%, var(--white) 33.3% 66.6%, var(--flag-blue) 66.6%);
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; }
.topbar__lic { letter-spacing: 0.06em; }
.topbar__contact span { margin-right: 10px; opacity: 0.65; }
.topbar__contact a { color: var(--red); font-weight: 600; }
.topbar__contact a:hover { color: #fff; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; color: var(--navy); letter-spacing: 0.04em; }
.brand__text small { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 0.94rem; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--red); transition: width 0.22s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 10px 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #081733 55%, var(--navy-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 78% 10%, rgba(200, 16, 46, 0.20), transparent 60%);
}
.hero__star {
  position: absolute;
  color: rgba(255, 255, 255, 0.12);
  font-size: 1.7rem;
  animation: twinkle 4s ease-in-out infinite;
}
.hero__star--1 { top: 130px; left: 7%; }
.hero__star--2 { top: 220px; right: 8%; animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.9) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(4deg); }
}
.hero__inner { position: relative; padding: 90px 24px 96px; max-width: 820px; margin: 0 auto; text-align: center; }

.hero__emblem {
  width: 320px;
  margin: 0 auto 30px;
  border-radius: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 255, 255, 0.20);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.hero__emblem:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 36px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 255, 255, 0.30); }
.hero__logo { width: 100%; height: auto; }

.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 700; margin-bottom: 22px; }
.hero__lead { font-size: 1.15rem; color: #c7d3e0; max-width: 620px; margin: 0 auto 36px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

.hero__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  font-size: 0.88rem;
  color: #b9c7d6;
}
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}

/* Sections */
.section { padding: 96px 0; }
.section--dark { background: var(--navy); color: #dbe4ee; }
.section--light { background: var(--paper); }

.section__head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section--dark .section__head p:not(.eyebrow), .section--dark .section__head a { color: #b9c7d6; }
.section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--navy); margin-bottom: 14px; }
.section--dark .section__head h2 { color: #fff; }
.section__head > p:last-child { color: var(--muted); }
.section--dark .section__head > p:last-child { color: #b9c7d6; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Media cards */
.card--media {
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 6;
}
.card--media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 8, 14, 0.88) 0%, rgba(6, 8, 14, 0.4) 45%, rgba(6, 8, 14, 0.04) 72%);
  transition: background 0.25s ease;
}
.card--media:hover::before { background: linear-gradient(to top, rgba(200, 16, 46, 0.22) 0%, rgba(6, 8, 14, 0.5) 60%); }
.card--media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card--media:hover img { transform: scale(1.05); }
.card--media h3 {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: #fff;
}
.card--media h3::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  margin-bottom: 10px;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red); }
.card__icon {
  width: 52px; height: 52px;
  background: #fceef0;
  color: var(--red-dark);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; color: #fff; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card__link { margin-top: 20px; font-weight: 600; font-size: 0.92rem; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.card__link span { transition: transform 0.2s ease; }
.card__link:hover { color: var(--red); }
.card__link:hover span { transform: translateX(4px); }

/* Industries */
.industry-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-list span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  font-weight: 500;
  font-size: 0.94rem;
  color: #dde6ee;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.industry-list span:hover { background: rgba(200, 16, 46, 0.12); border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* Why */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.why__item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.why__item:last-child { border-bottom: 0; }
.why__num { font-family: "Space Grotesk", sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--red-dark); padding-top: 3px; }
.why__item h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 6px; }
.why__item p { color: var(--muted); font-size: 0.95rem; }

.quote {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius);
  padding: 48px 42px;
  color: #fff;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(200, 16, 46, 0.16), transparent 60%);
  pointer-events: none;
}
.quote__mark { width: 40px; height: 40px; fill: var(--red); opacity: 0.9; margin-bottom: 22px; }
.quote blockquote { font-size: 1.15rem; line-height: 1.7; margin-bottom: 26px; position: relative; }
.quote figcaption { position: relative; }
.quote figcaption strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.quote figcaption span { color: var(--red); font-size: 0.9rem; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.areas li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s ease;
}
.areas li:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.section--dark h2 { color: #fff; }
.contact__info > p:not(.eyebrow) { color: #b9c7d6; margin-bottom: 40px; }
.contact__rows { display: grid; gap: 10px; }
.contact__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.contact__row span { color: #8fa1b4; font-size: 0.9rem; padding-top: 2px; }
.contact__row a, .contact__row address, .contact__row p { color: #fff; font-style: normal; font-size: 0.98rem; }
.contact__row a:hover { color: var(--red); }

.form {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.form__row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form__row label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form__row input, .form__row select, .form__row textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form__row input:focus, .form__row select:focus, .form__row textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.16);
  background: #fff;
}
.form__note { margin-top: 16px; text-align: center; font-size: 0.85rem; color: var(--muted); }
.form__note a { color: var(--red-dark); font-weight: 600; }

.form--success { pointer-events: none; opacity: 0.6; }

/* Footer */
.footer { background: var(--navy-deep); color: #7d8c9c; font-size: 0.85rem; }
.footer__inner { display: flex; justify-content: center; align-items: center; gap: 14px 28px; flex-wrap: wrap; padding: 30px 24px; text-align: center; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__chip {
  width: 46px; height: 46px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.footer__logo { width: 100%; height: auto; }
.footer__word { font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: 0.06em; color: #fff; }
.footer a { color: var(--red); }
.footer a:hover { color: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  .nav {
    position: fixed;
    top: 114px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    min-width: 240px;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav__cta { justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 620px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .industry-list { grid-template-columns: repeat(2, 1fr); }
  .topbar__lic { display: none; }
  .topbar__inner { justify-content: center; }
  .section { padding: 72px 0; }
  .hero__inner { padding: 64px 24px 68px; }
  .hero__emblem { width: 250px; margin-bottom: 24px; }
  .contact__row { grid-template-columns: 1fr; gap: 2px; }
  .footer__inner { flex-direction: column; }
}