/* ================================================================
   SEROFT — SHARED DESIGN SYSTEM
   
   Warm, luminous, premium light aesthetic.
   Syne (headings) + DM Sans (body)
   Brand: Black · Red · Warm Off-White palette
   ================================================================ */

/* ── Google Fonts ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Design Tokens ────────────────────────────────────────────── */
:root {
  /* Brand */
  --red:         #DC2626;
  --red-hover:   #B91C1C;
  --red-mid:     #EF4444;
  --red-tint:    rgba(220,38,38,0.06);
  --red-tint-md: rgba(220,38,38,0.10);

  /* Light palette — warm off-white base */
  --white:      #FFFFFF;
  --bg:         #F9F8F6;   /* main page background */
  --bg-2:       #F3F2EF;   /* alternating sections */
  --bg-3:       #EDECEA;   /* subtle contrast panels */
  --bg-card:    #FFFFFF;   /* card surfaces */

  /* Glass */
  --glass:        rgba(255,255,255,0.76);
  --glass-border: rgba(255,255,255,0.92);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.07), inset 0 1px 0 rgba(255,255,255,0.85);

  /* Text */
  --text:    #111111;
  --text-2:  #4A4847;
  --text-3:  #8C8A87;
  --text-inv:#FFFFFF;

  /* Borders */
  --border:       rgba(0,0,0,0.08);
  --border-md:    rgba(0,0,0,0.12);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow:    0 4px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.03);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.10), 0 8px 24px rgba(0,0,0,0.05);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 36px;

  /* Nav */
  --nav-h: 72px;

  /* Easing */
  --ease:    cubic-bezier(0.25,0.1,0.25,1);
  --ease-o:  cubic-bezier(0,0,0.2,1);
  --ease-io: cubic-bezier(0.4,0,0.2,1);
  --dur:     0.25s;
  --dur-l:   0.4s;
}

/* ── Reset ────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;height:auto}
a{text-decoration:none;color:inherit}
button{cursor:pointer;border:none;background:none;font-family:inherit;font-size:inherit}
ul,ol{list-style:none}
::selection{background:var(--red);color:#fff}
::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}
:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:3px}

/* ── Typography ───────────────────────────────────────────────── */
h1,h2,h3,h4,h5{
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:-0.025em;
  line-height:1.08;
  color:var(--text);
}
.t-display{font-size:clamp(3.25rem,7vw,5.75rem);font-weight:800;letter-spacing:-0.03em}
.t-h1    {font-size:clamp(2.5rem,5vw,4rem);letter-spacing:-0.028em}
.t-h2    {font-size:clamp(1.9rem,3.5vw,3rem);letter-spacing:-0.025em}
.t-h3    {font-size:clamp(1.35rem,2.2vw,1.75rem)}
.t-h4    {font-size:1.125rem;font-weight:600}
.t-body-lg{font-size:1.125rem;line-height:1.72}
.t-body  {font-size:1rem;line-height:1.7}
.t-sm    {font-size:0.9375rem;line-height:1.65}
.t-xs    {font-size:0.8125rem}
.t-cap   {font-size:0.75rem;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;font-family:var(--font-display)}
.t-red   {color:var(--red)}
.t-muted {color:var(--text-2)}
.t-dim   {color:var(--text-3)}
.t-inv   {color:var(--text-inv)}

/* Gradient text */
.t-grad{
  background:linear-gradient(135deg,var(--red) 0%,#f87171 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* ── Layout ───────────────────────────────────────────────────── */
.wrap    {max-width:1220px;margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}
.wrap-sm {max-width:860px;margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}
.wrap-xs {max-width:640px;margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}
.section {padding:clamp(5rem,10vw,8rem) 0}
.section-sm{padding:clamp(3rem,6vw,5rem) 0}

/* ── Eyebrow ──────────────────────────────────────────────────── */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--font-display);font-size:0.72rem;font-weight:700;
  letter-spacing:0.11em;text-transform:uppercase;color:var(--red);
  margin-bottom:1.25rem;
}
.eyebrow::before{
  content:'';display:inline-block;width:7px;height:7px;
  background:var(--red);border-radius:2px;flex-shrink:0;
}

