:root{
  --bg:#0b1220;
  --panel:#0f1a2f;
  --panel2:#0a1426;
  --text:#eaf0ff;
  --muted:#b9c6e6;
  --line: rgba(255,255,255,.12);

  --primary:#2a6397;
  --primary2:#071b33;
  --accent:#3db5ff;
  --good:#37d67a;

  --shadow: 0 14px 40px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(61,181,255,.20), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(42,99,151,.24), transparent 55%),
    linear-gradient(180deg, var(--bg), #070b13 70%);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

.topbar{
  background: rgba(7,27,51,.55);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:10px 0;
  font-size:14px;
}
.badges{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px; border:1px solid var(--line);
  border-radius:999px; color:var(--muted);
  background: rgba(255,255,255,.04);
}
.badge b{color:var(--text); font-weight:700}

header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,18,32,.55);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 220px;
}
.brand img{
  height:44px;
  width:auto;
  max-width:220px;
  object-fit:contain;
}
.brand .name{display:flex;flex-direction:column;line-height:1.1}
.brand .name span:first-child{font-weight:900; letter-spacing:.2px}
.brand .name span:last-child{color:var(--muted); font-size:12px}

.navlinks{
  display:flex; gap:16px; align-items:center;
}
.navlinks a{
  padding:10px 12px;
  color:var(--muted);
  border-radius:999px;
}
.navlinks a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.navlinks a.active{background:rgba(61,181,255,.14); color:var(--text); border:1px solid rgba(61,181,255,.22)}
.actions{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:800;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{background: rgba(255,255,255,.08)}
.btn:active{transform: translateY(1px)}

.btn.primary{
  background: linear-gradient(135deg, rgba(61,181,255,.95), rgba(42,99,151,.92));
  border-color: rgba(61,181,255,.35);
  box-shadow: 0 12px 30px rgba(61,181,255,.14);
}
.btn.primary:hover{filter: brightness(1.04)}
.btn.whatsapp{
  background: linear-gradient(135deg, rgba(55,214,122,.92), rgba(12,123,84,.92));
  border-color: rgba(55,214,122,.30);
}
.btn.ghost{background:transparent}

.hamburger{
  display:none;
  width:44px;height:44px;border-radius:12px;
  border:1px solid var(--line); background: rgba(255,255,255,.04);
}
.hamburger span{display:block;width:18px;height:2px;background:var(--text); margin:5px auto; border-radius:2px}

.hero{padding:46px 0 18px}
.heroGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}
.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}
.heroMain{padding:26px}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border-radius:999px;
  background: rgba(61,181,255,.12);
  border:1px solid rgba(61,181,255,.22);
  color:var(--text);
  font-weight:800;
  font-size:13px;
}
h1{
  margin:14px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}
.lead{color:var(--muted); font-size: 16.5px; max-width: 60ch}
.heroCtas{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}

.trust{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.trust .pill{
  padding:9px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}

.heroSide{padding:22px}
.sideTitle{font-weight:900; margin:0 0 10px}
.sideBox{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px;
  background: rgba(0,0,0,.20);
  margin-top:12px;
}
.sideBox p{margin:0; color:var(--muted)}
.sideBox b{color:var(--text)}
.smallList{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.smallList li{margin:6px 0}

.section{padding:26px 0}
.section h2{font-size:26px; margin:0 0 12px}
.section p{color:var(--muted); margin:0 0 14px}

/* THIS is what makes your Services show as boxes */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.feature{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
}
.feature h3{margin:2px 0 8px; font-size:16px}
.feature p{margin:0; color:var(--muted); font-size:14px}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.box{
  padding:18px;
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(61,181,255,.10), rgba(0,0,0,.18));
}
.box h3{margin:0 0 8px}
.box ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.box li{margin:7px 0}

.faq details{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:14px 16px;
  background: rgba(0,0,0,.18);
}
.faq details + details{margin-top:10px}
.faq summary{cursor:pointer; font-weight:900}
.faq p{margin:10px 0 0; color:var(--muted)}

footer{
  padding:22px 0 92px;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.20);
}
.footerGrid{
  display:grid; gap:14px;
  grid-template-columns: 1.2fr .8fr;
  align-items:start;
}
.footlinks{display:flex; gap:12px; flex-wrap:wrap; color:var(--muted)}
.copy{color:var(--muted); font-size:13px; margin-top:10px}

