:root{
  --bg: #0b0f14;
  --bg2:#0f1620;
  --text:#e9eef5;
  --muted:#b4c0cf;
  --card:#121a25;
  --border: rgba(255,255,255,.10);
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --accent:#ff3b3b;
  --accent2:#ff6a3b;
  --good:#31d0aa;

  --radius: 18px;
  --radius2: 24px;
  --container: 1180px;
  --speed: 220ms;
}

[data-theme="light"]{
  --bg: #f6f8fb;
  --bg2:#eef2f7;
  --text:#101828;
  --muted:#4b5565;
  --card:#ffffff;
  --border: rgba(16,24,40,.12);
  --shadow: 0 18px 55px rgba(16,24,40,.12);
  --accent:#d81f1f;
  --accent2:#ff5a2a;
}

/* =========================
   PRELOADER
========================= */
#preloader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(8,10,14,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity .35s ease;
}

.preloader-card{
  width:min(520px, 92vw);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:22px 22px 18px;
  background:rgba(14,18,26,.72);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  text-align:center;
}

.preloader-logo{
  width:120px;
  height:auto;
  display:block;
  margin:0 auto 12px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.55));
}

.preloader-title{
  font-size:18px;
  font-weight:800;
  letter-spacing:.2px;
  margin-bottom:6px;
}

.preloader-tagline{
  font-size:13px;
  opacity:.85;
  margin-bottom:14px;
}

.preloader-bar{
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.08);
}

.preloader-bar span{
  display:block;
  height:100%;
  width:40%;
  border-radius:999px;
  background:rgba(255,255,255,.85);
  animation: nlPreloadMove 1.1s ease-in-out infinite;
}

@keyframes nlPreloadMove{
  0%{ transform: translateX(-120%); }
  50%{ transform: translateX(40%); }
  100%{ transform: translateX(220%); }
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(255,59,59,.18), transparent 55%),
              radial-gradient(900px 500px at 90% 0%, rgba(255,106,59,.14), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height:1.45;
}

a{color:inherit; text-decoration:none}

.container{max-width:var(--container); margin:0 auto; padding:0 18px}

.section{padding:78px 0}
.section.alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}
.section-head{
  max-width: 860px;
  margin-bottom: 28px;
}
.section-head h2{
  margin:0 0 10px 0;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing:-.02em;
}
.section-head p{margin:0; color:var(--muted)}

.badge{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  color:var(--muted);
  font-size:13px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid var(--border);
  transition: transform var(--speed), box-shadow var(--speed), background var(--speed), border-color var(--speed);
  cursor:pointer;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow)}
.btn:active{transform: translateY(0px)}
.btn.primary{
  border-color: rgba(255,59,59,.45);
  background: linear-gradient(135deg, rgba(255,59,59,.95), rgba(255,106,59,.85));
  color:white;
  font-weight:700;
}
.btn.secondary{
  border-color: rgba(49,208,170,.35);
  background: linear-gradient(135deg, rgba(49,208,170,.20), rgba(49,208,170,.08));
}
.btn.ghost{background: rgba(255,255,255,.03)}

/* Header / Nav */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(8,12,18,.55);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .site-header{background: rgba(246,248,251,.75)}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 10px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.brand-logo{
  width:44px; height:44px; object-fit:contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.25));
}
.brand-name{font-weight:800; letter-spacing:-.02em}
.brand-sub{font-size:12px; color:var(--muted)}

.nav{display:flex; gap:14px; align-items:center}
.nav a{
  padding:10px 10px;
  border-radius: 12px;
  color: var(--muted);
  transition: background var(--speed), color var(--speed);
}
.nav a:hover{background: rgba(255,255,255,.06); color: var(--text)}
.nav .nav-cta{
  background: rgba(255,255,255,.06);
  border:1px solid var(--border);
  color: var(--text);
}

.header-actions{display:flex; align-items:center; gap:8px}
.icon-btn{
  width:40px; height:40px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
  transition: transform var(--speed), background var(--speed);
}
.icon-btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06)}
.icon{font-size:16px}

.mobile-menu-btn{display:none}
.mobile-menu{
  display:none;
  padding: 10px 18px 16px 18px;
  border-top:1px solid var(--border);
}
.mobile-menu a{
  display:block;
  padding:12px 12px;
  border-radius: 14px;
  color: var(--muted);
}
.mobile-menu a:hover{background: rgba(255,255,255,.06); color: var(--text)}

/* =========================
   FAQ
========================= */
.faq-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.faq-item{
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.03);
  padding: 14px;
  box-shadow: 0 12px 45px rgba(0,0,0,.18);
}

[data-theme="light"] .faq-item{
  background: rgba(255,255,255,.92);
}

.faq-item summary{
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item p{
  margin-top: 10px;
}

@media (max-width: 980px){
  .faq-grid{
    grid-template-columns: 1fr;
  }
}

/* Contact form CTA row: button + note beside each other */
.quote-actions-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.cta-pair{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.cta-note{
  max-width:360px;          /* keeps the note from stretching too wide */
  line-height:1.35;
  opacity:.9;
  margin:0;                 /* prevent default margins pushing it down */
}

/* Make messenger note behave the same as the other note */
.cta-pair .messenger-note{
  margin:0;
}
