:root {
  --night: #0b1320;
  --night-2: #121c2d;
  --steel: #1c2940;
  --accent: #2d62b8;
  --accent-dark: #1f4c94;
  --accent-light: #6b9be6;
  --ink: #0f1724;
  --muted: #5f6b7c;
  --muted-light: #9aa7b8;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --line: #e4e8ee;
  --line-dark: rgba(255, 255, 255, .1);
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(11, 19, 32, .25);
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; font: 16.5px/1.7 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1; margin: 0 0 .45em; letter-spacing: .005em; text-transform: uppercase; font-weight: 700; }
h1 { font-size: clamp(3rem, 7.5vw, 6rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.hero h1 em, .dark h2 em, .hero .eyebrow, .dark .eyebrow { color: var(--accent-light); }
.hero .eyebrow .dot { background: var(--accent-light); }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-lg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700;
  color: var(--accent); margin: 0 0 1.4em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(45, 98, 184, .25); }
.eyebrow.light { color: #fff; opacity: .85; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; }
.lead.light { color: #fff; }
.small { font-size: .85rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.7em; border-radius: 4px; border: 1.5px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none; cursor: pointer;
  font: 700 .82rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.btn .ic { transition: transform .25s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:hover .ic { transform: translateX(3px); }
.btn-sm { padding: .8em 1.2em; }
.btn-sm:hover .ic { transform: none; }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .35); }
.btn-outline:hover { background: #fff; border-color: #fff; color: var(--night); }
.btn-light { background: #fff; border-color: #fff; color: var(--night); }
.btn-light:hover { background: var(--night); border-color: var(--night); color: #fff; }

/* Brand */
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 168px; height: auto; }
.brand-foot { background: #fff; border-radius: var(--radius); padding: 10px 16px; }
.brand-foot img { width: 160px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; transition: box-shadow .3s; }
.site-header.scrolled, .site-header.menu-open { box-shadow: 0 8px 30px -12px rgba(11, 19, 32, .25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 116px; }
.menu { display: flex; align-items: center; gap: 34px; }
.menu a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em; position: relative; padding: 6px 0;
}
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.menu a:not(.btn):hover { color: var(--accent); }
.menu a:not(.btn):hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(116px + clamp(48px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(700px 500px at 85% 20%, rgba(45, 98, 184, .22), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(60, 99, 145, .25), transparent 70%),
    var(--night);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.hero-lines {
  position: absolute; right: -10%; top: 30%; width: 60%; height: 200px; transform: skewY(-8deg); opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(45, 98, 184, .5) 22px 24px);
  mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .lead { color: var(--muted-light); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-panel {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); border-radius: var(--radius);
  backdrop-filter: blur(14px); padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-light); font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 8px; color: #7ee2a8; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #3ecf7f; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62, 207, 127, .6); } 100% { box-shadow: 0 0 0 10px rgba(62, 207, 127, 0); } }
.panel-row {
  display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 1.05rem; transition: background .2s;
}
.panel-row:hover { background: rgba(255, 255, 255, .06); }
.panel-row .ic { width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: rgba(107, 155, 230, .15); color: var(--accent-light); }
.panel-row small, .contact-cards small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-light); font-weight: 700; }
.panel-badges { display: flex; gap: 10px; padding: 14px 16px 10px; border-top: 1px solid var(--line-dark); margin-top: 6px; }
.panel-badges img { height: 40px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; }

.stats { position: relative; z-index: 1; list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stats li { padding: 28px 24px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.stats strong { display: block; font: 700 2.4rem/1 var(--display); letter-spacing: .02em; }
.stats span { color: var(--muted-light); font-size: .85rem; }

/* Ticker */
.ticker { background: var(--accent); color: #fff; overflow: hidden; padding: 16px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { font: 600 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.ticker span::after { content: ""; width: 8px; height: 8px; background: #fff; transform: rotate(45deg); margin-left: 28px; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--night); color: #c5cfdc; }
.section.dark h2 { color: #fff; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 700px; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative; padding: 40px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #fff; transition: background .35s, color .35s; text-decoration: none; color: inherit;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.service:hover { background: var(--night); color: #fff; }
.service:hover::before { transform: scaleX(1); }
.service:hover p { color: var(--muted-light); }
.service p { color: var(--muted); font-size: .95rem; margin: 0; transition: color .35s; }
.service-cta { background: var(--bg-alt); display: flex; flex-direction: column; justify-content: flex-end; }
.service-cta .link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.certs { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.certs div { display: flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border: 1px solid var(--line-dark); border-radius: var(--radius); color: #fff; font-weight: 600; font-size: .9rem; }
.certs img { height: 44px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 24px; }
.steps .num { display: block; font: 700 3.6rem/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 18px; }
.steps p { color: var(--muted); font-size: .95rem; }

.promo {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--accent); color: #fff; border-radius: var(--radius); padding: clamp(36px, 6vw, 72px);
}
.promo::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .08); pointer-events: none;
}
.promo > div { max-width: 640px; position: relative; z-index: 1; }
.promo h2 { font-size: clamp(2rem, 4vw, 3rem); }
.promo p { margin: 0; opacity: .9; }
.promo .btn { position: relative; z-index: 1; }

/* Form */
.form { display: grid; gap: 18px; background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 500 1rem var(--body); color: var(--ink); padding: .85em 1em; border: 1px solid var(--line);
  border-radius: 6px; background: var(--bg-alt); min-width: 0; transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form .plate { text-transform: uppercase; font-weight: 700; letter-spacing: .08em; background: #f7c600 !important; border-color: #e0b400; color: #111; }
.form .btn { justify-self: start; }
.form .small { margin: 0; }

.contact-cards { display: grid; gap: 12px; margin-bottom: 20px; }
.contact-cards a {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.contact-cards a:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-cards .ic { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(45, 98, 184, .1); color: var(--accent); }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.6) contrast(1.05); }

/* Footer */
.site-footer { background: var(--night); color: var(--muted-light); font-size: .92rem; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer h4 { color: #fff; font-size: 1.1rem; letter-spacing: .12em; margin-bottom: 1em; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot .brand { margin-bottom: 18px; }
.foot p { max-width: 30em; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line-dark); padding-block: 24px; font-size: .8rem; }

.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff;
  place-items: center; box-shadow: 0 10px 24px rgba(45, 98, 184, .45);
}
.call-fab .ic { width: 24px; height: 24px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.services .reveal:nth-child(4n+2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.services .reveal:nth-child(4n+3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.services .reveal:nth-child(4n+4), .steps .reveal:nth-child(4) { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .menu {
    position: absolute; top: 116px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px 24px; display: none; border-bottom: 1px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 18px; }
  .hero-grid, .split, .foot { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .call-fab { display: grid; }
}
@media (max-width: 560px) {
  .services, .steps, .form .row { grid-template-columns: 1fr; }
  .service { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .reveal { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}
@media (max-width: 560px) {
  .brand img { width: 136px; }
  .nav { height: 96px; }
  .menu { top: 96px; }
  .hero { padding-top: calc(96px + 48px); }
  html { scroll-padding-top: 96px; }
}
