/* ===================================================================
   305 ARCTIC AIR — DESIGN TOKENS
   Concept: a literal "cold front" moving through hot Miami.
   The recurring signature device is the meteorological cold-front
   line (a spiked boundary) that separates "hot/before" content from
   "cool/after" content — used as section dividers throughout.
=================================================================== */
:root{
  --navy:        #0a2540;
  --navy-deep:   #061a30;
  --arctic-blue: #1f8fe0;
  --arctic-blue-light: #6cc3f5;
  --ice:         #f5f9fc;
  --ice-card:    #ffffff;
  --steel:       #5c6b7d;
  --steel-light: #a9b6c4;
  --gold:        #f2b23d;
  --ember:       #e35a2b;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 14px;
  --container: 1180px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--ice);
  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;}

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

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arctic-blue);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:18px; height:2px;
  background: var(--ember);
  display:inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-display);
  font-weight:700;
  font-size:15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--ember);
  color: #fff;
  box-shadow: 0 8px 24px rgba(227,90,43,.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px rgba(227,90,43,.45); }
.btn-ghost{
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover{ background: rgba(255,255,255,.18); }
.btn-navy{
  background: var(--navy);
  color:#fff;
}
.btn-navy:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(10,37,64,.3); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(10,37,64,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 32px;
  max-width: var(--container);
  margin:0 auto;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-display);
  font-weight:700;
  font-size: 20px;
  color:#fff;
}
.nav-logo .flake{
  width:34px; height:34px;
  border-radius:50%;
  background: radial-gradient(circle at 35% 30%, var(--arctic-blue-light), var(--arctic-blue) 60%, var(--navy) 100%);
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
}
.nav-links{
  display:flex;
  gap:34px;
  align-items:center;
}
.nav-links a{
  color: rgba(255,255,255,.85);
  font-size: 14.5px;
  font-weight:500;
  transition: color .15s;
  position:relative;
}
.nav-links a:hover{ color:#fff; }
.nav-links a.active{ color: var(--gold); }
.nav-phone{
  display:flex; align-items:center; gap:8px;
  color:#fff; font-family:var(--font-mono); font-weight:600; font-size:15px;
}
.nav-cta-group{ display:flex; align-items:center; gap:20px; }

.mobile-toggle{ display:none; background:none; border:none; color:#fff; font-size:26px; cursor:pointer; }

@media (max-width: 900px){
  .nav-links{
    position:fixed; top:64px; left:0; right:0;
    flex-direction:column;
    background: var(--navy-deep);
    padding: 24px 32px 34px;
    gap:20px;
    display:none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open{ display:flex; }
  .mobile-toggle{ display:block; }
  .nav-phone{ display:none; }
}

/* ---------- Cold-front divider (signature element) ---------- */
.cold-front{
  position: relative;
  height: 46px;
  width: 100%;
  overflow: hidden;
  line-height:0;
}
.cold-front svg{ width:100%; height:100%; display:block; }

/* ---------- Trust bar ---------- */
.trust-bar{
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 26px 0;
}
.trust-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap: 20px 40px;
}
.trust-item{
  display:flex;
  align-items:center;
  gap:12px;
  color: #fff;
}
.trust-item .num{
  font-family: var(--font-mono);
  font-weight:600;
  font-size: 15px;
  color: var(--arctic-blue-light);
}
.trust-item .label{
  font-size:13px;
  color: var(--steel-light);
}
.trust-icon{
  width:36px;height:36px;
  border-radius:9px;
  background: rgba(255,255,255,.06);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  font-size:17px;
}

/* ---------- Section utility ---------- */
section{ padding: 96px 0; }
.section-head{
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2{
  font-size: clamp(30px, 4vw, 42px);
  margin-top: 14px;
  color: var(--navy);
}
.section-head p{
  margin-top: 16px;
  color: var(--steel);
  font-size: 17px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

.bg-navy{ background: var(--navy); color:#fff; }
.bg-navy .section-head p{ color: var(--steel-light); }
.bg-navy .section-head h2{ color:#fff; }
.bg-ice{ background: var(--ice); }
.bg-white{ background: var(--ice-card); }

/* ---------- Footer ---------- */
footer{
  background: var(--navy-deep);
  color: var(--steel-light);
  padding: 64px 0 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid h4{
  color:#fff;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-weight:600;
}
.footer-grid a, .footer-grid li{
  display:block;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--steel-light);
}
.footer-grid a:hover{ color: var(--arctic-blue-light); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top: 24px;
  font-size:13px;
  flex-wrap:wrap;
  gap:12px;
}
.footer-logo{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:700; color:#fff; font-size:19px;
  margin-bottom:14px;
}

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr !important; }
  .hero-img{ width:100% !important; max-width:100% !important; right:0 !important; margin-top:24px; }
}

@media (max-width: 800px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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