/* ── Section headers ──────────────────────────────────────────── */
.sh{margin-bottom:3.5rem}
.sh.ctr{text-align:center}
.sh.ctr .eyebrow{justify-content:center}
.sh p{margin-top:1rem;color:var(--text-2);font-size:1.0625rem;line-height:1.72;max-width:560px}
.sh.ctr p{margin-left:auto;margin-right:auto}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:.875rem 1.75rem;border-radius:var(--r-sm);
  font-family:var(--font-display);font-size:.9rem;font-weight:700;
  letter-spacing:-.01em;transition:all var(--dur) var(--ease);
  white-space:nowrap;cursor:pointer;
}
.btn-red{background:var(--red);color:#fff;border:none}
.btn-red:hover{background:var(--red-hover);transform:translateY(-2px);box-shadow:0 8px 24px rgba(220,38,38,.28)}
.btn-outline{background:transparent;color:var(--text);border:1.5px solid var(--border-md)}
.btn-outline:hover{border-color:var(--red);color:var(--red);transform:translateY(-2px)}
.btn-ghost-light{
  background:rgba(255,255,255,.08);color:rgba(255,255,255,.88);
  border:1.5px solid rgba(255,255,255,.18);
}
.btn-ghost-light:hover{background:rgba(255,255,255,.14);transform:translateY(-2px)}
.btn svg{width:15px;height:15px;flex-shrink:0;stroke-width:2.5}

/* ── Glass panel ──────────────────────────────────────────────── */
.glass{
  background:var(--glass);
  border:1px solid var(--glass-border);
  backdrop-filter:blur(24px) saturate(1.4);
  -webkit-backdrop-filter:blur(24px) saturate(1.4);
  box-shadow:var(--glass-shadow);
  border-radius:var(--r);
}
.glass-hover{transition:transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease),border-color var(--dur) var(--ease)}
.glass-hover:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(0,0,0,.10);border-color:rgba(220,38,38,.25)}

/* ── Tag / pill ───────────────────────────────────────────────── */
.tag{
  display:inline-block;padding:.28rem .75rem;border-radius:100px;
  font-family:var(--font-display);font-size:.7rem;font-weight:700;
  letter-spacing:.07em;text-transform:uppercase;
}
.tag-red{background:var(--red-tint);color:var(--red)}
.tag-neutral{background:var(--bg-3);color:var(--text-3);border:1px solid var(--border)}

/* ── Navigation ───────────────────────────────────────────────── */
.site-nav{
  position:fixed;top:0;left:0;right:0;z-index:900;
  background:rgba(249,248,246,.82);
  border-bottom:1px solid transparent;
  backdrop-filter:blur(16px) saturate(1.5);
  -webkit-backdrop-filter:blur(16px) saturate(1.5);
  transition:border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease),background var(--dur) var(--ease);
  height:var(--nav-h);
  display:flex;align-items:center;
}
.site-nav.scrolled{
  border-color:var(--border-md);
  box-shadow:0 2px 20px rgba(0,0,0,.05);
  background:rgba(249,248,246,.95);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:2rem;width:100%;
}
.nav-logo{display:flex;align-items:center;flex-shrink:0}
.nav-logo img{height:28px;width:auto}

/* Desktop nav links */
.nav-links{display:flex;align-items:center;gap:.125rem}
.nav-item{position:static}
.nav-btn{
  display:flex;align-items:center;gap:5px;
  padding:.5rem .9rem;
  font-family:var(--font-display);font-size:.875rem;font-weight:600;
  color:var(--text-2);border-radius:var(--r-sm);
  transition:color var(--dur) var(--ease),background var(--dur) var(--ease);
  letter-spacing:-.01em;
}
.nav-btn:hover,.nav-item.active .nav-btn{color:var(--text);background:var(--bg-3)}
.nav-chevron{
  display:inline-block;width:14px;height:14px;
  transition:transform var(--dur) var(--ease);
  opacity:.55;
}
.nav-item.open .nav-chevron{transform:rotate(180deg)}

/* Nav actions */
.nav-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.nav-mobile-btn{
  display:none;width:40px;height:40px;align-items:center;justify-content:center;
  border-radius:var(--r-sm);border:1.5px solid var(--border-md);
  color:var(--text);transition:all var(--dur) var(--ease);
}
.nav-mobile-btn:hover{border-color:var(--red);color:var(--red)}
.nav-mobile-btn svg{width:18px;height:18px}

