/* =========================================================
   Innov8 Soft Technologies: site design system
   Light & clean, Nexa (brand font), Innov8 red accent.
   ========================================================= */

@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa%20Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nexa";
  src: url("../fonts/Nexa%20Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --red: #e21e37;
  --red-600: #c8172e;
  --red-800: #881221;
  --red-50: #fdeef0;
  --red-100: #fbd9de;

  /* Neutrals */
  --ink: #15171c;
  --text: #3d424d;
  --muted: #6b7180;
  --line: #e6e8ed;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;

  --green: #12a150;
  --green-50: #e7f6ee;
  --amber: #b7791f;
  --amber-50: #fdf4e3;

  /* Type */
  --font: "Nexa", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --fs-h1: clamp(2.6rem, 5.6vw, 4.4rem);
  --fs-h2: clamp(1.9rem, 3.4vw, 2.75rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.06rem, 1.4vw, 1.2rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --section-y: clamp(4.5rem, 9vw, 7.5rem);

  --shadow-sm: 0 1px 2px rgba(21, 23, 28, .06), 0 1px 3px rgba(21, 23, 28, .05);
  --shadow: 0 10px 30px -12px rgba(21, 23, 28, .16), 0 2px 6px rgba(21, 23, 28, .05);
  --shadow-lg: 0 30px 60px -20px rgba(21, 23, 28, .25), 0 8px 20px -8px rgba(21, 23, 28, .1);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
b, strong { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red-100); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.text-accent { color: var(--red); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem;
  font: 700 .975rem/1 var(--font);
  letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-border); border-radius: 999px;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--red); box-shadow: 0 8px 20px -8px rgba(226, 30, 55, .55); }
.btn-primary:hover { --btn-bg: var(--red-600); box-shadow: 0 12px 24px -10px rgba(226, 30, 55, .6); }
.btn-ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: var(--line); }
.btn-ghost:hover { --btn-border: #cfd3db; box-shadow: var(--shadow-sm); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--red-800); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { --btn-border: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .62rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.65rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(21, 23, 28, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 76px; }
.brand img { width: 132px; height: auto; }
.main-nav ul { display: flex; gap: .25rem; }
.main-nav a:not(.btn) {
  position: relative; display: block; padding: .5rem .9rem;
  font-weight: 700; font-size: .95rem; color: var(--muted);
  border-radius: 999px; transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--red);
}
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(226, 30, 55, .10), transparent 60%),
    radial-gradient(40rem 25rem at -10% 110%, rgba(136, 18, 33, .06), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem .95rem .38rem; margin-bottom: 1.5rem;
  font-weight: 700; font-size: .82rem; letter-spacing: .02em; color: var(--red-800);
  background: #fff; border: 1px solid var(--red-100); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
.hero h1 { margin-bottom: 1.4rem; }
.lead { font-size: var(--fs-lead); color: var(--text); max-width: 34rem; margin-bottom: 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .93rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--green); }