.stickyBar{
  position:fixed; left:0; right:0; bottom:0;
  background: rgba(7,27,51,.80);
  border-top:1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  padding:10px 12px;
  display:none;
  z-index:100;
}
.stickyBar .inner{
  max-width: var(--max);
  margin:0 auto;
  display:flex; gap:10px; justify-content:space-between; align-items:center;
}
.stickyBar .inner .msg{color:var(--muted); font-weight:800; font-size:13px}
.stickyBar .inner .btns{display:flex; gap:10px}

@media (max-width: 940px){
  .heroGrid{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2,1fr)}
  .split{grid-template-columns:1fr}
  .footerGrid{grid-template-columns:1fr}
}
@media (max-width: 760px){
  .actions{display:none}
  .hamburger{display:block}
  .navlinks{
    position:absolute; left:18px; right:18px; top:72px;
    display:none;
    flex-direction:column;
    gap:6px;
    padding:10px;
    border:1px solid var(--line);
    background: rgba(11,18,32,.92);
    border-radius: var(--radius2);
  }
  .navlinks.open{display:flex}
  .stickyBar{display:block}
  .grid{grid-template-columns:1fr}
}
.mobileBar{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  display:none;
  gap:10px;
  padding:10px;
  background:#081426;
  border-top:1px solid rgba(255,255,255,.12);
  z-index:999;
}

.mobileBar a{
  flex:1;
  text-align:center;
  padding:14px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
}

