/* ══════════════════════════════════════════════
   CÓSMICA WEB — Design System
   SaaS-grade · Mobile-first · No frameworks
   Fonts: Bricolage Grotesque (headings) · Plus Jakarta Sans (body)
══════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  /* Typography */
  --font-bricolage: "Bricolage Grotesque", sans-serif;
  --font-jakarta:   "Plus Jakarta Sans", sans-serif;

  /* Core palette */
  --color-background:    #f3f4f6;
  --color-surface:       #ffffff;
  --color-foreground:    #111827;
  --color-primary:       #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-light: #eff6ff;
  --color-muted:         #6b7280;
  --color-muted-bg:      #f9fafb;
  --color-border:        #e5e7eb;

  /* Extended foreground scale */
  --color-foreground-2:  #374151;
  --color-foreground-3:  #6b7280;
  --color-foreground-4:  #9ca3af;

  /* Primary glow helpers */
  --color-primary-dim:   rgba(37, 99, 235, .12);
  --color-primary-glow:  rgba(37, 99, 235, .22);

  /* Dark sections */
  --color-void:          #080c18;

  /* Borders */
  --color-border-subtle: rgba(0, 0, 0, .06);
  --color-border-strong: rgba(0, 0, 0, .13);

  /* Depth — single-shadow strategy */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Spacing (base 4px) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur:  180ms;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-jakarta);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground-2);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-8); } }

.section { padding-block: var(--space-20); }
.section--alt { background: var(--color-muted-bg); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-jakarta);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.eyebrow--light { color: rgba(255,255,255,.5); }

h2 {
  font-family: var(--font-bricolage);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--color-foreground);
  margin-bottom: var(--space-4);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: var(--font-jakarta);
  font-weight: 700;
  font-size: .8125rem;
  padding: .6875rem 1.125rem;
  border-radius: 11px;
  border: 1.5px solid transparent;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  white-space: nowrap;
  line-height: 1.4;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--full { width: 100%; }

.btn--primary {
  background: rgb(37, 99, 235);
  color: #fff;
  border-color: transparent;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 6px 20px var(--color-primary-glow);
}

.btn--outline {
  background: #fff;
  border: 1.5px solid rgb(229, 231, 235);
  border-radius: 9px;
  font-size: .6875rem;
  font-weight: 600;
  color: rgb(55, 65, 81);
}
.btn--outline:hover {
  border-color: rgb(37, 99, 235);
  color: rgb(37, 99, 235);
}

/* Hero buttons */
.btn--hero-primary {
  background: var(--color-primary);
  color: #fff;
  padding: .8125rem 1.625rem;
  font-size: 1rem;
  box-shadow: 0 0 32px var(--color-primary-glow);
}
.btn--hero-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 0 48px rgba(37, 99, 235, .35);
}
.btn--hero-ghost {
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.18);
  padding: .8125rem 1.625rem;
  font-size: 1rem;
}
.btn--hero-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
}

/* CTA buttons */
.btn--cta-primary {
  background: #fff;
  color: var(--color-primary);
  padding: .875rem 1.75rem;
  font-size: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.btn--cta-primary:hover { background: var(--color-primary-light); }
.btn--cta-ghost {
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.2);
  padding: .875rem 1.75rem;
  font-size: 1rem;
}
.btn--cta-ghost:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  /* Transparent by default, fills on scroll via data-scrolled */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 150ms var(--ease),
    border-color 150ms var(--ease),
    backdrop-filter 150ms var(--ease);
}
.nav[data-scrolled="true"] {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: var(--space-6);
}

.nav__logo img { height: 22px; width: auto; display: block; }

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color var(--dur);
}
.nav__links a:hover { color: var(--color-foreground); }

.nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* 3-line burger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: background var(--dur);
}
.nav__burger:hover { background: rgba(0,0,0,.05); }
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--color-foreground-2);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
  transform-origin: center;
}
/* Animate to X */
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile fullscreen menu */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav__overlay.open { opacity: 1; pointer-events: all; }

