/* =========================================================================
   Infinity EXIM Merchants — design system
   Light, editorial, quietly futuristic. Ink on paper with an engineered edge.
   ========================================================================= */

/* ------------------------------------------------------------------ tokens */
:root {
  /* ink */
  --ink-900: #0B1220;
  --ink-800: #16233A;
  --ink-700: #29384F;
  --ink-600: #43536D;
  --ink-500: #5A6B85;
  --ink-400: #8494AC;
  --ink-300: #AEBACB;

  /* paper */
  --bg:        #F5F8FC;
  --bg-deep:   #EDF2F9;
  --surface:   #FFFFFF;
  --surface-2: #FAFCFE;
  --line:      #E3EAF4;
  --line-soft: #EEF3F9;

  /* brand */
  --brand:   #2F6BFF;
  --brand-2: #14B8A6;
  --brand-3: #12A8D8;
  --gold:    #C9A227;
  --grad:      linear-gradient(118deg, #2F6BFF 0%, #12A8D8 52%, #14B8A6 100%);
  --grad-soft: linear-gradient(118deg, rgba(47,107,255,.10) 0%, rgba(20,184,166,.10) 100%);

  /* state */
  --ok:   #12A150;
  --warn: #C77700;
  --err:  #D93B4B;

  /* shape */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* elevation — low-contrast, wide, "expensive" */
  --sh-1: 0 1px 2px rgba(11,18,32,.04), 0 2px 8px rgba(11,18,32,.03);
  --sh-2: 0 2px 4px rgba(11,18,32,.04), 0 12px 28px rgba(11,18,32,.06);
  --sh-3: 0 4px 8px rgba(11,18,32,.05), 0 24px 56px rgba(11,18,32,.09);
  --sh-brand: 0 10px 30px rgba(47,107,255,.22);

  /* type */
  --font-display: 'Sora', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* rhythm */
  --shell: 1240px;
  --gut: clamp(20px, 5vw, 48px);
  --sec: clamp(72px, 9vw, 132px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

/* The hidden attribute must win over any author display rule (e.g. .gate). */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1.14;
  font-weight: 600;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

::selection { background: rgba(47,107,255,.16); color: var(--ink-900); }

/* --------------------------------------------------------------- utilities */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--paper { background: var(--surface); }
.section--deep { background: var(--bg-deep); }

/* Icon placeholders. Component rules later in this file override the size. */
i[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex: none; }
i[data-icon] > svg { width: 1.05em; height: 1.05em; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 12px 20px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* section heading block */
.head { max-width: 720px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.head--center { margin-inline: auto; text-align: center; }
.head--wide { max-width: 860px; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.kicker::before {
  content: ''; width: 22px; height: 1.5px; background: var(--grad); border-radius: 2px;
}
.head--center .kicker::after {
  content: ''; width: 22px; height: 1.5px; background: var(--grad); border-radius: 2px;
}

.h-xl { font-size: clamp(2.15rem, 4.6vw, 3.85rem); letter-spacing: -0.035em; }
.h-lg { font-size: clamp(2rem, 4vw, 3rem); }
.h-md { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.h-sm { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }

.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--ink-500); margin-top: 20px; }
.muted { color: var(--ink-500); }
.tiny { font-size: .82rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600; letter-spacing: -0.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: var(--r-full);
  cursor: pointer; white-space: nowrap; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  --btn-bg: transparent; --btn-fg: #fff;
  background-image: var(--grad); background-size: 160% 100%; background-position: 0 0;
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 14px 40px rgba(47,107,255,.3); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink-900);
  border-color: var(--line);
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--ink-300); background: #fff; }

.btn--wa { --btn-bg: #1FAF54; --btn-fg: #fff; box-shadow: 0 8px 24px rgba(31,175,84,.26); }
.btn--wa:hover { --btn-bg: #189748; box-shadow: 0 12px 32px rgba(31,175,84,.32); }

.btn--sm { padding: 10px 18px; font-size: .84rem; }
.btn--lg { padding: 18px 34px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------------ chips */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  font-size: .78rem; font-weight: 500; letter-spacing: .01em;
  color: var(--ink-600); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-full);
  white-space: nowrap;
}
.chip svg { width: 14px; height: 14px; color: var(--brand); }
.chip--solid { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.chip--gold { color: #8A6D12; background: rgba(201,162,39,.09); border-color: rgba(201,162,39,.25); }
.chip--eco  { color: #0C7C63; background: rgba(20,184,166,.09); border-color: rgba(20,184,166,.24); }

/* ============================================================== ANNOUNCE */
.topbar {
  background: var(--ink-900); color: #C8D4E8;
  font-size: .8rem; letter-spacing: .01em;
  position: relative; z-index: 60;
}
.topbar .shell {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 40px; padding-block: 8px;
}
.topbar__msg { display: flex; align-items: center; gap: 10px; }
.topbar__msg svg { width: 15px; height: 15px; color: var(--brand-2); flex: none; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #2ADE8C; flex: none;
  box-shadow: 0 0 0 0 rgba(42,222,140,.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(42,222,140,0); }
  100% { box-shadow: 0 0 0 0 rgba(42,222,140,0); }
}
@media (max-width: 860px) { .topbar__links { display: none; } }

/* ================================================================== NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); background: rgba(255,255,255,.9); box-shadow: var(--sh-1); }
.nav .shell { display: flex; align-items: center; gap: 28px; min-height: var(--nav-h); }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 10px 15px; border-radius: var(--r-sm);
  font-size: .93rem; font-weight: 500; color: var(--ink-600);
  transition: color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink-900); background: rgba(47,107,255,.055); }
.nav__link[aria-current="page"]::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; background: var(--grad); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: 10px; flex: none; }

/* dropdown */
.nav__item { position: relative; }
.nav__caret { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  width: min(660px, 88vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown__item { display: flex; gap: 13px; padding: 13px; border-radius: var(--r-md); transition: background .2s; }
.dropdown__item:hover { background: var(--bg); }
.dropdown__ico {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  display: grid; place-items: center; background: var(--grad-soft); color: var(--brand);
}
.dropdown__ico svg { width: 19px; height: 19px; }
.dropdown__t { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink-900); }
.dropdown__d { font-size: .8rem; color: var(--ink-500); line-height: 1.45; margin-top: 2px; }

/* burger + drawer */
.burger {
  display: none; width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.burger span { display: block; width: 19px; height: 1.8px; background: var(--ink-900); border-radius: 2px; position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 1.8px; background: var(--ink-900); border-radius: 2px; transition: .3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45;
  background: var(--surface);
  padding: calc(var(--nav-h) + 28px) var(--gut) 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .42s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-soft); font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink-900); }
.drawer__foot { margin-top: 30px; display: grid; gap: 12px; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: flex; margin-left: auto; }
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 560px) { .nav__cta { display: none; } }

/* ================================================================= HERO */
.hero { position: relative; overflow: clip; padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* Soft gradient stops do the blurring, so no filter: blur() is needed here —
   that keeps these large layers off the expensive compositor path. */
.blob { position: absolute; border-radius: 50%; opacity: .85; }
.blob--1 { width: 760px; height: 760px; top: -300px; right: -220px; background: radial-gradient(circle closest-side, rgba(47,107,255,.30), rgba(47,107,255,.14) 45%, transparent 72%); animation: drift 22s ease-in-out infinite alternate; }
.blob--2 { width: 660px; height: 660px; bottom: -300px; left: -200px; background: radial-gradient(circle closest-side, rgba(20,184,166,.26), rgba(20,184,166,.12) 45%, transparent 72%); animation: drift 26s ease-in-out infinite alternate-reverse; }
.blob--3 { width: 520px; height: 520px; top: 30%; left: 42%; background: radial-gradient(circle closest-side, rgba(18,168,216,.18), rgba(18,168,216,.08) 45%, transparent 72%); animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(50px, 42px) scale(1.12); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,18,32,.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,.038) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 32%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 32%, #000 20%, transparent 78%);
}

.hero .shell { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px); align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 8px 7px 14px; margin-bottom: 26px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--r-full);
  font-size: .8rem; color: var(--ink-600); box-shadow: var(--sh-1);
}
.hero__badge b { color: var(--ink-900); font-weight: 600; }
.hero__badge .pill {
  background: var(--grad); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-full);
}

.hero h1 { margin-bottom: 22px; }
.hero__sub { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--ink-500); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* hero visual: a spec card resting on layered material swatches */
.hero__visual { position: relative; }
.stack { position: relative; aspect-ratio: 1 / 1.02; }
.stack__sheet {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-3); border: 1px solid rgba(255,255,255,.6);
}
.stack__sheet--a { inset: 0 22% 26% 0; z-index: 3; animation: floaty 7s ease-in-out infinite; }
.stack__sheet--b { inset: 16% 0 8% 34%; z-index: 2; animation: floaty 7s ease-in-out .9s infinite; }
.stack__sheet--c { inset: 56% 30% 0 8%; z-index: 4; animation: floaty 7s ease-in-out 1.8s infinite; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-11px); }
}
.stack__sheet svg, .stack__sheet .swatch { width: 100%; height: 100%; }

.spec-card {
  position: absolute; right: -4%; bottom: 8%; z-index: 5; width: min(280px, 74%);
  background: rgba(255,255,255,.82); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 20px;
}
.spec-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.spec-card__name { font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--ink-900); }
.spec-card__sku { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-400); }
.spec-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: .78rem; }
.spec-card dt { color: var(--ink-400); }
.spec-card dd { margin: 0; color: var(--ink-800); font-weight: 500; text-align: right; font-family: var(--font-mono); font-size: .74rem; }

