/* ============================================================
   DEPACK CHILE — Sistema de diseño
   Tokens → Reset → Base → Utilidades → Componentes → Secciones
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Escala navy (slate) — superficies */
  --ink-950: #020617;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;

  /* Escala texto */
  --text-100: #f8fafc;   /* Blanco */
  --text-200: #e2e8f0;
  --text-300: #cbd5e1;   /* Plata */
  --text-400: #94a3b8;

  /* Acento — Azul eléctrico */
  --accent-900: #1e3a8a;
  --accent-800: #1e40af;
  --accent-700: #1d4ed8;
  --accent: #2563eb;
  --accent-500: #3b82f6;
  --accent-400: #60a5fa;
  --accent-300: #93c5fd;
  --accent-200: #bfdbfe;

  /* WhatsApp */
  --wa: #25d366;
  --wa-dark: #128c4a;

  /* Tipografía */
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --header-h: 116px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Sombra */
  --shadow-glow: 0 20px 60px -20px rgba(37, 99, 235, 0.45);
  --shadow-card: 0 10px 30px -12px rgba(2, 6, 23, 0.5);

  /* Transición */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  min-height: 100vh;
  background: var(--ink-950);
  color: var(--text-300);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Base tipográfica ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-100);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { color: var(--text-300); }
strong { color: var(--text-100); font-weight: 600; }

/* ---------- Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: 110px; position: relative; }
.section--tight { padding-block: 70px; }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.text-accent { color: var(--accent-400); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: 0.08s; }
.reveal-delay-2.is-visible { transition-delay: 0.16s; }
.reveal-delay-3.is-visible { transition-delay: 0.24s; }
.reveal-delay-4.is-visible { transition-delay: 0.32s; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--lg { padding: 18px 34px; font-size: 16px; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.6);
}
.btn--primary:hover { box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.75); }

.btn--ghost {
  background: rgba(248, 250, 252, 0.04);
  border-color: rgba(203, 213, 225, 0.22);
  color: var(--text-100);
}
.btn--ghost:hover { background: rgba(248, 250, 252, 0.08); border-color: rgba(203, 213, 225, 0.4); }

.btn--wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.4);
  color: #4be391;
}
.btn--wa:hover { background: rgba(37, 211, 102, 0.2); }

.btn--pdf {
  background: rgba(248, 250, 252, 0.06);
  border-color: rgba(248, 250, 252, 0.16);
  color: var(--text-100);
}
.btn--pdf:hover { background: rgba(248, 250, 252, 0.12); }

.btn--block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(203, 213, 225, 0.1);
  box-shadow: 0 8px 30px -14px rgba(0,0,0,0.5);
}

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--text-100); }
.brand-mark { width: auto; height: 84px; flex-shrink: 0; }
.site-header .brand-mark { height: 112px; }
.brand span.cl { color: var(--accent-400); font-weight: 600; }

.nav-main { display: flex; align-items: center; gap: 8px; }
.nav-main a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-300);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-main a:hover { color: var(--text-100); background: rgba(248, 250, 252, 0.06); }
.nav-main a[aria-current="page"] { color: var(--text-100); background: rgba(37, 99, 235, 0.16); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn--wa { display: none; }
@media (min-width: 769px) { .header-actions .btn--wa { display: inline-flex; } }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(203, 213, 225, 0.15);
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text-100); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 28px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-100);
  padding-block: 6px;
}
.mobile-menu .btn { width: 100%; }
body.menu-open { overflow: hidden; }

@media (max-width: 768px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn--primary span.long { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 72px);
  padding-bottom: 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 60% at 30% 20%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
  filter: blur(40px);
  top: -220px; right: -160px;
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-300);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-400); box-shadow: 0 0 0 4px rgba(37,99,235,0.2); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 17.5px; max-width: 520px; margin-bottom: 34px; color: var(--text-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-quickstats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-quickstats .qs b { display: block; font-family: var(--font-display); font-size: 26px; color: var(--text-100); font-weight: 800; }
.hero-quickstats .qs span { font-size: 13px; color: var(--text-400); }

/* Hero visual: rotating concept deck */
.hero-visual { position: relative; height: 460px; }
.hero-panel {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--ink-900), var(--ink-950));
  border: 1px solid rgba(203, 213, 225, 0.1);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-panel::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.28), transparent 70%);
  top: -80px; left: -80px;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.hero-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2,6,23,0.92) 0%, rgba(2,6,23,0.55) 38%, rgba(2,6,23,0.05) 65%);
}
.hero-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 30px 30px;
  text-align: left;
  z-index: 1;
}
.hero-slide-caption h3 { font-size: 21px; color: #fff; }
.hero-slide-caption p { font-size: 14px; max-width: 340px; color: rgba(226, 232, 240, 0.88); margin-top: 6px; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(203,213,225,0.3); transition: background 0.3s ease, width 0.3s ease; }
.hero-dots button.is-active { background: var(--accent-400); width: 22px; border-radius: 4px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  border-top: 1px solid rgba(203, 213, 225, 0.08);
  border-bottom: 1px solid rgba(203, 213, 225, 0.08);
  background: var(--ink-900);
  padding-block: 22px;
  overflow: hidden;
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-400); white-space: nowrap; display: flex; align-items: center; gap: 10px; }
.marquee-track span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-400); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   FEATURE / SERVICE CARDS
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: linear-gradient(165deg, var(--ink-900), var(--ink-950));
  border: 1px solid rgba(203, 213, 225, 0.09);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.4); box-shadow: var(--shadow-glow); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.25);
  margin-bottom: 20px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--accent-400); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; }

