
:root{
  --bg:#0b1220;
  --card:rgba(255,255,255,0.06);
  --card2:rgba(255,255,255,0.08);
  --text:#e5e7eb;
  --muted:rgba(229,231,235,0.72);
  --brand:#60a5fa;
  --brand2:#22c55e;
  --danger:#fb7185;
  --border:rgba(255,255,255,0.12);
  --shadow:0 18px 60px rgba(0,0,0,0.45);
  --radius:18px;
  --radius2:22px;
  --max:1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(900px 500px at 20% -10%, rgba(96,165,250,0.25), transparent 70%),
              radial-gradient(800px 500px at 90% 10%, rgba(34,197,94,0.18), transparent 70%),
              var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.nav{
  position:sticky;top:0;z-index:50;
  backdrop-filter:saturate(140%) blur(12px);
  background:rgba(11,18,32,0.72);
  border-bottom:1px solid var(--border);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;position:relative}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:0.2px}
.brand img{height:34px;width:auto}
.nav-links{display:none;flex-direction:column;gap:10px;flex-wrap:nowrap;position:absolute;right:16px;top:calc(100% + 10px);width:min(340px, calc(100vw - 32px));padding:12px;border-radius:18px;border:1px solid rgba(255,255,255,0.10);background:rgba(11,18,32,0.92);backdrop-filter:saturate(140%) blur(10px);box-shadow:0 18px 40px rgba(0,0,0,0.35);z-index:90}
.nav-links a{
  padding:10px 12px;border-radius:999px;color:var(--muted);
  border:1px solid transparent;
}
.nav-links a:hover{color:var(--text);border-color:var(--border);background:rgba(255,255,255,0.04)}
.nav-links .cta{
  color:#031025;background:linear-gradient(135deg, #93c5fd, #34d399);
  border:0;font-weight:800;
}

/* Header dropdown nav (Tools ▾) */
.nav-dropdown{position:relative;display:inline-flex;align-items:center}
.nav-dropbtn{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
  background:transparent;
  cursor:pointer;
  font:inherit;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.nav-dropbtn:hover{color:var(--text);border-color:var(--border);background:rgba(255,255,255,0.04)}
.nav-dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width: 240px;
  padding:8px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(11,18,32,0.98);
  box-shadow:0 18px 40px rgba(0,0,0,0.35);
  display:none;
  z-index:80;
}
.nav-dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
  text-decoration:none;
}
.nav-dropdown-menu a:hover{color:var(--text);border-color:var(--border);background:rgba(255,255,255,0.04)}
.nav-dropdown.open .nav-dropdown-menu{display:block}
.nav-dropdown .caret{font-size:0.9em;opacity:0.9}



/* === Nav tidy: keep desktop nav on one line, move secondary links into dropdown === */
@media (min-width: 801px){
  .nav-links{flex-wrap:nowrap}
}

/* Mobile dropdown: make submenu flow within the opened mobile panel (no absolute popover) */
@media (max-width: 800px){
  .nav-links{flex-direction:column !important;align-items:stretch;gap:8px}
  .nav-links a{width:100%}
  .nav-dropdown{width:100%}
  .nav-dropbtn{width:100%;justify-content:space-between}
  .nav-dropdown-menu{
    position:static;
    top:auto;left:auto;right:auto;
    min-width:unset;
    margin-top:6px;
    padding:8px;
    border-radius:14px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:none;
  }
  .nav-dropdown-menu a{padding:10px 12px}
}
/* CTA visibility: desktop button, mobile menu link */
.nav-cta-mobile{display:none}
@media (max-width: 800px){
  .nav-cta-desktop{display:none}
  body.menu-open .nav-cta-mobile{display:inline-flex}
}
.hero{padding:56px 0 24px}
.hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:18px;align-items:center;position:relative;z-index:2}
.hero h1{margin:0 0 10px;font-size:clamp(30px,4.2vw,44px);line-height:1.08}
.hero p{margin:0 0 18px;color:var(--muted);max-width:62ch;font-size:1.02rem}
.hero-card{
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border-radius:var(--radius2);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-card img{display:block;width:100%;height:auto}
.badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.badges img{height:42px;border-radius:12px;border:1px solid var(--border);background:rgba(255,255,255,0.05);padding:6px}
.section{padding:36px 0}
.section h2{margin:0 0 10px;font-size:1.55rem}
.muted{color:var(--muted)}
.grid{display:grid;gap:16px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{
  border:1px solid var(--border);
  background:rgba(255,255,255,0.05);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 12px 40px rgba(0,0,0,0.25);
}
.card h3{margin:0 0 6px}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 14px;border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.04);
  color:var(--text);font-weight:700;
}
.pill small{color:var(--muted);font-weight:600}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery a{border-radius:18px;overflow:hidden;border:1px solid var(--border);background:rgba(255,255,255,0.04);display:block}
.gallery img{width:100%;height:220px;object-fit:cover;display:block}
.footer{padding:28px 0;border-top:1px solid var(--border);margin-top:40px;background:rgba(11,18,32,0.65)}
.footer-grid{display:grid;grid-template-columns:1.2fr 0.8fr;gap:16px;align-items:start}
.small{font-size:0.92rem}