@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
}

/* ============================================================ STAT STRIP */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2); overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat__v {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600;
  color: var(--ink-900); letter-spacing: -0.03em; line-height: 1;
}
.stat__v .suffix { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { font-size: .88rem; font-weight: 500; color: var(--ink-700); margin-top: 10px; }
.stat__d { font-size: .76rem; color: var(--ink-400); margin-top: 3px; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

/* ============================================================== MARQUEE */
.marquee { overflow: hidden; padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface-2);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-400); white-space: nowrap;
}
.marquee__item svg { width: 15px; height: 15px; color: var(--brand-2); }

/* =============================================================== SWATCH */
.swatch { display: block; border-radius: inherit; }

/* ============================================================ CARD GRIDS */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-3); border-color: transparent; }

/* category card */
.cat { display: flex; flex-direction: column; }
.cat__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.cat__media .swatch { transition: transform .7s var(--ease); }
.cat:hover .cat__media .swatch { transform: scale(1.06); }
.cat__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-800);
}
.cat__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cat__ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); margin-bottom: 16px;
}
.cat__ico svg { width: 20px; height: 20px; }
.cat h3 { font-size: 1.16rem; margin-bottom: 10px; }
.cat p { font-size: .89rem; color: var(--ink-500); flex: 1; }
.cat__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.cat__count { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-400); }