/* ============================================================
   SPLIT (Quiénes somos preview)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-visual {
  position: relative;
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3.4;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-950));
  border: 1px solid rgba(203, 213, 225, 0.1);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.split-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(148,163,184,0.25) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.5;
}
.split-badge-float {
  position: absolute;
  bottom: 22px; left: 22px;
  background: rgba(2,6,23,0.85);
  border: 1px solid rgba(203,213,225,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-card);
}
.split-badge-float .num { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--accent-400); }
.split-badge-float .lbl { font-size: 12.5px; color: var(--text-300); max-width: 130px; line-height: 1.3; }
.split-mark { width: 120px; height: 120px; opacity: 0.9; }

.commit-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.commit-item { display: flex; gap: 14px; align-items: flex-start; }
.commit-item .ico {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: rgba(37,99,235,0.14); border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
}
.commit-item .ico svg { width: 17px; height: 17px; color: var(--accent-400); }
.commit-item b { display: block; color: var(--text-100); font-size: 14.5px; }
.commit-item span { font-size: 13.5px; color: var(--text-400); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--ink-900);
  border: 1px solid rgba(203, 213, 225, 0.09);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.35); }
.product-media {
  aspect-ratio: 16/11;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-950));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(203,213,225,0.08);
}
.product-media::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.product-media svg { width: 46px; height: 46px; color: var(--accent-400); position: relative; z-index: 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(2,6,23,0.7); border: 1px solid rgba(203,213,225,0.2);
  color: var(--text-200); z-index: 2;
}
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 16.5px; }
.product-body p { font-size: 13.5px; flex: 1; }
.product-body .btn { margin-top: 6px; }

/* ============================================================
   MARKET CARDS
   ============================================================ */
.market-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.market-card {
  padding: 26px 20px;
  border-radius: var(--radius);
  background: var(--ink-900);
  border: 1px solid rgba(203,213,225,0.09);
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.market-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.35); }
.market-card .ico {
  width: 46px; height: 46px; margin-inline: auto;
  border-radius: 12px;
  background: rgba(37,99,235,0.14); border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.market-card .ico svg { width: 22px; height: 22px; color: var(--accent-400); }
.market-card span { font-size: 13.5px; font-weight: 500; color: var(--text-200); line-height: 1.35; display: block; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--accent-900), var(--ink-950) 60%);
  border: 1px solid rgba(37,99,235,0.3);
  padding: 52px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.stat { text-align: center; position: relative; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-100);
}
.stat span { font-size: 13.5px; color: var(--accent-200); font-weight: 500; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--ink-900), var(--ink-950));
  border: 1px solid rgba(203,213,225,0.1);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.28), transparent 70%);
  top: -220px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.final-cta h2 { max-width: 620px; margin-inline: auto; margin-bottom: 16px; }
