*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:      #1A4FA0;
  --blue-lt:   #2E6DD4;
  --red:       #C0001A;
  --red-lt:    #E8001F;
  --white:     #FFFFFF;
  --off-white: #F4F6FB;
  --surface:   #EAF0FA;
  --border:    #C8D8EE;
  --muted:     #5A6A82;
  --text:      #0D1B2A;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Hide Netlify badge */
[data-netlify-deploy-id],
.netlify-identity-widget,
a[href*="netlify.com"][style*="position:fixed"],
a[href*="netlify.com"][style*="position: fixed"] { display: none !important; }

/* ── LOGO ── */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 44px; height: 44px; background: var(--blue);
  border-radius: 10px; position: relative; overflow: hidden; flex-shrink: 0;
}
.logo-cloud {
  position: absolute; width: 28px; height: 18px;
  background: rgba(255,255,255,0.25); border-radius: 50px; bottom: 10px; left: 8px;
}
.logo-cloud::after {
  content: ''; position: absolute; width: 14px; height: 14px;
  background: rgba(255,255,255,0.2); border-radius: 50%; top: -5px; left: 20px;
}
.logo-v {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 18px; z-index: 1; padding-top: 4px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-wordmark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: 1px;
}
.logo-wordmark span:first-child { color: var(--blue); }
.logo-wordmark span:last-child  { color: var(--muted); }
.logo-llc { font-size: 10px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  padding: 0 40px; height: 68px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  box-shadow: 0 2px 16px rgba(26,79,160,0.08);
}
.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color 0.2s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width 0.25s; border-radius: 2px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; background: var(--red); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  padding: 10px 24px; border-radius: 6px; letter-spacing: 0.4px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer; border: none;
}
.btn:hover { background: var(--red-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,0,26,0.25); }
.btn-outline { background: transparent; border: 2px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; box-shadow: none; }
.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-lt); box-shadow: 0 6px 20px rgba(26,79,160,0.25); }
.btn-white { background: #fff; color: var(--red); font-weight: 700; }
.btn-white:hover { background: var(--red); color: #fff; box-shadow: none; }

/* ── HERO (home) ── */
.hero {
  min-height: 92vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 40px;
  position: relative; overflow: hidden; background: var(--off-white);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,79,160,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(192,0,26,0.06) 0%, transparent 60%),
    var(--off-white);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,79,160,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,79,160,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 68px); font-weight: 700;
  line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; color: var(--text);
}
.hero h1 span { color: var(--blue); }
.hero p { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-btns .btn { font-size: 16px; padding: 14px 36px; }
.hero-services { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 48px; }
.hero-service-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted);
  letter-spacing: 1px; border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 4px; background: var(--white);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 80px 40px 72px; text-align: center;
  position: relative; overflow: hidden; background: var(--off-white);
}
.page-hero-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.page-hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 5vw, 52px); font-weight: 700;
  line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.5px; color: var(--text);
}
.page-hero-content h1 span { color: var(--blue); }
.page-hero-content p { font-size: 16px; color: var(--muted); line-height: 1.7; }

/* ── DIVIDER ── */
.divider {
  width: 100%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--red), transparent);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--blue); padding: 14px 0; overflow: hidden; position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--blue), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--blue), transparent); }
.ticker { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker:hover { animation-play-state: paused; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 8px; padding: 0 36px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.75);
  letter-spacing: 1.2px; text-transform: uppercase;
}
.ticker-item b { color: #fff; }
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ── STATS ── */
.stats-section { background: var(--white); padding: 40px 40px 0; }
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1000px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.stat-item {
  padding: 28px 20px; text-align: center;
  border-right: 1px solid var(--border); background: var(--white); transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--off-white); }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 6px; }
.stat-num span { color: var(--red); }
.stat-label { font-size: 11px; color: var(--muted); letter-spacing: 0.5px; text-transform: uppercase; font-weight: 500; }

/* ── SECTION COMMON ── */
section { padding: 80px 40px; }
.section-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--red);
  letter-spacing: 2.5px; text-transform: uppercase; text-align: center; margin-bottom: 10px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; text-align: center; margin-bottom: 14px; color: var(--text);
}
.section-sub {
  text-align: center; color: var(--muted); font-size: 15px;
  max-width: 560px; margin: 0 auto 44px; line-height: 1.7;
}