/* ── Mega Menu ────────────────────────────────────────────────── */
.mega-wrap{
  position:fixed;top:var(--nav-h);left:0;right:0;z-index:890;
  pointer-events:none;
}
.mega-panel{
  position:absolute;top:0;left:0;right:0;
  background:rgba(252,251,249,.96);
  border-bottom:1px solid var(--border-md);
  backdrop-filter:blur(32px) saturate(1.6);
  -webkit-backdrop-filter:blur(32px) saturate(1.6);
  box-shadow:0 24px 64px rgba(0,0,0,.10);
  opacity:0;visibility:hidden;
  transform:translateY(-10px);
  transition:opacity .3s var(--ease-o),visibility .3s,transform .3s var(--ease-o);
  pointer-events:none;
  padding:2.5rem 0 2rem;
}
.mega-panel.open{
  opacity:1;visibility:visible;
  transform:translateY(0);
  pointer-events:all;
}
.mega-inner{max-width:1220px;margin:0 auto;padding:0 clamp(1.25rem,4vw,3rem)}

/* Mega sub-items grid */
.mega-items{
  display:grid;gap:1rem;
  padding-bottom:2rem;
  border-bottom:1px solid var(--border);
  margin-bottom:2rem;
}
.mega-items-2{grid-template-columns:repeat(2,1fr)}
.mega-items-3{grid-template-columns:repeat(3,1fr)}

.mega-item{
  display:flex;align-items:flex-start;gap:.875rem;
  padding:.875rem 1rem;border-radius:var(--r-sm);
  border:1px solid transparent;
  transition:all var(--dur) var(--ease);
  cursor:pointer;
}
.mega-item:hover{background:var(--bg-card);border-color:var(--border);box-shadow:var(--shadow-sm)}
.mega-item-icon{
  width:40px;height:40px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  border-radius:var(--r-sm);
  background:var(--red-tint);color:var(--red);
  transition:background var(--dur) var(--ease);
}
.mega-item:hover .mega-item-icon{background:var(--red-tint-md)}
.mega-item-icon svg{width:18px;height:18px;stroke-width:1.75}
.mega-item-text{flex:1;min-width:0}
.mega-item-label{
  display:block;font-family:var(--font-display);font-size:.9375rem;
  font-weight:700;color:var(--text);letter-spacing:-.01em;
  margin-bottom:.2rem;
}
.mega-item-desc{display:block;font-size:.8125rem;color:var(--text-3);line-height:1.5}

/* Mega footer nav section */
.mega-footer-nav{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:2rem;
}
.mega-footer-col h6{
  font-family:var(--font-display);font-size:.7rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;color:var(--text-3);
  margin-bottom:.875rem;
}
.mega-footer-col ul{display:flex;flex-direction:column;gap:.5rem}
.mega-footer-col a{font-size:.875rem;color:var(--text-2);transition:color var(--dur) var(--ease)}
.mega-footer-col a:hover{color:var(--red)}