/* product card */
.prod { display: flex; flex-direction: column; }
.prod__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-deep); }
.prod__media .swatch { transition: transform .7s var(--ease); }
.prod:hover .prod__media .swatch { transform: scale(1.05); }
.prod__flags { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.prod__flag {
  padding: 5px 10px; border-radius: var(--r-full);
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-700);
}
.prod__flag--hot { background: var(--ink-900); color: #fff; }
.prod__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod__sku { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--ink-400); }
.prod h3 { font-size: 1.1rem; margin: 7px 0 8px; }
.prod__tag { font-size: .86rem; color: var(--ink-500); line-height: 1.5; }

.prod__specs {
  margin: 18px 0 0; padding: 14px; border-radius: var(--r-md); background: var(--surface-2);
  border: 1px solid var(--line-soft);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
}
.prod__spec { min-width: 0; }
.prod__spec dt { font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-400); }
.prod__spec dd { margin: 3px 0 0; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.prod__certs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.prod__cert {
  font-size: .67rem; font-weight: 500; padding: 3px 8px; border-radius: var(--r-xs);
  background: rgba(20,184,166,.08); color: #0C7C63; border: 1px solid rgba(20,184,166,.2);
}
.prod__actions { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* ============================================================ APPLICATIONS */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.app {
  background: var(--surface); padding: 30px 26px; min-height: 176px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background .3s;
  position: relative; overflow: hidden;
}
.app::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.app:hover { background: var(--surface-2); }
.app:hover::after { transform: scaleX(1); }
.app__n { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-300); }
.app h3 { font-size: 1.05rem; margin-top: 16px; }
.app p { font-size: .83rem; color: var(--ink-500); margin-top: 8px; }
@media (max-width: 1000px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .apps { grid-template-columns: 1fr; } }

/* ================================================================ SPLIT */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--rev .split__media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

.feature-list { display: grid; gap: 4px; margin-top: 34px; }
.feature {
  display: flex; gap: 16px; padding: 18px; border-radius: var(--r-md);
  transition: background .3s;
}
.feature:hover { background: var(--surface); box-shadow: var(--sh-1); }
.feature__ico {
  width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand);
}
.feature__ico svg { width: 19px; height: 19px; }
.feature h4 { font-family: var(--font-display); font-size: .98rem; font-weight: 600; color: var(--ink-900); margin: 0 0 5px; }
.feature p { font-size: .87rem; color: var(--ink-500); }

