/* ============================================================
   ServisPlus — Premium UI System
   Dark luxury / glassmorphism / motion-first
   ============================================================ */

:root {
  /* Balanced light theme — soft (easy on eyes) white + red + black */
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --card: #ffffff;
  --card-2: #f5f6f7;
  --border: rgba(17, 18, 28, 0.09);
  --border-strong: rgba(17, 18, 28, 0.16);
  --text: #17181c;
  --muted: #565d6a;
  --muted-dark: #868d99;
  --accent: #e11d2a;
  --accent-2: #d61420;
  --accent-3: #b91c1c;
  --glow: rgba(225, 29, 42, 0.30);
  --grad: linear-gradient(120deg, #ff3b41 0%, #e11d2a 55%, #b91c1c 100%);
  --grad-soft: linear-gradient(120deg, rgba(225,29,42,.10), rgba(185,28,28,.06));
  --ring: rgba(225, 29, 42, 0.45);
  --surface-shadow: 0 1px 2px rgba(15,18,25,.04), 0 12px 32px -16px rgba(15,18,25,.18);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 24px 60px -28px rgba(15, 18, 25, 0.30);
  --font-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', 'Manrope', system-ui, sans-serif;
  --font-alt: 'Manrope', system-ui, sans-serif;
}

/* ---------- Dark scope (anchor sections: hero + footer/CTA) ---------- */
.dark {
  --bg: #0b0c0f;
  --bg-soft: #121319;
  --card: #16171d;
  --card-2: #121319;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.20);
  --text: #f6f7f9;
  --muted: #b8babf;
  --muted-dark: #82858d;
  --accent-2: #ff5a5a;
  --glow: rgba(225, 29, 42, 0.5);
  --grad-soft: linear-gradient(120deg, rgba(225,29,42,.18), rgba(185,28,28,.12));
  --surface-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  --shadow-soft: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  background: var(--bg);
  color: var(--text);
}

/* ---------- Base ---------- */
* { -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display { font-family: var(--font-display); letter-spacing: -0.02em; }
.font-alt { font-family: var(--font-alt); }

::selection { background: rgba(225, 29, 42, 0.18); color: var(--accent-3); }
.dark ::selection { background: rgba(225, 29, 42, 0.35); color: #fff; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #eef0f3; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--accent-3));
  border-radius: 99px;
  border: 2px solid #eef0f3;
}

/* ---------- Background ambiance ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(15,18,25,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,18,25,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}

.noise { display: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -2;
}
.dark .blob { opacity: 0.5; }
.blob--cyan { background: radial-gradient(circle, rgba(225,29,42,.55), transparent 70%); }
.blob--purple { background: radial-gradient(circle, rgba(225,29,42,.35), transparent 70%); }
.blob--teal { background: radial-gradient(circle, rgba(255,77,77,.4), transparent 70%); }

/* floating shapes */
.float-shape {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 30%;
  pointer-events: none;
  background: rgba(255,255,255,.01);
  backdrop-filter: blur(2px);
}

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(225,29,42,.45);
  transition: width .25s ease, height .25s ease, background .25s ease, border-color .25s ease;
}
.cursor-ring.is-hover {
  width: 60px; height: 60px;
  background: rgba(225,29,42,.06);
  border-color: rgba(225,29,42,.3);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- Layout helpers ---------- */
.container-x { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(225,29,42,.22);
  background: rgba(225,29,42,.06);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dark .eyebrow {
  border-color: var(--border);
  background: rgba(255,255,255,.03);
  color: var(--accent-2);
  backdrop-filter: blur(10px);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

.title-xl { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 700; }
.title-lg { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); max-width: 60ch; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Keep gradient text visible after SplitType wraps each char/word in spans */
.text-grad .char,
.text-grad .word,
.text-grad .line {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Glass / elevated card (light) ---------- */
.glass {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--surface-shadow);
  position: relative;
  overflow: hidden;
}
.glass::before { display: none; }

/* Dark scope: restore translucent glass */
.dark .glass {
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.dark .glass::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,.25), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .6;
  pointer-events: none;
}

.card-base {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--surface-shadow);
  position: relative;
  overflow: hidden;
  transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}
.dark .card-base { box-shadow: none; }

/* glass reflection sweep (only meaningful on dark) */
.reflect::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 50%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.10), transparent);
  transform: skewX(-18deg);
  transition: left .7s ease;
  pointer-events: none;
  opacity: 0;
}
.dark .reflect::after { opacity: 1; }
.reflect:hover::after { left: 130%; }