/* Calculator */
.calc-wrap{padding:34px 0}
.calc-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.calc-title h1{margin:0;font-size:clamp(26px,3.5vw,36px)}
.calc-actions{display:flex;gap:10px;flex-wrap:wrap}
.btn{
  border:1px solid var(--border);
  background:rgba(255,255,255,0.05);
  color:var(--text);
  padding:10px 14px;border-radius:999px;
  font-weight:800;cursor:pointer;
}
.btn:hover{background:rgba(255,255,255,0.08)}
.btn.primary{
  border:0;
  color:#031025;
  background:linear-gradient(135deg,#93c5fd,#34d399);
}
.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.field label{display:block;font-weight:800;margin-bottom:8px}
.field select,.field input{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.04);
  color:var(--text);
  outline:none;
}
.field select:focus,.field input:focus{
  border-color:rgba(147,197,253,0.65);
  box-shadow:0 0 0 4px rgba(96,165,250,0.18);
}
.field select{
  appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(229,231,235,0.75) 50%),
    linear-gradient(135deg, rgba(229,231,235,0.75) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:34px;
}
.field select:disabled,.field input:disabled{opacity:0.55}
.help{font-size:0.9rem;color:var(--muted);margin-top:10px}
.toggle{display:flex;border:1px solid var(--border);border-radius:999px;overflow:hidden}
.toggle button{
  flex:1;border:0;background:transparent;color:var(--muted);
  padding:10px 12px;font-weight:900;cursor:pointer;
}
.toggle button.active{background:rgba(255,255,255,0.10);color:var(--text)}
.results-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.kpi{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.kpi strong{font-size:1.55rem}
.kpi span{color:var(--muted);font-weight:700}
.hr{height:1px;background:var(--border);margin:14px 0}
.badge-pass{color:#031025;background:linear-gradient(135deg,#86efac,#34d399);padding:6px 10px;border-radius:999px;font-weight:900}
.badge-warn{color:#031025;background:linear-gradient(135deg,#fdba74,#fb7185);padding:6px 10px;border-radius:999px;font-weight:900}
.hidden{display:none !important}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .form-grid{grid-template-columns:1fr}
  .results-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .gallery img{height:200px}
}
@media (max-width: 520px){
  .gallery{grid-template-columns:1fr}
}


/* Stats strip */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:6px}
.stat{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px}
.stat-num{font-size:0.92rem;color:var(--muted)}
.stat-val{font-size:1.12rem;font-weight:700;margin-top:6px}

/* Gallery (slideshow + grid) */
.slideshow{position:relative;border-radius:var(--radius2);overflow:hidden;border:1px solid var(--border);background:rgba(255,255,255,0.03)}
.slides{position:relative;height:360px}
.slide{position:absolute;inset:0;opacity:0;transition:opacity 400ms ease}
.slide.active{opacity:1}
.slide img{width:100%;height:100%;object-fit:cover;display:block}
.slide-btn{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:999px;border:1px solid var(--border);background:rgba(11,18,32,0.65);color:var(--text);font-size:26px;cursor:pointer;display:flex;align-items:center;justify-content:center}
.slide-btn:hover{background:rgba(11,18,32,0.85)}
.slide-btn.prev{left:12px}
.slide-btn.next{right:12px}

.gallery-grid .g-item{border-radius:18px;overflow:hidden;border:1px solid var(--border);background:rgba(255,255,255,0.04);display:block}
.gallery-grid img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-row4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery-row4 img{height:170px}
.gallery-rest{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery-rest img{height:210px}

/* Calculator mobile action bar */
.mobile-bar{display:none;position:sticky;bottom:10px;margin-top:14px;gap:10px;padding:10px;border-radius:18px;border:1px solid var(--border);background:rgba(11,18,32,0.78);backdrop-filter:blur(8px)}

@media (max-width: 980px){
  .stats{grid-template-columns:1fr}
  .slides{height:300px}
  .gallery-row4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-row4 img{height:180px}
  .gallery-rest{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 520px){
  .slides{height:240px}
  .gallery-row4{grid-template-columns:1fr}
  .gallery-rest{grid-template-columns:1fr}
  .mobile-bar{display:flex}
}

/* Hero banner */
.hero-banner{position:relative;background:none;padding:76px 0 64px;overflow:hidden}
.hero-banner::before{content:"";position:absolute;inset:0;background-image:var(--hero-bg);background-size:cover;background-position:center;opacity:0;transform:scale(1.02);animation:heroFade 1.2s ease forwards}
@keyframes heroFade{to{opacity:1;transform:scale(1)}}
.hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg, rgba(11,18,32,0.92) 0%, rgba(11,18,32,0.70) 40%, rgba(11,18,32,0.35) 100%),linear-gradient(0deg, rgba(11,18,32,0.45), rgba(11,18,32,0.45))}
.hero-copy{position:relative;max-width:760px}
.hero-lead{font-size:1.05rem;line-height:1.6}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.hero-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,0.06);font-size:0.9rem;color:var(--text)}

/* Gallery blocks */
.slides{aspect-ratio:16/9;height:auto}
.slide img{width:100%;height:100%;object-fit:cover;display:block}
.gallery-blocks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery-block{border:1px solid var(--border);border-radius:18px;overflow:hidden;background:rgba(255,255,255,0.03)}
.gallery-block-head{display:flex;align-items:center;justify-content:space-between;padding:12px 12px 0}
.gallery-block-title{font-weight:700}
.gallery-block-meta{color:var(--muted);font-size:0.9rem}
.gallery-block-frame{display:block;margin:12px;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,0.08)}
.gallery-block-frame img{width:100%;height:210px;object-fit:cover;display:block}
@media (max-width: 980px){.gallery-blocks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 520px){.hero-banner{padding:64px 0 52px}.gallery-blocks{grid-template-columns:1fr}.gallery-block-frame img{height:220px}}

/* Social icons */
.social{display:flex;gap:10px;align-items:center}
.icon-btn{width:40px;height:40px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,0.04);display:flex;align-items:center;justify-content:center;color:var(--text);text-decoration:none}
.icon-btn:hover{background:rgba(255,255,255,0.08)}
.icon{width:18px;height:18px;display:block;fill:currentColor}

/* Linked cards + forms */
.card-link{display:block;color:inherit;text-decoration:none}
.card-link:hover{transform:translateY(-1px)}
.card-link:focus-visible{outline:2px solid rgba(147,197,253,0.8);outline-offset:3px}
.bullets{margin:10px 0 0 18px;color:var(--muted);line-height:1.6}
.actions{display:flex;gap:10px;flex-wrap:wrap}
.card-img{width:100%;height:180px;object-fit:cover;border-radius:14px;margin-bottom:12px;border:1px solid rgba(255,255,255,0.08)}
.form input,.form textarea{width:100%}
.field label{display:block;margin-bottom:6px}
.field input,.field textarea{padding:12px 12px;border-radius:14px}