/* ── Mobile Menu ──────────────────────────────────────────────── */
.mobile-overlay{
  display:none;position:fixed;inset:0;z-index:850;
  background:rgba(0,0,0,.35);
  backdrop-filter:blur(4px);opacity:0;
  transition:opacity .3s var(--ease);
}
.mobile-overlay.open{display:block;opacity:1}
.mobile-drawer{
  position:fixed;top:0;right:0;bottom:0;z-index:860;
  width:min(360px,92vw);
  background:var(--bg);
  border-left:1px solid var(--border);
  transform:translateX(100%);
  transition:transform .35s var(--ease-o);
  overflow-y:auto;
  display:flex;flex-direction:column;
}
.mobile-drawer.open{transform:translateX(0)}
.mobile-drawer-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.25rem 1.5rem;
  border-bottom:1px solid var(--border);
}
.mobile-drawer-head img{height:24px;width:auto}
.mobile-close{
  width:36px;height:36px;display:flex;align-items:center;justify-content:center;
  border-radius:var(--r-sm);border:1.5px solid var(--border);
  color:var(--text-2);transition:all var(--dur) var(--ease);
}
.mobile-close:hover{border-color:var(--red);color:var(--red)}
.mobile-close svg{width:16px;height:16px}
.mobile-nav{flex:1;padding:1rem}
.mobile-acc-btn{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  padding:.875rem 1rem;border-radius:var(--r-sm);
  font-family:var(--font-display);font-size:1rem;font-weight:700;
  color:var(--text);transition:all var(--dur) var(--ease);
  margin-bottom:.25rem;
}
.mobile-acc-btn:hover,.mobile-acc-btn.open{color:var(--red);background:var(--red-tint)}
.mobile-acc-btn .chevron{
  width:16px;height:16px;flex-shrink:0;opacity:.5;
  transition:transform var(--dur) var(--ease);
}
.mobile-acc-btn.open .chevron{transform:rotate(180deg)}
.mobile-acc-content{
  max-height:0;overflow:hidden;
  transition:max-height .35s var(--ease-o);
}
.mobile-acc-content.open{max-height:600px}
.mobile-sub-link{
  display:flex;align-items:center;gap:.625rem;
  padding:.625rem 1rem .625rem 1.75rem;
  font-size:.9rem;color:var(--text-2);border-radius:var(--r-sm);
  transition:all var(--dur) var(--ease);margin-bottom:.125rem;
}
.mobile-sub-link:hover{color:var(--red);background:var(--red-tint)}
.mobile-sub-link svg{width:14px;height:14px;flex-shrink:0;color:var(--red)}
.mobile-direct-link{
  display:block;padding:.875rem 1rem;
  font-family:var(--font-display);font-size:1rem;font-weight:700;
  color:var(--text);border-radius:var(--r-sm);margin-bottom:.25rem;
  transition:all var(--dur) var(--ease);
}
.mobile-direct-link:hover{color:var(--red);background:var(--red-tint)}
.mobile-drawer-foot{padding:1.25rem 1.5rem;border-top:1px solid var(--border)}
.mobile-drawer-foot .btn{width:100%;justify-content:center}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer{
  background:#0A0A0A;
  color:var(--text-inv);
  padding:5rem 0 2.5rem;
}
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr 0.7fr;
  gap:2rem;
  padding-bottom:3.5rem;
  border-bottom:1px solid rgba(255,255,255,.07);
  margin-bottom:2.5rem;
}
.footer-brand img{height:26px;opacity:.9;margin-bottom:1.25rem;filter:invert(1) brightness(10)}
.footer-brand p{font-size:.9rem;color:rgba(255,255,255,.35);line-height:1.72;max-width:260px}
.footer-brand-mail{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.875rem;color:rgba(255,255,255,.45);margin-top:1.25rem;
  transition:color var(--dur) var(--ease);
}
.footer-brand-mail:hover{color:var(--red)}
.footer-brand-mail svg{width:14px;height:14px}
.footer-col h6{
  font-family:var(--font-display);font-size:.7rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.25);margin-bottom:1.125rem;
}
.footer-col ul{display:flex;flex-direction:column;gap:.6rem}
.footer-col a{font-size:.9rem;color:rgba(255,255,255,.4);transition:color var(--dur) var(--ease)}
.footer-col a:hover{color:rgba(255,255,255,.88)}
.footer-bottom{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
}
.footer-bottom p{font-size:.8rem;color:rgba(255,255,255,.2)}
.footer-bottom a{font-size:.8rem;color:rgba(255,255,255,.25);transition:color var(--dur) var(--ease)}
.footer-bottom a:hover{color:rgba(255,255,255,.6)}
.footer-platforms{
  margin-bottom:3rem;padding:1.5rem 2rem;
  border-radius:var(--r);border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.02);
}
.footer-platforms p{
  font-family:var(--font-display);font-size:.68rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;
  color:rgba(255,255,255,.2);margin-bottom:.875rem;
}
.footer-platforms-list{display:flex;flex-wrap:wrap;gap:.5rem}
.footer-plat-tag{
  font-family:var(--font-display);font-size:.72rem;font-weight:600;
  padding:.28rem .75rem;border-radius:100px;
  border:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.28);
}

/* ── Marquee ──────────────────────────────────────────────────── */
.marquee-section{
  background:var(--bg-2);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:1.5rem 0;overflow:hidden;
}
.marquee-label{
  text-align:center;font-family:var(--font-display);font-size:.68rem;
  font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--text-3);margin-bottom:1.25rem;
}
.marquee-track{
  display:flex;overflow:hidden;
  mask-image:linear-gradient(90deg,transparent 0%,black 12%,black 88%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,black 12%,black 88%,transparent 100%);
}
.marquee-inner{display:flex;gap:1rem;animation:marquee 42s linear infinite;width:max-content}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.plat-pill{
  display:flex;align-items:center;gap:.625rem;
  padding:.45rem 1rem;border-radius:100px;
  border:1px solid var(--border);background:var(--bg-card);
  flex-shrink:0;
  box-shadow:var(--shadow-sm);
}
.plat-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.plat-name{font-family:var(--font-display);font-size:.8rem;font-weight:600;color:var(--text);white-space:nowrap}
.plat-by{font-size:.72rem;color:var(--text-3);white-space:nowrap}