.nav__sheet {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: #050810;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37,99,235,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(37,99,235,.10) 0%, transparent 70%);
  transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.32, .72, 0, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.nav__sheet.open { transform: translateY(0); }

.nav__sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  height: 64px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}

.nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.12);
  transition: background var(--dur), color var(--dur);
}
.nav__close:hover { background: rgba(255,255,255,.08); color: #fff; }

.nav__sheet-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-10) var(--space-6) var(--space-8);
  gap: var(--space-8);
  justify-content: center;
}

.nav__sheet-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav__sheet-links a {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-bricolage);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s ease, padding-left .2s ease;
  line-height: 1.1;
}
.nav__sheet-links a:last-child { border-bottom: none; }
.nav__sheet-links a:hover {
  color: #fff;
  padding-left: var(--space-3);
}

.nav__sheet-num {
  font-family: var(--font-jakarta);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--color-primary);
  opacity: .8;
  align-self: flex-start;
  margin-top: .35em;
  min-width: 20px;
}

.nav__sheet-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.nav__sheet-cta .btn {
  width: 100%;
  justify-content: center;
  padding: .875rem 1.5rem;
  font-size: 1rem;
}
.nav__sheet-cta .btn--outline {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
}
.nav__sheet-cta .btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

.nav__sheet-footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  color: rgba(255,255,255,.25);
}
.nav__sheet-footer a {
  color: rgba(255,255,255,.35);
  transition: color var(--dur);
}
.nav__sheet-footer a:hover { color: rgba(255,255,255,.7); }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* btn--sm for nav CTA */
.btn--sm { padding: .45rem 1rem; font-size: .875rem; }

/* Hide nav CTA buttons on mobile — shown only on md+ */
.nav__cta-desktop { display: none; }
@media (min-width: 768px) { .nav__cta-desktop { display: inline-flex; } }

/* ════════════════════════════════════════════
   HERO ANIMATIONS
   Port of framer-motion spring: bounce 0.3, duration 1.5
   staggerChildren 0.05s, delayChildren 0.75s
════════════════════════════════════════════ */
@keyframes heroBlurUp {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
  }
}

/* Spring-like easing: slight overshoot before settling */
.hero-item {
  opacity: 0;
  animation: heroBlurUp 900ms cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
}
/* Stagger: 0.75s base delay + 0.08s per child */
.hero-item:nth-child(1) { animation-delay: .75s; }
.hero-item:nth-child(2) { animation-delay: .83s; }
.hero-item:nth-child(3) { animation-delay: .91s; }
.hero-item:nth-child(4) { animation-delay: .99s; }
.hero-item:nth-child(5) { animation-delay: 1.07s; }

.hero-item-screen {
  opacity: 0;
  animation: heroBlurUp 900ms cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
  animation-delay: 1.15s;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  /* Light background — matches reference component aesthetic */
  background: var(--color-surface);
  padding-top: 96px;  /* account for fixed nav (60px) + breathing room */
  overflow: hidden;
  position: relative;
}

/* Brand glow — ported from background-components.tsx
   Using ellipse + rgba for a clearly visible but tasteful blue glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 85% 65% at 50% 10%, rgba(147, 197, 253, 0.55) 0%, transparent 100%);
  pointer-events: none;
}

/* Radial gradient: transparent at top → background at 75% bottom
   Matches: radial-gradient(125% 125% at 50% 100%, transparent 0%, var(--background) 75%) */
.hero__fade {
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 125% at 50% 100%, transparent 0%, var(--color-background) 75%);
  pointer-events: none;
  z-index: 0;
}

/* Text content — same container as navbar */
.hero__text-wrap {
  position: relative;
  z-index: 1;
  padding-bottom: var(--space-10);
  /* Uses .container class for width alignment with navbar */
}


/* H1: large, medium weight, text-balance feel */
.hero h1 {
  font-family: var(--font-bricolage);
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--color-foreground);
  margin-top: 0;
  margin-bottom: var(--space-8);
  max-width: 760px;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-primary);
}

.br-lg { display: none; }
@media (min-width: 640px) { .br-lg { display: block; } }