/* Header polish: brand sizing + icon alignment */
.nav .brand{display:flex;align-items:center;gap:12px}
.nav .brand img{height:44px;width:auto}
.nav .brand .brand-name{font-size:1.15rem;font-weight:800;letter-spacing:0.2px}
@media (max-width:520px){
  .nav .brand img{height:38px}
  .nav .brand .brand-name{font-size:1.05rem}
}
.nav .nav-inner{align-items:center}
.nav .social{margin-left:8px}

/* Calculator breakdown panel */
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.btn.small{padding:8px 10px;border-radius:12px;font-size:0.9rem}
.breakdown{margin-top:12px}
.breakdown-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.breakdown-col{border:1px solid rgba(255,255,255,0.08);border-radius:16px;padding:12px;background:rgba(255,255,255,0.02)}
.mono{white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:0.92rem;line-height:1.5;margin:10px 0 0}
@media (max-width: 820px){.breakdown-grid{grid-template-columns:1fr}}

/* === Premium header + nav buttons === */
:root{
  --brand1:#0b1220;
  --brand2:#0ea5e9;
  --brand3:#22c55e;
  --nav-bg: rgba(11,18,32,0.72);
  --nav-border: rgba(255,255,255,0.10);
  --pill-bg: rgba(255,255,255,0.06);
  --pill-hover: rgba(14,165,233,0.18);
}
header.nav{position:sticky;top:0;z-index:50;background:var(--nav-bg);backdrop-filter: blur(10px);border-bottom:1px solid var(--nav-border)}
.nav .brand img{height:48px}
.nav .brand .brand-name{font-size:1.25rem;font-weight:900;letter-spacing:0.2px}
/* Desktop nav uses icon toggle; menu is hidden until opened */
.nav-links{display:none}
.nav-links a{padding:10px 12px;border-radius:999px;text-decoration:none;color:var(--text);font-weight:650}
.nav-links a:hover{background:rgba(255,255,255,0.06)}
.nav-links a:focus-visible{outline:2px solid rgba(14,165,233,0.65);outline-offset:2px}
.nav-links a.cta{background:rgba(14,165,233,0.22);border-color:rgba(14,165,233,0.5)}
.nav-links a.cta:hover{background:rgba(14,165,233,0.30)}
/* Social icon colours */
.icon-btn.instagram{border-color:rgba(236,72,153,0.35)}
.icon-btn.instagram:hover{background:rgba(236,72,153,0.18)}
.icon-btn.whatsapp{border-color:rgba(34,197,94,0.35)}
.icon-btn.whatsapp:hover{background:rgba(34,197,94,0.16)}
.btn.whatsapp{background:rgba(34,197,94,0.18);border:1px solid rgba(34,197,94,0.35)}
.btn.whatsapp:hover{background:rgba(34,197,94,0.26)}
@media (max-width: 980px){
  .nav-links{justify-content:flex-start}
}
@media (max-width: 520px){
  .nav .brand img{height:42px}
  .nav .brand .brand-name{font-size:1.12rem}
  .nav-links a{padding:8px 10px}
}

/* Button polish */
.btn, .nav-links a, .icon-btn{transition:transform .12s ease, background .18s ease, border-color .18s ease}
.btn:hover, .nav-links a:hover, .icon-btn:hover{transform:translateY(-1px)}

/* PASS/FAIL status pill */
.status-row{display:flex;align-items:center;gap:10px;margin:10px 0 6px}
.pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-weight:800;letter-spacing:0.4px;font-size:0.85rem;border:1px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.06)}
.pill.pass{border-color:rgba(34,197,94,0.35);background:rgba(34,197,94,0.16)}
.pill.fail{border-color:rgba(239,68,68,0.35);background:rgba(239,68,68,0.14)}


/* === Mobile-only polish pass (v8) === */
@media (max-width: 700px){
  /* Safer tap targets */
  .btn, .nav-links a, .icon-btn{min-height:44px}
  .btn{padding:12px 14px}
  .nav-links a{padding:10px 12px}

  /* Header: prevent ugly wrapping; allow horizontal scroll for pills */
  .nav-links{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    gap:8px;
    padding-bottom:6px;
  }
  .nav-links::-webkit-scrollbar{display:none}
  .nav-links a{white-space:nowrap}

  /* Brand stack tighter */
  .nav .brand{gap:10px}
  .nav .brand img{height:40px}
  .nav .brand .brand-name{font-size:1.06rem;line-height:1.1}

  /* Hero spacing */
  .hero{padding-top:26px}
  .hero h1{font-size:1.55rem;line-height:1.15}
  .hero .hero-lead{font-size:1rem}

  /* Cards & sections spacing */
  .section{padding:34px 0}
  .card{border-radius:18px}
  .grid{gap:12px}
  .grid.grid-3, .grid.grid-2{grid-template-columns:1fr !important}

  /* Gallery blocks */
  .gallery-block-frame{aspect-ratio: 16/10}
  .gallery-block-frame img{width:100%;height:100%;object-fit:cover;border-radius:14px}

  /* Slideshow */
  .slideshow{border-radius:18px}
  .slide img{object-fit:cover}

  /* Forms: prevent iOS zoom and improve feel */
  input, select, textarea{
    font-size:16px !important;
    padding:12px 12px !important;
    border-radius:14px !important;
  }
  textarea{min-height:120px}

  /* Calculator: make results readable */
  .status-row{flex-wrap:wrap}
  .pill{font-size:0.82rem}
}
@media (max-width: 420px){
  .hero h1{font-size:1.42rem}
  .btn, .nav-links a{min-height:42px}
  .nav .brand .brand-name{font-size:1.0rem}
}


/* === v9 Mobile header + nav tidy (show all items, no scroll bar) === */
header.nav{
  background-image: linear-gradient(180deg, rgba(11,18,32,0.88), rgba(11,18,32,0.78)), url('../../images/banners/header-london.webp');
  background-size: cover;
  background-position: center;
}
@media (max-width:700px){
  .nav-links{
    flex-wrap:wrap !important;
    overflow-x:visible !important;
    padding-bottom:0 !important;
    justify-content:center !important;
  }
  .nav-links a{
    padding:8px 10px !important;
    font-size:0.92rem;
  }
}


/* Equipment images: consistent framing */
.card-img{
  width:100%;
  height:190px;
  object-fit:cover;
  border-radius:14px;
  display:block;
}
@media (max-width:700px){
  .card-img{height:170px}
}