/* =============================================================== PROCESS */
.process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 940px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .process { grid-template-columns: 1fr; } }

.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.step__n {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .28;
}
.step h3 { font-size: 1.05rem; margin: 14px 0 10px; }
.step p { font-size: .87rem; color: var(--ink-500); }
.step__when {
  display: inline-block; margin-top: 16px; padding: 5px 11px; border-radius: var(--r-full);
  background: var(--bg-deep); font-family: var(--font-mono); font-size: .7rem; color: var(--ink-500);
}

/* ============================================================== QUOTES */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: .7; color: var(--brand); opacity: .18; }
.quote p { font-size: 1rem; color: var(--ink-700); margin: 12px 0 24px; flex: 1; }
.quote__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.quote__who { font-size: .86rem; }
.quote__who b { display: block; color: var(--ink-900); font-family: var(--font-display); font-weight: 600; }
.quote__who span { color: var(--ink-400); font-size: .8rem; }
.quote__metric {
  font-family: var(--font-mono); font-size: .74rem; padding: 6px 12px; border-radius: var(--r-full);
  background: var(--grad-soft); color: var(--brand); white-space: nowrap;
}

/* ================================================================ CERTS */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .certs { grid-template-columns: 1fr; } }
.cert {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px; transition: border-color .3s, transform .3s var(--ease);
}
.cert:hover { border-color: var(--brand); transform: translateY(-3px); }
.cert__code { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--brand); }
.cert__name { font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--ink-900); margin: 8px 0 6px; }
.cert__note { font-size: .8rem; color: var(--ink-500); }

/* =============================================================== MARKETS */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .markets { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .markets { grid-template-columns: 1fr; } }
.market { padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.market h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink-900); margin: 0 0 10px; display: flex; align-items: center; gap: 9px; }
.market h4::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.market p { font-size: .84rem; color: var(--ink-500); line-height: 1.7; }

/* =================================================================== FAQ */
.faq { max-width: 860px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; color: var(--ink-900);
  transition: color .2s;
}
.faq__q:hover { color: var(--brand); }
.faq__sign { flex: none; width: 26px; height: 26px; position: relative; margin-top: 3px; }
.faq__sign::before, .faq__sign::after {
  content: ''; position: absolute; inset: 50% 0 auto 0; height: 1.8px; background: var(--ink-400); border-radius: 2px; transition: .35s var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item.is-open .faq__sign::after { transform: rotate(0); }
.faq__item.is-open .faq__sign::before { background: var(--brand); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: 26px; color: var(--ink-500); font-size: .95rem; max-width: 74ch; }

/* ============================================================== CTA BAND */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--ink-900); color: #fff;
  border-radius: var(--r-xl); padding: clamp(44px, 6vw, 76px);
}
.cta-band::before {
  content: ''; position: absolute; width: 560px; height: 560px; top: -280px; right: -180px;
  background: radial-gradient(circle closest-side, rgba(47,107,255,.42), rgba(47,107,255,.16) 50%, transparent 74%);
}
.cta-band::after {
  content: ''; position: absolute; width: 460px; height: 460px; bottom: -260px; left: -140px;
  background: radial-gradient(circle closest-side, rgba(20,184,166,.36), rgba(20,184,166,.14) 50%, transparent 74%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 16ch; }
.cta-band .lead { color: rgba(255,255,255,.72); max-width: 52ch; }
.cta-band .kicker { color: #6EE7DA; }
.cta-band__row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-band .btn--ghost { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); --btn-fg: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.cta-band__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .cta-band__grid { grid-template-columns: 1fr; } }
.cta-band__aside { display: grid; gap: 14px; }
.cta-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.cta-line svg { width: 19px; height: 19px; color: #6EE7DA; flex: none; margin-top: 2px; }
.cta-line b { display: block; font-family: var(--font-display); font-size: .93rem; color: #fff; }
.cta-line span { font-size: .82rem; color: rgba(255,255,255,.62); }

/* ================================================================ FILTERS */
.filters {
  position: sticky; top: var(--nav-h); z-index: 20;
  background: rgba(245,248,252,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filter-chip {
  padding: 9px 17px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface);
  font-size: .85rem; font-weight: 500; color: var(--ink-600); cursor: pointer;
  transition: .25s var(--ease);
}
.filter-chip:hover { border-color: var(--ink-300); color: var(--ink-900); }
.filter-chip.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.filters__spacer { flex: 1; }
.filters__count { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-400); }

.select {
  appearance: none; -webkit-appearance: none;
  padding: 10px 38px 10px 15px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-700);
  font-size: .85rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6B85' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 15px;
}

.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--ink-400); }
.search-field input {
  padding: 10px 16px 10px 40px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface); width: 240px; font-size: .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.search-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,107,255,.12); }