/* Product mock */
.hero-visual { position: relative; padding: 3.25rem 1.75rem 4.25rem 2.75rem; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.mock-main { padding: 1.6rem; position: relative; z-index: 1; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.4rem; }
.mock-label { margin: 0 0 .2rem; font-size: .85rem; color: var(--muted); }
.mock-value { margin: 0; font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.mock-value span { font-size: 1rem; color: var(--muted); font-weight: 300; letter-spacing: 0; }
.mock-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .55rem; align-items: end; height: 110px; }
.mock-bars span { height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #eef0f4, #e3e6ec); transform-origin: bottom; animation: grow 1s var(--ease) both; }
.mock-bars span:nth-child(2) { animation-delay: .05s } .mock-bars span:nth-child(3) { animation-delay: .1s }
.mock-bars span:nth-child(4) { animation-delay: .15s } .mock-bars span:nth-child(5) { animation-delay: .2s }
.mock-bars span:nth-child(6) { animation-delay: .25s } .mock-bars span:nth-child(7) { animation-delay: .3s }
.mock-bars .is-accent { background: linear-gradient(180deg, var(--red), var(--red-800)); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mock-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: .55rem; margin: .5rem 0 1.3rem; font-size: .72rem; color: var(--muted); text-align: center; }
.mock-list { border-top: 1px solid var(--line); }
.mock-list li { display: flex; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.mock-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mock-list div { flex: 1; min-width: 0; line-height: 1.3; }
.mock-list b { display: block; font-size: .92rem; color: var(--ink); }
.mock-list small { font-size: .78rem; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; font-weight: 700; font-size: .75rem; color: #fff; }
.a1 { background: linear-gradient(135deg, #e21e37, #881221); }
.a2 { background: linear-gradient(135deg, #5c5c5b, #2c2d31); }
.a3 { background: linear-gradient(135deg, #999998, #6b7180); }
.pill { display: inline-flex; align-items: center; padding: .3rem .65rem .26rem; border-radius: 999px; font-weight: 700; font-size: .72rem; white-space: nowrap; }
.pill-green { color: var(--green); background: var(--green-50); }
.pill-amber { color: var(--amber); background: var(--amber-50); }

.mock-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem .85rem .85rem; line-height: 1.25; animation: float 6s ease-in-out infinite; }
.mock-float b { display: block; font-size: .9rem; color: var(--ink); }
.mock-float small { font-size: .78rem; color: var(--muted); }
.mock-face { left: 0; bottom: .25rem; }
.mock-geo { right: 0; top: -.5rem; animation-delay: -3s; }
.mock-geo svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; color: var(--red); background: var(--red-50); }
.face-ring { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-800)); }
.face-ring svg { width: 26px; height: 26px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Stats ---------- */
.stats-band { border-block: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.4rem 1.5rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { margin: 0 0 .35rem; font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat-label { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 46rem; margin: 0 auto clamp(2.75rem, 5vw, 4rem); text-align: center; }
.section-head p { font-size: var(--fs-lead); color: var(--muted); margin: 0; }
.section-head p a { color: var(--red); font-weight: 700; }
.section-head-left { text-align: left; margin-inline: 0; }
.kicker {
  display: inline-block; margin-bottom: .9rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}

/* Feature cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  position: relative; display: flex; flex-direction: column;
  padding: 2rem 1.85rem 1.75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.icon-tile {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.5rem;
  border-radius: 14px; color: var(--red); background: var(--red-50);
  transition: background-color .3s, color .3s;
}
.icon-tile svg { width: 26px; height: 26px; }
.feature-card:hover .icon-tile { background: var(--red); color: #fff; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; font-weight: 700; font-size: .93rem; color: var(--ink); }
.card-link span { color: var(--red); transition: transform .2s var(--ease); }
.card-link:hover span { transform: translateX(4px); }
.card-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Tech stack badges */
.stack { display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 1.1rem; }
.stack li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .62rem .28rem; border-radius: 999px;
  font-weight: 700; font-size: .74rem; line-height: 1.2; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--line);
}
.stack i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--muted); }
.stack .dot-laravel { background: #ff2d20; }
.stack .dot-php { background: #777bb4; }
.stack .dot-rn { background: #61dafb; }
.stack .dot-ts { background: #3178c6; }
.stack .dot-swift { background: #f05138; }
.stack .dot-mysql { background: #00758f; }
.stack .dot-maps { background: #34a853; }
.stack .dot-jwt { background: #d63aff; }
.feature-card .stack { margin-top: auto; padding-top: .25rem; }
.feature-card p { flex: 0 0 auto; }
.built-with { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin: -.6rem 0 2rem; padding-top: 1.4rem; border-top: 1px dashed var(--line); }
.built-with > span { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.built-with .stack { margin: 0; }
.stack-lg li { padding: .45rem .8rem .4rem; font-size: .82rem; background: #fff; }

/* Spotlights */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.spotlight + .spotlight { margin-top: clamp(4.5rem, 9vw, 7rem); }
.spotlight-reverse .spotlight-media { order: 2; }
.spotlight-media { position: relative; }
.spotlight-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.media-badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1rem .62rem; border-radius: 999px;
  font-weight: 700; font-size: .85rem; color: var(--ink);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow);
}
.media-badge svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #fff; background: var(--green); }
.spotlight-copy > p { font-size: var(--fs-lead); color: var(--muted); }
.check-list { margin: 1.6rem 0 2.1rem; display: grid; gap: .85rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.5 3 3 6-6.5' fill='none' stroke='%23e21e37' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.step-num {
  display: inline-block; margin-bottom: 1.4rem;
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--red);
  padding: .35rem .7rem .3rem; border-radius: 999px; background: #fff; border: 1px solid var(--red-100);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.55rem; right: -1.25rem; width: 1.25rem; height: 1px;
  background: repeating-linear-gradient(90deg, var(--red) 0 4px, transparent 4px 8px);
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .25s, border-color .25s; }
.faq-list details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.3rem 3.5rem 1.2rem 1.5rem; font-weight: 700; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%2315171c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--red-50); }
.faq-list details p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--muted); }

/* CTA */
.cta-section { padding-top: 0; padding-bottom: clamp(3.5rem, 7vw, 5rem); background: linear-gradient(180deg, var(--bg-soft) 50%, #fff 50%); }
.cta-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius-lg) + 4px);
  color: #fff; background: linear-gradient(120deg, var(--red) 0%, var(--red-800) 100%);
  box-shadow: 0 30px 60px -25px rgba(136, 18, 33, .55);
}
.cta-card::before {
  content: ""; position: absolute; right: -8rem; top: -10rem; width: 26rem; height: 26rem; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .07);
}
.cta-card > div { position: relative; }
.cta-card h2 { color: #fff; margin-bottom: .6rem; }
.cta-card p { margin: 0; max-width: 32rem; color: rgba(255, 255, 255, .85); font-size: var(--fs-lead); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand img { width: 140px; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 20rem; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: all .2s; }
.social a:hover { color: #fff; background: var(--red); border-color: var(--red); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--muted); font-size: .96rem; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.contact-list li { display: flex; align-items: flex-start; gap: .6rem; }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; fill: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Motion layer (Apple-style)
   ========================================================= */

/* Hero headline: words rise in with a blur */
.hero-title .w {
  display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(14px);
  animation: wordIn 1.1s var(--ease) forwards; animation-delay: calc(var(--d) * 140ms + 120ms);
}
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* Hero product preview: tilts up into place, then drifts with scroll */
.hero-visual { perspective: 1400px; }
.hero-visual > * { will-change: transform; }
.hero-visual .mock-main {
  transform-origin: 50% 100%;
  animation: tiltIn 1.4s var(--ease) .35s both;
  translate: 0 calc(var(--hv, 0) * -40px);
}
.hero-visual .mock-face { translate: 0 calc(var(--hv, 0) * -90px); }
.hero-visual .mock-geo { translate: 0 calc(var(--hv, 0) * -120px); }
@keyframes tiltIn {
  from { opacity: 0; transform: rotateX(28deg) translateY(60px) scale(.94); }
  to { opacity: 1; transform: none; }
}
.hero-visual .mock-float { opacity: 0; animation: popIn .9s var(--ease) 1s forwards, float 6s ease-in-out 1.9s infinite; }
.hero-visual .mock-geo { animation-delay: 1.15s, 2.05s; }
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }

/* Softer, blurrier reveal */
.js .reveal { filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transform: translateY(28px); }
.js .reveal.is-visible { filter: none; }

/* ---------- Stacked product cards ---------- */
.products-section { padding-bottom: clamp(3rem, 6vw, 5rem); }
.stack-cards { display: flex; flex-direction: column; gap: clamp(1.5rem, 4vh, 3rem); padding-bottom: 2rem; }
.stack-card {
  position: sticky; top: calc(100px + var(--i) * 18px);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  will-change: transform;
}
.stack-card-inner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  min-height: clamp(400px, 58vh, 480px);
  background: #fff; border: 1px solid var(--line); border-radius: 30px;
  box-shadow: 0 -8px 30px -18px rgba(21, 23, 28, .25), var(--shadow-lg);
}
.stack-card-inner::after { /* dims cards as newer ones slide over */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: var(--ink); opacity: var(--dim, 0); transition: opacity .1s linear;
}
.stack-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); }
.stack-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.025em; margin-bottom: .8rem; }
.stack-copy p { color: var(--muted); font-size: 1.05rem; max-width: 30rem; }
.stack-copy .icon-tile { margin-bottom: 1.4rem; }
.stack-copy .stack { margin: .4rem 0 1.4rem; }
.stack-copy .card-link { align-self: flex-start; }
.stack-index { font-weight: 700; font-size: .78rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 1.4rem; }

.stack-visual {
  position: relative; overflow: hidden; display: grid; place-items: center;
  margin: .75rem; border-radius: 24px; padding: 2rem;
  background: var(--vbg); color: #fff;
}
.t1 { --vbg: linear-gradient(135deg, #e21e37 0%, #881221 100%); }
.t2 { --vbg: linear-gradient(135deg, #2a2d35 0%, #0f1115 100%); }
.t3 { --vbg: linear-gradient(135deg, #f04b5f 0%, #b5172c 100%); }
.t4 { --vbg: linear-gradient(135deg, #5c5c5b 0%, #232428 100%); }
.t5 { --vbg: linear-gradient(135deg, #c8172e 0%, #5e0c17 100%); }
.t6 { --vbg: linear-gradient(135deg, #3d424d 0%, #15171c 100%); }
.visual-glow {
  position: absolute; width: 140%; aspect-ratio: 1; left: -20%; top: -70%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent 70%);
  animation: glowDrift 12s ease-in-out infinite alternate;
}
@keyframes glowDrift { to { transform: translate(18%, 22%); } }
.stack-visual::before { /* fine grid texture */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.visual-icon {
  position: relative; display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 1.4rem;
  border-radius: 26px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.visual-icon svg { width: 44px; height: 44px; }
.visual-ui {
  position: relative; width: min(100%, 340px); padding: .4rem 1.1rem;
  border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--text);
  box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .55);
}
.visual-ui li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .78rem 0; font-size: .86rem; border-bottom: 1px solid var(--line); }
.visual-ui li:last-child { border-bottom: 0; }
.visual-ui b { font-size: .82rem; white-space: nowrap; }
.v-g { color: var(--green); } .v-a { color: var(--amber); } .v-n { color: var(--ink); }
.stack-visual > div, .stack-visual > ul { grid-area: auto; }
.stack-visual { grid-template-rows: auto auto; align-content: center; }

/* Entrance of each card's contents when it arrives */
.stack-card .visual-icon, .stack-card .visual-ui { transition: transform 1s var(--ease), opacity 1s var(--ease); }
.js .stack-card:not(.is-in) .visual-icon { transform: translateY(30px) scale(.9); opacity: 0; }
.js .stack-card:not(.is-in) .visual-ui { transform: translateY(50px); opacity: 0; transition-delay: .08s; }

/* ---------- Scroll-lit statement ---------- */
.statement { padding: clamp(5rem, 12vw, 9rem) 0; }
.statement-text {
  max-width: 62rem; margin: 0 auto; text-align: center;
  font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 3.4rem); line-height: 1.18; letter-spacing: -.03em; color: var(--ink);
}
.js .statement-text .sw { opacity: .14; transition: opacity .35s ease; }
.js .statement-text .sw.on { opacity: 1; }
.js .statement-text .sw.accent.on { color: var(--red); }

/* Spotlight images: settle from a slight zoom as they scroll in */
[data-zoom] { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
[data-zoom] img { transform: scale(var(--z, 1)); transition: transform .1s linear; }

@media (max-width: 900px) {
  .stack-card { top: calc(88px + var(--i) * 12px); }
  .stack-card-inner { grid-template-columns: 1fr; min-height: 0; }
  .stack-visual { min-height: 240px; order: -1; margin: .6rem .6rem 0; }
  .visual-icon { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 1rem; }
  .visual-icon svg { width: 30px; height: 30px; }
  .stack-copy { padding: 1.6rem 1.5rem 1.8rem; }
  .stack-index { margin-bottom: .8rem; }
  .stack-copy .icon-tile { display: none; }
}
@media (max-width: 600px) {
  .visual-ui li:nth-child(3) { display: none; }
  .stack-visual { min-height: 200px; padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .w, .hero-visual .mock-main, .hero-visual .mock-float { opacity: 1; transform: none; filter: none; }
  .stack-card { position: relative; top: 0; transform: none; }
  .js .stack-card:not(.is-in) .visual-icon, .js .stack-card:not(.is-in) .visual-ui { transform: none; opacity: 1; }
  .js .statement-text .sw { opacity: 1; }
  [data-zoom] img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 76px 0 auto 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: .15rem; margin-bottom: 1rem; }
  .main-nav a:not(.btn) { padding: .85rem .75rem; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a[aria-current="page"] { background: var(--red-50); color: var(--red-800); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .nav-cta-mobile { display: flex; width: 100%; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .spotlight, .faq-wrap { grid-template-columns: 1fr; }
  .spotlight-reverse .spotlight-media { order: 0; }
  .faq-wrap .section-head { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .card-grid, .steps { grid-template-columns: 1fr; }
  .hero-visual { padding: 3rem .5rem 4rem; }
  .mock-main { padding: 1.25rem; }
  .mock-float { padding: .65rem .8rem .65rem .65rem; }
  .mock-geo { right: -.25rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stat { padding: 1.8rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.section-tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.container-narrow { max-width: calc(760px + var(--gutter) * 2); }
.container-wide { max-width: calc(1040px + var(--gutter) * 2); }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); text-align: center; }
.page-hero .container { display: flex; flex-direction: column; align-items: center; }
.page-title { font-size: clamp(2.3rem, 5vw, 3.9rem); max-width: 16ch; margin-bottom: 1.2rem; }
.page-hero .lead { margin-inline: auto; text-align: center; margin-bottom: 0; max-width: 40rem; }
.breadcrumb { display: flex; gap: .5rem; margin-bottom: 1.4rem; font-size: .85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* Chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem .5rem; border-radius: 999px;
  font-weight: 700; font-size: .88rem; color: var(--text); background: #fff; border: 1px solid var(--line);
  transition: all .2s;
}
.chip span { font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: #cfd3db; }
.chip[aria-current="page"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.chip[aria-current="page"] span { color: rgba(255,255,255,.6); }
.chip-sm { padding: .35rem .75rem .3rem; font-size: .78rem; color: var(--red-800); background: var(--red-50); border-color: var(--red-100); }

/* Blog list */
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.featured-post {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.featured-media, .post-media { display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-soft); }
.featured-media img, .post-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.featured-post:hover .featured-media img, .post-card:hover .post-media img { transform: scale(1.04); }
.featured-body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.featured-body h2 a:hover, .post-card h3 a:hover { color: var(--red); }
.featured-body > p:not(.post-meta) { color: var(--muted); font-size: 1.06rem; }
.featured-body .btn { margin-top: .6rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.post-card { display: flex; flex-direction: column; }
.post-body { padding: 1.2rem .25rem 0; }
.post-card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: .55rem; }
.post-card p:not(.post-meta) { color: var(--muted); font-size: .95rem; }
.post-placeholder { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--red-50), #fff); }
.post-placeholder img { width: 38%; opacity: .5; }
.empty-state { max-width: 32rem; margin: 1rem auto; padding: 3rem 2rem; text-align: center; border: 1px dashed #d5d8df; border-radius: var(--radius-lg); }
.empty-state .icon-tile { margin: 0 auto 1.25rem; }
.empty-state h2 { font-size: 1.5rem; }
.empty-state p { color: var(--muted); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-top: 3rem; font-size: .92rem; color: var(--muted); }
.pagination a { font-weight: 700; color: var(--ink); padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; }
.pagination a:hover { border-color: var(--red); color: var(--red); }

/* Article */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.article-head { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.article-head .breadcrumb { margin-bottom: 1.2rem; }
.article-cats { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.article-title { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; }
.article-cover { margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 3rem 0 clamp(4rem, 8vw, 6rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; color: var(--muted); }
.share a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); font-size: .8rem; text-transform: uppercase; }
.share a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* Long-form text (blog posts, legal) */
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--text); }
.prose > * + * { margin-top: 1.2em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.6rem; margin: 2.2em 0 .2em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .2em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--red); }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius); margin-inline: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); text-align: center; }
.prose blockquote { margin: 2em 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--red); font-size: 1.2rem; color: var(--ink); }
.prose pre { overflow-x: auto; padding: 1.2rem; border-radius: var(--radius-sm); background: var(--ink); color: #f1f1f1; font-size: .9rem; }
.prose code { font-size: .92em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* Legal */
.legal-grid { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.legal-grid .prose { max-width: 46rem; }
.legal-grid .prose h2:first-child { margin-top: 0; }
.toc { position: sticky; top: 110px; font-size: .92rem; }
.toc p { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { display: grid; gap: .1rem; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--red); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding-bottom: clamp(4rem, 8vw, 6rem); }
.contact-side { display: grid; gap: .8rem; position: sticky; top: 100px; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .25s var(--ease);
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .icon-tile { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-card .icon-tile svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: .8rem; color: var(--muted); }
.contact-card b { display: block; color: var(--ink); font-size: 1rem; word-break: break-word; }
.hours { margin: .6rem 0 0; padding: 1rem 1.2rem; font-size: .92rem; color: var(--muted); background: var(--bg-soft); border-radius: var(--radius); }
.hours b { color: var(--ink); }
.form-card { padding: clamp(1.6rem, 4vw, 2.75rem); background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius-lg) + 4px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form-card h2 { font-size: 1.7rem; margin-bottom: .3rem; }
.form-intro { color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin: 0 0 1.15rem; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: .45rem; font-weight: 700; font-size: .88rem; color: var(--ink); padding: 0; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; font: 300 1rem/1.4 var(--font); color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { background: #f0f1f4; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: #fff; }
.field-err { margin: .4rem 0 0; font-size: .84rem; color: var(--red-600); font-weight: 700; }
.form-alert { margin-bottom: 1.2rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; color: var(--red-800); background: var(--red-50); border: 1px solid var(--red-100); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.topic-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.topic-chip { position: relative; }
.topic-chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.topic-chip span {
  display: inline-block; padding: .55rem .95rem .5rem; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: .86rem; color: var(--text); background: var(--bg-soft); border: 1.5px solid transparent; transition: all .2s;
}
.topic-chip input:checked + span { color: var(--red-800); background: var(--red-50); border-color: var(--red); }
.topic-chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.form-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: .5rem; }
.form-note { margin: 0; font-size: .84rem; color: var(--muted); }
.form-note a { color: var(--red); }
.form-success { text-align: center; padding: 2rem 0; }
.form-success p { color: var(--muted); max-width: 26rem; margin: 0 auto 1.6rem; }
.form-success a:not(.btn) { color: var(--red); font-weight: 700; }
.success-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1.4rem; border-radius: 50%; color: #fff; background: var(--green); box-shadow: 0 0 0 10px var(--green-50); animation: popIn .6s var(--ease) both; }
.success-check svg { width: 34px; height: 34px; }

/* Our work */
.product-tabs { position: sticky; top: 76px; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.product-tabs .container { display: flex; gap: .4rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.product-tabs .container::-webkit-scrollbar { display: none; }
.product-tabs a { display: inline-flex; align-items: center; gap: .5rem; flex: none; padding: .55rem 1rem .5rem; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--muted); transition: all .2s; }
.product-tabs a svg { width: 18px; height: 18px; color: var(--red); }
.product-tabs a:hover, .product-tabs a.is-active { color: var(--ink); background: var(--bg-soft); }
.product-detail { scroll-margin-top: 130px; }
#custom { scroll-margin-top: 130px; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.product-top.is-reverse .product-visual { order: -1; }
.product-lead { font-size: var(--fs-lead); color: var(--muted); }
.product-copy .built-with { margin: 1.6rem 0 2rem; }
.product-visual { perspective: 1200px; }
.product-visual .stack-visual { margin: 0; min-height: 380px; border-radius: 28px; box-shadow: var(--shadow-lg); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); }
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature-list li { padding: 1.6rem 1.5rem; background: #fff; }
.section-soft .feature-list li { background: #fff; }
.feature-list h3 { font-size: 1.02rem; margin-bottom: .4rem; display: flex; gap: .55rem; align-items: center; }
.feature-list h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; }
.feature-list p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-list-2 { grid-template-columns: repeat(2, 1fr); }

/* About */
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.story-copy p { color: var(--muted); font-size: 1.06rem; }
.story-copy .btn { margin-top: .8rem; }
.story-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tile { padding: 1.8rem 1.6rem; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.tile:nth-child(even) { transform: translateY(2rem); }
.tile p:not(.stat-num) { margin: 0; color: var(--muted); font-size: .95rem; }
.tile-accent { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-800)); border-color: transparent; }
.tile-accent .stat-num { color: #fff; }
.tile-accent p:not(.stat-num) { color: rgba(255,255,255,.85); }
.statement-soft { background: var(--bg-soft); }

/* 404 */
.not-found { padding-block: clamp(5rem, 12vw, 9rem); }
.big-404 { margin: 0 0 .5rem; font-weight: 700; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; letter-spacing: -.06em; background: linear-gradient(135deg, var(--red), var(--red-800)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .lead { margin-bottom: 2rem; }
.not-found .hero-actions { justify-content: center; }

@media (max-width: 1080px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .featured-post, .product-top, .story-grid, .contact-grid, .legal-grid { grid-template-columns: 1fr; }
  .product-top.is-reverse .product-visual { order: 0; }
  .product-visual .stack-visual { min-height: 300px; order: 0; }
  .contact-side { position: static; grid-template-columns: 1fr 1fr; }
  .hours { grid-column: 1 / -1; }
  .toc { position: static; padding: 1rem 1.2rem; background: var(--bg-soft); border-radius: var(--radius); }
  .toc ol { grid-template-columns: 1fr 1fr; border: 0; }
  .toc a { padding-left: 0; border: 0; }
  .product-tabs { top: 76px; }
}
@media (max-width: 600px) {
  .post-grid, .card-grid-4, .feature-list, .field-row, .contact-side { grid-template-columns: 1fr; }
  .tile:nth-child(even) { transform: none; }
  .page-hero { text-align: left; }
  .page-hero .container { align-items: flex-start; }
  .page-hero .lead { text-align: left; margin-inline: 0; }
  .toc ol { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 70;
  display: flex; align-items: center; gap: .6rem;
  animation: popIn .6s var(--ease) 1.2s both;
}
.wa-icon {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  color: #fff; background: #25d366; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6), 0 4px 10px rgba(0, 0, 0, .12);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-icon svg { width: 30px; height: 30px; fill: currentColor; }
.wa-icon::after { /* soft pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: waPulse 2.4s ease-out 2s infinite;
}
@keyframes waPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.wa-label {
  padding: .55rem .9rem .5rem; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--ink);
  background: #fff; box-shadow: var(--shadow); white-space: nowrap;
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.wa-float:hover .wa-icon, .wa-float:focus-visible .wa-icon { transform: scale(1.06); box-shadow: 0 16px 32px -8px rgba(37, 211, 102, .7), 0 4px 10px rgba(0, 0, 0, .12); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }
@media (max-width: 600px) { .wa-icon { width: 52px; height: 52px; } .wa-icon svg { width: 27px; height: 27px; } .wa-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float { opacity: 1; } .wa-icon::after { display: none; } }

/* =========================================================
   Hero showcase: rotating product screens
   ========================================================= */
.hero-visual.showcase { padding: 2.25rem 1.25rem .5rem 1.75rem; }
.sc-stage {
  position: relative; height: clamp(440px, 37vw, 510px); perspective: 1400px;
  transform-origin: 50% 100%; animation: tiltIn 1.4s var(--ease) .35s both;
  translate: 0 calc(var(--hv, 0) * -40px);
}
.sc-slide {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(28px) scale(.95) rotateX(9deg); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease), visibility 0s linear .9s;
}
.sc-slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none; filter: none;
  transition-delay: .18s, .18s, .18s, 0s;
}
.sc-slide.is-leaving { visibility: visible; transform: translateY(-22px) scale(1.03); filter: blur(10px); transition-delay: 0s; }

/* Attendance scene reuses the dashboard card */
.showcase .mock-main { width: 100%; animation: none; translate: none; }
.sc-slide:not(.is-active) .mock-bars span { animation: none; transform: scaleY(0); }

/* Floating chips */
.sc-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1.05rem .75rem .75rem; line-height: 1.25; max-width: 16rem;
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.sc-chip b { display: block; font-size: .88rem; color: var(--ink); }
.sc-chip small { display: block; font-size: .76rem; color: var(--muted); }
.is-active .sc-chip { opacity: 1; transform: none; transition-delay: .75s; animation: scFloat 6s ease-in-out 1.6s infinite; }
.is-active .sc-chip-bl { transition-delay: .95s; animation-delay: 3.2s; }
@keyframes scFloat { 50% { translate: 0 -8px; } }
.sc-chip-tr { top: -1.4rem; right: -1rem; }
.sc-chip-bl { bottom: -1.1rem; left: -1.6rem; }
.chip-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; color: var(--red); background: var(--red-50); }
.chip-ico svg { width: 22px; height: 22px; }
.chip-red { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-800)); }
.chip-green { color: #fff; background: linear-gradient(135deg, #22b866, #0e7f3f); }

/* Phone scenes: chips hug the device */
.sc-app .sc-chip-tr, .sc-wallet .sc-chip-tr, .sc-loyalty .sc-chip-tr, .sc-shot-phone .sc-chip-tr { top: 13%; right: 0; }
.sc-app .sc-chip-bl, .sc-wallet .sc-chip-bl, .sc-loyalty .sc-chip-bl, .sc-shot-phone .sc-chip-bl { bottom: 7%; left: 0; }

/* Browser frame (real portal screenshots) */
.sc-browser {
  display: flex; flex-direction: column; width: 100%; height: 86%;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.sc-bar { display: flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.sc-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff6159; }
.sc-bar span:nth-child(2) { background: #ffbd2e; }
.sc-bar span:nth-child(3) { background: #28c940; }
.sc-bar em {
  flex: 0 1 auto; min-width: 0; margin: 0 auto; padding: .22rem .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-style: normal; font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.sc-viewport { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.sc-viewport img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; }
/* Slowly scroll the screenshot from top to bottom, like someone browsing the portal */
.is-active .sc-viewport img { animation: scPan 9s ease-in-out 1s both; }
@keyframes scPan { 0%, 12% { top: 0; transform: none; } 80%, 100% { top: 100%; transform: translateY(-100%); } }

/* Phone frame */
.sc-phone {
  position: relative; height: 100%; max-height: 500px; aspect-ratio: 9 / 18.5; padding: 9px;
  background: #15171c; border-radius: 44px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3b3e47;
}
.sc-phone::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 999px; background: #15171c; }
.ph-screen {
  position: relative; display: flex; flex-direction: column; gap: .7rem; height: 100%; overflow: hidden;
  padding: 2.6rem .95rem 1rem; border-radius: 35px; background: var(--bg-soft); font-size: .74rem; color: var(--text);
}
.ph-shot { padding: 0; background: #eef3f4; }
.sc-shot-phone .sc-phone::before { display: none; } /* real screenshots carry their own Dynamic Island */
.ph-shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ph-status { position: absolute; top: 13px; left: 24px; right: 22px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .66rem; color: var(--ink); }
.ph-icons { display: flex; gap: 3px; align-items: flex-end; }
.ph-icons i { width: 3px; border-radius: 1px; background: var(--ink); }
.ph-icons i:nth-child(1) { height: 5px; } .ph-icons i:nth-child(2) { height: 7px; } .ph-icons i:nth-child(3) { height: 9px; }

/* Screen contents rise in one after another */
.sc-slide .ph-screen > :not(.ph-status) { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.is-active .ph-screen > :not(.ph-status) { opacity: 1; transform: none; }
.is-active .ph-screen > :nth-child(2) { transition-delay: .3s; }
.is-active .ph-screen > :nth-child(3) { transition-delay: .38s; }
.is-active .ph-screen > :nth-child(4) { transition-delay: .46s; }
.is-active .ph-screen > :nth-child(5) { transition-delay: .54s; }
.is-active .ph-screen > :nth-child(6) { transition-delay: .62s; }
.is-active .ph-screen > :nth-child(7) { transition-delay: .7s; }

.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-logo { height: 18px; width: auto; }
.ph-bell { position: relative; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.ph-bell::after { content: ""; position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.ph-hello { margin: 0; font-size: .9rem; color: var(--ink); }
.ph-checkin { display: flex; align-items: center; gap: .75rem; padding: .85rem; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-800)); box-shadow: 0 10px 20px -10px rgba(226, 30, 55, .6); }
.ph-checkin b { display: block; font-size: 1.15rem; line-height: 1.2; }
.ph-checkin small { display: block; font-size: .66rem; opacity: .85; }
.ph-ring { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ph-ring svg { width: 26px; height: 26px; }
.ph-ring::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); border-right-color: transparent; }
.is-active .ph-ring::after { animation: scSpin 1.4s var(--ease) .6s 2; }
@keyframes scSpin { to { transform: rotate(360deg); } }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ph-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .6rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .68rem; color: var(--ink); }
.ph-tile img { width: 30px; height: 30px; }
.ph-row, .ph-tx li, .ph-rewards li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem .7rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.ph-row b, .ph-tx b { color: var(--ink); }
.ph-title { margin: 0; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.ph-card { display: flex; flex-direction: column; gap: .15rem; padding: .95rem; border-radius: 18px; color: #fff; }
.ph-card b { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }
.ph-card small { font-size: .66rem; opacity: .85; }
.ph-card-red { background: radial-gradient(120% 140% at 100% 0, #ff5a6e 0, transparent 50%), linear-gradient(135deg, var(--red), var(--red-800)); }
.ph-card-gold { background: radial-gradient(120% 140% at 100% 0, #f7d77e 0, transparent 50%), linear-gradient(135deg, #c9962c, #7d5310); }
.ph-card-no { margin-top: .5rem; font-size: .7rem; letter-spacing: .12em; opacity: .85; }
.ph-tap { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: .9rem .6rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); font-size: .68rem; color: var(--muted); }
.ph-nfc { position: relative; display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--red-50); }
.ph-nfc::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--red); }
.ph-nfc i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); opacity: 0; }
.is-active .ph-nfc i { animation: scNfc 2s ease-out .8s infinite; }
.is-active .ph-nfc i:nth-child(2) { animation-delay: 1.45s; }
.is-active .ph-nfc i:nth-child(3) { animation-delay: 2.1s; }
@keyframes scNfc { from { transform: scale(.6); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.ph-tx, .ph-rewards { display: flex; flex-direction: column; gap: .4rem; }
.ph-tx b.up { color: var(--green); }
.ph-progress { display: block; height: 6px; margin: .45rem 0 .2rem; border-radius: 999px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.ph-progress i { display: block; width: 83%; height: 100%; border-radius: inherit; background: #fff; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .7s; }
.is-active .ph-progress i { transform: none; }
.ph-sub { margin: 0; font-weight: 700; font-size: .78rem; color: var(--ink); }
.ph-rewards li { justify-content: flex-start; }
.ph-rewards b { display: block; font-size: .72rem; color: var(--ink); }
.ph-rewards small { font-size: .64rem; color: var(--muted); }
.rw { flex: none; width: 30px; height: 30px; border-radius: 9px; }
.rw1 { background: linear-gradient(135deg, #f5c27a, #c47a1f); }
.rw2 { background: linear-gradient(135deg, #ff7a8a, var(--red)); }
.rw3 { background: linear-gradient(135deg, #8d93a3, #3d424d); }

/* Controls: label + progress dots (Apple-style) */
.sc-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.9rem; }
.sc-label { margin: 0; font-weight: 700; font-size: .92rem; color: var(--ink); transition: opacity .3s; }
.sc-label.is-swapping { opacity: 0; }
.sc-dots {
  display: flex; align-items: center; gap: .5rem; padding: .45rem .5rem .45rem .8rem;
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.sc-dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #d3d6dd; cursor: pointer; transition: width .5s var(--ease), background-color .3s; }
.sc-dot::before { content: ""; position: absolute; inset: -10px -4px; }
.sc-dot:hover { background: #b9bdc7; }
.sc-dot.is-active { width: 34px; background: #e6e8ed; }
.sc-dot i { position: absolute; inset: 0; border-radius: inherit; background: var(--red); transform-origin: left; transform: scaleX(0); }
.sc-dot.is-active i { animation: scProgress var(--sc-dur, 5.5s) linear forwards; }
.showcase.is-paused .sc-dot.is-active i { animation-play-state: paused; }
.showcase.no-auto .sc-dot.is-active i { animation: none; transform: none; }
@keyframes scProgress { to { transform: none; } }
.sc-pause { display: grid; place-items: center; width: 28px; height: 28px; margin-left: .15rem; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: var(--bg-soft); cursor: pointer; }
.sc-pause:hover { background: var(--line); }
.sc-pause svg { width: 14px; height: 14px; }
.sc-pause .i-play, .showcase.is-stopped .sc-pause .i-pause { display: none; }
.showcase.is-stopped .sc-pause .i-play { display: block; }
.sc-dot:focus-visible, .sc-pause:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@media (max-width: 900px) {
  .hero-visual.showcase { max-width: 560px; padding: 2rem 1rem .5rem; }
}
@media (max-width: 600px) {
  .sc-stage { height: 410px; }
  .sc-browser { height: 78%; }
  .sc-chip { padding: .55rem .75rem .55rem .55rem; max-width: 13rem; }
  .sc-chip b { font-size: .8rem; } .sc-chip small { font-size: .7rem; }
  .chip-ico { width: 32px; height: 32px; border-radius: 10px; } .chip-ico svg { width: 18px; height: 18px; }
  .sc-chip-tr { right: -.25rem; } .sc-chip-bl { left: -.25rem; }
  .showcase .mock-main { padding: 1.1rem; }
  .showcase .mock-list li:nth-child(3) { display: none; }
  .sc-controls { flex-direction: column-reverse; gap: .7rem; }
  .ph-screen { gap: .5rem; padding: 2.3rem .7rem .8rem; font-size: .64rem; border-radius: 32px; }
  .ph-checkin { padding: .6rem; gap: .5rem; } .ph-checkin b { font-size: .92rem; } .ph-ring { width: 34px; height: 34px; } .ph-ring svg { width: 20px; height: 20px; }
  .ph-card b { font-size: 1.02rem; } .ph-tile { padding: .45rem; } .ph-tile img { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-stage { opacity: 1; transform: none; }
  .sc-slide { transform: none; filter: none; }
  .sc-slide .ph-screen > *, .sc-chip, .ph-progress i { opacity: 1; transform: none; }
}

/* =========================================================
   Clients: endlessly scrolling logo strip
   ========================================================= */
.clients-band { padding: clamp(2.5rem, 5vw, 3.75rem) 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.clients-title { margin: 0 0 1.75rem; text-align: center; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.clients-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-track { display: flex; width: max-content; animation: clientsScroll var(--clients-speed, 40s) linear infinite; }
.clients-marquee:hover .clients-track, .clients-marquee:focus-within .clients-track { animation-play-state: paused; }
.clients-list { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.75rem); padding-right: clamp(1rem, 2.5vw, 1.75rem); margin: 0; list-style: none; }
@keyframes clientsScroll { to { transform: translateX(-50%); } }
.client {
  display: grid; place-items: center; height: 84px; min-width: 150px; padding: .75rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--muted); text-decoration: none;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.client img { max-height: 54px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .35s, opacity .35s; }
.client-name { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; color: #8a909c; transition: color .3s; }
a.client:hover, span.client:hover { border-color: var(--red-100); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.client:hover img { filter: none; opacity: 1; }
.client:hover .client-name { color: var(--ink); }
@media (max-width: 600px) {
  .client { height: 68px; min-width: 120px; padding: .6rem 1.1rem; }
  .client img { max-height: 42px; max-width: 120px; }
  .client-name { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { -webkit-mask-image: none; mask-image: none; }
  .clients-track { width: auto; animation: none; justify-content: center; }
  .clients-list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter, 1rem); row-gap: 1rem; }
  .clients-list[aria-hidden="true"] { display: none; }
}

/* =========================================================
   First-visit loader: the Innov8 infinity mark drawing itself
   ========================================================= */
.preloader { display: none; }
.is-loading .preloader {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center;
  background: #fff;
  animation: preloaderFailsafe .6s ease 6s forwards; /* never block the page if scripts fail */
}
.is-loading body { overflow: hidden; }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.preloader-mark { width: min(340px, 70vw); height: auto; overflow: visible; transform: rotate(90deg); } /* vertical, like the 8 in Innov8 */
.preloader-mark path { fill: none; stroke-width: 8; stroke-linecap: round; }
.pl-track { stroke: #222; opacity: .08; }
.pl-line { stroke: url(#i8-loader-grad); stroke-dasharray: 60 172; animation: plDraw 2.4s linear infinite; }
.pl-dot { stroke: #222; opacity: .35; stroke-dasharray: 0 232; animation: plDraw 2.4s linear infinite; }
.pl-dot-2 { stroke-dasharray: 0 292; }
@keyframes plDraw { to { stroke-dashoffset: -232; } }
@keyframes preloaderFailsafe { to { opacity: 0; visibility: hidden; } }

/* =========================================================
   Custom cursor: dot + trailing ring (mouse / trackpad only)
   ========================================================= */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 2147482000; pointer-events: none; border-radius: 50%; opacity: 0; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7); transition: opacity .2s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1.5px solid var(--red); box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); transition: opacity .2s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s; }
.has-cursor.cursor-visible .cursor-dot, .has-cursor.cursor-visible .cursor-ring { opacity: 1; }
.has-cursor.cursor-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(226, 30, 55, .08); border-color: rgba(226, 30, 55, .5); }
.has-cursor.cursor-hover .cursor-dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; }
.has-cursor.cursor-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.has-cursor.cursor-text .cursor-dot, .has-cursor.cursor-text .cursor-ring { opacity: 0; }
/* Hide the system pointer while the custom cursor is active, but keep it for typing */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor [role="button"] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select, .has-cursor [contenteditable] { cursor: auto; }
@media (prefers-reduced-motion: reduce) {
  .pl-line, .pl-dot { animation: none; }
}
/* Hold the hero's entrance animations until the loader has gone */
.is-loading .hero-title .w, .is-loading .sc-stage, .is-loading .sc-dot.is-active i { animation-play-state: paused; }

/* Your tawk.to widget is set up as a side tab, so the WhatsApp button can stay where it is.
   If you switch tawk.to to a bottom-right bubble, uncomment the next line to lift WhatsApp above it. */
/* .has-livechat .wa-float { bottom: calc(clamp(1rem, 3vw, 1.75rem) + 76px); } */

/* reCAPTCHA: the floating badge is hidden (Google allows this when the notice is shown next to the form) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-box { min-height: 78px; }
.recaptcha-note { margin-top: .5rem; flex-basis: 100%; }