/* Contact form standout */
.card.form-standout{
  border-color:rgba(14,165,233,0.45);
  background:linear-gradient(180deg, rgba(14,165,233,0.10), rgba(255,255,255,0.02));
}
.card.form-standout .btn{width:100%}
.card.form-standout .btn.ghost{width:100%}
@media (max-width:700px){
  .card.form-standout .actions{flex-direction:column}
}


/* Gallery toggle */
.gallery-toggle{display:flex;justify-content:flex-end;margin-top:10px}

/* Simple accordion */
details.acc{border-top:1px solid rgba(255,255,255,0.10);padding:10px 0}
details.acc:last-child{border-bottom:1px solid rgba(255,255,255,0.10)}
details.acc summary{cursor:pointer;font-weight:750}
details.acc summary::-webkit-details-marker{display:none}
details.acc summary:after{content:"+";float:right;opacity:.75}
details.acc[open] summary:after{content:"–"}
details.acc > div{margin-top:8px}


/* === v10 Modern UI overhaul (safe, CSS-only) === */
:root{
  --bg0:#070b14;
  --bg1:#0b1220;
  --card:rgba(255,255,255,0.055);
  --card2:rgba(255,255,255,0.035);
  --stroke:rgba(255,255,255,0.10);
  --stroke2:rgba(255,255,255,0.14);
  --accent:#0ea5e9;
  --accent2:#22c55e;
  --danger:#ef4444;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,0.72);
}
body{
  background: radial-gradient(1200px 600px at 10% 0%, rgba(14,165,233,0.18), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(34,197,94,0.14), transparent 60%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
}
.container{max-width:1120px}
.section h2{letter-spacing:-0.02em}
.muted{color:var(--muted)}

.card{
  background: linear-gradient(180deg, var(--card), var(--card2));
  border:1px solid var(--stroke);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.card:hover{border-color:rgba(14,165,233,0.22)}

.btn{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,0.06);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(14,165,233,0.32), rgba(14,165,233,0.14));
  border-color:rgba(14,165,233,0.45);
}
.btn.secondary{
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}
.btn.primary:hover{background: linear-gradient(135deg, rgba(14,165,233,0.40), rgba(14,165,233,0.18))}
.btn.secondary:hover{border-color:rgba(255,255,255,0.18)}
.actions{gap:10px}

/* Header brand stack */
.brand{align-items:center}
.brand-tagline{display:block;font-size:0.92rem;color:rgba(234,240,255,0.70);font-weight:650;margin-top:2px}
@media (max-width:700px){
  .brand{align-items:flex-start}
  .brand-tagline{font-size:0.84rem}
}

/* Hero CTA layout on mobile */
@media (max-width:700px){
  .hero .actions{flex-direction:column}
  .hero .actions .btn{width:100%}
}

/* Floating labels */
.modern-form .ff{position:relative}
.modern-form .ff input,
.modern-form .ff textarea{
  width:100%;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--stroke);
}
.modern-form .ff label{
  position:absolute;
  left:12px;
  top:12px;
  color:rgba(234,240,255,0.68);
  font-weight:650;
  transition: all .14s ease;
  pointer-events:none;
  background:transparent;
}
.modern-form .ff input:focus,
.modern-form .ff textarea:focus{
  border-color:rgba(14,165,233,0.45);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.12);
}
.modern-form .ff input:focus + label,
.modern-form .ff textarea:focus + label,
.modern-form .ff input:not(:placeholder-shown) + label,
.modern-form .ff textarea:not(:placeholder-shown) + label{
  top:-9px;
  left:10px;
  font-size:0.78rem;
  padding:0 6px;
  background:rgba(11,18,32,0.88);
  border-radius:999px;
  color:rgba(234,240,255,0.82);
  border:1px solid rgba(255,255,255,0.10);
}
.form-group-title{
  font-weight:850;
  letter-spacing:0.2px;
  margin-bottom:10px;
}


/* === v11 Hamburger menu + scroll reveal + sticky CTA === */
.menu-btn{
  display:inline-flex;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.06);
  align-items:center;justify-content:center;
  gap:5px;
}
.menu-btn svg{width:22px;height:22px;color:rgba(234,240,255,0.92)}
.menu-btn span{
  display:block;width:18px;height:2px;border-radius:2px;
  background:rgba(234,240,255,0.92);
}
@media (max-width: 800px){
  .menu-btn{display:inline-flex}
  .nav-links{
    display:none;
    width:100%;
    margin-top:10px;
    padding:10px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(11,18,32,0.86);
  }
  body.menu-open .nav-links{display:flex}
  body.menu-open .nav-links{flex-direction:column;flex-wrap:nowrap;justify-content:flex-start}
}

/* Scroll reveal */
.reveal{opacity:1;transform:none}
.js .reveal{opacity:0;transform:translateY(10px);transition:opacity .45s ease, transform .55s ease}
.reveal.reveal-in{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
}

/* Sticky CTA (mobile only) */
.sticky-cta{
  position:fixed;left:12px;right:12px;bottom:12px;
  display:none;gap:10px;z-index:60;
}
.sticky-cta.hidden{display:none !important}
.sticky-cta.dim{opacity:0.45}
.sticky-btn{
  flex:1;
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;
  border-radius:16px;
  text-decoration:none;
  font-weight:850;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.08);
}
.sticky-btn.enquire{
  background:linear-gradient(135deg, rgba(14,165,233,0.38), rgba(14,165,233,0.16));
  border-color:rgba(14,165,233,0.45);
}
.sticky-btn.whatsapp{
  background:linear-gradient(135deg, rgba(34,197,94,0.30), rgba(34,197,94,0.12));
  border-color:rgba(34,197,94,0.35);
}
@media (max-width: 800px){
  .sticky-cta{display:flex}
  body{padding-bottom:78px}
}

.nav .container{display:flex;align-items:center;justify-content:space-between;gap:12px}