/* ── Scroll Reveal Animations ─────────────────────────────────── */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease-o),transform .7s var(--ease-o)}
.reveal.in{opacity:1;transform:none}
.reveal-left{opacity:0;transform:translateX(-32px);transition:opacity .7s var(--ease-o),transform .7s var(--ease-o)}
.reveal-left.in{opacity:1;transform:none}
.reveal-right{opacity:0;transform:translateX(32px);transition:opacity .7s var(--ease-o),transform .7s var(--ease-o)}
.reveal-right.in{opacity:1;transform:none}
.reveal-scale{opacity:0;transform:scale(.94);transition:opacity .7s var(--ease-o),transform .7s var(--ease-o)}
.reveal-scale.in{opacity:1;transform:none}
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}
.d4{transition-delay:.32s}.d5{transition-delay:.40s}.d6{transition-delay:.48s}

/* ── Common Page Components ───────────────────────────────────── */

/* Stat display */
.stat-block{text-align:center}
.stat-num{
  font-family:var(--font-display);font-size:clamp(2.75rem,6vw,4.5rem);
  font-weight:800;letter-spacing:-.03em;color:var(--text);line-height:1;
  margin-bottom:.375rem;
}
.stat-num .unit{color:var(--red)}
.stat-label{font-size:.875rem;font-weight:500;color:var(--text-3);letter-spacing:.03em}

/* Feature split (large text + visual alternating) */
.feature-split{
  display:grid;grid-template-columns:1fr 1fr;
  gap:clamp(3rem,6vw,6rem);align-items:center;
}
.feature-split.rev{direction:rtl}
.feature-split.rev>*{direction:ltr}
.feature-text p{margin-top:.875rem;color:var(--text-2);font-size:1.0625rem;line-height:1.72;max-width:480px}
.feature-text ul{margin-top:1.75rem;display:flex;flex-direction:column;gap:.75rem}
.feature-text li{
  display:flex;align-items:flex-start;gap:.75rem;
  font-size:.9375rem;color:var(--text-2);
}
.feature-text li svg{flex-shrink:0;width:16px;height:16px;color:var(--red);margin-top:.25rem}
.feature-visual{
  position:relative;border-radius:var(--r-lg);overflow:hidden;
  min-height:320px;display:flex;align-items:center;justify-content:center;
}

/* Image placeholder */
.img-placeholder{
  width:100%;height:100%;min-height:320px;
  background:linear-gradient(135deg,var(--bg-2) 0%,var(--bg-3) 100%);
  border-radius:var(--r-lg);border:1px solid var(--border);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1rem;padding:2rem;text-align:center;
}
.img-placeholder .ph-icon{
  width:56px;height:56px;border-radius:var(--r);
  background:var(--red-tint);color:var(--red);
  display:flex;align-items:center;justify-content:center;
}
.img-placeholder .ph-icon svg{width:24px;height:24px}
.img-placeholder .ph-label{font-size:.8rem;color:var(--text-3);line-height:1.5;font-style:italic}

/* Quote / testimonial */
.testi-card{padding:2.5rem;position:relative}
.testi-card::before{
  content:'\201C';
  position:absolute;top:.5rem;left:2rem;
  font-family:var(--font-display);font-size:6rem;font-weight:800;line-height:1;
  color:var(--red-tint-md);z-index:0;
}
.testi-stars{display:flex;gap:3px;margin-bottom:1.375rem}
.testi-star{color:var(--red);font-size:1rem}
.testi-text{
  font-size:1.0625rem;line-height:1.78;color:var(--text);
  font-style:italic;margin-bottom:1.75rem;position:relative;z-index:1;
}
.testi-author{display:flex;align-items:center;gap:.875rem}
.testi-avatar{
  width:44px;height:44px;border-radius:12px;
  background:var(--red);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:800;font-size:1rem;flex-shrink:0;
}
.testi-name{font-family:var(--font-display);font-size:.9375rem;font-weight:700}
.testi-role{font-size:.8125rem;color:var(--text-3)}