.final-cta p { max-width: 520px; margin-inline: auto; margin-bottom: 34px; }
.final-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink-900); border-top: 1px solid rgba(203,213,225,0.08); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(248,250,252,0.05); border: 1px solid rgba(203,213,225,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: rgba(37,99,235,0.16); border-color: rgba(37,99,235,0.4); }
.footer-social svg { width: 17px; height: 17px; color: var(--text-200); }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-100); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14px; color: var(--text-400); }
.footer-col a:hover { color: var(--accent-400); }
.footer-col .muted { color: var(--text-500, #64748b); }
.footer-bottom {
  border-top: 1px solid rgba(203,213,225,0.08);
  padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-400);
}
.footer-bottom a { color: var(--accent-400); font-weight: 600; }
.footer-bottom a:hover { opacity: 0.8; text-decoration: underline; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa), var(--wa-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.7); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }
.wa-float .ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ping 2.2s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ============================================================
   PAGE HERO (páginas internas)
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 64px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 20% 0%, #000 30%, transparent 100%);
  pointer-events: none;
}
.page-hero .hero-glow { top: -260px; left: -160px; right: auto; }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-400); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-400); }
.breadcrumb a:hover { color: var(--accent-400); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text-200); }
.page-hero h1 { max-width: 720px; margin-bottom: 16px; }
.page-hero .hero-lead { max-width: 620px; }
.page-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ============================================================
   QUOTE / DECLARACIÓN DE MARCA
   ============================================================ */
.quote-block { text-align: center; max-width: 780px; margin-inline: auto; padding: 20px; }
.quote-block svg.quote-mark { width: 38px; height: 38px; color: var(--accent-700); margin-inline: auto; margin-bottom: 24px; }
.quote-block p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; color: var(--text-100); line-height: 1.4; }
.quote-block cite { display: block; margin-top: 22px; font-style: normal; font-size: 14px; color: var(--text-400); }

/* ============================================================
   FILTROS DE PRODUCTOS
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.filter-chip {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.18);
  background: rgba(248, 250, 252, 0.03);
  color: var(--text-300);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter-chip:hover { border-color: rgba(203, 213, 225, 0.35); color: var(--text-100); }
.filter-chip.is-active { background: linear-gradient(135deg, var(--accent-500), var(--accent-700)); border-color: transparent; color: #fff; }

/* ============================================================
   CONTACT CARDS
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 80px; }
.contact-card {
  background: var(--ink-900);
  border: 1px solid rgba(203,213,225,0.09);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.35); }
.contact-card .ico {
  width: 48px; height: 48px; border-radius: 13px;
  background: rgba(37,99,235,0.14); border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.contact-card .ico svg { width: 23px; height: 23px; color: var(--accent-400); }
.contact-card h3 { margin-bottom: 10px; font-size: 16px; }
.contact-card a, .contact-card p { display: block; font-size: 14.5px; color: var(--text-300); }
.contact-card a:hover { color: var(--accent-400); }
.contact-card .line { margin-bottom: 4px; }

/* ============================================================
   FORMULARIO DE CONTACTO
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-form-panel {
  background: var(--ink-900);
  border: 1px solid rgba(203,213,225,0.09);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-form-panel h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-form-panel > p { font-size: 14.5px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-200); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.04);
  border: 1px solid rgba(203, 213, 225, 0.16);
  color: var(--text-100);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-400); }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  background: rgba(37, 99, 235, 0.06);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-error { display: block; font-size: 12.5px; color: #f87171; margin-top: 6px; min-height: 16px; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #f87171; }
.form-note { font-size: 12.5px; color: var(--text-400); margin-top: 16px; text-align: center; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #4be391;
  font-size: 13.5px;
  margin-bottom: 20px;
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

.map-panel { display: flex; flex-direction: column; gap: 16px; }
.map-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(203,213,225,0.1);
  aspect-ratio: 4/5;
  background: var(--ink-900);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-info {
  background: var(--ink-900);
  border: 1px solid rgba(203,213,225,0.09);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-info .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(37,99,235,0.14); border: 1px solid rgba(37,99,235,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-info .ico svg { width: 20px; height: 20px; color: var(--accent-400); }
.map-info b { display: block; font-size: 14px; color: var(--text-100); }
.map-info span { font-size: 13px; color: var(--text-400); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; aspect-ratio: 16/9; }
  .stats-band { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  .section { padding-block: 76px; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta { padding: 48px 26px; }
  .contact-grid { grid-template-columns: 1fr; margin-bottom: 56px; }
  .contact-form-panel { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-quickstats { gap: 22px; }
  .stats-band { grid-template-columns: 1fr 1fr; padding: 40px 24px; }
  .header-actions .btn span.long { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
