:root{
  --navy-deep:#0a1929;
  --navy-soft:#0f2942;
  --navy-line:#1d3a56;
  --amber:#f4a825;
  --amber-dark:#d4880f;
  --teal:#1c7293;
  --off-white:#f7f9fc;
  --slate:#4a5a68;
  --slate-light:#7b8ba0;
  --white:#ffffff;
  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  color:var(--slate);
  background:var(--off-white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--navy-deep);
  line-height:1.15;
}

a{text-decoration:none;color:inherit;}
button{font-family:inherit;cursor:pointer;border:none;}
img{max-width:100%;display:block;}
section{position:relative;}

.container{
  max-width:1160px;
  margin:0 auto;
  padding:0 24px;
}

.eyebrow{
  font-family:var(--font-mono);
  font-size:0.75rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--amber-dark);
  font-weight:600;
}

/* ===================== HEADER ===================== */
.site-header{
  position:relative;
  background:var(--navy-deep);
  border-bottom:1px solid rgba(244,168,37,0.15);
}

.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:14px;
  padding-bottom:14px;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:38px;
  height:38px;
  flex-shrink:0;
}

.brand-name{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.25rem;
  color:var(--white);
  letter-spacing:-0.01em;
}

.brand-name span{color:var(--amber);}

.header-actions{
  display:flex;
  align-items:center;
  gap:18px;
}

.call-now{
  display:flex;
  align-items:center;
  gap:9px;
  background:var(--amber);
  color:var(--navy-deep);
  font-weight:700;
  font-size:0.92rem;
  padding:11px 20px;
  border-radius:999px;
  transition:transform 0.15s ease, background 0.15s ease;
  white-space:nowrap;
}

.call-now:hover{
  background:#ffb93d;
  transform:translateY(-1px);
}

.call-now svg{width:17px;height:17px;flex-shrink:0;}

/* ===================== HERO ===================== */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  background:
    linear-gradient(180deg, rgba(6,16,28,0.78) 0%, rgba(8,20,34,0.55) 45%, rgba(10,25,41,0.95) 100%),
    url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1740&q=80') center/cover no-repeat;
  overflow:hidden;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 82% 18%, rgba(244,168,37,0.28), transparent 42%);
  pointer-events:none;
}

.hero .container{
  position:relative;
  z-index:2;
  padding-top:70px;
  padding-bottom:90px;
}

.hero-inner{max-width:640px;}

.hero h1{
  color:var(--white);
  font-size:clamp(2.3rem, 5vw, 3.4rem);
  font-weight:700;
  margin-bottom:20px;
  letter-spacing:-0.02em;
}

.hero h1 em{
  font-style:normal;
  color:var(--amber);
}

.hero p.lead{
  color:#cfd9e4;
  font-size:1.12rem;
  max-width:520px;
  margin-bottom:34px;
}

.hero-ctas{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  margin-bottom:56px;
}

.btn-primary{
  background:var(--amber);
  color:var(--navy-deep);
  font-weight:700;
  font-size:1rem;
  padding:16px 32px;
  border-radius:10px;
  box-shadow:0 10px 30px -8px rgba(244,168,37,0.55);
  transition:transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px -6px rgba(244,168,37,0.65);
}

.hero-secondary-link{
  color:#e7edf4;
  font-weight:600;
  font-size:0.95rem;
  border-bottom:1px solid rgba(231,237,244,0.4);
  padding-bottom:2px;
}

.hero-stats{
  display:flex;
  gap:36px;
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,0.14);
  padding-top:28px;
}

.hero-stat .num{
  font-family:var(--font-mono);
  color:var(--amber);
  font-size:1.5rem;
  font-weight:600;
  display:block;
}

.hero-stat .label{
  color:#b9c5d3;
  font-size:0.82rem;
  margin-top:2px;
}

/* ===================== SUN ARC DIVIDER (signature element) ===================== */
.sun-arc{
  display:block;
  width:100%;
  height:auto;
  background:var(--off-white);
}

/* ===================== BENEFITS ===================== */
.benefits{
  background:var(--off-white);
  padding:20px 0 90px;
}

.section-head{
  max-width:640px;
  margin:0 auto 52px;
  text-align:center;
}

.section-head h2{
  font-size:clamp(1.8rem, 3.4vw, 2.4rem);
  margin-top:10px;
}

.section-head p{
  color:var(--slate);
  margin-top:14px;
  font-size:1.02rem;
}

.benefit-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}

.benefit-card{
  background:var(--white);
  border:1px solid #e7edf4;
  border-radius:16px;
  padding:30px 24px;
  transition:transform 0.18s ease, box-shadow 0.18s ease;
}

.benefit-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 32px -12px rgba(15,41,66,0.18);
}

.benefit-icon{
  width:46px;
  height:46px;
  border-radius:12px;
  background:rgba(28,114,147,0.1);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

.benefit-icon svg{width:24px;height:24px;stroke:var(--teal);}

.benefit-card h3{
  font-size:1.05rem;
  margin-bottom:8px;
}

.benefit-card p{font-size:0.92rem;color:var(--slate-light);}

/* ===================== PROCESS ===================== */
.process{
  background:var(--navy-deep);
  padding:90px 0;
  position:relative;
  overflow:hidden;
}

.process::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(244,168,37,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,168,37,0.045) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(circle at 30% 30%, black, transparent 75%);
}

.process .container{position:relative;z-index:2;}

.process .section-head h2, .process .section-head p{color:var(--white);}
.process .section-head p{color:#aab8c9;}

.process-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:26px;
}

.process-step{
  padding:8px;
  border-left:2px solid var(--navy-line);
  padding-left:22px;
  position:relative;
}

.process-step .step-num{
  font-family:var(--font-mono);
  color:var(--amber);
  font-size:0.85rem;
  display:block;
  margin-bottom:12px;
}