.empty { text-align: center; padding: 80px 20px; }
.empty h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* ================================================================== FORM */
.form-shell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--sh-3);
  overflow: hidden;
}
.form-shell__grid { display: grid; grid-template-columns: .82fr 1.18fr; }
@media (max-width: 940px) { .form-shell__grid { grid-template-columns: 1fr; } }

.form-aside {
  background: var(--ink-900); color: #fff; padding: clamp(32px, 4vw, 48px);
  position: relative; overflow: hidden;
}
.form-aside::before {
  content: ''; position: absolute; width: 420px; height: 420px; bottom: -220px; left: -120px;
  background: radial-gradient(circle closest-side, rgba(20,184,166,.34), rgba(20,184,166,.13) 50%, transparent 74%);
}
.form-aside > * { position: relative; z-index: 1; }
.form-aside h3 { color: #fff; font-size: 1.5rem; }
.form-aside > p { color: rgba(255,255,255,.68); font-size: .93rem; margin-top: 14px; }
.form-aside__list { display: grid; gap: 18px; margin-top: 34px; }
.form-aside__li { display: flex; gap: 13px; font-size: .88rem; color: rgba(255,255,255,.82); }
.form-aside__li svg { width: 17px; height: 17px; color: #6EE7DA; flex: none; margin-top: 3px; }
.form-aside__contact { margin-top: 38px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 14px; }
.form-aside__contact a { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: rgba(255,255,255,.85); transition: color .2s; }
.form-aside__contact a:hover { color: #fff; }
.form-aside__contact svg { width: 17px; height: 17px; color: #6EE7DA; flex: none; }

.form-main { padding: clamp(30px, 4vw, 46px); }

.steps { display: flex; align-items: center; gap: 6px; margin-bottom: 32px; }
.steps__item { display: flex; align-items: center; gap: 10px; flex: 1; }
.steps__dot {
  width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-deep); color: var(--ink-400);
  font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  transition: .35s var(--ease);
}
.steps__item.is-active .steps__dot { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.steps__item.is-done .steps__dot { background: var(--ok); color: #fff; }
.steps__label { font-size: .8rem; color: var(--ink-400); font-weight: 500; }
.steps__item.is-active .steps__label { color: var(--ink-900); }
.steps__bar { flex: 1; height: 1.5px; background: var(--line); border-radius: 2px; }
.steps__item.is-done + .steps__bar, .steps__bar.is-done { background: var(--ok); }
@media (max-width: 620px) { .steps__label { display: none; } }

.fieldset { display: none; animation: fadeUp .45s var(--ease); }
.fieldset.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .field-grid, .field-grid--3 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-700); }
.field label .req { color: var(--err); }
.field .hint { font-size: .74rem; color: var(--ink-400); }

.input, .textarea, .field .select {
  width: 100%; padding: 13px 15px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: .93rem; color: var(--ink-900);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.6; font-family: inherit; }
.input:focus, .textarea:focus, .field .select:focus {
  outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47,107,255,.12);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.input.is-error, .textarea.is-error { border-color: var(--err); box-shadow: 0 0 0 3px rgba(217,59,75,.1); }
.field__err { font-size: .76rem; color: var(--err); display: none; }
.field__err.is-shown { display: block; }

/* honeypot */
.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* choice tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 620px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile span {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 15px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); cursor: pointer;
  font-size: .86rem; font-weight: 600; color: var(--ink-700);
  transition: .25s var(--ease);
}
.tile span small { font-weight: 400; font-size: .74rem; color: var(--ink-400); }
.tile input:checked + span {
  border-color: var(--brand); background: rgba(47,107,255,.05); color: var(--ink-900);
  box-shadow: 0 0 0 1px var(--brand);
}
.tile input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }

/* checkbox pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; pointer-events: none; }
.pill-check span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: .83rem; color: var(--ink-600); cursor: pointer; transition: .22s var(--ease);
}
.pill-check input:checked + span { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.pill-check input:focus-visible + span { outline: 2.5px solid var(--brand); outline-offset: 2px; }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 22px; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.consent label { font-size: .8rem; color: var(--ink-500); line-height: 1.55; }

.form-actions { display: flex; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.form-actions .spacer { flex: 1; }

/* success panel */
.form-success { display: none; text-align: center; padding: 30px 10px; animation: fadeUp .5s var(--ease); }
.form-success.is-shown { display: block; }
.form-success__ico {
  width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(18,161,80,.1); color: var(--ok);
}
.form-success__ico svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 12px; }
.form-success p { color: var(--ink-500); max-width: 46ch; margin-inline: auto; }
.ref-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 24px 0;
  padding: 12px 20px; border-radius: var(--r-full);
  background: var(--bg-deep); border: 1px dashed var(--ink-300);
  font-family: var(--font-mono); font-size: .95rem; color: var(--ink-900);
}
.form-success__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ============================================================== WHATSAPP */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.42);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-fab:hover { transform: scale(1.07); box-shadow: 0 12px 36px rgba(37,211,102,.5); }
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab__ping {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: ping 2.6s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%,100% { transform: scale(1.7); opacity: 0; } }
.wa-fab__badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--r-full); background: var(--err); color: #fff;
  font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg);
}

