@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --red: #C8102E;
  --red-bright: #e31c3d;
  --red-dark: #8b0b1f;
  --red-glow: rgba(200,16,46,0.35);
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #161616;
  --card: #111111;
  --card2: #1a1a1a;
  --border: rgba(200,16,46,0.2);
  --text: #ffffff;
  --text-muted: #aaaaaa;
  --text-dim: #888888;
  --font: 'Outfit', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(8,8,8,0.4);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 42px; width: 42px; object-fit: contain; filter: drop-shadow(0 0 8px var(--red-glow)); }
.nav-logo span { font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: .5px; }
.nav-logo span em { color: var(--red); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; letter-spacing: .5px;
  transition: color .25s; 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 .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--red); color: #fff !important; padding: 8px 22px;
  border-radius: 4px; font-weight: 600 !important;
  transition: background .25s, box-shadow .25s !important;
}
.nav-cta:hover { background: var(--red-bright) !important; box-shadow: 0 0 20px var(--red-glow) !important; }
/* Keep Contact button visible even when on contact page (active state) */
.nav-cta.active, .nav-links a.nav-cta.active {
  color: #fff !important;
  background: var(--red) !important;
}
.nav-cta::after, .nav-cta.active::after { display: none !important; }

/* ── SERVICES DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: -20px; right: -20px; height: 40px;
  background: transparent;
}
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a .drop-arrow {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted); margin-top: 1px;
  transition: transform .25s;
}
.nav-dropdown:hover > a .drop-arrow { transform: rotate(180deg); border-top-color: var(--red); }

.drop-menu {
  position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%);
  background: rgba(10,10,10,0.97); border: 1px solid rgba(200,16,46,0.25);
  border-radius: 10px; padding: 8px; min-width: 260px;
  backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,16,46,0.1);
  z-index: 2000;
  padding-top: 14px;
}
.drop-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%;
  width: 10px; height: 10px; background: rgba(10,10,10,0.97);
  border-left: 1px solid rgba(200,16,46,0.25); border-top: 1px solid rgba(200,16,46,0.25);
  transform: translateX(-50%) rotate(45deg);
}
.nav-dropdown:hover .drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.drop-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 7px; text-decoration: none;
  color: var(--text); transition: background .2s;
}
.drop-item:hover { background: rgba(200,16,46,0.08); }
.drop-item:hover .drop-item-title { color: var(--red); }
.drop-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  flex-shrink: 0; margin-top: 5px;
}
.drop-item-text { display: flex; flex-direction: column; gap: 2px; }
.drop-item-title { font-size: .88rem; font-weight: 700; letter-spacing: .3px; transition: color .2s; }
.drop-item-sub { font-size: .75rem; color: var(--text-dim); }
.drop-divider { height: 1px; background: rgba(200,16,46,0.1); margin: 4px 8px; }


.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--text); transition: all .3s; border-radius: 2px; }

/* ── SECTIONS BASE ── */
section { padding: 100px 5%; }
.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
  padding: 5px 14px; border: 1px solid var(--border);
  border-radius: 2px; background: rgba(200,16,46,0.07);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 16px;
}
.section-title span { color: var(--red); }
.section-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; }

/* ── HERO ── */
#home {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 120px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(200,16,46,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(200,16,46,0.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(200,16,46,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,16,46,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,16,46,0.1); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 28px;
  font-size: .8rem; font-weight: 600; letter-spacing: 1px; color: var(--red);
}
.hero-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.5s infinite; }
.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--red); display: block; }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.btn-primary {
  background: var(--red); color: #fff; padding: 14px 32px;
  border: none; border-radius: 4px; font-size: .95rem;
  font-weight: 700; letter-spacing: .5px; cursor: pointer;
  font-family: var(--font); text-decoration: none; display: inline-block;
  transition: all .3s; position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { background: var(--red-bright); box-shadow: 0 0 30px var(--red-glow); transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 1; }

.btn-outline {
  background: transparent; color: var(--text); padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 4px;
  font-size: .95rem; font-weight: 600; cursor: pointer;
  font-family: var(--font); text-decoration: none; display: inline-block;
  transition: all .3s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat-num { font-size: 2rem; font-weight: 900; color: var(--red); line-height: 1; }
.hero-stat-label { font-size: .8rem; color: var(--text-dim); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; }

.hero-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px;
}
.hero-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px 22px;
  transition: all .3s; cursor: default;
}
.hero-card:hover { border-color: var(--red); background: rgba(200,16,46,0.06); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(200,16,46,0.15); }
.hero-card-icon { font-size: 2rem; margin-bottom: 14px; }
.hero-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.hero-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

/* ── ABOUT ── */
#about { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text .section-sub { margin-bottom: 32px; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .92rem; color: var(--text-muted);
}
.about-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); margin-top: 7px; flex-shrink: 0; }