/* ---------- Animated gradient border ---------- */
.grad-border {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
}
.grad-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0%, var(--accent) 20%, var(--accent-3) 40%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
}
.grad-border:hover::before { opacity: 1; animation: spin-border 4s linear infinite; }
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --angle: 360deg; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease;
  white-space: nowrap;
  will-change: transform;
}
.btn svg { transition: transform .3s ease; }
.btn-primary {
  color: #ffffff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 35px -10px var(--glow);
}
.btn-primary:hover {
  box-shadow: 0 18px 50px -12px var(--glow);
  background-position: 100% 50%;
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  color: var(--text);
  background: var(--card);
  border-color: var(--border-strong);
  box-shadow: var(--surface-shadow);
}
.btn-ghost:hover { background: var(--card-2); border-color: var(--accent); color: var(--accent); }
.dark .btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--border);
  box-shadow: none;
  backdrop-filter: blur(10px);
  color: var(--text);
}
.dark .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--border-strong); color: var(--text); }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.magnetic { will-change: transform; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: padding .4s ease;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
}
/* Floating light pill so the bar stays readable over the dark hero */
.nav-pill {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 14px 12px 18px;
  min-height: 60px;
  box-shadow: 0 14px 38px -20px rgba(11,12,15,.45);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.scrolled { padding: 12px 0; }
.nav.scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px -16px rgba(11,12,15,.35);
  padding: 10px 14px 10px 18px;
  min-height: 56px;
}
.brand-logo {
  font-size: clamp(0.9rem, 1vw, 1.02rem);
  line-height: 1.15;
  white-space: nowrap;
}
@media (min-width: 1280px) {
  .brand-logo { font-size: 1.05rem; }
}
.nav-cta {
  padding: 11px 18px !important;
  font-size: 14px;
  gap: 8px;
}
@media (min-width: 1280px) {
  .nav-cta { padding: 12px 22px !important; font-size: 15px; }
}
.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 4px;
  transition: color .25s ease;
}
@media (min-width: 1280px) {
  .nav-link { font-size: 15px; padding: 8px 6px; }
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: width .3s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 8px 24px -8px var(--glow);
}

/* has-mega trigger keeps hover while moving toward the panel */
.has-mega { padding-bottom: 4px; }

/* mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(720px, 92vw);
  padding-top: 18px;            /* transparent bridge so the gap stays hoverable */
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 1001;
}
.has-mega:hover .mega,
.mega:hover { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-item { transition: background .25s ease, transform .25s ease; border-radius: 14px; }
.mega-item:hover { background: rgba(225,29,42,.06); transform: translateX(4px); }
.dark .mega-item:hover { background: rgba(255,255,255,.05); }

/* mobile menu */
.mobile-panel { transition: transform .5s cubic-bezier(.2,.85,.2,1), opacity .4s ease; }

/* burger icon */
.burger {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
}
.burger span {
  width: 20px; height: 2px; border-radius: 2px;
  background: var(--text);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
  transform-origin: center;
}
.burger[data-open="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[data-open="true"] span:nth-child(2) { opacity: 0; }
.burger[data-open="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Service cards ---------- */
.service-card { transition: transform .5s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; }
.service-card:hover { transform: translateY(-8px); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--accent-2);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 30px -6px var(--glow); }
.chip {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--card-2);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.dark .chip { background: rgba(255,255,255,.03); }

/* ---------- Brands marquee ---------- */
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 22px; flex-shrink: 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  white-space: nowrap;
  transition: color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.brand-pill { box-shadow: var(--surface-shadow); }
.brand-pill:hover { color: var(--accent); border-color: var(--ring); transform: translateY(-4px); box-shadow: 0 18px 40px -18px var(--glow); }
.dark .brand-pill { box-shadow: none; }
.dark .brand-pill:hover { color: #fff; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .cell { grid-column: span 2; min-height: 220px; }
.bento .cell.lg { grid-column: span 3; }
.bento .cell.md { grid-column: span 3; }
.bento .cell.sm { grid-column: span 3; }
.bento-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(225,29,42,.08);
  border: 1px solid rgba(225,29,42,.16);
  color: var(--accent);
  transition: transform .4s ease, color .3s ease, background .3s ease;
}
.dark .bento-icon { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--accent-2); }
.cell:hover .bento-icon { transform: translateY(-4px) scale(1.05); }
@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .cell, .bento .cell.lg, .bento .cell.md, .bento .cell.sm { grid-column: span 2; min-height: 180px; }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; }
.timeline__line {
  position: absolute; left: 31px; top: 10px; bottom: 10px;
  width: 2px; background: var(--border);
}
.timeline__progress {
  position: absolute; left: 31px; top: 10px;
  width: 2px; height: 0;
  background: var(--grad);
  box-shadow: 0 0 14px var(--glow);
}
.timeline__node {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 18px;
  display: grid; place-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent-2);
  position: relative; z-index: 2;
  transition: border-color .4s ease, box-shadow .4s ease, color .3s ease;
}
.timeline__row.in .timeline__node { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 30px -8px var(--glow); }
.dark .timeline__row.in .timeline__node { color: #fff; }

/* ---------- Progress ring (stats) ---------- */
.ring-wrap { position: relative; width: 132px; height: 132px; }
.ring-svg { transform: rotate(-90deg); }
.ring-bg { stroke: rgba(15,18,25,.08); }
.dark .ring-bg { stroke: rgba(255,255,255,.07); }
.ring-fg { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }

/* ---------- Testimonials ---------- */
.swiper-testi { overflow: visible; }
.swiper-testi .swiper-slide { transition: opacity .5s ease, transform .5s ease; opacity: .35; transform: scale(.92); }
.swiper-testi .swiper-slide-active { opacity: 1; transform: scale(1); }
.swiper-pagination-bullet { background: var(--muted); opacity: .4; }
.swiper-pagination-bullet-active { background: var(--accent); opacity: 1; width: 22px; border-radius: 4px; }

.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  color: #ffffff; background: var(--grad);
}
.stars { color: #fbbf24; display: inline-flex; gap: 2px; }
.stars svg { fill: currentColor; stroke: currentColor; }

/* ---------- Accordion ---------- */
.acc-item { transition: border-color .3s ease, background .3s ease; }
.acc-item.open { border-color: var(--ring); background: rgba(225,29,42,.05); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-icon { transition: transform .4s ease; }
.acc-item.open .acc-icon { transform: rotate(45deg); }

/* ---------- Blog ---------- */
.blog-card { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.blog-card:hover { transform: translateY(-6px); }
.blog-thumb { position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 16/10; }
.blog-thumb__bg { position: absolute; inset: 0; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.blog-card:hover .blog-thumb__bg { transform: scale(1.08); }

/* ---------- Team ---------- */
.team-card { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.team-card:hover { transform: translateY(-8px); }
.team-photo {
  aspect-ratio: 1; border-radius: 20px; position: relative; overflow: hidden;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: #fff;
}

/* ---------- Forms ---------- */
.field { position: relative; }
.input {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--text);
  font-size: 15px;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
  font-family: var(--font-body);
}
.dark .input { background: rgba(255,255,255,.025); }
.input::placeholder { color: var(--muted-dark); }
.input:focus {
  outline: none;
  border-color: var(--ring);
  background: rgba(225,29,42,.05);
  box-shadow: 0 0 0 4px rgba(225,29,42,.12);
}
.input.error { border-color: #f43f5e; box-shadow: 0 0 0 4px rgba(244,63,94,.12); }
.field-error { color: #fb7185; font-size: 12.5px; margin-top: 6px; display: none; }
.field-error.show { display: block; }
textarea.input { resize: vertical; min-height: 130px; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 10001; display: flex; flex-direction: column; gap: 12px; }
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transform: translateX(140%);
  transition: transform .5s cubic-bezier(.2,.85,.2,1);
  max-width: 360px;
}
.toast.show { transform: translateX(0); }
.toast.ok .toast-ic { color: #34d399; }
.toast.err .toast-ic { color: #fb7185; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px -18px rgba(15,18,25,.3);
  gap: 10px;
}
.mobile-cta a { flex: 1; }
@media (max-width: 768px) { .mobile-cta { display: flex; } body { padding-bottom: 78px; } }

/* floating side actions (desktop) */
.fab-stack { position: fixed; right: 22px; bottom: 26px; z-index: 940; display: flex; flex-direction: column; gap: 12px; }
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.6);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab--wa { background: #25D366; }
.fab--tel { background: var(--grad); color: #ffffff; }
.fab::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid currentColor; opacity: .35; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .4; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 768px) { .fab-stack { display: none; } }

/* ---------- Reveal (GSAP fallback + AOS coexist) ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.blur-in { opacity: 0; filter: blur(14px); transform: translateY(20px); }
.blur-in.in { opacity: 1; filter: blur(0); transform: none; transition: opacity 1s ease, filter 1s ease, transform 1s ease; }

.char { display: inline-block; will-change: transform; }
.word { display: inline-block; overflow: hidden; padding-bottom: .08em; }

/* hide content until JS ready to avoid FOUC of split text */
.split-ready .split-target { visibility: visible; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, .blur-in { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* JS/GSAP fallback — never leave content invisible */
html.no-motion [data-split],
html.no-motion [data-reveal],
html.no-motion [data-hero-badge],
html.no-motion [data-hero-cta] > *,
html.no-motion [data-hero-stats] > *,
html.no-motion [data-hero-visual],
html.no-motion .reveal,
html.no-motion .blur-in {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* utility */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.kpi-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.glow-text { text-shadow: 0 0 32px var(--glow); }
.dim { color: var(--muted); }
.dim-2 { color: var(--muted-dark); }
