/* =========================================
   TOKENS / THEME
========================================= */
:root{
  /* Page */
  --page-bg:#ffffff;
  --page-text:#0b1220;

  /* Nav */
  --nav-bg:#ffffff;
  --nav-text:#111827;
  --nav-border:rgba(0,0,0,.06);

  /* Core palette */
  --bg:#0b1020;
  --bg2:#0a1428;

  --white:#ffffff;
  --muted:#6b7280;
  --muted2:#9ca3af;

  --soft:#f4f7fb;
  --line:rgba(255,255,255,.10);

  --shadow:0 18px 40px rgba(0,0,0,.22);
  --radius:18px;

  --green:#16a34a;
  --green2:#22c55e;

  /* Premium helpers (lightweight) */
  --shadow-soft:0 14px 30px rgba(0,0,0,.08);
  --shadow-card:0 16px 34px rgba(0,0,0,.10);
  --ring:0 0 0 4px rgba(22,163,74,.12);

  /* Premium motion tokens */
  --ease-premium: cubic-bezier(.16, 1, .3, 1);
  --reveal-dur: .62s;
  --reveal-dur-fast: .42s;
  --reveal-stagger: 70ms;
}

/* Optional dark theme hook (if your JS toggles html[data-theme="dark"]) */
html[data-theme="dark"]{
  --page-bg:#0b1020;
  --page-text:#ffffff;

  --nav-bg:rgba(10,20,40,.78);
  --nav-text:#ffffff;
  --nav-border:rgba(255,255,255,.10);
}

/* =========================================
   BASE / RESETS
========================================= */
*{box-sizing:border-box; max-width:100%}
html,body{height:100%}
html, body{width:100%; overflow-x:hidden}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--page-text);
  background:var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button{font:inherit}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================
   LAYOUT UTILITIES
========================================= */
.wrap{width:min(1100px, 92%); margin:0 auto}
.center{text-align:center}
.muted{color:var(--muted)}
.small{font-size:.92rem}

/* Prevent grid children from forcing overflow */
.twoCol,
.stackGrid,
.serviceGrid,
.portGrid,
.mosaic,
.footerGrid,
.ctaInner{min-width:0}

.projCard,
.serviceCard,
.statBox,
.stackItem,
.priceCard{min-width:0}