.hero__sub {
  font-family: var(--font-jakarta);
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 560px;
  margin-bottom: var(--space-10);
  line-height: 1.75;
}
.hero__sub strong { color: var(--color-foreground-2); font-weight: 600; }

/* CTA row — matches: bg-foreground/10 border rounded-[14px] p-0.5 wrapper */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

/* Bordered wrapper around primary CTA */
.hero__btn-wrap {
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 3px;
}
.hero__btn-wrap .btn {
  border-radius: 11px;
}

/* Ghost variant for secondary CTA */
.btn--ghost {
  color: var(--color-foreground-2);
  border-color: transparent;
}
.btn--ghost:hover {
  background: rgba(0,0,0,.05);
  color: var(--color-foreground);
}
.btn--lg { padding: .75rem 1.375rem; font-size: 1rem; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-muted);
}
.trust-chip svg { stroke: var(--color-primary); flex-shrink: 0; }

/* ── Screen / dashboard screenshot area ── */
.hero__screen-wrap {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-10);
}
@media (min-width: 1024px) {
  .hero__screen-wrap { margin-top: var(--space-16); }
}

/* Gradient: transparent → background — fades screenshot into page */
.hero__screen-fade {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 35%,
    rgba(243, 244, 246, 0.55) 65%,
    var(--color-background) 88%
  );
  pointer-events: none;
}

/* Same max-width as navbar container */
.hero__screen-inner {
  position: relative;
}

/* Browser chrome wrapper */
.browser {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-bottom: none;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.03),
    0 -2px 40px rgba(0,0,0,.06),
    0 16px 60px rgba(0,0,0,.10);
}