/* ── HOME SERVICE PREVIEW ── */
.services-preview { background: var(--off-white); padding: 80px 40px; }
.preview-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; max-width: 1100px; margin: 0 auto;
}
.preview-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--blue); border-radius: 10px;
  padding: 24px 20px; text-align: center;
  transition: border-top-color 0.2s, transform 0.2s, box-shadow 0.2s;
  opacity: 0; transform: translateY(16px);
}
.preview-card.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-top-color 0.2s, box-shadow 0.2s;
}
.preview-card:hover { border-top-color: var(--red); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(26,79,160,0.10); }
.preview-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.preview-card h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.preview-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── ABOUT ── */
.about { background: var(--white); padding: 80px 40px; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; max-width: 1000px; margin: 0 auto; align-items: start;
}
.about-left h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; color: var(--text); margin-bottom: 16px; line-height: 1.2;
}
.about-left h2 span { color: var(--blue); }
.about-left p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.about-est {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--blue);
  letter-spacing: 1px; font-weight: 600; margin-bottom: 24px;
}
.about-right { display: flex; flex-direction: column; gap: 14px; }
.about-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-left: 3px solid var(--blue); border-radius: 8px; padding: 16px 20px;
  transition: border-left-color 0.2s, box-shadow 0.2s;
  opacity: 0; transform: translateX(12px);
}
.about-card.visible { opacity: 1; transform: translateX(0); transition: opacity 0.5s ease, transform 0.5s ease, border-left-color 0.2s, box-shadow 0.2s; }
.about-card:nth-child(even) { border-left-color: var(--red); }
.about-card:hover { box-shadow: 0 4px 16px rgba(26,79,160,0.09); }
.about-card h4 { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.about-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── SERVICES ── */
.services { background: var(--off-white); padding: 80px 40px; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px; max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--blue); border-radius: 10px; padding: 20px 18px;
  transition: border-top-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(20px);
}
.service-card.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-top-color 0.2s, box-shadow 0.2s;
}
.service-card:hover { border-top-color: var(--red); transform: translateY(-4px); box-shadow: 0 10px 32px rgba(26,79,160,0.11); }
.service-card-header { display: flex; align-items: center; gap: 10px; }
.service-icon { font-size: 22px; flex-shrink: 0; }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--text); }
.service-divider { width: 100%; height: 1px; background: var(--border); }
.service-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  background: var(--surface); color: var(--blue);
  padding: 3px 7px; border-radius: 3px; letter-spacing: 0.3px; font-weight: 500;
}
.tag-red { background: rgba(192,0,26,0.07); color: var(--red); }
.service-meta { font-size: 11px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.service-meta span { display: flex; align-items: center; gap: 5px; }
.service-meta span::before { content: '▸'; color: var(--blue); font-size: 9px; flex-shrink: 0; }
.service-link { font-size: 12px; font-weight: 600; color: var(--red); transition: color 0.2s; margin-top: auto; }
.service-link:hover { color: var(--blue); }

/* ── RFQ ── */
.rfq-section { background: var(--surface); padding: 80px 40px; }
.rfq-cta-box {
  max-width: 620px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--border); border-radius: 16px; padding: 48px 44px;
  border-top: 4px solid var(--red);
  box-shadow: 0 4px 32px rgba(26,79,160,0.08); text-align: center;
}
.rfq-cta-box > p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
.rfq-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.rfq-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rfq-cta-btns .btn { font-size: 15px; padding: 13px 30px; }
.formats-bar {
  max-width: 620px; margin: 20px auto 0;
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 20px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.formats-label {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase; white-space: nowrap;
}
.format-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  background: var(--surface); color: var(--blue); padding: 3px 9px; border-radius: 4px; letter-spacing: 0.4px;
}

/* ── WHY ── */
.why { background: var(--white); padding: 80px 40px; }
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px; max-width: 960px; margin: 0 auto;
}
.why-item {
  display: flex; gap: 18px; align-items: flex-start;
  border-left: 3px solid var(--blue); padding-left: 18px;
  opacity: 0; transform: translateX(-12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.why-item.visible { opacity: 1; transform: translateX(0); }
.why-item:nth-child(even) { border-color: var(--red); }
.why-num { font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 500; color: var(--blue); min-width: 30px; }
.why-item:nth-child(even) .why-num { color: var(--red); }
.why-item h3 { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.why-item p { color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ── CONTACT ── */
.contact-section { background: var(--off-white); padding: 80px 40px; }
.contact-box {
  max-width: 500px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--border); border-radius: 16px; padding: 44px;
  border-top: 4px solid var(--blue); text-align: center;
  box-shadow: 0 4px 24px rgba(26,79,160,0.06);
}
.contact-box p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.contact-email { font-size: 17px; font-weight: 700; color: var(--blue); transition: color 0.2s; display: block; }
.contact-email:hover { color: var(--red); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #1A4FA0 50%, #2E6DD4 100%);
  padding: 72px 40px; text-align: center;
}
.cta-band h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(24px, 4vw, 38px); font-weight: 700; margin-bottom: 10px; color: #fff; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 32px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 42px; height: 42px; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(26,79,160,0.3);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--red); transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--blue); border-top: 4px solid var(--red);
  padding: 48px 40px 28px; text-align: center;
}
.footer-logo { margin-bottom: 20px; display: inline-flex; }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-divider { width: 48px; height: 1px; background: rgba(255,255,255,0.2); margin: 0 auto 20px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-copy a { color: rgba(255,255,255,0.75); }
.footer-copy a:hover { color: #fff; }
footer .logo-wordmark span:first-child { color: #fff; }
footer .logo-wordmark span:last-child  { color: rgba(255,255,255,0.6); }
footer .logo-llc { color: rgba(255,255,255,0.45); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; grid-template-columns: auto auto; }
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); padding: 24px; gap: 20px;
    border-bottom: 2px solid var(--red);
    box-shadow: 0 8px 24px rgba(26,79,160,0.1); justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-right .btn { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  section, .about, .services, .why, .rfq-section, .contact-section, .services-preview { padding: 56px 20px; }
  .hero { padding: 56px 20px; min-height: 80vh; }
  .page-hero { padding: 56px 20px 48px; }
  .rfq-cta-box { padding: 28px 18px; }
  .formats-bar { max-width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  footer { padding: 36px 20px 24px; }
  .cta-band { padding: 52px 20px; }
  .contact-box { padding: 28px 18px; }
  .stats-section { padding: 28px 20px 0; }
  .back-to-top { bottom: 18px; right: 18px; }
}