.about-visual { position: relative; }
.about-card-stack { display: flex; flex-direction: column; gap: 16px; }
.about-info-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px;
  transition: all .3s;
}
.about-info-card:hover { border-color: var(--red); transform: translateX(6px); }
.about-info-card h4 { font-size: .85rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.about-info-card p { font-size: .88rem; color: var(--text-muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.team-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px; text-align: center;
  transition: all .3s;
}
.team-card:hover { border-color: var(--red); box-shadow: 0 8px 30px rgba(200,16,46,0.12); }
.team-avatar {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  margin: 0 auto 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; font-weight: 800;
  border: 2px solid var(--border);
}
.team-card h4 { font-size: .9rem; font-weight: 700; margin-bottom: 4px; }
.team-card span { font-size: .78rem; color: var(--red); font-weight: 600; letter-spacing: .5px; }

/* TIMELINE */
.timeline { margin-top: 70px; position: relative; }
.timeline h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 40px; text-align: center; }
.timeline-track { position: relative; padding-left: 40px; }
.timeline-track::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--red), transparent);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-dot {
  position: absolute; left: -36px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--bg2);
  box-shadow: 0 0 12px var(--red-glow);
}
.timeline-item h4 { font-size: 1rem; font-weight: 700; color: var(--red); margin-bottom: 4px; }
.timeline-item p { font-size: .88rem; color: var(--text-muted); }

/* ── SERVICES ── */
#services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 36px 28px; transition: all .35s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(200,16,46,0.15); border-color: var(--red); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px; height: 60px; border-radius: 10px;
  background: rgba(200,16,46,0.1); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 22px;
  transition: background .3s;
}
.service-card:hover .service-icon { background: rgba(200,16,46,0.2); }
.service-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.service-card > p { font-size: .88rem; color: var(--text-muted); margin-bottom: 22px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.service-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; color: var(--text-muted);
}
.service-features li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-size: .88rem; font-weight: 700;
  text-decoration: none; letter-spacing: .5px;
  transition: gap .25s;
}
.service-link:hover { gap: 14px; }
.service-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.service-badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(200,16,46,0.15); color: var(--red);
  padding: 3px 10px; border-radius: 100px;
  border: 1px solid var(--border); margin-bottom: 14px;
}

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 28px; transition: all .3s;
}
.why-card:hover { border-color: var(--red); background: rgba(200,16,46,0.04); }
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: .85rem; color: var(--text-muted); }
.why-num { font-size: 3rem; font-weight: 900; color: rgba(200,16,46,0.15); line-height: 1; margin-bottom: 8px; font-family: var(--mono); }

/* ── CONTACT ── */
#contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-group select,
.form-group input,
.form-group textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 12px 16px; color: var(--text);
  font-family: var(--font); font-size: .92rem; outline: none;
  transition: border-color .25s, box-shadow .25s; appearance: none;
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8102E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-detail-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 24px;
}
.contact-detail-card h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 14px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--text-muted); margin-bottom: 10px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { font-size: 1rem; }
.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-link {
  width: 38px; height: 38px; border-radius: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; text-decoration: none; color: var(--text-muted);
  transition: all .25s;
}
.social-link:hover { background: rgba(200,16,46,0.15); border-color: var(--red); color: var(--red); }

/* ── FOOTER ── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; color: var(--text-dim); max-width: 280px; margin-bottom: 20px; }
.footer-col h5 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; font-size: .85rem; color: var(--text-dim); text-decoration: none; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .8rem; color: var(--text-dim); }
.footer-bottom a { color: var(--red); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
.fade-up { opacity: 0; animation: fadeUp .7s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, rgba(200,16,46,0.12) 0%, rgba(200,16,46,0.04) 100%);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 60px; text-align: center; margin: 0 5% 80px;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(200,16,46,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 28px; font-size: 1rem; }

/* MOBILE NAV */
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  position: fixed; top: 72px; left: 0; right: 0;
  background: rgba(8,8,8,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); z-index: 999;
  padding: 20px 5%;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 0; font-size: .95rem; color: var(--text-muted); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.04); transition: color .25s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--red); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  section { padding: 80px 5%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-cards { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-banner { padding: 40px 24px; margin: 0 5% 60px; }
  .hero-stats { gap: 28px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS — added for polish pass
   No color changes — uses existing CSS variables only
   ══════════════════════════════════════════════════════ */

/* ── SKIP NAVIGATION ── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 0 0 6px 6px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: top .3s;
}
.skip-nav:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ── NOSCRIPT FALLBACK ── */
.noscript-fallback {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
}
.noscript-fallback h1 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--red);
}
.noscript-fallback p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
}

/* ── FOCUS STYLES ── */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ── CUSTOM CURSOR (only for fine pointer devices) ── */
@media (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
}

/* ── DEFAULT CURSOR MODE (toggle override) ── */
body.default-cursor,
body.default-cursor *,
body.default-cursor *::before,
body.default-cursor *::after {
  cursor: auto !important;
}
body.default-cursor a,
body.default-cursor button,
body.default-cursor [role="button"],
body.default-cursor select,
body.default-cursor label,
body.default-cursor .faq-q,
body.default-cursor .soc-btn,
body.default-cursor .service-card,
body.default-cursor .svc-card,
body.default-cursor .svc-card-link,
body.default-cursor .tilt-card,
body.default-cursor .nav-cta,
body.default-cursor .btn-primary,
body.default-cursor .btn-outline,
body.default-cursor .drop-item,
body.default-cursor .social-link,
body.default-cursor .why-card,
body.default-cursor .hero-card,
body.default-cursor .mitre-chip,
body.default-cursor .hamburger {
  cursor: pointer !important;
}
body.default-cursor input,
body.default-cursor textarea {
  cursor: text !important;
}
#cursor-dot, #cursor-ring {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  will-change: transform;
}
#cursor-dot {
  width: 6px; height: 6px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}
#cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(200,16,46,0.55);
  transition: width .2s, height .2s, border-color .2s;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 48px; height: 48px;
  border-color: var(--red);
}

/* ── BUTTON RIPPLE ── */
.btn-primary, .btn-outline, .nav-cta {
  position: relative; overflow: hidden;
}
.ripple {
  position: absolute; border-radius: 50%;
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: rippleAnim .55s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(30); opacity: 0; }
}

/* ── NAVBAR: enhanced glass + logo hover glow ── */
nav {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 16px rgba(200,16,46,0.8));
  transition: filter .3s;
}
.nav-logo img { transition: filter .3s; }

/* ── SERVICE CARDS: top sweep + icon glow ── */
.service-card::before {
  content: ''; position: absolute; top: 0; left: -100%; right: auto;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transition: left .45s ease;
}
.service-card:hover::before { left: 0; }
.service-card:hover .service-icon {
  box-shadow: 0 0 20px rgba(200,16,46,0.3);
  transform: scale(1.08);
}
.service-icon { transition: background .3s, box-shadow .3s, transform .3s; }

/* ── ABOUT INFO CARDS: left accent bar ── */
.about-info-card {
  border-left: 3px solid transparent;
  transition: border-color .3s, transform .3s, background .3s;
}
.about-info-card:hover {
  border-left-color: var(--red);
  background: rgba(200,16,46,0.04);
  transform: translateX(6px);
}

/* ── WHY-CARD accent number breath ── */
.why-num { transition: color .3s; }
.why-card:hover .why-num { color: rgba(200,16,46,0.4); }

/* ── FOOTER: link underline sweep (display:block preserved) ── */
.footer-col a {
  display: block;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color .25s, background-size .3s;
  padding-bottom: 2px;
  width: fit-content;
}
.footer-col a:hover {
  color: var(--red);
  background-size: 100% 1px;
}

/* ── CTA BANNER: shimmer sweep ── */
.cta-banner::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.03) 50%,
    transparent 100%
  );
  animation: ctaShimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaShimmer {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* ── HERO BADGE: dot ping animation ── */
.hero-badge span::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%; border: 1px solid var(--red);
  animation: pingRing 1.8s ease-out infinite;
  opacity: 0;
}
.hero-badge span { position: relative; }
@keyframes pingRing {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* ── SECTION TITLES: left accent line on hover ── */
.section-title {
  transition: letter-spacing .3s;
}

/* ── MISSION / VALUE CARDS: glow border ── */
.mission-card, .value-card {
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.mission-card:hover {
  box-shadow: 0 0 0 1px rgba(200,16,46,0.25), 0 12px 40px rgba(200,16,46,0.1);
}
.value-card:hover {
  box-shadow: 0 0 0 1px rgba(200,16,46,0.2), 0 8px 30px rgba(200,16,46,0.08);
}

/* ── SCAN BAR: shimmer on fill ── */
.scan-fill {
  position: relative; overflow: hidden;
}
.scan-fill::after {
  content: '';
  position: absolute; top: 0; left: -50%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: barShimmer 2s ease-in-out infinite;
}
@keyframes barShimmer {
  0%   { left: -50%; }
  100% { left: 150%; }
}

/* ── SOCIAL LINKS: rotate icon on hover ── */
.social-link { transition: all .25s; }
.social-link:hover { transform: translateY(-3px) scale(1.1); }

/* ── STEP CARDS (services page): left border accent ── */
.step {
  border-left: 3px solid transparent;
  transition: border-color .3s, transform .3s, border-color .3s;
}
.step:hover { border-left-color: var(--red); }

/* ── TERMINAL WINDOW: cursor blink ── */
.t-cursor { vertical-align: middle; }

/* ── INPUT FOCUS GLOW ── */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: 0 0 0 3px rgba(200,16,46,0.12), 0 0 12px rgba(200,16,46,0.08);
}

/* ── HERO STATS SEPARATOR ── */
.hero-stats {
  position: relative;
}
.hero-stat:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0; top: 10%;
  width: 1px; height: 80%;
  background: var(--border);
}
.hero-stat { position: relative; padding-left: 24px; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat:first-child::before { display: none; }


/* ── PREFERS REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .hero-badge span::after { animation: none; }
  .hex-ticker { animation: none; }
  .binary-scroll { animation: none; }
  .scan-fill { animation: none; }
  .scan-fill::after { animation: none; }
  .cta-banner::after { animation: none; }
}

/* ── WEBKIT MASK IMAGE PREFIX ── */
.hero-grid,
.page-hero-grid,
.about-hero-grid {
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 70%);
}