.browser__chrome {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: .625rem var(--space-4);
  background: var(--color-muted-bg);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.browser__dots { display: flex; gap: 5px; }
.browser__dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser__dots span:nth-child(1) { background: #ff5f57; }
.browser__dots span:nth-child(2) { background: #ffbd2e; }
.browser__dots span:nth-child(3) { background: #28c840; }

.browser__bar {
  flex: 1;
  height: 22px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: .6875rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  padding-inline: var(--space-3);
  font-family: var(--font-jakarta);
}

/* Dashboard screenshot */
.browser__screenshot {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top left;
}

/* ════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════ */
.stats-bar {
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding-block: var(--space-6);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat__num {
  font-family: var(--font-bricolage);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-foreground);
  letter-spacing: -.03em;
  line-height: 1;
}
.stat__label {
  font-family: var(--font-jakarta);
  font-size: .75rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: .02em;
}
.stat-divider { width: 1px; height: 36px; background: var(--color-border); }

/* ════════════════════════════════════════════
   FEATURE CARDS — Por qué elegirnos
   Ported from React component (framer-motion → CSS)
════════════════════════════════════════════ */
.feat-section { background: var(--color-surface); }

.feat-eyebrow {
  margin-bottom: var(--space-8);
}

/* Grid — 1 col mobile, 3 col desktop */
.feat-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

/* Card base — matches bg-secondary rounded-xl p-8 min-h-[280px] flex flex-col */
.feat-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  cursor: default;
  /* whileHover / whileTap via CSS — matches framer-motion scale */
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.feat-card:hover  { transform: scale(0.98); }
.feat-card:active { transform: scale(0.96); }

/* Visual area — flex-1, centered */
.feat-card__visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer — mt-4 */
.feat-card__footer { margin-top: var(--space-4); }

.feat-card__footer h3 {
  font-family: var(--font-bricolage);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-foreground);
  letter-spacing: -.025em;
}
.feat-card__footer p {
  font-family: var(--font-jakarta);
  font-size: .875rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-top: var(--space-1);
}

/* ── Entrance animation — matches whileInView opacity:0 y:30 → 1 y:0 ── */
/* Initial hidden state is applied by JS (feat-reveal--hidden) so cards are
   always visible if JS fails or hasn't run yet */
.feat-reveal--hidden {
  opacity: 0;
  transform: translateY(30px);
}
.feat-reveal {
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
/* Stagger: delay 0ms, 100ms, 200ms */
.feat-reveal:nth-child(2) { transition-delay: 100ms; }
.feat-reveal:nth-child(3) { transition-delay: 200ms; }

/* ══ Visual 1: PRICE — TypeTester (scale pulse) ══ */
.feat-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.feat-price__from {
  font-family: var(--font-jakarta);
  font-size: .6875rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.feat-price__num {
  font-family: var(--font-bricolage);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-foreground);
  letter-spacing: -.05em;
  line-height: 1;
  animation: featPricePulse 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  display: block;
}
.feat-price__period {
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  color: var(--color-muted);
}
@keyframes featPricePulse {
  0%, 40%, 100% { transform: scale(1); }
  20%           { transform: scale(1.35); }
}

/* ══ Visual 2: LAYOUT BLOCKS — LayoutAnimation ══ */
.feat-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 140px;
  align-content: flex-start;
}
.feat-block {
  background: var(--color-primary-dim, rgba(37,99,235,.18));
  border-radius: var(--radius-sm);
  min-height: 32px;
  /* Smooth layout transitions */
  transition:
    width 500ms cubic-bezier(0.16, 1, 0.3, 1),
    min-height 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
/* State 0: 2 blocks on top row + 1 full-width below */
.feat-layout[data-state="0"] .feat-block:nth-child(1),
.feat-layout[data-state="0"] .feat-block:nth-child(2) { width: calc(50% - 4px); }
.feat-layout[data-state="0"] .feat-block:nth-child(3) { width: 100%; }
/* State 1: 3 equal columns */
.feat-layout[data-state="1"] .feat-block { width: calc(33.333% - 6px); }
/* State 2: 3 stacked full-width */
.feat-layout[data-state="2"] .feat-block { width: 100%; }

/* ══ Visual 3: SEO PROGRESS — SpeedIndicator ══ */
.feat-seo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.feat-seo__day {
  font-family: var(--font-bricolage);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-foreground);
  letter-spacing: -.04em;
  line-height: 1;
}
.feat-seo__label {
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  color: var(--color-muted);
}
.feat-seo__track {
  width: 120px;
  height: 6px;
  background: rgba(0,0,0,.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.feat-seo__fill {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-seo__fill.filled { width: 100%; }

/* ════════════════════════════════════════════
   SERVICIOS — Gallery4 carousel
   Ported from React (Embla) to CSS scroll-snap
════════════════════════════════════════════ */
.svc-section {
  overflow: hidden;
  background: var(--color-surface);
  padding-bottom: var(--space-10);
}

/* Header row: title left, arrows right */
.svc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
}

/* Hide arrows on mobile; show on md+ */
.svc-arrows {
  display: none;
  gap: var(--space-2);
  flex-shrink: 0;
}
@media (min-width: 768px) { .svc-arrows { display: flex; } }

.svc-arrow {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-foreground);
  transition: background var(--dur), opacity var(--dur);
}
.svc-arrow:hover:not(:disabled) { background: var(--color-background); }
.svc-arrow:disabled { opacity: 0.3; cursor: default; }

/* Full-width scroll container */
.svc-track-wrap { width: 100%; overflow: hidden; }

.svc-track {
  display: flex;
  gap: 20px;
  /* Align first card with container left edge */
  padding-left: max(var(--space-8), calc((100vw - 1160px) / 2 + var(--space-8)));
  padding-right: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.svc-track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .svc-track {
    padding-left: max(var(--space-8), calc((100vw - 1160px) / 2 + var(--space-8)));
    padding-right: var(--space-8);
  }
}

/* Individual slide */
.svc-slide {
  flex-shrink: 0;
  width: 300px;
  scroll-snap-align: start;
}
@media (min-width: 768px) { .svc-slide { width: 360px; } }

/* Card — image with overlay, Gallery4 style */
.svc-card {
  position: relative;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 27rem;
}
@media (min-width: 768px) { .svc-card { aspect-ratio: 5 / 4; min-height: unset; } }
@media (min-width: 1024px) { .svc-card { aspect-ratio: 16 / 9; } }

.svc-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease;
}
.svc-card:hover .svc-card__img { transform: scale(1.05); }

/* Dark gradient overlay — same as Gallery4 mix-blend-multiply approach */
.svc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 15, 30, 0.35) 40%,
    rgba(10, 15, 30, 0.88) 100%
  );
}

