/* ============================================================
   ROCKET BOLTS DESIGNS — Core Stylesheet
   Palette: ink navy / shark blue / gunmetal / bolt gold
   ============================================================ */

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

:root{
  /* --- brand palette, pulled straight from the mark --- */
  --ink:        #0c1117;   /* shark-face black            */
  --navy:       #0a2238;   /* deep space navy (bg)         */
  --navy-2:     #102f4a;   /* slightly lighter navy panel  */
  --blue:       #1c5c8c;   /* rocket-body blue (primary)   */
  --blue-light: #3a86c4;   /* hover / highlight blue       */
  --steel:      #7c8a96;   /* gunmetal / shark grey         */
  --steel-light:#aeb8c0;
  --gold:       #f6b91d;   /* lightning-bolt gold (accent) */
  --gold-dark:  #d99a00;
  --white:      #f6f8fa;
  --off-white:  #e7ecf0;

  --bg:         var(--ink);
  --bg-panel:   var(--navy);
  --text:       var(--off-white);
  --text-dim:   #9aa7b2;

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 4px;
  --container: 1180px;
  --header-h: 84px;

  --ease: cubic-bezier(.22,.9,.27,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
input,textarea,select{ font-family:inherit; font-size:1rem; }

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

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

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- typography ---------- */
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:.01em;
  text-transform:uppercase;
  color:var(--white);
  line-height:1.05;
}
h1{ font-size:clamp(2.6rem,5.4vw,4.6rem); }
h2{ font-size:clamp(2rem,3.6vw,3rem); }
h3{ font-size:1.4rem; }
p{ color:var(--text-dim); max-width:60ch; }
.lede{ font-size:1.15rem; color:var(--off-white); }

.eyebrow{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:14px;
}
.eyebrow::before,
.eyebrow::after{
  content:"";
  width:18px; height:2px;
  background:var(--gold);
  flex:none;
  transform:skewX(-20deg);
}
.eyebrow.center{ justify-content:center; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head.center{ margin-inline:auto; text-align:center; }

/* ---------- cut-corner "bolt badge" shape (signature motif) ---------- */
.cut{
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}
.cut-sm{
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.92rem;
  padding:15px 30px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space:nowrap;
}
.btn-primary{
  background:var(--gold);
  color:var(--ink);
}
.btn-primary:hover{
  background:var(--white);
  transform:translateY(-2px);
  box-shadow:0 10px 24px -8px rgba(246,185,29,.55);
}
.btn-ghost{
  background:transparent;
  color:var(--white);
  border:1.5px solid rgba(255,255,255,.28);
  clip-path:none;
  border-radius:2px;
}
.btn-ghost:hover{
  border-color:var(--gold);
  color:var(--gold);
  transform:translateY(-2px);
}
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:.8rem; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; transform:none !important; }

/* ---------- header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0;
  height:var(--header-h);
  z-index:500;
  display:flex; align-items:center;
  background:rgba(10,22,34,.78);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.07);
  transition:background .3s var(--ease);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ height:52px; width:52px; object-fit:contain; }
.brand .wordmark{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.18rem;
  letter-spacing:.02em;
  color:var(--white);
  line-height:1.05;
}
.brand .wordmark span{
  display:block;
  font-size:.62rem;
  letter-spacing:.24em;
  color:var(--blue-light);
  font-weight:600;
}

.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav a{
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:.86rem;
  color:var(--off-white);
  position:relative;
  padding:6px 0;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--gold);
  transition:width .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--gold); }

.header-actions{ display:flex; align-items:center; gap:18px; }
.cart-btn{
  position:relative;
  display:flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-weight:700; letter-spacing:.04em;
  text-transform:uppercase; font-size:.82rem;
  color:var(--white);
  padding:10px 16px;
  border:1.5px solid rgba(255,255,255,.25);
}
.cart-btn:hover{ border-color:var(--gold); color:var(--gold); }
.cart-count{
  position:absolute; top:-9px; right:-9px;
  background:var(--gold); color:var(--ink);
  font-family:var(--font-mono); font-size:.68rem; font-weight:700;
  min-width:20px; height:20px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:2px solid var(--ink);
}

.nav-toggle{ display:none; flex-direction:column; gap:5px; padding:6px; }
.nav-toggle span{ width:24px; height:2px; background:var(--white); }

/* ---------- footer ---------- */
.site-footer{
  background:var(--ink);
  border-top:1px solid rgba(255,255,255,.07);
  padding:64px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:40px;
  margin-bottom:48px;
}
.footer-grid h4{
  font-size:.82rem; letter-spacing:.14em; color:var(--steel-light); margin-bottom:18px;
}
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid ul a{ color:var(--text-dim); font-size:.92rem; }
.footer-grid ul a:hover{ color:var(--gold); }
.footer-brand{ display:flex; gap:14px; align-items:flex-start; margin-bottom:14px; }
.footer-brand img{ height:46px; width:46px; }
.footer-brand p{ font-size:.9rem; color:var(--text-dim); max-width:32ch; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; border-top:1px solid rgba(255,255,255,.07);
  font-size:.8rem; color:var(--text-dim);
  flex-wrap:wrap; gap:10px;
}
.footer-bottom .service-area{ color:var(--gold-dark); font-family:var(--font-mono); }

/* ---------- generic page hero (non-home) ---------- */
.page-hero{
  padding:calc(var(--header-h) + 70px) 0 60px;
  background:
    radial-gradient(ellipse 700px 380px at 85% 0%, rgba(28,92,140,.35), transparent 60%),
    var(--navy);
  border-bottom:1px solid rgba(255,255,255,.06);
  position:relative;
  overflow:hidden;
}
.page-hero::after{
  content:"";
  position:absolute; right:-60px; top:30%;
  width:340px; height:6px; background:var(--gold);
  transform:rotate(-32deg);
  opacity:.18;
}

/* ---------- utility layout ---------- */
.section{ padding:96px 0; }
.section.alt{ background:var(--navy); }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.flex-between{ display:flex; align-items:center; justify-content:space-between; gap:20px; }

/* ---------- diagonal divider ---------- */
.divider{
  height:64px;
  background:var(--ink);
  position:relative;
  overflow:hidden;
}
.divider span{
  position:absolute; left:-10%; top:50%; width:120%; height:3px;
  background:linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  transform:rotate(-2.4deg);
  opacity:.55;
}

/* ---------- toast ---------- */
.toast{
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--white); color:var(--ink);
  font-family:var(--font-display); font-weight:700; letter-spacing:.03em;
  font-size:.86rem; text-transform:uppercase;
  padding:14px 24px;
  display:flex; align-items:center; gap:10px;
  box-shadow:0 14px 30px -10px rgba(0,0,0,.5);
  z-index:1200;
  opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.toast .dot{ width:9px; height:9px; background:var(--gold); border-radius:50%; flex:none; }

/* ---------- scroll reveal ---------- */
[data-reveal]{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].revealed{ opacity:1; transform:translateY(0); }
[data-reveal="1"]{ transition-delay:.05s; }
[data-reveal="2"]{ transition-delay:.15s; }
[data-reveal="3"]{ transition-delay:.25s; }
[data-reveal="4"]{ transition-delay:.35s; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .grid-4{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 860px){
  .main-nav{
    position:fixed; top:var(--header-h); left:0; right:0; bottom:0;
    background:var(--navy);
    flex-direction:column; align-items:flex-start; gap:0;
    padding:10px 28px 30px;
    transform:translateX(-100%);
    transition:transform .3s var(--ease);
    overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav a{ width:100%; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.08); font-size:1rem; }
  .nav-toggle{ display:flex; }
  .brand .wordmark{ font-size:1rem; }
}
@media (max-width: 720px){
  .section{ padding:64px 0; }
  .grid-3, .grid-4{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  h1{ font-size:clamp(2.1rem,9vw,2.8rem); }
}