.wa-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 71;
  width: min(370px, calc(100vw - 44px));
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3);
  border: 1px solid var(--line); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.97);
  transform-origin: bottom right;
  transition: .35s var(--ease);
}
.wa-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.wa-panel__head { background: #075E54; color: #fff; padding: 18px 20px; display: flex; gap: 13px; align-items: center; }
.wa-panel__avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; padding: 6px; }
.wa-panel__avatar img { width: 100%; height: 100%; }
.wa-panel__who b { display: block; font-family: var(--font-display); font-size: .93rem; }
.wa-panel__who span { font-size: .76rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; }
.wa-panel__who span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2ADE8C; }
.wa-panel__close { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.8); cursor: pointer; padding: 4px; }
.wa-panel__close svg { width: 19px; height: 19px; }

.wa-panel__body {
  padding: 22px 20px;
  background: #ECE5DD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23000' fill-opacity='.025'%3E%3Cpath d='M0 20h40M20 0v40'/%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.wa-bubble {
  background: #fff; border-radius: 0 12px 12px 12px; padding: 13px 16px;
  font-size: .88rem; color: #202C33; box-shadow: 0 1px 2px rgba(0,0,0,.12);
  max-width: 92%; position: relative;
}
.wa-bubble + .wa-bubble { margin-top: 10px; }
.wa-bubble__time { display: block; text-align: right; font-size: .66rem; color: #8696A0; margin-top: 4px; }

.wa-panel__quick { padding: 16px 20px; background: var(--surface); display: grid; gap: 8px; }
.wa-panel__quick p { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-400); margin-bottom: 4px; }
.wa-quick {
  text-align: left; padding: 11px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: .85rem; color: var(--ink-700); cursor: pointer;
  transition: .22s var(--ease); display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.wa-quick:hover { border-color: #25D366; background: rgba(37,211,102,.06); color: var(--ink-900); }
.wa-quick svg { width: 15px; height: 15px; color: #25D366; flex: none; }
.wa-panel__foot { padding: 0 20px 18px; }

@media (max-width: 480px) {
  .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa-panel { right: 16px; left: 16px; bottom: 82px; width: auto; }
}

/* ================================================================= TOAST */
.toast {
  position: fixed; left: 50%; bottom: 28px; translate: -50% 0; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: var(--r-full);
  background: var(--ink-900); color: #fff; font-size: .89rem;
  box-shadow: var(--sh-3);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .35s var(--ease);
}
.toast.is-shown { opacity: 1; visibility: visible; transform: none; }
.toast svg { width: 18px; height: 18px; color: #6EE7DA; flex: none; }
.toast--err svg { color: #FF8A95; }

/* ================================================================ FOOTER */
.footer { background: var(--ink-900); color: #A9B7CC; padding-block: clamp(56px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; width: 700px; height: 700px; top: -420px; left: 50%; translate: -50% 0;
  background: radial-gradient(circle closest-side, rgba(47,107,255,.22), rgba(47,107,255,.09) 50%, transparent 74%);
}
.footer .shell { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; }
@media (max-width: 940px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__logo { height: 42px; width: auto; margin-bottom: 20px; }
.footer__logo .wordmark { fill: #fff; }
.footer__about { font-size: .89rem; line-height: 1.75; max-width: 38ch; }
.footer h4 {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: #fff; margin: 0 0 20px;
}
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: .89rem; transition: color .2s, padding-left .25s var(--ease); }
.footer__links a:hover { color: #fff; padding-left: 5px; }
.footer__contact { display: grid; gap: 16px; }
.footer__contact a, .footer__contact div { display: flex; gap: 12px; align-items: flex-start; font-size: .89rem; transition: color .2s; }
.footer__contact a:hover { color: #fff; }
.footer__contact svg { width: 17px; height: 17px; color: var(--brand-2); flex: none; margin-top: 3px; }

.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.14); transition: .25s var(--ease);
}
.footer__social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__bar {
  margin-top: 56px; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  font-size: .82rem; color: #8496AE;
}
.footer__bar nav { display: flex; gap: 24px; flex-wrap: wrap; }

/* =============================================================== REVEALS */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .40s; }

/* ============================================================== PAGE HEAD */
.page-head { position: relative; overflow: clip; padding-block: clamp(52px, 6vw, 84px) clamp(40px, 5vw, 64px); background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .shell { position: relative; z-index: 1; }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--ink-400); margin-bottom: 20px; }
.crumbs a:hover { color: var(--brand); }
.crumbs svg { width: 13px; height: 13px; }

/* =============================================================== ADMIN */
.admin-body { background: var(--bg-deep); }
.gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.gate__card { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 40px; }
.gate__card img { height: 40px; margin-bottom: 26px; }

.admin-top { background: var(--surface); border-bottom: 1px solid var(--line); padding-block: 16px; position: sticky; top: 0; z-index: 20; }
.admin-top .shell { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.admin-top img { height: 34px; }

.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.kpi__v { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ink-900); line-height: 1; }
.kpi__l { font-size: .78rem; color: var(--ink-500); margin-top: 8px; text-transform: uppercase; letter-spacing: .07em; }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 900px; }
table.data th {
  text-align: left; padding: 14px 16px; background: var(--surface-2);
  border-bottom: 1px solid var(--line); font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--ink-500); font-weight: 600; white-space: nowrap;
  position: sticky; top: 0;
}
table.data td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tr:hover td { background: var(--surface-2); }
table.data .ref { font-family: var(--font-mono); font-size: .76rem; color: var(--brand); }

.badge {
  display: inline-block; padding: 4px 11px; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 600; text-transform: capitalize;
}
.badge--new       { background: rgba(47,107,255,.1);  color: #2453C4; }
.badge--contacted { background: rgba(201,162,39,.14); color: #8A6D12; }
.badge--quoted    { background: rgba(124,92,255,.12); color: #5B3FD6; }
.badge--won       { background: rgba(18,161,80,.12);  color: #0E7B3E; }
.badge--lost      { background: rgba(217,59,75,.1);   color: #B32C3B; }

.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btn {
  padding: 5px 11px; border-radius: var(--r-xs); border: 1px solid var(--line);
  background: var(--surface); font-size: .74rem; cursor: pointer; color: var(--ink-600);
  transition: .2s;
}
.mini-btn:hover { border-color: var(--brand); color: var(--brand); }

/* -------------------------------------------------------------- print */
@media print {
  .nav, .topbar, .wa-fab, .wa-panel, .footer, .cta-band { display: none !important; }
  body { background: #fff; }
}