/* Text content at bottom */
.svc-card__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-6);
}

.svc-card__icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-md);
  color: white;
  margin-bottom: var(--space-3);
}

.svc-card h3 {
  font-family: var(--font-bricolage);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-2);
  letter-spacing: -.02em;
}

.svc-card p {
  font-family: var(--font-jakarta);
  font-size: .875rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ════════════════════════════════════════════
   PRICING — ruixen-pricing-04 port
════════════════════════════════════════════ */

/* Section header */
.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-10);
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-jakarta);
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-foreground-2);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-xs);
}
.pricing-pill svg { stroke: var(--color-primary); flex-shrink: 0; }

.pricing-header h2 { margin-bottom: var(--space-3); }
.pricing-header .section-sub { max-width: 440px; margin-bottom: var(--space-6); }

/* Billing toggle — segmented control */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.billing-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-family: var(--font-jakarta);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-muted);
  cursor: pointer;
  transition: background var(--dur), color var(--dur), box-shadow var(--dur);
  white-space: nowrap;
}
.billing-btn.active {
  background: var(--color-surface);
  color: var(--color-foreground);
  box-shadow: var(--shadow-xs);
}

.billing-badge {
  font-family: var(--font-jakarta);
  font-size: .75rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Grid — 4 columns on desktop */
.pricing-grid {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}
@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }

/* Card */
.pricing-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--dur);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-primary);
}

.pricing-card__top {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Plan icon */
.pricing-card__icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-background);
  color: var(--color-foreground-2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.pricing-card__icon--star {
  background: var(--color-primary-dim);
  color: var(--color-primary);
}

/* Badge */
.pricing-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-jakarta);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Plan name */
.pricing-card__name {
  font-family: var(--font-bricolage);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: var(--space-2);
}

.pricing-card__desc {
  font-family: var(--font-jakarta);
  font-size: .875rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  flex: 1;
}

/* Price display */
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin-bottom: var(--space-1);
}
.price-currency {
  font-family: var(--font-bricolage);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  letter-spacing: -.02em;
}
.price-amount {
  font-family: var(--font-bricolage);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-foreground);
  letter-spacing: -.04em;
  line-height: 1;
  display: inline-block;
  transition: opacity .12s ease, transform .12s ease;
}
.price-free {
  font-family: var(--font-bricolage);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-foreground);
  letter-spacing: -.04em;
}
.price-period {
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  color: var(--color-muted);
  margin-left: 2px;
}

/* Billing note (annual label) */
.billing-note {
  font-family: var(--font-jakarta);
  font-size: .75rem;
  color: var(--color-muted);
  height: 1.25rem;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

/* CTA button full-width */
.btn--price-cta {
  width: 100%;
  justify-content: center;
}

/* Dark button variant */
.btn--dark {
  background: var(--color-foreground);
  color: #fff;
  border-color: transparent;
}
.btn--dark:hover { background: var(--color-foreground-2); }

/* Features list */
.pricing-card__features {
  padding: 0 var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-family: var(--font-jakarta);
  font-size: .875rem;
  color: var(--color-foreground-2);
  line-height: 1.5;
}
.feat-item--off { color: var(--color-foreground-4); }
.feat-check { flex-shrink: 0; margin-top: 1px; }
.feat-item:not(.feat-item--off) .feat-check { stroke: var(--color-primary); }
.feat-item--off .feat-check { stroke: var(--color-foreground-4); }

/* Trust bar */
.pricing-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.pricing-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  color: var(--color-muted);
}
.pricing-trust-item svg { flex-shrink: 0; }

/* ════════════════════════════════════════════
   PROCESO
════════════════════════════════════════════ */
.process-list { max-width: 680px; margin-inline: auto; display: flex; flex-direction: column; }

.process-item {
  display: flex;
  gap: var(--space-6);
  position: relative;
  padding-bottom: var(--space-10);
}
.process-item:last-child { padding-bottom: 0; }
.process-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px; top: 44px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary-dim), transparent);
  pointer-events: none;
}