/* === v12 Micro-interactions + 3-button sticky CTA === */
@media (min-width: 801px){
  .nav-links a, .btn, .icon-btn, .card{
    transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  }
  .nav-links a:hover, .btn:hover, .icon-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  }
  .card:hover{transform: translateY(-2px)}
  .btn.primary:hover{box-shadow: 0 14px 32px rgba(14,165,233,0.18)}
  .btn.secondary:hover{box-shadow: 0 14px 32px rgba(255,255,255,0.06)}
}

/* Sticky CTA 3 buttons */
.sticky-cta{gap:10px}
.sticky-btn.call{
  background:linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border-color:rgba(255,255,255,0.18);
}
@media (max-width: 800px){
  .sticky-cta{display:grid;grid-template-columns:1fr 1fr 1fr}
  body{padding-bottom:86px}
}


/* === v13 Menu overlay + scroll lock + sticky icons === */
.menu-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,0.42);
  backdrop-filter: blur(2px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  z-index:55;
}
.menu-overlay.show{opacity:1;pointer-events:auto}
body.scroll-lock{overflow:hidden}
header.nav{z-index:70}
.sticky-btn{gap:8px}
.sticky-btn .ico{font-size:1.05rem;line-height:1}


/* === v14 Home header over hero (transparent until scroll) === */
header.nav.nav-over-hero{
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
header.nav.nav-over-hero.scrolled{
  background: rgba(11,18,32,0.72) !important;
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

/* Ensure hero sits nicely under transparent header */
.hero.hero-banner{
  padding-top: calc(var(--nav-h, 72px) + 34px);

  background-image:
    linear-gradient(
      to right,
      rgba(10,18,32,0.88) 0%,
      rgba(10,18,32,0.70) 42%,
      rgba(10,18,32,0.28) 74%,
      rgba(10,18,32,0.18) 100%
    ),
    url("../img/hero-cradle.webp");
}


/* Equipment images: smaller + always fit cleanly */
.equip-img{
  height:140px;
  object-fit:contain;
  background:rgba(255,255,255,0.03);
  padding:10px;
}

/* Enquiry form enhancements */
.enquiry-card{
  position:relative;
  overflow:hidden;
}
.enquiry-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(1200px 420px at 25% 0%, rgba(59,130,246,0.22), transparent 55%),
              radial-gradient(900px 360px at 90% 10%, rgba(16,185,129,0.16), transparent 55%);
  pointer-events:none;
}
.enquiry-card > *{ position:relative; }

.modern-form .ff select{
  width:100%;
  appearance:none;
  background:rgba(255,255,255,0.04);
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:14px 44px 14px 12px;
  color:var(--text);
  outline:none;
}
.modern-form .ff select:focus{
  border-color:rgba(14,165,233,0.45);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.12);
}
.modern-form .ff select + label{
  position:absolute;
  left:12px;
  top:10px;
  color:rgba(234,240,255,0.68);
  font-weight:650;
  transition: all .14s ease;
  pointer-events:none;
}
.modern-form .ff select:focus + label,
.modern-form .ff select:valid + label{
  top:-9px;
  font-size:12px;
  padding:0 6px;
  background:rgba(11,18,32,0.85);
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.10);
}

/* Custom arrow for selects */
.modern-form .ff:has(select)::after{
  content:"▾";
  position:absolute;
  right:14px;
  top:14px;
  opacity:.75;
  pointer-events:none;
}

/* Segmented control */
.segmented{
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.03);
  border-radius:16px;
  padding:12px;
}
.seg-title{
  font-weight:750;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(234,240,255,0.72);
  margin-bottom:10px;
}
.seg-options{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.seg-option{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.02);
  border-radius:999px;
  padding:10px 12px;
  cursor:pointer;
  user-select:none;
}
.seg-option input{
  accent-color: rgba(59,130,246,0.95);
}
.enquiry-actions .btn{ min-width: 160px; }
@media (max-width: 560px){
  .enquiry-actions{ flex-direction:column; align-items:stretch; }
  .enquiry-actions .btn{ width:100%; min-width:unset; }
}


/* === v17 Home hero match to reference === */
.hero-style-ref{
  min-height:78vh;
  padding:110px 0 26px;
  display:flex;
  align-items:center;
}
.hero-style-ref .hero-grid{
  grid-template-columns:1fr;
  gap:28px;
}
.hero-style-ref .hero-copy{
  max-width:920px;
}
.hero-style-ref h1{
  font-size:clamp(36px,4.8vw,56px);
  line-height:1.08;
}
.hero-style-ref .hero-lead{
  font-size:clamp(16px,2.1vw,20px);
  opacity:0.92;
}
.btn.call{
  background:rgba(34,197,94,0.28);
  border:1px solid rgba(34,197,94,0.55);
  color:var(--text);
  font-weight:800;
}
.btn.call:hover{background:rgba(34,197,94,0.36)}
.btn.nav-enquire{
  padding:10px 14px;
  border-radius:12px;
  border:1px solid rgba(147,197,253,0.55);
  background:rgba(147,197,253,0.10);
  font-weight:800;
}
.btn.nav-enquire:hover{background:rgba(147,197,253,0.18)}
.hero-style-ref .hero-stats{
  width:100%;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:16px;
  overflow:hidden;
  background:rgba(11,18,32,0.35);
  backdrop-filter:saturate(140%) blur(10px);
}
.hero-style-ref .hero-stat{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-right:1px solid rgba(255,255,255,0.10);
}
.hero-style-ref .hero-stat:last-child{border-right:0}
.hero-style-ref .hero-stat-num{
  font-size:clamp(28px,3.6vw,44px);
  font-weight:900;
  letter-spacing:0.5px;
  line-height:1;
}
.hero-style-ref .hero-stat-label{
  color:rgba(229,231,235,0.88);
  font-weight:700;
  line-height:1.15;
  white-space:normal;
}
@media (max-width: 760px){
  .hero-style-ref{min-height:auto;padding:92px 0 22px}
  .hero-style-ref .hero-stats{grid-template-columns:1fr}
  .hero-style-ref .hero-stat{border-right:0;border-bottom:1px solid rgba(255,255,255,0.10)}
  .hero-style-ref .hero-stat:last-child{border-bottom:0}
}