/* Process steps */
.process-steps{display:flex;flex-direction:column;gap:0}
.process-step{
  display:grid;grid-template-columns:auto 1fr;gap:2rem;
  padding:2.5rem 0;border-bottom:1px solid var(--border);
}
.process-step:last-child{border-bottom:none}
.process-step-left{display:flex;flex-direction:column;align-items:center;gap:0}
.process-num{
  width:52px;height:52px;border-radius:50%;
  background:var(--red);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-size:1.125rem;font-weight:800;
  flex-shrink:0;
  box-shadow:0 4px 16px rgba(220,38,38,.25);
}
.process-line{flex:1;width:1px;background:var(--border);margin-top:.75rem}
.process-step:last-child .process-line{display:none}
.process-step-content{padding-top:.5rem}
.process-step-content h3{font-size:1.375rem;margin-bottom:.75rem}
.process-step-content p{color:var(--text-2);font-size:1rem;line-height:1.7}
.process-step-detail{
  margin-top:1.5rem;padding:1.25rem;border-radius:var(--r);
  background:var(--bg-2);border:1px solid var(--border);
}

/* Case study card (editorial) */
.case-card-editorial{
  display:grid;grid-template-columns:1fr 1fr;
  border-radius:var(--r-lg);overflow:hidden;
  border:1px solid var(--border);
  background:var(--bg-card);
  transition:box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease);
}
.case-card-editorial:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.case-visual{
  position:relative;background:var(--bg-2);
  min-height:260px;
  display:flex;align-items:center;justify-content:center;
}
.case-info{padding:2.5rem}
.case-info .tag{margin-bottom:1rem}
.case-info h3{font-size:1.375rem;margin-bottom:.5rem}
.case-info .case-url{font-size:.8125rem;color:var(--text-3);margin-bottom:1rem}
.case-info p{font-size:.9375rem;color:var(--text-2);line-height:1.65;margin-bottom:1.5rem}
.case-tags{display:flex;flex-wrap:wrap;gap:.5rem}
.case-tag{
  font-size:.72rem;padding:.25rem .625rem;border-radius:100px;
  border:1px solid var(--border);color:var(--text-3);
}

/* Case card standard (grid) */
.case-card-std{
  padding:2rem;border-radius:var(--r-lg);border:1px solid var(--border);
  background:var(--bg-card);
  transition:all var(--dur) var(--ease);
  display:flex;flex-direction:column;
}
.case-card-std:hover{box-shadow:var(--shadow);transform:translateY(-3px);border-color:rgba(220,38,38,.2)}
.case-card-std h3{font-size:1.125rem;margin:.625rem 0 .375rem}
.case-card-std .url{font-size:.8rem;color:var(--text-3);margin-bottom:.875rem}
.case-card-std p{font-size:.9rem;color:var(--text-2);line-height:1.65;flex:1;margin-bottom:1.25rem}

/* Hero section (light) */
.hero{
  padding:calc(var(--nav-h) + 5rem) 0 5rem;
  background:var(--bg);
  position:relative;overflow:hidden;
}
.hero-ambient{
  position:absolute;pointer-events:none;z-index:0;
  width:600px;height:600px;border-radius:50%;
  background:radial-gradient(circle,rgba(220,38,38,.06) 0%,transparent 70%);
  top:-100px;right:-100px;
  animation:ambientShift 8s ease-in-out infinite alternate;
}
@keyframes ambientShift{
  0%{transform:translate(0,0) scale(1)}
  100%{transform:translate(-40px,40px) scale(1.08)}
}
.hero-content{position:relative;z-index:1}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:.35rem .875rem;border-radius:100px;
  border:1px solid rgba(220,38,38,.2);background:var(--red-tint);
  font-family:var(--font-display);font-size:.72rem;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;color:var(--red);
  margin-bottom:2rem;
}
.hero-badge-dot{
  width:6px;height:6px;border-radius:50%;background:var(--red);
  animation:blink 2s ease-in-out infinite;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.35}}
.hero-trust{
  display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:2.5rem;
  align-items:center;
}
.hero-trust-item{
  display:flex;align-items:center;gap:.5rem;
  font-size:.8125rem;font-weight:500;color:var(--text-3);
}
.hero-trust-item svg{width:14px;height:14px;color:var(--red)}