.process-step h3{
  color:var(--white);
  font-size:1.05rem;
  margin-bottom:8px;
}

.process-step p{color:#9fb0c2;font-size:0.9rem;}

/* ===================== CTA BANNER ===================== */
.cta-banner{
  background:linear-gradient(120deg, var(--teal), #14586f);
  padding:64px 0;
}

.cta-banner .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}

.cta-banner h2{
  color:var(--white);
  font-size:clamp(1.5rem, 3vw, 2rem);
  max-width:480px;
}

.cta-banner .btn-primary{
  flex-shrink:0;
}

/* ===================== FOOTER ===================== */
.site-footer{
  background:var(--navy-deep);
  color:#9fb0c2;
  padding:56px 0 28px;
}

.footer-top{
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  padding-bottom:36px;
  border-bottom:1px solid var(--navy-line);
  margin-bottom:24px;
}

.footer-brand .brand-name{margin-bottom:10px;}
.footer-brand p{max-width:320px;font-size:0.9rem;}

.footer-contact h4{
  color:var(--white);
  font-size:0.85rem;
  font-family:var(--font-mono);
  letter-spacing:0.06em;
  text-transform:uppercase;
  margin-bottom:14px;
}

.footer-contact a, .footer-contact span{
  display:block;
  font-size:0.92rem;
  margin-bottom:8px;
  color:#c3cfdc;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:0.8rem;
  color:#6f8199;
}

/* ===================== MODAL / POPUP FORM ===================== */
.modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:1000;
  background:rgba(6,14,24,0.62);
  backdrop-filter:blur(4px);
  align-items:center;
  justify-content:center;
  padding:24px;
  overflow-y:auto;
}

.modal.open{display:flex;}

.modal-content{
  background:var(--white);
  width:100%;
  max-width:440px;
  max-height:calc(100vh - 24px);
  overflow-y:auto;
  border-radius:18px;
  padding:24px 26px 20px;
  position:relative;
  box-shadow:0 30px 60px -12px rgba(0,0,0,0.4);
  animation:modalIn 0.22s ease;
  margin:auto;
  flex-shrink:0;
}

@keyframes modalIn{
  from{opacity:0;transform:translateY(14px) scale(0.98);}
  to{opacity:1;transform:translateY(0) scale(1);}
}

#closeForm{
  position:absolute;
  top:16px;
  right:18px;
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#f0f3f7;
  color:var(--slate);
  font-size:1.4rem;
  line-height:1;
  cursor:pointer;
  transition:background 0.15s ease, color 0.15s ease;
}

#closeForm:hover{background:#e5eaf1;color:var(--navy-deep);}

.modal-eyebrow{
  font-family:var(--font-mono);
  font-size:0.68rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--amber-dark);
  font-weight:600;
  display:block;
  margin-bottom:4px;
}

.modal-content h2{
  font-size:1.25rem;
  margin-bottom:3px;
}

.modal-sub{
  font-size:0.85rem;
  color:var(--slate-light);
  margin-bottom:14px;
}

#leadForm{
  display:flex;
  flex-direction:column;
  gap:9px;
}

#leadForm input, #leadForm select, #leadForm textarea{
  width:100%;
  padding:12px 14px;
  border:1.5px solid #e2e8f0;
  border-radius:10px;
  font-family:var(--font-body);
  font-size:0.95rem;
  color:var(--navy-deep);
  background:#fbfcfe;
  transition:border-color 0.15s ease, background 0.15s ease;
}

#leadForm select{
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b8ba0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  padding-right:36px;
}

#leadForm textarea{resize:vertical;min-height:70px;}

#leadForm input::placeholder, #leadForm textarea::placeholder{color:#a7b2c0;}

#leadForm input:focus, #leadForm select:focus, #leadForm textarea:focus{
  outline:none;
  border-color:var(--teal);
  background:var(--white);
}

#leadForm button[type="submit"]{
  margin-top:4px;
  background:var(--amber);
  color:var(--navy-deep);
  font-weight:700;
  font-size:1rem;
  padding:13px;
  border-radius:10px;
  transition:background 0.15s ease, transform 0.15s ease;
}

#leadForm button[type="submit"]:hover{background:#ffb93d;}
#leadForm button[type="submit"]:disabled{opacity:0.65;cursor:not-allowed;transform:none;}

.form-note{
  font-size:0.74rem;
  color:var(--slate-light);
  text-align:center;
  margin-top:0;
}

.thank-you{
  display:none;
  text-align:center;
  padding:20px 0 6px;
}

.thank-you.show{display:block;}

.thank-you .tick{
  width:56px;
  height:56px;
  border-radius:50%;
  background:rgba(28,114,147,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
}

.thank-you .tick svg{width:26px;height:26px;stroke:var(--teal);}

.thank-you h3{font-size:1.2rem;margin-bottom:8px;}
.thank-you p{font-size:0.92rem;color:var(--slate-light);}

/* ===================== RESPONSIVE ===================== */
@media (max-width:900px){
  .benefit-grid, .process-grid{grid-template-columns:repeat(2, 1fr);}
  .cta-banner .container{flex-direction:column;text-align:center;}
}

@media (max-width:560px){
  .benefit-grid, .process-grid{grid-template-columns:1fr;}
  .hero-stats{gap:26px;}
  .footer-top{flex-direction:column;}
  .brand-name{font-size:1.05rem;}
  .call-now span.call-text{display:none;}
  .call-now{padding:11px 14px;}
  .modal-content{padding:24px 22px 20px;}
}

@media (max-height:700px){
  .modal-content{padding:20px 26px 18px;}
  .modal-sub{margin-bottom:12px;}
  #leadForm{gap:8px;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .modal-content{animation:none;}
}