.process-item__num {
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-bricolage);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--color-primary-dim);
  flex-shrink: 0;
}

.process-item__body h3 {
  font-family: var(--font-bricolage);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin-bottom: var(--space-2);
  letter-spacing: -.02em;
  margin-top: .5rem;
}
.process-item__body p {
  font-family: var(--font-jakarta);
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   TESTIMONIOS
════════════════════════════════════════════ */
.testimonials-grid { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: box-shadow var(--dur), transform var(--dur);
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial--accent { background: var(--color-primary-light); border-color: rgba(37,99,235,.15); }

.testimonial__stars { color: #f59e0b; font-size: .9375rem; letter-spacing: 2px; }
.testimonial > p {
  font-family: var(--font-jakarta);
  font-size: .9375rem;
  color: var(--color-foreground-2);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.testimonial footer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.testimonial__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-jakarta);
  font-size: .6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial footer strong { display: block; font-family: var(--font-jakarta); font-size: .9375rem; color: var(--color-foreground); }
.testimonial footer span { font-family: var(--font-jakarta); font-size: .8125rem; color: var(--color-foreground-4); }

/* ════════════════════════════════════════════
   FAQ
════════════════════════════════════════════ */
/* ── FAQ grid — two-column layout (ruixen port) ── */
.faq-grid {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 768px) {
  .faq-grid { grid-template-columns: 2fr 3fr; gap: var(--space-8) var(--space-20); }
}

.faq-left__title {
  font-family: var(--font-bricolage);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-foreground);
  line-height: 1.1;
}
.faq-left__sub {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  color: var(--color-foreground-2);
  line-height: 1.6;
}
.faq-left__contact {
  font-size: .9375rem;
  color: var(--color-foreground-3);
  line-height: 1.6;
}
.faq-left__contact--desktop { display: none; margin-top: var(--space-12); }
@media (min-width: 768px) { .faq-left__contact--desktop { display: block; } }
.faq-left__contact--mobile { display: block; margin-top: var(--space-10); }
@media (min-width: 768px) { .faq-left__contact--mobile { display: none; } }
.faq-link { color: var(--color-primary); font-weight: 500; text-decoration: none; }
.faq-link:hover { text-decoration: underline; }

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  overflow: visible;
  transition: border-color var(--dur);
}
.faq-item.open { border-color: var(--color-border); background: transparent; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-jakarta);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-foreground);
  text-align: left;
  background: transparent;
  border-radius: 0;
  transition: color var(--dur);
}
.faq-q:hover { color: var(--color-primary); background: transparent; }
.faq-item.open .faq-q { color: var(--color-primary); }

.faq-chevron {
  flex-shrink: 0;
  stroke: var(--color-foreground-3);
  transition: transform var(--dur) var(--ease), stroke var(--dur);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); stroke: var(--color-primary); }

.faq-a { display: none; padding: 0 0 var(--space-5); border-top: none; }
.faq-item.open .faq-a { display: block; }

/* Blur-stagger char animation */
@keyframes faq-char-in {
  from { opacity: 0; filter: blur(8px); }
  to   { opacity: 1; filter: blur(0); }
}
.faq-char {
  display: inline;
  opacity: 0;
  animation: faq-char-in .3s ease both;
  animation-delay: calc(var(--i, 0) * 14ms);
}
.faq-a p {
  padding-top: var(--space-4);
  font-family: var(--font-jakarta);
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.75;
}

/* ════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════ */
/* ── CTA — cta-with-text-marquee port ── */
@keyframes cta-marquee-v {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.cta-section {
  overflow: hidden;
  background: var(--color-background);
  padding-block: var(--space-20);
}

.cta-section__inner {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .cta-section__inner { grid-template-columns: 1fr 1fr; gap: var(--space-20); }
}

.cta-section__title {
  font-family: var(--font-bricolage);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--color-foreground);
  line-height: 1.05;
  margin-bottom: var(--space-5);
}
.cta-section__sub {
  font-family: var(--font-jakarta);
  font-size: 1.0625rem;
  color: var(--color-foreground-2);
  max-width: 480px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}