/* Hero split layout */
.hero-split{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.hero-visual-area{position:relative;min-height:400px;display:flex;align-items:center;justify-content:center}

/* Floating glass hero visual */
.hero-glass-card{
  position:relative;padding:2rem;
  animation:floatCard 5s ease-in-out infinite;
}
@keyframes floatCard{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.hero-glass-back{
  position:absolute;bottom:-20px;right:-20px;
  width:200px;padding:1.25rem;
  animation:floatCard 5s ease-in-out infinite .8s;
  opacity:.7;
}

/* Page hero (for sub-pages — simpler) */
.page-hero{
  padding:calc(var(--nav-h) + 4rem) 0 3.5rem;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  position:relative;overflow:hidden;
}
.page-hero-ambient{
  position:absolute;pointer-events:none;
  width:500px;height:400px;
  background:radial-gradient(ellipse,rgba(220,38,38,.05) 0%,transparent 70%);
  top:-100px;right:-50px;
}

/* CTA band (light) */
.cta-band{
  background:linear-gradient(135deg,#FDFCFB 0%,#F5F3F0 100%);
  border-top:1px solid var(--border);
  padding:clamp(4rem,8vw,6.5rem) 0;
  text-align:center;position:relative;overflow:hidden;
}
.cta-band-accent{
  position:absolute;width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(220,38,38,.06) 0%,transparent 70%);
  top:-150px;left:50%;transform:translateX(-50%);
  pointer-events:none;
}
.cta-band h2{margin-bottom:1.125rem}
.cta-band p{color:var(--text-2);margin-bottom:2.25rem;font-size:1.0625rem}
.cta-btns{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}

/* Benefit list */
.benefit-list{display:flex;flex-direction:column;gap:.875rem;margin-top:1.5rem}
.benefit-item,
.benefit-list li{
  display:flex;align-items:flex-start;gap:.75rem;
  font-size:.9375rem;color:var(--text-2);
}
.benefit-item svg,
.benefit-list li svg{flex-shrink:0;width:16px;height:16px;color:var(--red);margin-top:.25rem;stroke-width:2.5}

/* Icon feature card (NOT a basic card — has a visual panel) */
.icon-feature{
  display:grid;grid-template-columns:auto 1fr;gap:1.25rem;
  padding:1.75rem;border-radius:var(--r);
  border:1px solid var(--border);background:var(--bg-card);
  transition:all var(--dur) var(--ease);
}
.icon-feature:hover{border-color:rgba(220,38,38,.2);box-shadow:var(--shadow)}
.icon-feature-icon{
  width:48px;height:48px;border-radius:var(--r-sm);
  background:var(--red-tint);color:var(--red);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  transition:background var(--dur) var(--ease);
}
.icon-feature:hover .icon-feature-icon{background:var(--red-tint-md)}
.icon-feature-icon svg{width:22px;height:22px;stroke-width:1.75}
.icon-feature h4{font-size:1rem;margin-bottom:.375rem}
.icon-feature p{font-size:.875rem;color:var(--text-2);line-height:1.6}

/* Industry chips grid */
.industries-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.875rem}
.industry-chip{
  padding:.875rem 1.125rem;border-radius:var(--r-sm);
  border:1px solid var(--border);background:var(--bg-card);
  display:flex;align-items:center;gap:.75rem;
  font-family:var(--font-display);font-size:.875rem;font-weight:600;
  color:var(--text);transition:all var(--dur) var(--ease);
}
.industry-chip:hover{border-color:var(--red);color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow-sm)}
.industry-chip svg{width:16px;height:16px;color:var(--red);flex-shrink:0}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
  .reveal,.reveal-left,.reveal-right,.reveal-scale{opacity:1;transform:none}
}

/* ── Responsive ───────────────────────────────────────────────── */
@media(max-width:1024px){
  .nav-links{display:none}
  .nav-mobile-btn{display:flex}
  .hero-split{grid-template-columns:1fr;gap:3rem}
  .hero-visual-area{min-height:300px}
  .feature-split{grid-template-columns:1fr;gap:2.5rem}
  .feature-split.rev{direction:ltr}
  .footer-top{grid-template-columns:1fr 1fr 1fr}
  .mega-wrap{display:none}
}
@media(max-width:768px){
  .case-card-editorial{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .hero-trust{justify-content:center}
  .cta-btns{flex-direction:column;align-items:center}
}