.mbCall{
  background:linear-gradient(90deg,#38bdf8,#60a5fa);
  color:#081426;
}

.mbWA{
  background:#22c55e;
  color:white;
}

@media (max-width: 768px){
  .mobileBar{display:flex;}
}
/* ---------- MOBILE HEADER CLEANUP ---------- */
@media (max-width: 768px){

  /* Make the topbar one tidy row */
  .topbar .row{
    gap:8px;
    padding:8px 0;
    align-items:center;
  }

  /* Badges wrap more neatly */
  .badges{ gap:8px; }

  /* Hide extra badges on the left (keep it clean) */
  .topbar .badges:first-child .badge:nth-child(n+3){
    display:none;
  }
  /* Optional: also hide the “Insured & professional” if you want it even cleaner */
  /* .topbar .badges:first-child .badge:nth-child(2){ display:none; } */

  /* Compact badge styling on mobile */
  .badge{
    padding:6px 10px;
    font-size:13px;
  }

  /* Make phone + WhatsApp look like proper small action pills */
  .topbar .badges:last-child .badge{
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    font-weight:800;
  }

  /* Reduce header height a touch */
  header .nav{
    padding:10px 0;
  }

  /* Tidy the brand block spacing */
  .brand{
    min-width:auto;
    gap:10px;
  }
  .brand img{ height:34px; width:auto; max-width:140px; }
  .brand .name span:first-child{ font-size:14px; }
  .brand .name span:last-child{ font-size:11px; }

  /* Keep hamburger aligned */
  .hamburger{
    width:42px;
    height:42px;
    border-radius:14px;
  }
}

/* Prevent the bottom sticky bar covering content */
@media (max-width: 768px){
  body{ padding-bottom: 78px; }
}
@media (max-width: 768px){
  .topbar{ display:none; }
  header{ top:0; }
}
.trustLine{
  margin-top:14px;
  color:var(--muted);
  font-size:14px;
}
/* Reduce header clutter on desktop */
@media (min-width: 769px){
  .brand .name span:last-child{
    display:none;
  }
}
/* Desktop: hide the small tagline in the header brand block */
@media (min-width: 769px){
  header .brand .name span:nth-child(2){
    display:none !important;
  }
}
/* Desktop header: prevent brand/nav overlap */
@media (min-width: 769px){

  /* Give the left brand area enough room */
  .brand{
    min-width: 260px;
    gap: 12px;
  }

  /* Keep the name on one line */
  .brand .name span:first-child{
    white-space: nowrap;
    font-size: 18px;
    line-height: 1.1;
  }

  /* Make sure the nav can wrap if needed (instead of overlapping) */
  .nav{
    flex-wrap: wrap;
    row-gap: 10px;
  }

  /* Add a little space between brand and nav links */
  .navlinks{
    margin-left: 10px;
  }
}
/* === Desktop header overlap hotfix (structure-agnostic) === */
@media (min-width: 769px){

  /* Make the header layout wrap instead of overlapping */
  header .container{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:wrap !important;
    gap:14px !important;
  }

  /* Keep the brand from shrinking too small */
  header .brand{
    flex:0 0 auto !important;
    min-width:260px !important;
  }

  /* Let the middle/right side wrap nicely */
  header .navlinks,
  header .actions{
    flex:0 1 auto !important;
  }

  /* Stop the nav pill (Home etc) sitting on top of the title */
  header .navlinks{
    margin-left:10px !important;
  }
}
/* Desktop header: tidy into 3 columns */
@media (min-width: 769px){

  header .container{
    flex-wrap: nowrap !important;
    gap: 18px !important;
  }

  header .brand{
    min-width: 240px !important;
  }

  header .navlinks{
    flex: 1 1 auto !important;
    justify-content: center;
  }

  header .actions{
    flex: 0 0 auto !important;
    margin-left: auto;
  }
}
@media (min-width: 769px){
  header .actions .btn{
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 999px;
  }
}
/* Desktop: keep header on one line */
@media (min-width: 1024px){

  /* tighter header row */
  header .container{
    flex-wrap: nowrap !important;
    gap: 14px !important;
  }

  /* slightly tighter brand block */
  header .brand{
    min-width: 220px !important;
  }

  /* nav takes less horizontal space */
  header .navlinks{
    gap: 10px !important;
  }
  header .navlinks a{
    padding: 8px 10px !important;
    font-size: 14px !important;
  }

  /* shrink the action buttons so they fit */
  header .actions{
    gap: 10px !important;
  }
  header .actions .btn{
    padding: 10px 12px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}
@media (min-width: 1024px){
  header .actions .btn.ghost{ display:none !important; }
}
/* ===== Desktop header: 3-column grid so nothing wraps weird ===== */
@media (min-width: 1024px){

  /* make the header nav a 3-column layout */
  header .nav{
    display: grid !important;
    grid-template-columns: 260px 1fr auto !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* brand stays left */
  header .brand{
    min-width: 0 !important;
  }

  /* center nav links */
  header .navlinks{
    justify-self: center !important;
    display: flex !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  /* actions stay right */
  header .actions{
    justify-self: end !important;
    display: flex !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  /* slightly tighter buttons so they always fit */
  header .actions .btn{
    padding: 10px 12px !important;
    font-size: 14px !important;
  }
}
@media (min-width: 1024px){
  header .actions .btn.ghost{ display:none !important; }
}
/* Desktop: if actions wrap, keep them right-aligned and neat */
@media (min-width: 1024px){
  header .nav{
    flex-wrap: wrap !important;
  }

  header .actions{
    margin-left: auto !important;     /* pushes to the right */
    justify-content: flex-end !important;
    display: flex !important;
    gap: 10px !important;
    width: auto !important;
  }
}
/* Desktop header: 3-column layout so nothing overlaps */
@media (min-width: 1024px){
  header .nav{
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    align-items: center !important;
    column-gap: 18px !important;
  }

  /* Brand stays left */
  header .brand{
    min-width: 260px;
  }

  /* Links sit in the middle */
  header .navlinks{
    display: flex !important;
    justify-content: center !important;
    gap: 18px !important;
    margin: 0 !important;
  }

  /* Buttons stay right */
  header .actions{
    margin-left: 0 !important;
    justify-content: flex-end !important;
  }
}
@media (min-width: 1024px){
  header .brand{ min-width: 220px; }
  header .brand img{ height: 32px; }
}