.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Vertical marquee */
.cta-marquee__wrap {
  position: relative;
  height: 540px;
  overflow: hidden;
  display: none;
}
@media (min-width: 1024px) { .cta-marquee__wrap { display: block; } }

.cta-marquee__track {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  animation: cta-marquee-v 22s linear infinite;
}

.cta-marquee__item {
  font-family: var(--font-bricolage);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--color-foreground);
  padding: var(--space-5) 0;
  line-height: 1.1;
  white-space: nowrap;
}

.cta-marquee__fade--top,
.cta-marquee__fade--bottom {
  position: absolute;
  left: 0; right: 0;
  height: 180px;
  pointer-events: none;
  z-index: 1;
}
.cta-marquee__fade--top {
  top: 0;
  background: linear-gradient(to bottom, var(--color-background), transparent);
}
.cta-marquee__fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--color-background), transparent);
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
/* ── Footer — footer-section port ── */
.footer {
  position: relative;
  background: #050810;
  background-image: radial-gradient(35% 128px at 50% 0%, rgba(255,255,255,.08) 0%, transparent 100%);
  color: rgba(255,255,255,.42);
  border-radius: 2rem 2rem 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
@media (min-width: 768px) { .footer { border-radius: 3rem 3rem 0 0; } }

.footer__glow-line {
  position: absolute;
  top: 0; left: 50%;
  width: 33%;
  height: 1px;
  background: rgba(255,255,255,.22);
  filter: blur(2px);
  border-radius: 9999px;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
}

.footer__grid {
  display: grid;
  gap: var(--space-12);
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 2fr; gap: var(--space-8); align-items: start; }
}

.footer__logo {
  filter: brightness(0) invert(1);
  height: 26px; width: auto; display: block;
  margin-bottom: var(--space-5);
}
.footer__tagline {
  font-family: var(--font-jakarta);
  font-size: .875rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: var(--space-5);
}
/* Newsletter form */
.footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.footer__nl-label {
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--space-1);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer__nl-input {
  width: 100%;
  padding: .55rem .75rem;
  font-family: var(--font-jakarta);
  font-size: .875rem;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--dur);
}
.footer__nl-input::placeholder { color: rgba(255,255,255,.28); }
.footer__nl-input:focus { border-color: rgba(255,255,255,.28); }
.footer__nl-btn {
  margin-top: var(--space-1);
  padding: .6875rem 1.125rem;
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  background: rgb(37, 99, 235);
  border: 1.5px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition: background var(--dur);
}
.footer__nl-btn:hover { background: #1d4ed8; }
.footer__nl-btn:disabled { opacity: .6; cursor: not-allowed; }
.footer__nl-msg {
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  margin-top: var(--space-1);
}

.footer__copy {
  font-family: var(--font-jakarta);
  font-size: .8125rem;
  color: rgba(255,255,255,.22);
}

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8) var(--space-6);
}
@media (min-width: 768px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }

.footer__col-title {
  font-family: var(--font-jakarta);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.footer__col a,
.footer__col span {
  font-family: var(--font-jakarta);
  font-size: .875rem;
  color: rgba(255,255,255,.38);
  transition: color var(--dur);
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.footer__col a:hover { color: rgba(255,255,255,.75); }

/* Blur-in animation (AnimatedContainer port) */
.footer__anim {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-8px);
  transition:
    opacity .8s ease var(--delay, 0s),
    filter .8s ease var(--delay, 0s),
    transform .8s ease var(--delay, 0s);
}
.footer__anim.visible { opacity: 1; filter: blur(0); transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .footer__anim { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: var(--space-6); right: var(--space-6);
  z-index: 500;
  width: 52px; height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37, 211, 102, .5); }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 767px) {
  .section { padding-block: var(--space-16); }
  .hero { padding-block: var(--space-16) var(--space-12); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .stats-bar__inner { gap: var(--space-5); }
  .stat-divider { display: none; }
  .pricing-grid { max-width: 380px; margin-inline: auto; }
  .pricing-card--featured { transform: none; }
  .cta-section__actions { flex-direction: column; }
  .cta-section__actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .hero__pill-dot { animation: none; }
}
