/* ============================================================
   Elancier Solutions — design system
   Palette: violet + coral + teal on a soft lavender-white base
   Type: Sora (display) / Inter (body)
============================================================ */

:root{
  --bg:            #F5F4FB;
  --panel:         #F1F1FE;
  --panel-warm:    #FFF4EC;
  --ink:           #1E2233;
  --ink-soft:      #565B72;
  --ink-faint:     #767C94;
  --line:          #E7E7F3;

  --violet:        #6366F1;
  --violet-dark:   #4338CA;
  --violet-soft:   #EEEEFE;
  --coral:         #FB7185;
  --coral-soft:    #FFE7EA;
  --teal:          #2DD4BF;
  --teal-soft:     #D8FBF5;
  --amber:         #F5A623;
  --amber-soft:    #FFF3DC;
  --pink:          #F0A6D8;
  --indigo:        #4F46E5;
  --cyan:          #5EC8E8;

  --white:         #FFFFFF;

  --grad-hero: linear-gradient(120deg, #6366F1 0%, #8B7CF3 55%, #F0A6D8 100%);
  --grad-panel: linear-gradient(135deg, #EEEEFE 0%, #FFF4EC 100%);
  --grad-btn: linear-gradient(120deg, #6366F1 0%, #A78BFA 100%);
  --grad-dark: linear-gradient(160deg, #211D3B 0%, #322A55 55%, #211D3B 100%);
  --grad-teal: linear-gradient(120deg, #2DD4BF 0%, #5EC8E8 100%);

  --shadow-sm: 0 2px 10px rgba(30,34,51,.06);
  --shadow-md: 0 14px 34px rgba(30,34,51,.10);
  --shadow-lg: 0 26px 64px rgba(67,56,202,.16);
  --shadow-glow: 0 20px 44px rgba(99,102,241,.22);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Inter", -apple-system, sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }

h1,h2,h3,h4,h5{
  font-family:"Sora", "Inter", sans-serif;
  font-weight:700;
  color:var(--ink);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(2.8rem, 5vw, 4.4rem); font-weight:800; letter-spacing:-.02em; }
h2{ font-size:clamp(2.1rem, 3.4vw, 2.9rem); font-weight:800; letter-spacing:-.015em; }
h3{ font-size:1.4rem; }
p{ margin:0 0 1em; color:var(--ink-soft); }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:30px 0; }
.section-tight{ padding:64px 0; }
@media (max-width:780px){
  .section{ padding:64px 0; }
  .section-tight{ padding:44px 0; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible{ outline:2px solid var(--violet); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Eyebrow / heading kit ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:"Sora",sans-serif; font-weight:700; font-size:.82rem;
  color:var(--violet-dark); background:var(--violet-soft);
  padding:7px 16px; border-radius:100px; margin-bottom:18px;
  box-shadow:0 4px 14px rgba(99,102,241,.16);
}
.eyebrow.on-dark{ background:rgba(255,255,255,.16); color:#fff; }
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--coral); }

.head-block.center{ margin:0 auto; text-align:center; }
.head-block p{ font-size:1.06rem; }
h2.word-reveal.is-visible {
    margin-bottom: 17px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:"Sora",sans-serif; font-weight:600; font-size:.96rem;
  padding:14px 26px; border-radius:100px; border:none;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--grad-btn); background-size:160% 160%; color:#fff; box-shadow:var(--shadow-glow); }
.btn-primary:hover{ background-position:100% 50%; transform:translateY(-3px) scale(1.02); box-shadow:0 22px 50px rgba(99,102,241,.4); }
.btn-ghost{ background:#fff; color:var(--ink); border:1.5px solid var(--line); }
.btn-ghost:hover{ border-color:var(--violet); color:var(--violet); transform:translateY(-2px); }
.btn-light{ background:rgba(255,255,255,.15); color:#fff; border:1.5px solid rgba(255,255,255,.55); backdrop-filter:blur(4px); }
.btn-light:hover{ background:#fff; color:var(--violet-dark); }
.btn-sm{ padding:10px 18px; font-size:.85rem; }
.btn .arrow{ transition:transform .25s ease; }
.btn:hover .arrow{ transform:translateX(4px); }

/* ============================================================
   Header / Nav
============================================================ */
.site-header{
    position: fixed;
    top: 0;
    z-index: 200;
    isolation: isolate;
    width: 100%;
    float: left;
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; gap:20px;
  background:#FFFFFF; border-bottom:1px solid var(--line); position:relative;
  transition:box-shadow .25s ease;
}
.site-header.scrolled .nav-row{ box-shadow:0 6px 20px rgba(30,34,51,.08); }
@media (min-width:769px){
  .nav-row{
    max-width:1300px; margin:0 auto;
    border-radius:0 0 22px 22px;
    border:1px solid var(--line); border-top:none;
    box-shadow:0 12px 34px rgba(30,34,51,.10);
  }
  .site-header.scrolled .nav-row{ box-shadow:0 16px 40px rgba(30,34,51,.16); }
}
.brand{ display:flex; align-items:center; gap:10px; font-family:"Sora",sans-serif; font-weight:700; font-size:1.28rem; color:var(--ink); }
.brand .mark{
  width:38px; height:38px; border-radius:11px;
  background:var(--grad-hero);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:800; font-size:1.05rem;
  flex-shrink:0;
}
.brand small{ display:block; font-family:"Inter",sans-serif; font-weight:500; font-size:.66rem; color:var(--ink-faint); letter-spacing:.04em; }
.brand-logo{ height:38px; width:auto; display:block; }
.brand-logo-white{ height:34px; }

.nav-links{ display:flex; align-items:center; gap:6px; }
.nav-links > li{ position:relative; }
.nav-links > li > a{
  display:inline-block; padding:10px 16px; border-radius:100px;
  font-weight:600; font-size:.92rem; color:var(--ink-soft);
  transition:background .2s ease, color .2s ease;
}
.nav-links > li > a:hover, .nav-links > li > a.active{ background:var(--violet-soft); color:var(--violet-dark); }

.nav-links > li.has-mega{ position:static; }
.mega{
  position:absolute; left:0; right:0; top:100%; padding-top:14px;
  display:none;
  grid-template-columns:repeat(4,1fr); gap:24px;
  z-index:50;
}
.mega-inner{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg); padding:28px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; grid-column:1/-1;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.js-open .mega{ display:grid; }
.mega-col h6{ font-family:"Sora",sans-serif; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--violet); margin:0 0 12px; }
.mega-col li a{ display:block; padding:7px 0; font-size:.9rem; color:var(--ink-soft); border-bottom:1px solid transparent; }
.mega-col li a:hover{ color:var(--violet-dark); padding-left:4px; }

.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:none; width:40px; height:40px; align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after{ content:""; display:block; width:22px; height:2px; background:var(--ink); border-radius:2px; }
.nav-toggle span{ margin:5px 0; }

@media (max-width:1080px){
  .nav-links{ position:fixed; inset:70px 0 0 0; background:#fff; flex-direction:column; align-items:stretch;
    padding:16px; overflow-y:auto; transform:translateX(100%); transition:transform .3s ease; gap:2px; }
  .nav-links.open{ transform:translateX(0); }
  .nav-links > li > a{ display:block; padding:14px 12px; border-radius:12px; }
  .mega{ position:static; display:none !important; grid-template-columns:1fr; padding:0; }
  .mega-inner{ box-shadow:none; border:none; background:transparent; grid-template-columns:1fr; padding:8px 0 8px 12px; }
  .has-mega.open .mega{ display:grid !important; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ============================================================
   Hero
============================================================ */
.hero{
  position:relative; overflow:hidden;
  background:var(--grad-hero);
  padding:88px 0 110px;
  color:#fff;padding-top: 105px;
}
.hero::before, .hero::after{
  content:""; position:absolute; border-radius:50%; filter:blur(6px);
  background:rgba(255,255,255,.14);
}
.hero::before{ width:420px; height:420px; top:-160px; right:-120px; }
.hero::after{ width:280px; height:280px; bottom:-140px; left:8%; background:rgba(255,209,102,.28); }

/* Subtle film-grain texture for a premium, non-flat gradient feel */
.hero-noise{
  position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.05; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Aurora mesh — extra floating color orbs for a livelier, high-end hero */
.hero-aurora{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.hero-aurora span{
  position:absolute; border-radius:50%; filter:blur(20px); opacity:.55;
  animation:auroraFloat 16s ease-in-out infinite;
}
.hero-aurora span:nth-child(1){ width:260px; height:260px; top:10%; left:38%; background:radial-gradient(circle, var(--cyan), transparent 70%); animation-delay:0s; }
.hero-aurora span:nth-child(2){ width:220px; height:220px; bottom:12%; left:52%; background:radial-gradient(circle, var(--teal), transparent 70%); animation-delay:-5s; }
.hero-aurora span:nth-child(3){ width:200px; height:200px; top:38%; right:6%; background:radial-gradient(circle, #FFD166, transparent 70%); animation-delay:-10s; }
.hero-aurora span:nth-child(4){ width:170px; height:170px; top:62%; left:12%; background:radial-gradient(circle, var(--pink), transparent 70%); animation-delay:-7s; }
@keyframes auroraFloat{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(-30px,24px) scale(1.15); }
  66%{ transform:translate(26px,-20px) scale(.9); }
}
@media (prefers-reduced-motion: reduce){ .hero-aurora span{ animation:none; } }
@media (max-width:700px){ .hero-aurora{ display:none; } }

.hero-grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
@media (max-width:960px){ .hero-grid{ grid-template-columns:1fr; } }

.hero-kicker{ font-family:"Sora",sans-serif; font-weight:600; font-size:.9rem; opacity:.85; margin-bottom:14px; letter-spacing:.02em; }

/* Trust pill */
.hero-trust{
  display:inline-flex; align-items:center; gap:9px; font-family:"Sora",sans-serif; font-weight:600; font-size:.84rem;
  color:#fff; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.28);
  padding:8px 16px 8px 12px; border-radius:100px; margin-bottom:22px; backdrop-filter:blur(6px);
}
.hero-trust-dot{ width:8px; height:8px; border-radius:50%; background:#5CF5D8; flex-shrink:0; position:relative; }
.hero-trust-dot::after{
  content:""; position:absolute; inset:-4px; border-radius:50%; border:1.5px solid #5CF5D8;
  animation:trustPulse 1.8s ease-out infinite;
}
@keyframes trustPulse{ 0%{ transform:scale(.5); opacity:1; } 100%{ transform:scale(1.8); opacity:0; } }

.hero h1{ color:#fff; margin-bottom:20px; }
.hero h1 .line{ display:block; opacity:0; transform:translateY(22px); animation:lineIn .7s ease forwards; }
.hero h1 .line:nth-child(1){ animation-delay:.05s; }
.hero h1 .line:nth-child(2){ animation-delay:.18s; }
.hero h1 .line:nth-child(3){
  background:linear-gradient(90deg, #FFD166, #FF8FA3, #FFD166);
  background-size:200% auto;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:lineIn .7s ease .31s forwards, shimmer 4s linear infinite 1.2s;
}
@keyframes shimmer{ to{ background-position:200% center; } }
@keyframes lineIn{ to{ opacity:1; transform:translateY(0); } }

.hero p.lead{
  color:rgba(255,255,255,.86); font-size:1.12rem; max-width:480px; margin-bottom:30px;
  opacity:0; transform:translateY(16px); animation:lineIn .7s ease .5s forwards;
}
.hero-actions{
  display:flex; gap:14px; flex-wrap:wrap; margin-bottom:8px;
  opacity:0; transform:translateY(16px); animation:lineIn .7s ease .62s forwards;
}

/* ============================================================
   Hero visual — glass product panel + floating stat badges
============================================================ */
.hero-visual{ position:relative; height:440px; perspective:1200px; }

.hero-panel{
  position:absolute; top:10px; left:10px; right:74px; bottom:40px;
  background:rgba(255,255,255,.97); border-radius:22px; border:1px solid rgba(255,255,255,.5);
  box-shadow:0 40px 80px rgba(18,12,34,.35), 0 0 0 1px rgba(255,255,255,.08);
  overflow:hidden; opacity:0; transform:translateY(28px) scale(.96);
  animation:panelIn .8s cubic-bezier(.16,1,.3,1) .35s forwards;
  transition:transform .15s ease;
}
@keyframes panelIn{ to{ opacity:1; transform:translateY(0) scale(1); } }

.hero-panel-bar{
  display:flex; align-items:center; gap:6px; padding:14px 16px; border-bottom:1px solid var(--line);
}
.hero-panel-bar span{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.hero-panel-bar span:nth-child(1){ background:#FF6B6B; }
.hero-panel-bar span:nth-child(2){ background:#FFC24B; }
.hero-panel-bar span:nth-child(3){ background:#4BD98C; }
.hero-panel-live{
  margin-left:auto; display:flex; align-items:center; gap:6px; font-size:.72rem; font-weight:700;
  color:var(--ink-faint); font-family:"Sora",sans-serif;
}
.hero-panel-live i{ width:7px; height:7px; border-radius:50%; background:#4BD98C; display:block; animation:trustPulse2 1.6s ease-in-out infinite; }
@keyframes trustPulse2{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }

.hero-panel-body{ padding:20px 22px 22px; }
.hero-chart{ margin-bottom:18px; }
.hero-chart svg{ width:100%; height:82px; display:block; }
.hero-chart-fill{ fill:url(#heroChartGrad); opacity:0; animation:chartFadeIn 1s ease .9s forwards; }
.hero-chart-line{
  fill:none; stroke:var(--violet); stroke-width:2.5; stroke-linecap:round;
  stroke-dasharray:340; stroke-dashoffset:340;
  animation:chartDraw 1.4s cubic-bezier(.16,1,.3,1) .75s forwards;
}
@keyframes chartDraw{ to{ stroke-dashoffset:0; } }
@keyframes chartFadeIn{ to{ opacity:1; } }

.hero-bars{ display:flex; flex-direction:column; gap:12px; }
.hero-bar-row span{ display:block; font-size:.76rem; font-weight:600; color:var(--ink-soft); margin-bottom:5px; }
.hero-bar-track{ height:7px; border-radius:100px; background:var(--panel); overflow:hidden; }
.hero-bar-fill{
  height:100%; width:0; border-radius:100px; background:var(--grad-btn);
  transition:width 1.2s cubic-bezier(.16,1,.3,1);
}
.hero-bar-fill.in-view{ width:var(--fillw,0%); }

.hero-badge{
  position:absolute; display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.97); border-radius:16px; padding:12px 16px;
  box-shadow:0 18px 40px rgba(18,12,34,.25); backdrop-filter:blur(6px);
  opacity:0; animation:badgeIn .7s cubic-bezier(.34,1.56,.64,1) forwards, badgeFloat 5s ease-in-out infinite;
}
@keyframes badgeIn{ to{ opacity:1; } }
@keyframes badgeFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-10px); } }
.hero-badge-ic{ font-size:1.3rem; line-height:1; }
.hero-badge b{ display:block; font-family:"Sora",sans-serif; font-size:1.05rem; color:var(--ink); }
.hero-badge small{ font-size:.72rem; color:var(--ink-faint); font-weight:600; }
.hb-1{ top:-18px; right:-14px; animation-delay:1.1s, 1.1s; }
.hb-2{ bottom:8px; left:-16px; animation-delay:1.3s, 2.4s; }

.hero-scroll-cue{
  position:absolute; left:50%; bottom:22px; transform:translateX(-50%); z-index:3;
  width:26px; height:40px; border:2px solid rgba(255,255,255,.5); border-radius:100px;
  display:flex; justify-content:center; padding-top:7px; transition:border-color .25s ease;
}
.hero-scroll-cue:hover{ border-color:#fff; }
.hero-scroll-cue span{ width:4px; height:8px; border-radius:100px; background:#fff; animation:scrollCue 1.8s ease infinite; }
@keyframes scrollCue{ 0%{ opacity:1; transform:translateY(0); } 70%{ opacity:0; transform:translateY(12px); } 100%{ opacity:0; transform:translateY(0); } }
@media (max-width:700px){ .hero-scroll-cue{ display:none; } }

@media (max-width:960px){
  .hero-visual{ height:380px; margin-top:24px; }
  .hero-panel{ right:34px; bottom:30px; }
  .hb-1{ right:0; }
}
@media (max-width:560px){
  .hero-visual{ height:360px; }
  .hero-panel{ left:0; right:10px; bottom:34px; top:0; }
  .hero-panel-body{ padding:14px 16px 16px; }
  .hero-chart{ margin-bottom:10px; }
  .hero-chart svg{ height:60px; }
  .hero-bars{ gap:8px; }
  .hero-badge{ padding:9px 12px; border-radius:12px; }
  .hero-badge b{ font-size:.9rem; }
  .hero-badge small{ font-size:.64rem; }
  .hb-1{ top:-10px; right:-4px; }
  .hb-2{ bottom:-16px; left:-6px; }
}

/* ============================================================
   Reveal-on-scroll
============================================================ */
.reveal{ opacity:0; transform:translateY(46px) scale(.97); transition:opacity .8s ease, transform .8s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0) scale(1); }
.reveal-stagger > *{ opacity:0; transform:translateY(40px) scale(.96); transition:opacity .7s ease, transform .7s ease; }
.reveal-stagger.is-visible > *{ opacity:1; transform:translateY(0) scale(1); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay:.02s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay:.10s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay:.18s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay:.26s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay:.34s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay:.42s; }

/* ============================================================
   Cards / grids reused across pages
============================================================ */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:900px){ .grid-3-fit{ grid-template-columns:1fr; } }
@media (max-width:600px){ .grid-3,.grid-4,.grid-2{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:30px; transition:transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .3s ease, background .35s ease;
  position:relative; overflow:hidden;
}
.card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:var(--grad-btn); transform:scaleX(0); transform-origin:left; transition:transform .45s cubic-bezier(.16,1,.3,1);
}
.card:hover::before{ transform:scaleX(1); }
.card:hover{ transform:translateY(-9px) scale(1.015) perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); box-shadow:var(--shadow-glow); border-color:transparent; }
.ic{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; margin-bottom:18px; color:#fff; box-shadow:0 10px 22px rgba(99,102,241,.25);
}
.ic svg{ width:26px; height:26px; }
.tone-violet{ background:linear-gradient(135deg,var(--violet),#A78BFA); box-shadow:0 10px 24px rgba(99,102,241,.35); }
.tone-coral{ background:linear-gradient(135deg,var(--coral),#FF8FA3); box-shadow:0 10px 24px rgba(251,113,133,.35); }
.tone-teal{ background:linear-gradient(135deg,var(--teal),#5CF5D8); box-shadow:0 10px 24px rgba(45,212,191,.35); }
.tone-amber{ background:linear-gradient(135deg,var(--amber),#FFD166); box-shadow:0 10px 24px rgba(245,166,35,.35); }
.tone-pink{ background:linear-gradient(135deg,var(--pink),#FBC2EB); box-shadow:0 10px 24px rgba(240,166,216,.4); }
.tone-cyan{ background:linear-gradient(135deg,var(--cyan),#7DE8FF); box-shadow:0 10px 24px rgba(94,200,232,.35); }

.card h4{ margin-bottom:8px; }
.card p{ font-size:.94rem; margin-bottom:0; }
.card .tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.card .tags span{ font-size:.76rem; font-weight:600; background:var(--panel); color:var(--violet-dark); padding:5px 11px; border-radius:100px; }

/* Stats strip */
.stats-strip{ background: linear-gradient(135deg, #7B6EF2 0%, #887CF3 55%, #8D80F4 100%); color:#fff; border-radius:var(--radius-lg); padding:50px 40px; }
.stats-strip .grid{ text-align:center; }
.stats-strip b{ display:block; font-family:"Sora",sans-serif; font-size:2.4rem; background:linear-gradient(120deg,#FFD9A0,#FF9478); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stats-strip span{ font-size:.9rem; color:rgba(255,255,255,.72); }

/* Dark contrast section (kept for possible future use, unused by default) */
.section-dark{
  background:var(--grad-dark); color:#fff; position:relative; overflow:hidden;
}
.section-dark::before{
  content:""; position:absolute; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle, rgba(99,102,241,.45), transparent 70%);
  top:-160px; left:-100px; filter:blur(10px);
}
.section-dark::after{
  content:""; position:absolute; width:360px; height:360px; border-radius:50%;
  background:radial-gradient(circle, rgba(236,72,153,.35), transparent 70%);
  bottom:-160px; right:-80px; filter:blur(10px);
}
.section-dark .head-block, .section-dark h2, .section-dark h3, .section-dark h4{ color:#fff; }
.section-dark p{ color:rgba(255,255,255,.72); }
.section-dark .eyebrow{ background:rgba(255,255,255,.12); color:#fff; }

/* ============================================================
   Liquid theme — morphing blobs, glassmorphism, fluid motion
============================================================ */
.liquid-panel{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg, var(--panel) 0%, #fff 100%);
}
.liquid-blob{
  position:absolute; z-index:0; pointer-events:none;
  filter:blur(2px); opacity:.55; mix-blend-mode:multiply;
  animation:liquidMorph 12s ease-in-out infinite, liquidDrift 18s ease-in-out infinite;
}
.blob-1{
  width:420px; height:420px; top:-140px; left:-120px;
  background:linear-gradient(135deg, var(--violet), var(--pink));
  animation-delay:0s, 0s;
}
.blob-2{
  width:360px; height:360px; bottom:-160px; right:-100px;
  background:linear-gradient(135deg, var(--coral), var(--amber));
  animation-delay:-4s, -6s;
}
.blob-3{
  width:260px; height:260px; top:40%; right:12%;
  background:linear-gradient(135deg, var(--teal), var(--violet));
  animation-delay:-8s, -3s; opacity:.4;
}
@keyframes liquidMorph{
  0%,100%{ border-radius:42% 58% 65% 35% / 45% 40% 60% 55%; }
  25%{ border-radius:58% 42% 35% 65% / 60% 55% 45% 40%; }
  50%{ border-radius:65% 35% 42% 58% / 40% 60% 55% 45%; }
  75%{ border-radius:35% 65% 58% 42% / 55% 45% 40% 60%; }
}
@keyframes liquidDrift{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(24px,-18px) scale(1.06); }
  66%{ transform:translate(-18px,16px) scale(.96); }
}
.liquid-panel > .container{ position:relative; z-index:1; }

/* Glassmorphic cards/chips sitting on liquid panels */
.glass-card{
  background:rgba(255,255,255,.6);
  backdrop-filter:blur(18px) saturate(160%);
  -webkit-backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,.7);
}
.glass-chip{
  background:rgba(255,255,255,.55);
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  border:1px solid rgba(255,255,255,.7);
}
.glass-chip:hover{ background:rgba(255,255,255,.85); }

/* Liquid wave divider between sections */
.wave-divider{ position:relative; height:0; overflow:visible; }
.wave-divider svg{ position:relative; display:block; width:100%; height:70px; }
.wave-divider path{ fill:var(--panel); }

@media (prefers-reduced-motion: reduce){
  .liquid-blob{ animation:none; }
}
@media (max-width:700px){
  .blob-3{ display:none; }
}

/* Panels */
.panel{ background:var(--grad-panel); border-radius:var(--radius-lg); }

/* Split section (image + text) */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:36px; } }
.split img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.split.reverse .img-col{ order:2; }
@media (max-width:900px){ .split.reverse .img-col{ order:0; } }

.check-list li{ display:flex; gap:12px; align-items:flex-start; margin-bottom:12px; color:var(--ink-soft); font-size:.96rem; }
.check-list li::before{ content:"✓"; flex-shrink:0; width:22px; height:22px; border-radius:50%; background:var(--teal-soft); color:var(--teal); font-size:.72rem; display:flex; align-items:center; justify-content:center; margin-top:2px; font-weight:700; }

/* Breadcrumb / page header */
.page-hero{
  background:var(--grad-hero); color:#fff; padding:64px 0 80px; position:relative; overflow:hidden;
  padding-top: 100px;
}
.page-hero::after{ content:""; position:absolute; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,.12); right:-90px; top:-120px; }
.page-hero .container{ position:relative; z-index:1; }
.page-hero .crumb{ font-size:.85rem; opacity:.8; margin-bottom:10px; }
.page-hero h1{ color:#fff; margin-bottom:0; }

/* Unique floating decorative icons per service page */
.page-hero-deco{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.page-hero-deco span{
  position:absolute; display:flex; align-items:center; justify-content:center;
  width:54px; height:54px; border-radius:16px; font-size:1.5rem;
  background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.25);
  backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
  animation:pageHeroFloat 6s ease-in-out infinite;
}
@keyframes pageHeroFloat{ 0%,100%{ transform:translateY(0) rotate(-4deg); } 50%{ transform:translateY(-16px) rotate(4deg); } }
@media (max-width:700px){ .page-hero-deco{ display:none; } }

/* Anchor offset because of sticky header */
section[id]{ scroll-margin-top:90px; }

/* Service detail block */
.service-block{ padding:70px 0; border-bottom:1px solid var(--line); }
.service-block:last-child{ border-bottom:none; }

/* Testimonial / clients marquee */
.logo-row{ display:flex; flex-wrap:wrap; gap:34px; align-items:center; justify-content:center; }
.logo-row img{ height:44px; width:auto; object-fit:contain; filter:grayscale(1) opacity(.7); transition:filter .25s ease, transform .25s ease; }
.logo-row img:hover{ filter:grayscale(0) opacity(1); transform:scale(1.06); }

/* Portfolio grid */
.pf-filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:34px; }
.pf-filters button{
  background:#fff; border:1.5px solid var(--line); padding:9px 20px; border-radius:100px;
  font-weight:600; font-size:.86rem; color:var(--ink-soft); transition:.2s;
}
.pf-filters button.active, .pf-filters button:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.pf-card{ border-radius:var(--radius-md); overflow:hidden; background:#fff; border:1px solid var(--line); transition:transform .3s ease, box-shadow .3s ease, opacity .3s ease; }
.pf-card.pf-hide{ opacity:0; transform:scale(.9); pointer-events:none; }
.pf-card:hover{ transform:translateY(-6px) perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); box-shadow:var(--shadow-md); }
.pf-card .pf-img{ aspect-ratio:37/40; overflow:hidden; }
.pf-card .pf-img img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.pf-card:hover .pf-img img{ transform:scale(1.07); }
.pf-card .pf-body{ padding:18px 20px; }
.pf-card .pf-body span{ font-size:.76rem; font-weight:700; color:var(--violet); text-transform:uppercase; letter-spacing:.04em; }
.pf-card .pf-body h4{ margin:4px 0 0; font-size:1.05rem; }

/* Team */
/* (team-card styles defined later, in the round-4 additions section) */

/* Forms */
.form-panel{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px; box-shadow:var(--shadow-md); }

/* Form success animation */
.form-success-anim{ display:flex; flex-direction:column; align-items:center; gap:14px; padding:8px 0 4px; text-align:center; }
.form-success-check{ width:58px; height:58px; }
.form-success-check circle{
  fill:none; stroke:var(--teal); stroke-width:3;
  stroke-dasharray:151; stroke-dashoffset:151;
  animation:successCircle .5s ease forwards;
}
.form-success-check path{
  fill:none; stroke:var(--teal); stroke-width:4; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:36; stroke-dashoffset:36;
  animation:successCheck .35s ease .45s forwards;
}
@keyframes successCircle{ to{ stroke-dashoffset:0; } }
@keyframes successCheck{ to{ stroke-dashoffset:0; } }
.form-success-anim span{ font-weight:600; color:var(--ink); }

.confetti-piece{
  position:fixed; width:8px; height:8px; pointer-events:none; z-index:9999; border-radius:2px;
  animation:confettiBurst .9s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes confettiBurst{ to{ transform:translate(var(--tx),var(--ty)) rotate(var(--rot)); opacity:0; } }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:.84rem; font-weight:600; margin-bottom:7px; color:var(--ink); }
.field input, .field textarea, .field select{
  width:100%; padding:13px 15px; border-radius:12px; border:1.5px solid var(--line);
  font-family:inherit; font-size:.94rem; background:var(--bg); transition:border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{ outline:none; border-color:var(--violet); background:#fff; }
.field textarea{ resize:vertical; min-height:120px; }

.contact-info-card{ display:flex; gap:16px; padding:22px; border-radius:var(--radius-md); background:var(--panel); margin-bottom:16px; }

/* Office map card */
.office-card{
  display:grid; grid-template-columns:1.3fr 1fr; background:#fff; border-radius:var(--radius-lg);
  overflow:hidden; box-shadow:var(--shadow-md); border:1px solid var(--line);
}
.office-map{ position:relative; min-height:340px; background:var(--panel); }
.office-map iframe{ position:absolute; inset:0; width:100%; height:100%; }
.office-details{ padding:32px; display:flex; flex-direction:column; justify-content:center; }
.office-details h4{ margin-bottom:10px; }
.office-details p{ font-size:.94rem; margin-bottom:22px; }
.office-actions{ display:flex; flex-wrap:wrap; gap:10px; }
@media (max-width:800px){
  .office-card{ grid-template-columns:1fr; }
  .office-map{ min-height:280px; }
}
.contact-info-card .ic{ width:46px; height:46px; border-radius:12px; background:#fff; display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; color:var(--violet-dark); }
.contact-info-card h4{ margin-bottom:4px; font-size:1rem; }
.contact-info-card p{ font-size:.88rem; margin-bottom:2px; }
.contact-info-card a{ font-weight:600; color:var(--violet-dark); font-size:.9rem; }

/* CTA band */
.cta-band{ background:var(--grad-hero); border-radius:var(--radius-lg); padding:60px; text-align:center; color:#fff; position:relative; overflow:hidden; }
.cta-band::before{ content:""; position:absolute; width:260px; height:260px; border-radius:50%; background:rgba(255,255,255,.12); left:-90px; bottom:-120px; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.86); max-width:520px; margin:0 auto 26px; }
.cta-band .actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:22px; }
.cta-band .direct{ display:flex; gap:26px; justify-content:center; flex-wrap:wrap; font-weight:600; }
.cta-band .direct a{ display:inline-flex; align-items:center; gap:8px; }

/* ============================================================
   Footer
============================================================ */
.site-footer{ background:var(--ink); color:rgba(255,255,255,.72); padding:64px 0 26px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; margin-bottom:44px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.site-footer .brand{ color:#fff; margin-bottom:14px; }
.site-footer p.desc{ font-size:.9rem; max-width:280px; }
.site-footer h5{ color:#fff; font-family:"Sora",sans-serif; font-size:.9rem; margin-bottom:16px; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer ul li a{ font-size:.9rem; transition:color .2s ease; }
.site-footer ul li a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background .2s ease; }
.footer-social a:hover{ background:var(--violet); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.82rem; }

/* ============================================================
   Extra animations — round 2
============================================================ */

/* Scroll progress bar */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg,var(--violet),var(--coral));
  z-index:300; transition:width .1s linear;
}

/* Living gradient backgrounds (hero / page-hero / cta-band) */
.hero, .page-hero, .cta-band{
  background-size:180% 180%;
  animation:gradientDrift 14s ease-in-out infinite;
}
@keyframes gradientDrift{
  0%{ background-position:0% 40%; }
  50%{ background-position:100% 60%; }
  100%{ background-position:0% 40%; }
}

/* Page-hero load-in (no JS needed — plays on paint) */
.page-hero .crumb{ opacity:0; animation:heroLoadIn .6s ease .05s forwards; }
.page-hero h1{ opacity:0; animation:heroLoadIn .7s ease .16s forwards; }
@keyframes heroLoadIn{ from{ opacity:0; transform:translateY(16px);} to{ opacity:1; transform:translateY(0);} }

/* Nav link animated underline */
.nav-links > li > a{ position:relative; }
.nav-links > li > a::after{
  content:""; position:absolute; left:16px; right:16px; bottom:6px; height:2px;
  background:linear-gradient(90deg,var(--violet),var(--coral));
  transform:scaleX(0); transform-origin:left; transition:transform .28s ease;
  border-radius:2px;
}
.nav-links > li > a:hover::after, .nav-links > li > a.active::after{ transform:scaleX(1); }

/* Button shine sweep */
.btn{ position:relative; overflow:hidden; }
.btn::before{
  content:""; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform:skewX(-20deg); transition:left .55s ease;
}
.btn:hover::before{ left:120%; }

/* Card icon micro-bounce on card hover */
.card:hover .ic{ transform:scale(1.1) rotate(-4deg); }
.card .ic{ transition:transform .35s cubic-bezier(.34,1.56,.64,1); }

/* Tilt (JS sets --rx/--ry custom props) */
.tilt{ transform:perspective(800px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); transition:transform .15s ease; will-change:transform; }
.tilt:hover{ transition:transform .05s linear; }

/* Pop-in stagger (icons/badges) */
.pop-stagger > *{ opacity:0; transform:scale(.7) translateY(14px); transition:opacity .5s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.pop-stagger.is-visible > *{ opacity:1; transform:scale(1) translateY(0); }
.pop-stagger.is-visible > *:nth-child(1){ transition-delay:.02s; }
.pop-stagger.is-visible > *:nth-child(2){ transition-delay:.06s; }
.pop-stagger.is-visible > *:nth-child(3){ transition-delay:.10s; }
.pop-stagger.is-visible > *:nth-child(4){ transition-delay:.14s; }
.pop-stagger.is-visible > *:nth-child(5){ transition-delay:.18s; }
.pop-stagger.is-visible > *:nth-child(6){ transition-delay:.22s; }
.pop-stagger.is-visible > *:nth-child(7){ transition-delay:.26s; }
.pop-stagger.is-visible > *:nth-child(8){ transition-delay:.30s; }
.pop-stagger.is-visible > *:nth-child(9){ transition-delay:.34s; }
.pop-stagger.is-visible > *:nth-child(10){ transition-delay:.38s; }
.pop-stagger.is-visible > *:nth-child(11){ transition-delay:.42s; }
.pop-stagger.is-visible > *:nth-child(12){ transition-delay:.46s; }

/* Client logo marquee (two lanes for a seamless loop) */
.marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.marquee-track{ display:flex; gap:52px; width:max-content; animation:marqueeScroll 32s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes marqueeScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee-track img{ height:42px; width:auto; object-fit:contain; filter:grayscale(1) opacity(.65); transition:filter .25s ease, transform .25s ease; flex-shrink:0; }
.marquee-track img:hover{ filter:grayscale(0) opacity(1); transform:scale(1.08); }

/* Tech / industry badge chips */
.chip-grid{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.chip{
  display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line);
  padding:12px 20px; border-radius:100px; font-weight:600; font-size:.9rem; color:var(--ink);
  transition:transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, border-color .3s ease;
}
.chip:hover{ transform:translateY(-4px) scale(1.04); box-shadow:var(--shadow-sm); border-color:transparent; }
.chip .dot2{ width:8px; height:8px; border-radius:50%; }
.chip-dark{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.16); color:#fff; }
.chip-dark:hover{ background:rgba(255,255,255,.16); box-shadow:0 10px 26px rgba(0,0,0,.3); }

/* Industry icon tiles */
.industry-tile{
  display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:22px 14px;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.industry-tile:hover{ transform:translateY(-6px) rotate(-1deg); box-shadow:var(--shadow-md); }
.industry-tile .ic-wrap{ width:52px; height:52px; border-radius:14px; background:var(--panel); display:flex; align-items:center; justify-content:center; font-size:1.4rem; }
.industry-tile span{ font-size:.82rem; font-weight:600; color:var(--ink-soft); }

/* Media-list rows (why choose us) */
.media-row{ display:flex; gap:18px; margin-bottom:26px; }
.media-row .ic-wrap{
  width:52px; height:52px; border-radius:14px; background:var(--violet-soft); color:var(--violet-dark);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; flex-shrink:0;
  transition:transform .3s ease;
}
.media-row:hover .ic-wrap{ transform:rotate(-8deg) scale(1.08); }
.media-row h4{ margin-bottom:4px; font-size:1.05rem; }
.media-row p{ font-size:.92rem; margin-bottom:0; }

/* Guarantee card */
.guarantee-card{
  background:var(--grad-panel); border-radius:var(--radius-lg); padding:36px; text-align:center;
  border:1px solid var(--line);
}

/* Whatsapp CTA strip */
.whatsapp-cta{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  background:var(--ink); color:#fff; border-radius:var(--radius-lg); padding:34px 40px;
}
.whatsapp-cta p{ color:rgba(255,255,255,.8); margin:0; font-size:1rem; }
.whatsapp-cta p span{ color:#fff; font-weight:700; }
.wa-btn{
  display:inline-flex; align-items:center; gap:10px; background:#25D366; color:#fff; font-weight:700;
  padding:14px 26px; border-radius:100px; transition:transform .25s ease, box-shadow .25s ease;
}
.wa-btn:hover{ transform:translateY(-3px) scale(1.03); box-shadow:0 14px 30px rgba(37,211,102,.35); }
.wa-btn svg{ width:20px; height:20px; fill:#fff; }

/* Finished-count pulse */
@keyframes countPulse{ 0%{ transform:scale(1); } 40%{ transform:scale(1.08); } 100%{ transform:scale(1); } }
.count-pulse{ animation:countPulse .4s ease; }

@media (max-width:700px){
  .whatsapp-cta{ flex-direction:column; text-align:center; }
}

/* ============================================================
   Premium layer — round 3 (top-end interactions)
============================================================ */

/* Global easing upgrade for reveals — expo-out, springier than ease */
.reveal, .reveal-stagger > *, .pop-stagger > *{
  transition-timing-function: cubic-bezier(.16,1,.3,1);
  transition-duration:.9s;
}

/* Custom magnetic cursor (desktop, fine-pointer only) */
.cursor-dot, .cursor-ring{ position:fixed; top:0; left:0; pointer-events:none; z-index:9999; border-radius:50%; will-change:transform; }
.cursor-dot{ width:7px; height:7px; background:var(--violet); transition:opacity .2s ease, background .25s ease; }
.cursor-ring{
  width:36px; height:36px; border:1.3px solid rgba(106,69,232,.38);
  transition:width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1), border-color .3s ease, background .3s ease;
}
.cursor-ring.hovering{ width:60px; height:60px; background:rgba(106,69,232,.07); border-color:var(--violet); }
.cursor-ring.hovering-dark{ background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.7); }
body.has-custom-cursor{ cursor:none; }
body.has-custom-cursor a, body.has-custom-cursor button, body.has-custom-cursor .tilt{ cursor:none; }

/* Word-by-word text reveal for section headings */
.word-reveal{ overflow:hidden; display:block; padding-bottom:.08em; margin-bottom:-.08em; }
.word-reveal .word{
  display:inline-block; transform:translateY(115%) rotate(3deg); opacity:0; filter:blur(7px);
  transition:transform .85s cubic-bezier(.16,1,.3,1), opacity .5s ease, filter .5s ease;
}
.word-reveal.is-visible .word{ transform:translateY(0) rotate(0deg); opacity:1; filter:blur(0); }

/* Image curtain-wipe reveal, used on .img-col and .pf-img containers */
.img-col, .pf-img{ position:relative; }
.img-col::after, .pf-img::after{
  content:""; position:absolute; inset:0; z-index:2;
  background:linear-gradient(120deg,var(--violet) 0%,var(--coral) 100%);
  transform-origin:left center; transform:scaleX(1);
  transition:transform .95s cubic-bezier(.76,0,.24,1);
}
.img-col.revealed::after, .pf-img.revealed::after{ transform:scaleX(0); }
.img-col{ overflow:hidden; border-radius:var(--radius-lg); box-shadow:var(--shadow-md); }
.img-col img{ width:100%; height:auto; border-radius:0; box-shadow:none; transform:scale(1.18); transition:transform 1.1s cubic-bezier(.16,1,.3,1); }
.img-col.revealed img{ transform:scale(1); }
.pf-img img{ transform:scale(1.18); }
.pf-img.revealed img{ transform:scale(1); }
.pf-card:hover .pf-img img{ transform:scale(1.08); }

/* Magnetic buttons — transform is set inline via JS; this just smooths it */
.btn{ transition:transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background-position .5s ease; }

/* Hero parallax blobs */
.hero::before{ transform:translateY(var(--parallax-a,0px)); }
.hero::after{ transform:translateY(var(--parallax-b,0px)); }

/* Reveal ring pulse on nav links (replaces flat underline reveal timing) */
.nav-links > li > a::after{ transition:transform .45s cubic-bezier(.16,1,.3,1); }

@media (prefers-reduced-motion: reduce){
  .cursor-dot, .cursor-ring{ display:none !important; }
  .word-reveal .word{ transition:none; transform:none; opacity:1; filter:none; }
}
@media (hover:none), (pointer:coarse){
  .cursor-dot, .cursor-ring{ display:none !important; }
}

/* ============================================================
   404 page
============================================================ */
.notfound-hero{ padding:110px 0 90px; text-align:center; }
.notfound-wrap{ max-width:640px; margin:0 auto; }
.notfound-num{
  display:flex; align-items:center; justify-content:center; gap:6px;
  font-family:"Sora",sans-serif; font-weight:800; font-size:clamp(5rem,14vw,9rem);
  color:#fff; line-height:1; letter-spacing:-.02em; margin-bottom:6px;
}
.notfound-orb{
  width:.92em; height:.92em; border-radius:50%;
  background:linear-gradient(135deg,#FFD166,#FF8FA3,#7DE8FF);
  background-size:220% 220%;
  display:inline-flex; align-items:center; justify-content:center;
  animation:notfoundSpin 7s linear infinite, notfoundGrad 5s ease infinite;
  box-shadow:0 0 60px rgba(255,209,102,.5);
  font-size:1em; color:transparent;
}
@keyframes notfoundSpin{ from{ transform:rotate(0deg);} to{ transform:rotate(360deg);} }
@keyframes notfoundGrad{ 0%,100%{ background-position:0% 50%;} 50%{ background-position:100% 50%;} }
@media (prefers-reduced-motion: reduce){ .notfound-orb{ animation:none; } }

/* ============================================================
   Page transition (fade wipe between pages)
============================================================ */
.page-exit-overlay{
  position:fixed; inset:0; z-index:9999; background:var(--grad-hero);
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .38s ease;
}
.page-exit-overlay.show{ opacity:1; pointer-events:auto; }
.page-exit-mark{
  width:64px; height:64px; border-radius:18px; background:#fff;
  display:flex; align-items:center; justify-content:center;
  animation:preloaderPulse 1s ease-in-out infinite; padding:12px;
}
.page-exit-mark img{ width:100%; height:100%; object-fit:contain; }

/* ============================================================
   Animated stat progress rings
============================================================ */
.stat-ring-wrap{ position:relative; display:inline-flex; align-items:center; justify-content:center; width:100px; height:100px; margin:0 auto 10px; }
.stat-ring-wrap svg{ position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.stat-ring-wrap circle{ fill:none; stroke-width:5; }
.stat-ring-track{ stroke:rgba(255,255,255,.18); }
.stat-ring-bar{ stroke:url(#statRingGrad); stroke-linecap:round; stroke-dasharray:270; stroke-dashoffset:270; transition:stroke-dashoffset 1.4s cubic-bezier(.16,1,.3,1); }
.stat-ring-wrap b{ position:relative; z-index:1; }
.stat-ring-wrap b.digits-3{ font-size:1.9rem; }
.stat-ring-wrap b.digits-4{ font-size:1.5rem; }
.stats-strip .stat-ring-track{ stroke:rgba(255,255,255,.12); }
.hero-stats{ display:none; }

/* ============================================================
   Image skeleton-loading shimmer
============================================================ */
img.img-loading{ opacity:0; }
img{ transition:opacity .45s ease; }
.shimmer-loading{ position:relative; overflow:hidden; background:var(--panel); }
.shimmer-loading::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  background-size:200% 100%;
  animation:shimmerSweep 1.3s ease-in-out infinite;
}
@keyframes shimmerSweep{ from{ background-position:150% 0; } to{ background-position:-50% 0; } }

/* ============================================================
   Sticky quick-contact tab
============================================================ */
.qc-tab{
  position:fixed; right:0; top:50%; transform:translateY(-50%) rotate(180deg);
  writing-mode:vertical-rl; background:var(--grad-btn); color:#fff; font-family:"Sora",sans-serif; font-weight:700;
  font-size:.85rem; letter-spacing:.03em; padding:16px 10px; border-radius:0 10px 10px 0;
  cursor:pointer; z-index:220; box-shadow:-6px 6px 20px rgba(67,56,202,.25); border:none;
  transition:padding .25s ease, opacity .3s ease;
}
.qc-tab:hover{ padding-right:16px; }
.qc-panel{
  position:fixed; top:0; right:0; height:100%; width:min(340px,88vw); background:#fff; z-index:230;
  box-shadow:-20px 0 50px rgba(18,12,34,.25); transform:translateX(100%); transition:transform .4s cubic-bezier(.16,1,.3,1);
  display:flex; flex-direction:column; overflow-y:auto;
}
.qc-panel.open{ transform:translateX(0); }
.qc-panel-head{ padding:26px 24px 18px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.qc-panel-head h4{ margin:0; }
.qc-close{ width:34px; height:34px; border-radius:50%; background:var(--panel); border:none; font-size:1.2rem; color:var(--ink); display:flex; align-items:center; justify-content:center; transition:background .2s ease, transform .2s ease; }
.qc-close:hover{ background:var(--violet-soft); transform:rotate(90deg); }
.qc-panel-body{ padding:22px 24px; }
.qc-quick-links{ display:flex; gap:10px; margin-bottom:22px; }
.qc-quick-links a{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 8px;
  background:var(--panel); border-radius:14px; font-size:.76rem; font-weight:700; color:var(--ink);
  transition:transform .25s ease, background .25s ease;
}
.qc-quick-links a:hover{ transform:translateY(-3px); background:var(--violet-soft); }
.qc-quick-links a span.qic{ font-size:1.3rem; }
.qc-overlay{
  position:fixed; inset:0; background:rgba(18,12,34,.4); z-index:215; opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.qc-overlay.open{ opacity:1; pointer-events:auto; }
@media (max-width:600px){ .qc-tab{ display:none; } }

/* Scroll to top */
.to-top{
  position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:50%;
  background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); opacity:0; pointer-events:none; transition:opacity .25s ease, transform .25s ease, bottom .25s ease;
  z-index:150; border:none; font-size:1.1rem;
}
.to-top.show{ opacity:1; pointer-events:auto; }
.to-top:hover{ transform:translateY(-3px); }

/* ============================================================
   Mobile bottom icon navigation
============================================================ */
.bottom-nav{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:210;
  background:rgba(255,255,255,.98); border-top:1px solid var(--line);
  box-shadow:0 -10px 28px rgba(30,34,51,.08);
  padding:6px 4px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav-inner{ display:flex; align-items:center; justify-content:space-around; max-width:480px; margin:0 auto; }
.bottom-nav a{
  display:flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:14px; color:var(--ink-faint);
  transition:color .2s ease, background .2s ease, transform .15s ease;
}
.bottom-nav a svg{ width:23px; height:23px; }
.bottom-nav a.active{ color:var(--violet); background:var(--violet-soft); }
.bottom-nav a:active{ transform:scale(.88); }

@media (max-width:768px){
  .bottom-nav{ display:block; }
  body{ padding-bottom:68px; }
  .wa-float{ bottom:80px; }
  .to-top{ bottom:80px; }
}

/* ============================================================
   Floating WhatsApp button
============================================================ */
.wa-float{
  position:fixed; left:22px; bottom:22px; z-index:150;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 30px rgba(37,211,102,.45);
  animation:waPulse 2.6s ease-in-out infinite;
  transition:opacity .3s ease;
}
.wa-float svg{ width:28px; height:28px; fill:#fff; }
.wa-float:hover{ transform:scale(1.08); }
@keyframes waPulse{
  0%,100%{ box-shadow:0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  50%{ box-shadow:0 12px 30px rgba(37,211,102,.45), 0 0 0 12px rgba(37,211,102,0); }
}
@media (max-width:600px){ .wa-float{ width:50px; height:50px; left:16px; bottom:80px; } .wa-float svg{ width:24px; height:24px; } }

/* ============================================================
   Preloader
============================================================ */
.preloader{
  position:fixed; inset:0; z-index:9998; background:var(--grad-hero);
  display:flex; align-items:center; justify-content:center;
  transition:opacity .5s ease, visibility .5s ease;
}
.preloader.hide{ opacity:0; visibility:hidden; }
.preloader-mark{
  width:64px; height:64px; border-radius:18px; background:#fff;
  display:flex; align-items:center; justify-content:center;
  animation:preloaderPulse 1s ease-in-out infinite; padding:12px;
}
.preloader-mark img{ width:100%; height:100%; object-fit:contain; }
@keyframes preloaderPulse{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(.86); opacity:.7; } }
@media (prefers-reduced-motion: reduce){ .preloader{ display:none; } }

/* ============================================================
   Portfolio lightbox
============================================================ */
.lightbox{
  position:fixed; inset:0; z-index:500; background:rgba(18,12,34,.92);
  display:flex; align-items:center; justify-content:center; padding:40px;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:min(600px,90vw); max-height:85vh; border-radius:var(--radius-md); box-shadow:0 40px 100px rgba(0,0,0,.5);
  transform:scale(.9); transition:transform .35s cubic-bezier(.16,1,.3,1); }
.lightbox.open img{ transform:scale(1); }
.lightbox-close{
  position:absolute; top:26px; right:30px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.3); font-size:1.4rem;
  display:flex; align-items:center; justify-content:center; transition:background .2s ease, transform .2s ease;
}
.lightbox-close:hover{ background:rgba(255,255,255,.25); transform:rotate(90deg); }
.lightbox-cap{ position:absolute; bottom:34px; left:50%; transform:translateX(-50%); color:#fff; font-weight:600; text-align:center; }
.pf-img{ cursor:zoom-in; }

/* ============================================================
   Process timeline
============================================================ */
.process-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; }
@media (max-width:900px){ .process-row{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .process-row{ grid-template-columns:1fr; } }
.process-step{ position:relative; text-align:center; }
.process-step .num{
  width:38px; height:38px; border-radius:50%; background:var(--grad-btn); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:"Sora",sans-serif; font-weight:700;
  margin:0 auto 16px; box-shadow:var(--shadow-glow); font-size:.95rem;
}
.process-step h4{ margin-bottom:6px; }
.process-step p{ font-size:.88rem; }
.process-row::before{
  content:""; position:absolute; top:19px; left:12.5%; right:12.5%; height:2px;
  background:repeating-linear-gradient(90deg, var(--violet) 0 8px, transparent 8px 16px); z-index:-1; opacity:.4;
}
@media (max-width:900px){ .process-row::before{ display:none; } }

/* ============================================================
   Team section
============================================================ */
.team-card{ text-align:center; }
.avatar-badge{
  width:84px; height:84px; border-radius:50%; margin:0 auto 16px;
  display:flex; align-items:center; justify-content:center;
  font-family:"Sora",sans-serif; font-weight:800; font-size:1.3rem; color:#fff;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.team-card:hover .avatar-badge{ transform:scale(1.08) rotate(-4deg); }
.team-card h4{ margin-bottom:2px; }
.team-card span{ font-size:.85rem; color:var(--ink-faint); font-weight:600; }

/* ============================================================
   Testimonials
============================================================ */
.testi-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); padding:30px;
  transition:transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease;
}
.testi-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-glow); }
.testi-stars{ color:var(--amber); font-size:1rem; margin-bottom:14px; letter-spacing:2px; }
.testi-card p{ font-size:.98rem; color:var(--ink-soft); margin-bottom:20px; font-style:italic; }
.testi-who{ display:flex; align-items:center; gap:12px; }
.testi-avatar{
  width:44px; height:44px; border-radius:50%; background:var(--grad-btn); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:"Sora",sans-serif; font-weight:700; flex-shrink:0;
}
.testi-who h5{ margin:0; font-size:.95rem; }
.testi-who span{ font-size:.8rem; color:var(--ink-faint); }

/* Testimonial carousel */
.testi-carousel-wrap{ max-width:600px; margin:0 auto; }
.testi-carousel{ overflow:hidden; border-radius:var(--radius-md); }
.testi-track{ display:flex; transition:transform .55s cubic-bezier(.16,1,.3,1); }
.testi-track .testi-card{ flex:0 0 100%; }
.testi-track .testi-card:hover{ transform:none; box-shadow:none; }
.testi-dots{ display:flex; justify-content:center; gap:9px; margin-top:22px; }
.testi-dot{
  width:9px; height:9px; border-radius:50%; background:var(--line); border:none; padding:0; cursor:pointer;
  transition:background .25s ease, transform .25s ease;
}
.testi-dot.active{ background:var(--violet); transform:scale(1.3); }

/* ============================================================
   FAQ accordion
============================================================ */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:22px 0; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  font-family:"Sora",sans-serif; font-weight:700; font-size:1.02rem; color:var(--ink);
}
.faq-q .plus{
  width:28px; height:28px; border-radius:50%; background:var(--violet-soft); color:var(--violet-dark);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .35s cubic-bezier(.16,1,.3,1), background .3s ease;
  font-size:1.1rem;
}
.faq-item.open .faq-q .plus{ transform:rotate(135deg); background:var(--grad-btn); color:#fff; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.16,1,.3,1); }
.faq-a p{ padding-bottom:22px; margin:0; }
.faq-item.open .faq-a{ max-height:220px; }

/* Final layout polish: consistent rhythm, safer sizing, and balanced responsive flow. */
.container{ width:100%; }
.section > .container,.section-tight > .container{ min-width:0; }
.grid > *,.split > *,.hero-grid > *,.footer-grid > *{ min-width:0; }
.head-block h3{ text-wrap:balance; }
.head-block.center p{ margin-left:auto; margin-right:auto; }
.card,.pf-card,.testi-card,.contact-info-card,.office-card,.form-panel,.guarantee-card{ isolation:isolate; }
.card p,.pf-card .pf-body h4,.testi-card p{ overflow-wrap:anywhere; }
.pf-card{ height:100%; display:flex; flex-direction:column; }
.pf-card .pf-img{ flex:none; }
.pf-card .pf-body{ flex:1; }
.pf-card .pf-body h4{ min-height:1.35em; }
.form-panel form{ min-width:0; }
.office-details{ min-width:0; }
.office-details p,.contact-info-card p{ overflow-wrap:anywhere; }
.hero-actions .btn,.cta-band .actions .btn,.office-actions .btn{ justify-content:center; }
.site-footer{ position:relative; }
.site-footer .container{ min-width:0; }

@media (max-width:960px){
  .container{ padding-left:22px; padding-right:22px; }
  .hero{ padding-top:72px; }
  .hero-grid{ gap:36px; }
  .section{ padding:78px 0; }
  .section-tight{ padding:54px 0; }
}

@media (max-width:700px){
  .container{ padding-left:16px; padding-right:16px; padding-top: 20px;}
  .section{ padding:20px 0; }
  .section-tight{ padding:40px 0; }
  h1{ font-size:clamp(2.35rem,11vw,3.25rem); }
  h2{ font-size:clamp(1.85rem,8vw,2.45rem); }
  .nav-row{ padding-top:10px; padding-bottom:10px; }
  .brand-logo{ max-width:180px; height:34px; }
  .hero{ padding:62px 0 76px; }
  .hero-actions{ gap:10px; }
  .hero-actions .btn{ flex:1 1 170px; }
  .form-panel{ padding:24px 18px; border-radius:20px; }
  .cta-band{ padding:40px 20px; border-radius:20px; }
  .whatsapp-cta{ padding:26px 20px; border-radius:20px; }
  .stats-strip{ padding:34px 18px; border-radius:20px; }
  .footer-bottom{ align-items:flex-start; flex-direction:column; }
}

@media (max-width:420px){
  .hero-actions .btn{ width:100%; flex-basis:100%; }
  .office-details{ padding:24px 18px; }
  .office-actions .btn{ width:100%; }
  .pf-filters{ gap:7px; }
  .pf-filters button{ flex:1 1 auto; padding-left:14px; padding-right:14px; }
}

/* Mobile navigation polish */
@media (max-width:1080px){
  .nav-row{ border-radius:0 0 18px 18px; box-shadow:0 8px 24px rgba(30,34,51,.08); }
  .nav-toggle{ position:relative; width:44px; height:44px; border:1px solid #D9D9F3; border-radius:13px; background:var(--violet-soft); box-shadow:var(--shadow-sm); transition:background .25s ease, transform .25s ease; }
  .nav-toggle:hover{ background:#E0E7FF; transform:translateY(-1px); }
  .nav-toggle span,.nav-toggle::before,.nav-toggle::after{ position:absolute; left:11px; width:22px; height:2px; margin:0; background:var(--violet-dark); transition:transform .25s ease, opacity .2s ease; }
  .nav-toggle::before{ top:14px; }
  .nav-toggle span{ top:21px; }
  .nav-toggle::after{ top:28px; }
  .nav-toggle.open span{ opacity:0; }
  .nav-toggle.open::before{ transform:translateY(7px) rotate(45deg); }
  .nav-toggle.open::after{ transform:translateY(-7px) rotate(-45deg); }
  .nav-links{ inset:68px 12px calc(94px + env(safe-area-inset-bottom)); z-index:205; border:1px solid var(--line); border-radius:0 0 24px 24px; box-shadow:0 24px 44px rgba(30,34,51,.16); padding:18px 12px 24px; overflow-x:hidden; overflow-y:auto; }
  .nav-links > li > a{ padding:14px 16px; font-size:.9rem; font-weight:650; }
  .nav-links > li > a.active{ box-shadow:inset 0 -2px 0 var(--coral); }
  .mega-inner{ padding-left:16px; }
  .nav-links .has-mega > a{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .nav-links .has-mega > a::after{ content:""; width:8px; height:8px; flex:0 0 8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg) translateY(-2px); transition:transform .25s ease; }
  .nav-links .has-mega.open > a::after{ transform:rotate(225deg) translate(-2px,-2px); }
  .nav-links .has-mega.open > .mega,.nav-links .has-mega:focus-within > .mega{ display:block !important; visibility:visible; opacity:1; height:auto; max-height:45vh; overflow-y:auto; padding:4px 0 8px !important; }
  .nav-links .has-mega > .mega{ display:block !important; visibility:visible; opacity:1; height:auto; max-height:45vh; overflow-y:auto; padding:4px 0 8px !important; }
  .nav-links .has-mega.open > .mega > .mega-inner{ display:flex !important; flex-direction:column; gap:4px; padding:8px 8px 10px 16px; margin:0 4px 4px; border-left:3px solid var(--violet); border-radius:0 14px 14px 0; background:var(--violet-soft); }
  .nav-links .has-mega > .mega > .mega-inner{ display:flex !important; flex-direction:column; gap:4px; padding:8px 8px 10px 16px; margin:0 4px 4px; border-left:3px solid var(--violet); border-radius:0 14px 14px 0; background:var(--violet-soft); }
  .nav-links .has-mega > a::after{ transform:rotate(225deg) translate(-2px,-2px); }
  .nav-links .mega-col{ padding:5px 0; }
  .nav-links .mega-col h6{ margin:0 0 2px; font-size:.72rem; }
  .nav-links .mega-col li a{ padding:4px 0; font-size:.78rem; line-height:1.45; color:var(--ink-soft); }
  .nav-links .mega-col li a:hover{ padding-left:3px; }
}

@media (max-width:768px){
  body{ padding-bottom:92px; }
  .bottom-nav{ left:12px; right:12px; bottom:10px; z-index:210; padding:7px 7px calc(7px + env(safe-area-inset-bottom)); border:1px solid rgba(231,231,243,.95); border-radius:24px; box-shadow:0 16px 34px rgba(30,34,51,.16); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
  .bottom-nav-inner{ max-width:none; gap:4px; }
  .bottom-nav a{ flex:1; width:auto; height:46px; border-radius:16px; }
  .bottom-nav a.active{ box-shadow:0 6px 16px rgba(99,102,241,.16); }
  .bottom-nav a svg{ width:21px; height:21px; }
}