/* v20 hero background fade-in */
.hero-banner{ position:relative; }
.hero-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:inherit;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform:scale(1.02);
  animation:heroFadeIn .9s ease-out .05s forwards;
  z-index:0;
}
.hero-banner > *{ position:relative; z-index:1; }

@keyframes heroFadeIn{
  to{ opacity:1; transform:scale(1); }
}

.services-pro {
  background: #0b1220;
  padding: 80px 0;
}
.services-pro .section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.services-pro .section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
  color: #c7d2e5;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.service-icon {
  font-size: 34px;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-card p {
  color: #d5def0;
  font-size: 0.95rem;
}
.service-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #9fb2d6;
}

/* Enquiry form refresh */
.enquiry-section{
  padding: 86px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
}
.enquiry-wrap{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items:start;
}
.enquiry-copy .section-title{
  margin:0 0 10px;
}
.enquiry-copy .section-intro{
  margin:0 0 18px;
  color:#c7d2e5;
  max-width: 52ch;
}
.enquiry-copy a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.enquiry-points{ display:grid; gap:10px; margin: 18px 0 18px; }
.enquiry-point{ display:flex; align-items:center; gap:10px; color:#d7e2f6; }
.ep-dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(66, 153, 225, 0.95);
  box-shadow: 0 0 0 6px rgba(66,153,225,0.12);
}
.enquiry-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top: 18px; }
.chip{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #e9f1ff;
  text-decoration:none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.chip:hover{ transform: translateY(-2px); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.16); }

.enquiry-card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.30);
}
.enquiry-form .form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 14px;
}
.enquiry-form .field{ display:flex; flex-direction:column; gap:8px; }
.enquiry-form .field.full{ grid-column: 1 / -1; }
.enquiry-form label{
  font-size: 0.92rem;
  color: #d9e4f8;
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 12, 22, 0.55);
  color: #eef5ff;
  outline: none;
}
.enquiry-form textarea{ resize: vertical; min-height: 120px; }
.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder{ color: rgba(231, 240, 255, 0.65); }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus{
  border-color: rgba(66,153,225,0.55);
  box-shadow: 0 0 0 4px rgba(66,153,225,0.15);
}
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.form-actions{ display:flex; align-items:center; gap:14px; margin-top: 14px; }
.form-actions .btn.primary{
  padding: 12px 16px;
  border-radius: 12px;
}
.form-help{ margin:0; color:#a8bddf; font-size:0.9rem; }
.form-status{ margin-top: 12px; color:#d7e2f6; font-size:0.92rem; }

@media (max-width: 900px){
  .enquiry-wrap{ grid-template-columns: 1fr; }
  .enquiry-card{ padding: 18px; }
}
@media (max-width: 520px){
  .enquiry-form .form-grid{ grid-template-columns: 1fr; }
  .form-actions{ flex-direction: column; align-items: stretch; }
  .form-actions .btn.primary{ width:100%; }
}

/* Equipment section */
.equipment-section{
  padding: 80px 0;
}
.equipment-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 26px;
}
.equipment-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 26px;
}
.equipment-card h3{
  margin-top:0;
  font-size:1.2rem;
}
.equip-desc{
  color:#d3def3;
  font-size:0.95rem;
  margin-bottom:12px;
}
.equip-specs{
  list-style:none;
  padding:0;
  margin:0;
}
.equip-specs li{
  padding:6px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
  font-size:0.92rem;
}
.equip-specs li:last-child{ border-bottom:none; }

/* Mural slideshow quote */
.mural-quote{
  margin-top: 40px;
  display:flex;
  justify-content:center;
}
.mural-quote blockquote{
  max-width: 760px;
  padding: 26px 32px;
  background: rgba(255,255,255,0.04);
  border-left: 4px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  text-align: center;
}
.mural-quote blockquote p{
  font-size: 1.25rem;
  font-style: italic;
  color: #eef3ff;
  margin-bottom: 12px;
}
.mural-quote blockquote footer{
  font-size: 0.95rem;
  color: #c7d2e5;
}

/* Information section */
.info-section{
  padding: 86px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
}
.info-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 28px;
}
.info-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 24px;
}
.info-head{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 12px;
}
.info-ico{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 20px;
  flex: 0 0 auto;
}
.info-card h3{
  margin: 2px 0 0;
  font-size: 1.15rem;
}
.info-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap: 10px;
  color: #d7e2f6;
  font-size: 0.95rem;
}
.info-list li{
  position: relative;
  padding-left: 18px;
}
.info-list li:before{
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  opacity: 0.85;
}
.info-list.compact{
  gap: 8px;
  font-size: 0.93rem;
}
.info-note{
  margin-top: 12px;
  color:#a8bddf;
  font-size: 0.92rem;
}
.info-note a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Accordion */
.info-accordion{ display:grid; gap: 10px; }
.acc-btn{
  width:100%;
  text-align:left;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8, 12, 22, 0.35);
  color: #eef5ff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  cursor:pointer;
}
.acc-btn:hover{ background: rgba(8, 12, 22, 0.45); }
.acc-plus{ font-weight: 800; opacity: 0.9; }
.acc-panel{
  display:none;
  padding: 10px 6px 4px 6px;
}
.acc-panel.open{ display:block; }