/* =========================================
   TOAST
========================================= */
.toast{
  position:fixed; z-index:60;
  left:50%; top:16px; transform:translateX(-50%);
  padding:12px 14px;
  border-radius:999px;
  box-shadow:var(--shadow);
  color:#fff;
  max-width:min(560px, 92%);
  font-weight:600;
}
.toast--success{background:linear-gradient(90deg, var(--green), var(--green2))}
.toast--error{background:linear-gradient(90deg, #ef4444, #b91c1c)}

/* =========================================
   NAVBAR (desktop + mobile toggle)
========================================= */
.nav{
  position:sticky; top:0; z-index:50;
  background:var(--nav-bg);
  color:var(--nav-text);
  border-bottom:1px solid var(--nav-border);
  padding:10px 18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  backdrop-filter: blur(12px);
}

.brand{display:flex; align-items:center; gap:10px}
.brandLogo{width:38px; height:38px; color:var(--green)}
.brandText{line-height:1.05}
.brandName{font-weight:900; letter-spacing:.3px}
.brandTag{font-size:.78rem; color:var(--muted)}

.navLinks{display:flex; align-items:center; gap:18px; flex-wrap:wrap}
.navLinks a{color:var(--nav-text); font-weight:600; font-size:.95rem}
.navLinks a:hover{color:var(--green)}

.navRight{display:flex; align-items:center; gap:10px}

/* Profile icon (merged: keeps gradient + supports SVG) */
.profileIcon{
  width:36px; height:36px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(180deg, var(--green), var(--green2));
  color:#fff;
  box-shadow:0 10px 24px rgba(22,163,74,.25);
}
.profileSvg{width:18px; height:18px; display:block}

.iconBtn{
  width:36px; height:36px; border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff; cursor:pointer;
}
.iconBtn:hover{border-color:rgba(22,163,74,.35); color:var(--green)}

/* Dropdown */
.dd{position:relative}
.ddBtn{
  border:none; background:transparent; cursor:pointer;
  font-weight:700; color:var(--nav-text);
  padding:6px 8px; border-radius:10px;
}
.ddBtn:hover{background:rgba(22,163,74,.08); color:var(--green)}
.ddMenu{
  position:absolute; top:44px; left:0;
  min-width:240px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  padding:8px;
  display:none;
}
.ddMenu a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  font-weight:650;
}
.ddMenu a:hover{background:rgba(22,163,74,.08); color:var(--green)}
.dd.isOpen .ddMenu{display:block}

/* Mobile nav toggle + theme toggle */
.navActions{display:flex; align-items:center; gap:10px}

.navToggle{
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:transparent;
  display:none;
  cursor:pointer;
}
.navToggle span{
  display:block;
  width:20px; height:2px;
  background:currentColor;
  margin:4px auto;
  border-radius:2px;
}
.themeToggle{
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:transparent;
  cursor:pointer;
  display:grid; place-items:center;
  font-weight:950;
}
html[data-theme="dark"] .navToggle,
html[data-theme="dark"] .themeToggle{
  border-color: rgba(255,255,255,.12);
}

/* Mobile nav panel */
.navMobile{
  display:none;
  position:fixed;
  left:0; right:0;
  top:64px;
  background:var(--nav-bg);
  border-top:1px solid var(--nav-border);
  border-bottom:1px solid var(--nav-border);
  padding:14px 18px;
  z-index:49;
  box-shadow:var(--shadow);
}
.navMobile a{
  display:block;
  padding:12px 10px;
  border-radius:12px;
  font-weight:900;
}
.navMobile a:hover{
  background:rgba(22,163,74,.08);
  color:var(--green);
}
html[data-theme="dark"] .navMobile a:hover{
  background: rgba(255,215,0,.10);
}
body.navOpen .navMobile{display:block}

/* =========================================
   HERO
========================================= */
.hero{
  position:relative;
  min-height:68vh;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(1000px 500px at 30% 30%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(800px 400px at 70% 40%, rgba(59,130,246,.16), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}
.heroCanvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  opacity:.95;
}
.heroInner{
  position:relative;
  width:min(1100px, 92%);
  padding:70px 0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.heroLeft{max-width:640px; color:#fff}
.heroLeft h1{
  margin:0 0 12px;
  font-weight:950;
  letter-spacing:.6px;
  font-size:clamp(2rem, 5vw, 3.3rem);
}
.accent{color:var(--green2)}
.heroLeft p{
  margin:0 0 18px;
  color:rgba(255,255,255,.78);
  font-size:1.05rem;
  line-height:1.55;
  max-width:56ch;
}
.heroBtns{display:flex; gap:12px; flex-wrap:wrap}
.hero--home .heroInner{justify-content:flex-start}

/* =========================================
   BUTTONS (premium micro)
========================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:800;
  border:1px solid transparent;
  cursor:pointer;
  transition:
    transform .14s var(--ease-premium),
    filter .14s var(--ease-premium),
    background .14s var(--ease-premium),
    border-color .14s var(--ease-premium);
}
.btn:hover{transform:translateY(-2px); filter:brightness(1.03)}
.btn:active{transform:translateY(0px)}
.btnPrimary{
  color:#fff;
  background:linear-gradient(90deg, var(--green), var(--green2));
  box-shadow:0 18px 42px rgba(22,163,74,.22);
}
.btnPrimary:hover{filter:brightness(1.06)}
.btnGhost{
  color:#fff;
  background:transparent;
  border-color:rgba(255,255,255,.22);
}
.btnGhost:hover{background:rgba(255,255,255,.08)}
.full{width:100%}

/* Email CTA icon */
.btnWithIcon{display:inline-flex; align-items:center; justify-content:center}
.btnIcon{
  width:18px;
  height:18px;
  display:inline-block;
  vertical-align:-3px;
  margin-right:8px;
  opacity:.65;
}

/* =========================================
   SECTIONS / GRIDS
========================================= */
.section{padding:56px 0}
.section.white{background:#fff}
.section.soft{background:var(--soft)}

.twoCol{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:start;
}

/* =========================================
   CARDS + STATS
========================================= */
.card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}

.stats{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}

.statBox{
  background:linear-gradient(180deg, #fff, #f9fbff);
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.statNum{font-size:1.1rem; font-weight:900; color:#111827; margin:0}
.statLbl{font-size:.92rem; color:var(--muted); margin-top:4px}
.statText{display:block}

.statIcon{
  width:42px; height:42px;
  border-radius:14px;
  display:grid; place-items:center;
  flex:0 0 42px;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
}
.statIcon svg{
  width:22px; height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.statIcon--speed{ color:#f59e0b; background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.18); }
.statIcon--secure{ color:#22c55e; background:rgba(34,197,94,.12); border-color:rgba(34,197,94,.18); }
.statIcon--convert{ color:#3b82f6; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.18); }
.statIcon--clean{ color:#a855f7; background:rgba(168,85,247,.12); border-color:rgba(168,85,247,.18); }

.stackGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin-top:14px;
}
.stackItem{
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  background:#fff;
  font-weight:800;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.techIcon{width:22px; height:22px; margin-right:10px; flex:0 0 auto}

/* =========================================
   WHY GRID
========================================= */
.whyGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
  margin-top:16px;
}
.whyCard{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow:var(--shadow-soft);
  padding:16px;
  min-height:210px;
}
.whyCard h3{ margin:0 0 8px; font-weight:950; }
.whyCard p{ margin:0; color:var(--muted); line-height:1.55; font-weight:650; }

.whyIconPill{
  width:46px; height:46px;
  border-radius:16px;
  display:grid; place-items:center;
  border:1px solid rgba(0,0,0,.06);
  margin-bottom:10px;
}
.whyIconPill svg{
  width:22px; height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.whyIconPill--speed{ color:#f59e0b; background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.18); }
.whyIconPill--secure{ color:#22c55e; background:rgba(34,197,94,.12); border-color:rgba(34,197,94,.18); }
.whyIconPill--layout{ color:#3b82f6; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.18); }
.whyIconPill--maintain{ color:#a855f7; background:rgba(168,85,247,.12); border-color:rgba(168,85,247,.18); }

/* =========================================
   SERVICES
========================================= */
.serviceHead{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}
.serviceArrows{display:flex; gap:10px}

.serviceGrid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
}

.serviceCard{
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(34,197,94,.06), rgba(255,255,255,1));
  border:1px solid rgba(34,197,94,.18);
  box-shadow:var(--shadow-card);
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.serviceTop{display:flex; justify-content:space-between; align-items:center}
.serviceNo{
  font-weight:1000;
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.22);
  padding:6px 10px;
  border-radius:999px;
  color:#166534;
}

/* Gradient panels */
.serviceImg{
  height:150px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  background:
    radial-gradient(360px 160px at 30% 30%, rgba(34,197,94,.30), transparent 60%),
    radial-gradient(360px 160px at 80% 30%, rgba(59,130,246,.20), transparent 60%),
    linear-gradient(180deg, #0b1020, #0a1428);
}
.serviceImg--two{
  background:
    radial-gradient(360px 160px at 30% 30%, rgba(34,197,94,.22), transparent 60%),
    radial-gradient(360px 160px at 70% 40%, rgba(168,85,247,.18), transparent 60%),
    linear-gradient(180deg, #0b1020, #0a1428);
}
.serviceImg--three{
  background:
    radial-gradient(360px 160px at 30% 30%, rgba(34,197,94,.26), transparent 60%),
    radial-gradient(360px 160px at 70% 40%, rgba(245,158,11,.16), transparent 60%),
    linear-gradient(180deg, #0b1020, #0a1428);
}
.serviceImg--four{
  background:
    radial-gradient(360px 160px at 30% 30%, rgba(34,197,94,.22), transparent 60%),
    radial-gradient(360px 160px at 70% 40%, rgba(239,68,68,.14), transparent 60%),
    linear-gradient(180deg, #0b1020, #0a1428);
}
.serviceActions{display:none}

/* =========================================
   CONTACT
========================================= */
.contactGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:22px;
}
.form{padding:18px}
.form label{display:block; font-weight:800; margin:10px 0 12px}
.form input, .form textarea{
  width:100%;
  margin-top:6px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  padding:12px 12px;
  outline:none;
  background:#fff;
}
.form input:focus, .form textarea:focus{
  border-color:rgba(22,163,74,.45);
  box-shadow:var(--ring);
}
.err{color:#dc2626; font-weight:700; display:block; margin-top:6px}
.hp{position:absolute; left:-9999px; width:1px; height:1px; opacity:0}

.info{padding:18px}
.info h3{margin:0 0 10px}
.infoRow{margin:10px 0; color:#111827; font-weight:700}
.mapWrap{
  margin-top:12px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  min-height:280px;
  background:#f3f4f6;
}
.mapWrap.placeholder{
  display:grid; place-items:center;
  padding:14px;
  color:var(--muted);
  font-weight:700;
}

.contactCards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.mini{padding:18px}
.bigIcon{font-size:2rem; margin-bottom:10px}

/* =========================================
   PRICING
========================================= */
.currencyToggle{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:18px 0 20px;
}
.pillBtn{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
.pillBtn.isActive{
  border-color:rgba(22,163,74,.55);
  box-shadow:var(--ring);
  color:var(--green);
}
.pricingGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:12px;
}
.priceCard{
  border-radius:22px;
  background:linear-gradient(180deg, #ffffff, #fbfdff);
  border:1px solid rgba(10, 170, 36, 0.08);
  box-shadow:var(--shadow-card);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.priceCard.featured{
  border-color:rgba(22,163,74,.55);
  box-shadow:0 18px 40px rgba(22,163,74,.16);
}
.priceHead{display:flex; align-items:center; justify-content:space-between}
.priceName{font-weight:950; font-size:1.05rem}
.badge{
  font-size:.72rem;
  font-weight:950;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(22,163,74,.12);
  color:var(--green);
  border:1px solid rgba(22,163,74,.22);
}
.priceAmount{font-size:1.6rem; font-weight:1000}
.featList{margin:0; padding:0 0 0 18px; color:#111827}
.featList li{margin:8px 0; font-weight:700}

/* =========================================
   FAQ
========================================= */
.faq{max-width:860px; margin:14px auto 0}
details{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  padding:12px 14px;
  margin:10px 0;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}
summary{cursor:pointer; font-weight:900}
details p{margin:10px 0 0; color:var(--muted); line-height:1.55}

/* =========================================
   PORTFOLIO
========================================= */
.portGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin-top:22px;
}
.projCard{
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow:var(--shadow-card);
  cursor:pointer;
  position:relative;
}
.projTop{
  padding:12px 14px;
  display:flex; justify-content:space-between; align-items:center;
}
.projTitle{font-weight:950}
.projCat{font-size:.86rem; color:var(--muted); font-weight:750}
.shot{
  height:240px;
  overflow:hidden;
  border-top:1px solid rgba(0,0,0,.06);
  background:#0b1020;
}
.shot img{
  width:100%;
  height:auto;
  transform:translateY(0px);
  transition:none; /* removed motion (kept) */
  will-change:auto;
}
.projHint{
  position:absolute;
  right:10px; bottom:10px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-weight:900;
  font-size:.8rem;
}
.projCard:hover .projHint{background:rgba(22,163,74,.75)}
.projCard.isScrolling .projHint{background:rgba(22,163,74,.95)}

/* Mosaic */
.mosaic{
  display:grid;
  grid-template-columns: 1.1fr .9fr 1.1fr;
  grid-template-rows: 1fr 1fr;
  gap:16px;
  grid-template-areas:
    "A B D"
    "A C D";
}
.mosaicA{grid-area:A}
.mosaicB{grid-area:B}
.mosaicC{grid-area:C}
.mosaicD{grid-area:D}

/* =========================================
   CTA
========================================= */
.ctaBar{
  background:linear-gradient(90deg, var(--green), var(--green2));
  color:#fff;
  padding:34px 0;
}
.ctaInner{
  width:min(1100px, 92%);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.ctaText h3{margin:0 0 6px; font-weight:1000}
.ctaText p{margin:0; opacity:.9}

/* =========================================
   FOOTER
========================================= */
.footer{
  background:#071022;
  color:#d1d5db;
  padding:34px 0 18px;
}
.footerGrid{
  width:min(1100px, 92%);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap:18px;
}
.footTitle{font-weight:1000; color:#fff; margin-bottom:10px}
.footHead{font-weight:950; color:#fff; margin-bottom:10px}
.footMuted{color:#9ca3af; line-height:1.55}
.footerGrid a{display:block; color:#cbd5e1; margin:8px 0; font-weight:700}
.footerGrid a:hover{color:#fff}
.socialRow{display:flex; gap:10px; margin-top:12px}
.socialRow span{
  width:32px; height:32px; border-radius:999px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.12);
}
.footerBottom{
  width:min(1100px, 92%);
  margin:18px auto 0;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
}
.footLegal{display:flex; gap:10px; align-items:center}
.footLegal a{color:#cbd5e1; font-weight:800}
.footLegal a:hover{color:#fff}

/* =========================================
   REVEAL (ENABLED: premium animation system)
========================================= */
.reveal{
  opacity:0;
  transform: translateY(16px);
  filter: blur(2px);
  transition:
    opacity var(--reveal-dur) var(--ease-premium),
    transform var(--reveal-dur) var(--ease-premium),
    filter var(--reveal-dur) var(--ease-premium);
  will-change: transform, opacity, filter;
}
.reveal.isVisible{
  opacity:1;
  transform: translateY(0);
  filter: blur(0);
}

/* Slide variations */
.reveal--left{ transform: translateX(-22px); }
.reveal--right{ transform: translateX(22px); }
.reveal--up{ transform: translateY(22px); }
.reveal--down{ transform: translateY(-22px); }

/* Pop/zoom variations */
.reveal--pop{
  transform: translateY(10px) scale(.965);
  filter: blur(1px);
}
.reveal--zoom{
  transform: scale(.94);
  filter: blur(2px);
}
.reveal--tilt{
  transform: translateY(14px) rotate(-1deg) scale(.985);
  transform-origin: 20% 70%;
}
.reveal--fast{
  transition-duration: var(--reveal-dur-fast);
}

/* Stagger children (add class="reveal stagger" on parent) */
.stagger > *{
  opacity:0;
  transform: translateY(12px);
  transition:
    opacity var(--reveal-dur) var(--ease-premium),
    transform var(--reveal-dur) var(--ease-premium);
  will-change: transform, opacity;
}
.stagger.isVisible > *{
  opacity:1;
  transform: translateY(0);
}
.stagger.isVisible > *:nth-child(1){ transition-delay: calc(var(--reveal-stagger) * 1); }
.stagger.isVisible > *:nth-child(2){ transition-delay: calc(var(--reveal-stagger) * 2); }
.stagger.isVisible > *:nth-child(3){ transition-delay: calc(var(--reveal-stagger) * 3); }
.stagger.isVisible > *:nth-child(4){ transition-delay: calc(var(--reveal-stagger) * 4); }
.stagger.isVisible > *:nth-child(5){ transition-delay: calc(var(--reveal-stagger) * 5); }
.stagger.isVisible > *:nth-child(6){ transition-delay: calc(var(--reveal-stagger) * 6); }
.stagger.isVisible > *:nth-child(7){ transition-delay: calc(var(--reveal-stagger) * 7); }
.stagger.isVisible > *:nth-child(8){ transition-delay: calc(var(--reveal-stagger) * 8); }
.stagger.isVisible > *:nth-child(9){ transition-delay: calc(var(--reveal-stagger) * 9); }
.stagger.isVisible > *:nth-child(10){ transition-delay: calc(var(--reveal-stagger) * 10); }
.stagger.isVisible > *:nth-child(11){ transition-delay: calc(var(--reveal-stagger) * 11); }
.stagger.isVisible > *:nth-child(12){ transition-delay: calc(var(--reveal-stagger) * 12); }

/* Premium hover micro for cards (light) */
.card,
.serviceCard,
.projCard,
.priceCard,
.whyCard,
.statBox,
.stackItem,
.testCard,
.panelCard,
.authBox,
details{
  transition:
    transform .16s var(--ease-premium),
    box-shadow .16s var(--ease-premium),
    border-color .16s var(--ease-premium);
  will-change: transform;
}
.card:hover,
.serviceCard:hover,
.projCard:hover,
.priceCard:hover,
.whyCard:hover,
.testCard:hover,
.panelCard:hover,
details:hover{
  transform: translateY(-4px);
}

/* =========================================
   UNIVERSAL FORMS + ADMIN UI
========================================= */
.formCard,
form.formUI{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow:var(--shadow-soft);
  padding:18px;
}

/* If your pages don't use .formUI, style ALL forms inside main */
main form{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  box-shadow:var(--shadow-soft);
  padding:18px;
}

main form h1,
main form h2,
main form h3{
  margin:0 0 14px;
  font-weight:950;
  letter-spacing:.2px;
}

main form label{
  display:block;
  font-weight:900;
  margin:12px 0 8px;
  color:#111827;
}

main form input,
main form select,
main form textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  padding:12px 12px;
  background:#fff;
  outline:none;
  font-size:1rem;
  transition: box-shadow .15s ease, border-color .15s ease;
}
main form textarea{min-height:120px; resize:vertical}

main form input:focus,
main form select:focus,
main form textarea:focus{
  border-color:rgba(22,163,74,.55);
  box-shadow:0 0 0 4px rgba(22,163,74,.14);
}

main form input::placeholder,
main form textarea::placeholder{
  color:rgba(107,114,128,.75);
  font-weight:650;
}

main form button,
main form .btn{margin-top:12px}

main form button[type="submit"],
main form button.primaryBtn{
  width:100%;
  border:none;
  border-radius:999px;
  padding:12px 16px;
  font-weight:950;
  cursor:pointer;
  color:#fff;
  background:linear-gradient(90deg, var(--green), var(--green2));
  box-shadow:0 18px 42px rgba(22,163,74,.22);
}
main form button[type="submit"]:hover{filter:brightness(1.05)}

main form button[type="button"],
main form .btnSecondary{
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111827;
  border-radius:999px;
  padding:12px 16px;
  font-weight:900;
  cursor:pointer;
}
main form button[type="button"]:hover,
main form .btnSecondary:hover{
  border-color:rgba(22,163,74,.35);
  color:var(--green);
}

.formError,.err{
  display:block;
  margin-top:8px;
  color:#dc2626;
  font-weight:850;
}
.formHint{
  margin-top:8px;
  color:#6b7280;
  font-weight:700;
  font-size:.92rem;
}

.formRowInline{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
}
.formRowInline input[type="checkbox"]{
  width:18px; height:18px;
  margin:0;
}

/* Auth */
.authWrap{
  min-height:calc(100vh - 140px);
  display:grid;
  place-items:center;
  padding:26px 0;
}
.authBox{
  width:min(520px, 94%);
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:20px;
  box-shadow:var(--shadow-card);
  padding:18px;
}
.authTitle{margin:0 0 8px; font-weight:1000}
.authSub{margin:0 0 14px; color:var(--muted); font-weight:700}

/* Tables */
.tableWrap{
  overflow-x:auto;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:var(--shadow-soft);
  background:#fff;
}
table{width:100%; border-collapse:collapse; min-width:720px}
thead th{
  text-align:left;
  font-weight:950;
  padding:12px 14px;
  background:#f7fafc;
  border-bottom:1px solid rgba(0,0,0,.08);
  color:#111827;
}
tbody td{
  padding:12px 14px;
  border-bottom:1px solid rgba(0,0,0,.06);
  color:#111827;
  font-weight:650;
}
tbody tr:hover{background:rgba(22,163,74,.05)}

.tableActions{display:flex; gap:10px; flex-wrap:wrap}
.btnMini{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}
.btnMini:hover{border-color:rgba(22,163,74,.35); color:var(--green)}
.btnMiniDanger{border-color:rgba(239,68,68,.35); color:#b91c1c}
.btnMiniDanger:hover{background:rgba(239,68,68,.08); border-color:rgba(239,68,68,.55)}

/* Dashboard cards */
.panelGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}
.panelCard{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.panelCard h3{margin:0 0 8px; font-weight:950}
.panelMeta{color:var(--muted); font-weight:750}

/* Status pills */
.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-weight:950;
  font-size:.82rem;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
}
.pillGreen{border-color:rgba(22,163,74,.25); background:rgba(22,163,74,.10); color:var(--green)}
.pillRed{border-color:rgba(239,68,68,.25); background:rgba(239,68,68,.10); color:#b91c1c}
.pillGray{border-color:rgba(107,114,128,.25); background:rgba(107,114,128,.10); color:#374151}

/* =========================================
   TESTIMONIALS (slider)
========================================= */
.testSlider{
  position:relative;
  margin-top:18px;
  padding:8px 4px 2px;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth;
  scrollbar-width:none;
  border-radius:22px;
}
.testSlider::-webkit-scrollbar{display:none}

.testTrack{
  display:flex;
  gap:14px;
  align-items:stretch;
  width:max-content;
  padding:4px 10px 10px;
}

.testCard{
  flex:0 0 clamp(280px, 34vw, 420px);
  background:linear-gradient(180deg, #fff, #fbfdff);
  border:1px solid rgba(0,0,0,.08);
  border-radius:20px;
  box-shadow:var(--shadow-card);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:220px;
}

.testStars{
  font-weight:950;
  letter-spacing:.6px;
  color:#f59e0b;
  font-size:1.05rem;
}

.testMsg{
  margin:0;
  color:#111827;
  line-height:1.6;
  font-weight:700;
  max-height:9.8em;
  overflow:auto;
  padding-right:6px;
}
.testMsg::-webkit-scrollbar{width:6px}
.testMsg::-webkit-scrollbar-thumb{background:rgba(0,0,0,.18); border-radius:999px}

.testBy{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:auto;
  padding-top:10px;
  border-top:1px solid rgba(0,0,0,.06);
}
.testAvatar{
  width:38px; height:38px;
  border-radius:14px;
  display:grid; place-items:center;
  font-weight:1000;
  color:#0b1020;
  background:linear-gradient(180deg, rgba(34,197,94,.20), rgba(59,130,246,.14));
  border:1px solid rgba(0,0,0,.06);
}
.testName{font-weight:950}

/* =========================================
   FLOATING BUTTONS (no animations kept)
========================================= */
/* WhatsApp Floating Button (LEFT) */
.waFloat{
  position:fixed;
  left:16px;
  right:auto;
  bottom:16px;
  z-index:55;

  width:56px;
  height:56px;
  padding:0;
  border-radius:999px;

  display:grid;
  place-items:center;

  background:#25D366;
  color:#fff;

  box-shadow:0 18px 42px rgba(37,211,102,.35);
}
.waFloat .waSvg{width:30px; height:30px; display:block}
.waFloat:hover{filter:brightness(1.05)}

/* Back-to-top (RIGHT) */
.toTop{
  position:fixed;
  right:16px;
  left:auto;
  bottom:16px;
  z-index:60;

  width:48px;
  height:48px;
  border-radius:999px;

  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  box-shadow:0 18px 42px rgba(0,0,0,.18);

  font-weight:1000;
  font-size:18px;
  cursor:pointer;

  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition: opacity .2s ease, transform .2s ease;
}
.toTop.isVisible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* When auto-scrolling, do NOT animate transform with CSS transitions */
.projCard.isScrolling .shot img{transition:none !important}

/* =========================================
   PREMIUM GREEN UNDERLINE (tiny)
========================================= */
.vtitle{
  position:relative;
  display:inline-block;
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.1;
}
.vtitle::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-7px;
  height:6px;
  background:linear-gradient(90deg,
    rgba(34,197,94,0) 0%,
    rgba(34,197,94,.95) 16%,
    rgba(34,197,94,.95) 84%,
    rgba(34,197,94,0) 100%
  );
  transform:skewX(-8deg);
  border-radius:999px;
  opacity:.9;
  pointer-events:none;
}

/* Home helper classes you added */
.vSectionTitle{margin:0 0 10px}
.vTwoColTop{margin-top:14px}
.vSubTitle{margin:0 0 10px}
.vHeadCenter{text-align:center; justify-content:center}
.vHeadSub{margin:8px 0 0}
.vPortfolioNote{margin:10px auto 0; max-width:720px}
.vNoImage{padding:18px; color:#fff; opacity:.8; font-weight:800}
.vCenterBtn{display:flex; justify-content:center; margin-top:18px}

/* =========================================
   RESPONSIVE BREAKPOINTS
========================================= */
@media (max-width: 1050px){
  .serviceGrid{grid-template-columns:repeat(2, 1fr)}
}
@media (max-width: 1000px){
  .portGrid{grid-template-columns:repeat(2, 1fr)}
}
@media (max-width: 980px){
  .pricingGrid{grid-template-columns:1fr}
  .panelGrid{grid-template-columns:1fr}
  table{min-width:620px}
  .whyGrid{grid-template-columns:repeat(2, 1fr)}
  .footerGrid{grid-template-columns:1fr 1fr}
}
@media (max-width: 900px){
  .contactGrid{grid-template-columns:1fr}
  .contactCards{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .twoCol{grid-template-columns:1fr}
  .navLinks{display:none}
  .navToggle{display:block}
  .heroInner{padding:56px 0}
  .ctaInner{flex-direction:column; align-items:flex-start}
}
@media (max-width: 720px){
  .stackGrid{grid-template-columns:repeat(2, 1fr)}
}
@media (max-width: 680px){
  .portGrid{grid-template-columns:1fr}
}
@media (max-width: 560px){
  .footerGrid{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .testCard{flex-basis:86vw}
  .whyCard{min-height:190px}
}

/* Mosaic stacks on smaller screens */
@media (max-width: 980px){
  .mosaic{
    grid-template-columns:1fr;
    grid-template-rows:auto;
    grid-template-areas:
      "A"
      "B"
      "C"
      "D";
  }
}

/* =========================================
   SERVICES: force vertical list on mobile
   (Paste at END of CSS)
========================================= */

/* Desktop stays 4 columns by default (your existing CSS) */

/* Tablet: keep 2 columns */
@media (max-width: 1050px){
  .serviceGrid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: force 1 column (vertical) */
@media (max-width: 680px){
  .serviceGrid{
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* Optional: make cards feel better in a vertical list */
  .serviceCard{
    border-radius: 18px;
  }
}