/* Hero stats - modern pill buttons (override) */
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 22px;
}
.hero-stat{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.hero-stat-num{
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  color: #ffffff;
}
.hero-stat-label{
  margin: 0;
  font-size: 0.90rem;
  line-height: 1.1;
  color: rgba(231,240,255,0.88);
  white-space: nowrap;
}
.hero-stat-label br{ display:none; }
.hero-stat-label small{
  font-size: 0.92em;
  opacity: 0.85;
}
@media (max-width: 520px){
  .hero-stats{
    gap: 10px;
  }
  .hero-stat{
    width: 100%;
    justify-content: space-between;
    padding: 11px 14px;
  }
  .hero-stat-label{
    white-space: normal;
    text-align: right;
  }
}

/* Equipment images */
.equip-figure{
  margin: 14px 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
}
.equip-figure img{
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
}

/* FINAL OVERRIDE: Hero stats (professional, compact, consistent) */
.hero-stats{
  display:flex !important;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 18px;
  align-items:center;
}
.hero-stat{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-stat-num{
  font-size: 0.98rem !important;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
}
.hero-stat-label{
  font-size: 0.88rem !important;
  line-height: 1.1;
  color: rgba(231,240,255,0.88);
  white-space: nowrap;
  margin: 0;
}
.hero-stat-label small{
  font-size: 0.92em;
  opacity: 0.85;
}
@media (max-width: 520px){
  .hero-stats{ gap: 8px; }
  .hero-stat{ width: 100%; justify-content: space-between; }
  .hero-stat-label{ white-space: normal; text-align:right; }
}

/* FINAL OVERRIDE: Hero stats as small standout boxes */
.hero-stats{
  display:flex !important;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 18px;
  align-items:stretch;
}
.hero-stat{
  flex: 0 0 auto;
  min-width: 170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 28px rgba(0,0,0,0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-stat-num{
  font-size: 1.1rem !important;
  font-weight: 800;
  line-height: 1.05;
}
.hero-stat-label{
  font-size: 0.88rem !important;
  line-height: 1.15;
  color: rgba(231,240,255,0.86);
  margin-top: 6px;
  white-space: normal;
}
.hero-stat-label small{ font-size: 0.92em; opacity: 0.85; }

@media (max-width: 900px){
  .hero-stat{ min-width: calc(50% - 6px); }
}
@media (max-width: 520px){
  .hero-stat{ min-width: 100%; }
}

/* Equipment lightbox */
.equip-zoom{
  display:block;
  padding:0;
  border:none;
  background:transparent;
  width:100%;
  cursor: zoom-in;
}
.equip-zoom:focus{
  outline: none;
}
.equip-zoom:focus-visible{
  box-shadow: 0 0 0 4px rgba(66,153,225,0.22);
  border-radius: 14px;
}
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.lightbox.open{ display:block; }
.lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(4px);
}
.lightbox-dialog{
  position: relative;
  max-width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  top: 0;
  background: rgba(12, 18, 32, 0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.lightbox-img{
  width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}
.lightbox-close{
  position:absolute;
  right: 12px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color:#fff;
  font-size: 22px;
  cursor:pointer;
}
.lightbox-close:hover{ background: rgba(255,255,255,0.12); }
.lightbox-caption{
  margin-top: 10px;
  color: rgba(231,240,255,0.88);
  font-size: 0.95rem;
  text-align:center;
}

/* Utility */
.no-scroll{ overflow: hidden; }

/* Sticky header fix */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(10,14,24,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body{
  scroll-padding-top: 88px;
}

/* Reveal visibility fix (cards were hidden without this) */
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* FIX: reveal JS uses .reveal-in (not .is-visible). Ensure content appears. */
.reveal.reveal-in{
  opacity: 1 !important;
  transform: translateY(0) !important;
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* Fail-safe: if JS fails, still show content after load */
body.js-fallback .reveal{ opacity: 1 !important; transform:none !important; }

/* Header logo polish */
.site-header .logo img,
.site-header .brand img,
.site-header .navbar-brand img,
.site-header img[alt*="logo" i]{
  height: 52px;
  width: auto;
}
@media (max-width: 520px){
  .site-header .logo img,
  .site-header .brand img,
  .site-header .navbar-brand img,
  .site-header img[alt*="logo" i]{ height: 46px; }
}
.site-header .logo,
.site-header .brand,
.site-header .navbar-brand{
  position: relative;
  padding: 6px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

/* Hero actions + badges */
.hero-actions-pro{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero-badges{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
  max-width: 880px;
}
.badge-box{
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.26);
}
.badge-box strong{
  display:block;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
}
.badge-box span{
  display:block;
  margin-top: 4px;
  color: rgba(231,240,255,0.86);
  font-size: 0.90rem;
  line-height: 1.15;
}
.btn.btn-call{ background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); }
.btn.btn-whatsapp{ background: rgba(37, 211, 102, 0.20); border: 1px solid rgba(37, 211, 102, 0.50); }
.btn.btn-email{ background: rgba(66, 153, 225, 0.20); border: 1px solid rgba(66, 153, 225, 0.50); }
.btn.btn-call:hover{ background: rgba(255,255,255,0.14); }
.btn.btn-whatsapp:hover{ background: rgba(37, 211, 102, 0.28); }
.btn.btn-email:hover{ background: rgba(66, 153, 225, 0.28); }

@media (max-width: 900px){
  .hero-badges{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .hero-badges{ grid-template-columns: 1fr; }
  .hero-actions-pro .btn{ width: 100%; }
}

/* Services grid 2x2 layout polish */
.services-pro .services-grid,
#services .services-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 700px){
  .services-pro .services-grid,
  #services .services-grid{ grid-template-columns: 1fr; }
}

/* Equipment images: crisper + consistent */
.equip-figure img{
  height: 210px !important;
  object-fit: contain !important;
  background: #fff !important;
  padding: 12px !important;
}

/* Consistent section spacing */
section{scroll-margin-top:var(--headerOffset);}
.section-intro{ max-width: 70ch; }

/* === Layout fix: hero badges use grid (media queries expect columns) === */
.hero-badges{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 900px){
  .hero-badges{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .hero-badges{ grid-template-columns: 1fr; }
}

/* Gallery quote */
.gallery-quote{ margin-top: 22px; display:flex; justify-content:center; }
.gallery-quote blockquote{
  max-width: 820px;
  padding: 22px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  text-align:center;
}
.gallery-quote p{ margin:0 0 10px; font-size: 1.15rem; font-style: italic; color: #eef3ff; }
.gallery-quote footer{ color:#c7d2e5; font-size: 0.95rem; }

/* Floating home/back buttons */
.floating-nav{
  position: fixed;
  right: 14px;
  bottom: 14px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  z-index: 11000;
}
.float-btn{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(12,18,32,0.82);
  color:#fff;
  cursor:pointer;
  text-decoration:none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.float-btn:hover{ background: rgba(12,18,32,0.92); }

/* Enquiry captcha + file help */
.field-help{ color:#a8bddf; font-size:0.86rem; }
.captcha-wrap{
  display:grid;
  grid-template-columns: 140px 1fr 44px;
  gap: 10px;
  align-items:center;
}
.captcha-code{
  display:flex; align-items:center; justify-content:center;
  height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 900; letter-spacing: 3px; color:#eef5ff;
  user-select:none;
}
.captcha-refresh{
  height: 44px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color:#eef5ff; cursor:pointer;
}
.captcha-refresh:hover{ background: rgba(255,255,255,0.10); }
@media (max-width:520px){
  .captcha-wrap{ grid-template-columns: 1fr; }
  .captcha-refresh{ width: 100%; }
}


@media (max-width: 800px){
  .nav-dropdown{width:100%}
  .nav-dropbtn{width:100%;justify-content:space-between}
  .nav-dropdown-menu{
    position:static;
    min-width:0;
    margin-top:6px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:none;
  }
}

html{scroll-behavior:smooth;}
:root{--headerOffset:96px;}

section[id]{scroll-margin-top:var(--headerOffset);}

/* Menu panel dropdown styling */
.nav-links .nav-dropdown{width:100%;display:flex;flex-direction:column;align-items:stretch}
.nav-links .nav-dropbtn{width:100%;justify-content:space-between;border-radius:12px;border:1px solid rgba(255,255,255,0.10);background:rgba(255,255,255,0.02)}
.nav-links .nav-dropdown-menu{position:static;min-width:unset;width:100%;margin-top:8px;background:rgba(0,0,0,0.18);border:1px solid rgba(255,255,255,0.10)}
.nav-links a{display:flex;align-items:center;justify-content:flex-start}

/* Menu panel responsive */
@media (max-width: 800px){
  .nav-links{left:0;right:0;width:calc(100vw - 24px);margin:10px auto 0}
}


/* === SCS PATCH: icon-only header menu === */
/* Ensure nav links never show unless menu is explicitly opened */
.nav-links{display:none !important;}
body.menu-open .nav-links{display:flex !important;}

/* Calculator responsiveness: prevent overflow on small screens */
@media (max-width: 900px){
  .form-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
}
@media (max-width: 560px){
  .form-grid{grid-template-columns:1fr;}
  .calc-title{flex-direction:column;align-items:flex-start;}
  .calc-actions{width:100%;}
  .calc-actions .btn{width:100%;}
}
/* Any wide output areas should scroll instead of overflowing */
.calc-wrap .card{max-width:100%;}
.calc-wrap table{display:block;max-width:100%;overflow-x:auto;}


/* === SCS v3: Icon-only header + panel menu (cache-bust) === */
.nav-links{display:none !important;} /* safety: never show legacy links */
.menu-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(255,255,255,0.14);background:rgba(255,255,255,0.04);border-radius:14px;padding:10px 12px;cursor:pointer}
.menu-btn:focus-visible{outline:2px solid rgba(14,165,233,0.65);outline-offset:2px}
.menu-panel{position:absolute;right:16px;top:calc(100% + 10px);width:min(360px, calc(100vw - 32px));display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:18px;border:1px solid rgba(255,255,255,0.10);background:rgba(11,18,32,0.94);backdrop-filter:saturate(140%) blur(10px);box-shadow:0 18px 40px rgba(0,0,0,0.35);z-index:90}
.menu-panel[hidden]{display:none !important;}
.menu-panel a{display:flex;align-items:center;justify-content:flex-start;padding:10px 12px;border-radius:12px;text-decoration:none;color:var(--text);font-weight:650;border:1px solid rgba(255,255,255,0.10);background:rgba(255,255,255,0.02)}
.menu-panel a:hover{background:rgba(255,255,255,0.06)}
.menu-panel .menu-subtoggle{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,0.10);background:rgba(255,255,255,0.02);color:var(--text);font-weight:750;cursor:pointer}
.menu-panel .menu-sub{display:flex;flex-direction:column;gap:8px;padding-left:6px}
.menu-panel .menu-sub[hidden]{display:none !important;}
.menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:80}
.menu-overlay[hidden]{display:none !important;}
/* Prevent accidental horizontal scroll on mobile */
html, body{max-width:100%;overflow-x:hidden;}
/* Calculator mobile hardening */
.calc-app, .calc-app *{max-width:100%;}
.calc-app input, .calc-app select, .calc-app textarea, .calc-app button{max-width:100%;}


/* === v3 menu active section highlight === */
.menu-panel a.active{background:rgba(255,255,255,0.10);border-left:3px solid rgba(255,255,255,0.75);padding-left:13px}
.menu-panel .menu-subtoggle.active{background:rgba(255,255,255,0.08)}


/* === Enquiry status modal (success/error) === */
.status-modal[hidden]{display:none !important;}
.status-modal{
  position:fixed; inset:0;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.45);
  z-index:9999;
}
.status-modal__dialog{
  width:min(560px, 100%);
  background:#fff;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  overflow:hidden;
}
.status-modal__top{
  display:flex; gap:12px; align-items:center;
  padding:18px 18px 10px 18px;
}
.status-modal__icon{
  width:38px; height:38px;
  display:grid; place-items:center;
  border-radius:999px;
  font-size:20px;
  flex:0 0 auto;
}
.status-modal__icon--success{background:rgba(34,197,94,.14);}
.status-modal__icon--error{background:rgba(239,68,68,.14);}
.status-modal__title{
  margin:0;
  font-size:18px;
  line-height:1.25;
}
.status-modal__body{
  padding:0 18px 18px 18px;
  color:rgba(0,0,0,.78);
}
.status-modal__actions{
  display:flex; justify-content:flex-end;
  padding:12px 18px 18px 18px;
}
.status-modal__btn{
  border:0;
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:600;
}
.status-modal__btn:focus{outline:2px solid rgba(0,0,0,.2); outline-offset:2px;}



/* Header height reduction (sleeker) */
.site-header,
header.site-header{
  padding-top:10px;
  padding-bottom:10px;
}
@media(max-width:768px){
  .site-header,
  header.site-header{
    padding-top:8px;
    padding-bottom:8px;
  }
}

/* Logo badge hover polish */
.site-logo-wrap{
  transition: transform 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}
.site-logo-wrap:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.site-logo-wrap:active{
  transform: translateY(0px) scale(0.99);
}
