/* ═══════════════════════════════════════════════════
   Bonobo Code — Sistema de diseño
   Dark cinema · navy profundo + acento naranja de marca
   ═══════════════════════════════════════════════════ */

:root {
  /* Paleta de marca: Amarillo #F7A325 · Azul #061A40 · Celeste #0A66C2 · Plomo #5F6B7A */
  --bg-deep: #030C20;
  --bg-base: #061A40;
  --bg-elevated: #0A2450;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #EAF0FA;
  --text-muted: #96A6C8;
  --celeste: #58A6F0;
  --accent: #F7A325;
  --accent-soft: rgba(247, 163, 37, 0.14);
  --accent-glow: rgba(247, 163, 37, 0.35);
  --teal: #2DD4BF;
  --green: #4ADE80;
  --wa: #25D366;
  --fill-1: rgba(255, 255, 255, 0.04);
  --fill-2: rgba(255, 255, 255, 0.07);
  --fill-3: rgba(255, 255, 255, 0.16);
  --panel: rgba(255, 255, 255, 0.015);
  --nav-bg: rgba(5, 11, 30, 0.82);
  --menu-bg: rgba(5, 11, 30, 0.96);
  --float-bg: rgba(11, 24, 54, 0.9);
  --footer-bg: rgba(3, 7, 17, 0.6);
  --grid-line: rgba(255, 255, 255, 0.025);
  --dot-idle: rgba(255, 255, 255, 0.18);
  --dot-hover: rgba(255, 255, 255, 0.35);
  --ghost-num: rgba(255, 255, 255, 0.14);
  --mockup-grad-a: rgba(255, 255, 255, 0.06);
  --mockup-grad-b: rgba(255, 255, 255, 0.02);
  --placeholder: rgba(148, 163, 190, 0.55);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --container: 1180px;
}

/* Modo claro */
[data-theme="light"] {
  --bg-deep: #EDF1F9;
  --bg-base: #F8FAFE;
  --bg-elevated: #FFFFFF;
  --surface: rgba(6, 26, 64, 0.035);
  --surface-hover: rgba(6, 26, 64, 0.065);
  --border: rgba(6, 26, 64, 0.12);
  --border-strong: rgba(6, 26, 64, 0.22);
  --text: #061A40;
  --text-muted: #5F6B7A;
  --celeste: #0A66C2;
  --accent-soft: rgba(247, 163, 37, 0.16);
  --teal: #0D9488;
  --green: #15803D;
  --fill-1: rgba(14, 30, 66, 0.045);
  --fill-2: rgba(14, 30, 66, 0.08);
  --fill-3: rgba(14, 30, 66, 0.18);
  --panel: rgba(14, 30, 66, 0.025);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --menu-bg: rgba(255, 255, 255, 0.97);
  --float-bg: rgba(255, 255, 255, 0.94);
  --footer-bg: rgba(14, 30, 66, 0.04);
  --grid-line: rgba(14, 30, 66, 0.05);
  --dot-idle: rgba(14, 30, 66, 0.22);
  --dot-hover: rgba(14, 30, 66, 0.42);
  --ghost-num: rgba(14, 30, 66, 0.16);
  --mockup-grad-a: rgba(255, 255, 255, 0.9);
  --mockup-grad-b: rgba(255, 255, 255, 0.6);
  --placeholder: rgba(78, 95, 126, 0.55);
}

[data-theme="light"] .grid-overlay { display: none; }

[data-theme="light"] .blob { opacity: 0.08; }
[data-theme="light"] .blob-b { opacity: 0.05; }
[data-theme="light"] .blob-c { opacity: 0.06; }

/* Logos según el tema */
.only-light { display: none !important; }

[data-theme="light"] .only-light { display: inline-block !important; }
[data-theme="light"] .only-dark { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 40%, var(--bg-deep) 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1, h2 { font-weight: 800; }

h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.text-gradient {
  background: linear-gradient(100deg, var(--accent) 10%, #FFCE7A 55%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Fondo ambiental ─────────────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.13;
  will-change: transform;
}

.blob-a {
  width: 620px; height: 620px;
  background: #0A66C2;
  top: -180px; right: -140px;
  animation: drift-a 26s ease-in-out infinite alternate;
}

.blob-b {
  width: 480px; height: 480px;
  background: var(--accent);
  top: 46%; left: -220px;
  opacity: 0.07;
  animation: drift-b 32s ease-in-out infinite alternate;
}

.blob-c {
  width: 520px; height: 520px;
  background: #0E7490;
  bottom: -220px; right: 8%;
  opacity: 0.10;
  animation: drift-a 38s ease-in-out infinite alternate-reverse;
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-70px, 60px) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(80px, -50px) scale(1.08); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

/* ── Botones ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  min-height: 48px;
}

.btn:active { transform: scale(0.97); }

.btn .icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #E88B0A 100%);
  color: #1A1204;
  box-shadow: 0 8px 28px -8px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px var(--accent-glow);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--wa);
  color: #06240F;
  box-shadow: 0 8px 28px -8px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(37, 211, 102, 0.5);
}

.btn-sm { padding: 10px 18px; min-height: 42px; font-size: 0.88rem; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}

.brand-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.nav-links > a:not(.btn) {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 6px 0;
}

.nav-links > a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }

.theme-toggle {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
}

.theme-toggle:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  color: var(--text);
  transform: scale(1.06);
}

.theme-toggle .icon { width: 19px; height: 19px; }

.theme-toggle .icon-moon { display: none; }

[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.donut-track { stroke: var(--fill-2); }

.donut-legend .dot-idle {
  background: var(--dot-idle);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  position: relative;
  z-index: 101;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  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(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: clamp(60px, 8vh, 110px);
  min-height: 92dvh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 54ch;
  margin-top: 22px;
}

.lead strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-chips .icon {
  width: 16px; height: 16px;
  color: var(--teal);
}

/* ── Mockup dashboard ────────────────────────────── */
.hero-visual { position: relative; }

.mockup {
  background: linear-gradient(160deg, var(--mockup-grad-a) 0%, var(--mockup-grad-b) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  animation: mockup-float 4.5s ease-in-out infinite;
}

@keyframes mockup-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.m-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--fill-3);
}

.m-url {
  margin-left: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--fill-1);
  border: 1px solid var(--border);
  padding: 3px 14px;
  border-radius: 100px;
  font-family: var(--font-head);
}

.mockup-body { display: flex; }

.mockup-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 14px;
  border-right: 1px solid var(--border);
}

.ms-item {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--fill-2);
}

.ms-item.active {
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.4);
}

.mockup-main {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.mockup-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.mt-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
}

.mt-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
}

.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi {
  background: var(--fill-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kpi-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.kpi-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}

.kpi-delta { font-size: 0.66rem; color: var(--text-muted); }
.kpi-delta.up { color: var(--green); }

.chart-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 10px;
}

.chart-card {
  background: var(--fill-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.chart-label {
  display: block;
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.chart-line svg { width: 100%; height: 84px; }

.line-path {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}

.line-area { opacity: 0; }

.in-view .line-path { animation: draw-line 2s var(--ease) 0.3s forwards; }
.in-view .line-area { animation: fade-in 1.2s var(--ease) 1.2s forwards; }

@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

.chart-donut {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chart-donut svg { width: 76px; height: 76px; }

.donut-seg {
  stroke-dasharray: 0 214;
  transition: stroke-dasharray 1.6s var(--ease) 0.5s;
}

.in-view .donut-seg { stroke-dasharray: 164 214; }

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  font-size: 0.62rem;
  color: var(--text-muted);
}

.donut-legend i {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 2px;
  margin-right: 5px;
}

.bar-card {
  background: var(--fill-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 56px;
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--teal) 0%, rgba(45, 212, 191, 0.3) 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s var(--ease);
}

.in-view .bar { transform: scaleY(1); }
.in-view .bar:nth-child(2) { transition-delay: 0.1s; }
.in-view .bar:nth-child(3) { transition-delay: 0.2s; }
.in-view .bar:nth-child(4) { transition-delay: 0.3s; }
.in-view .bar:nth-child(5) { transition-delay: 0.4s; }

/* Tarjetas flotantes */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--float-bg);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 11px 15px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
  font-size: 0.75rem;
}

.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
}

.float-card span { color: var(--text-muted); }

.float-card .icon {
  width: 26px; height: 26px;
  padding: 5px;
  border-radius: 8px;
  flex-shrink: 0;
}

.fc-sale {
  top: -20px; right: -14px;
  animation: float-y 5.5s ease-in-out infinite;
}

.fc-sale .icon {
  color: var(--green);
  background: rgba(74, 222, 128, 0.12);
}

.fc-backup {
  bottom: -18px; left: -18px;
  animation: float-y 6.5s ease-in-out 1s infinite;
}

.fc-backup .icon {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.12);
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ── Stats ───────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  padding: clamp(36px, 5vh, 56px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat { text-align: center; }

.stat-value {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-sub { font-size: 0.6em; vertical-align: super; }

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Secciones ───────────────────────────────────── */
.section { padding: clamp(72px, 11vh, 130px) 0; }

.section-alt {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.section-sub {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Títulos largos: una sola línea en escritorio, quiebre natural en móvil */
.section-head-wide { max-width: none; }

.h2-line { font-size: clamp(1.65rem, 2.5vw, 2.3rem); }

/* ── Bento (BonoboCore) ──────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.bento-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.bento-wide { grid-column: span 3; }

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 163, 37, 0.35);
  background: var(--surface-hover);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.bento-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.25);
  color: var(--accent);
  margin-bottom: 18px;
}

.bento-icon .icon { width: 22px; height: 22px; }

.bento-card h3 { margin-bottom: 8px; }

.bento-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ── Módulos ─────────────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.module-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.module-card:hover::before { opacity: 1; }

.module-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ghost-num);
  letter-spacing: 0.06em;
}

.module-icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(45, 212, 191, 0.09);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--teal);
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease);
}

.module-card:hover .module-icon { transform: scale(1.08); }

.module-icon .icon { width: 23px; height: 23px; }

.module-card h3 { margin-bottom: 8px; }

.module-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ── Complemento de facturación ──────────────────── */
.addon-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 60% 120% at 0% 50%, rgba(247, 163, 37, 0.08), transparent 60%),
    var(--surface);
  border: 1px solid rgba(247, 163, 37, 0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.4);
}

.addon-icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.3);
  color: var(--accent);
  flex-shrink: 0;
}

.addon-icon .icon { width: 26px; height: 26px; }

.addon-body { flex: 1; min-width: 0; }

.addon-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.badge-addon {
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.35);
}

.addon-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 68ch;
}

.addon-body a {
  color: var(--accent);
  font-weight: 600;
}

.addon-body a:hover { text-decoration: underline; }

.addon-cta { flex-shrink: 0; }

@media (max-width: 860px) {
  .addon-card { flex-direction: column; align-items: flex-start; }
  .addon-cta { width: 100%; justify-content: center; }
}

/* ── Tabs (Capacidades) ──────────────────────────── */
.tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}

.tab-list::-webkit-scrollbar { display: none; }

.tab {
  flex: 1;
  min-width: max-content;
  padding: 18px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background 0.25s var(--ease);
  min-height: 48px;
}

.tab:hover { color: var(--text); background: var(--fill-1); }

.tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--accent-soft);
}

.tab-panel { padding: clamp(24px, 4vw, 44px); }

.tab-panel.active { animation: panel-in 0.45s var(--ease); }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 36px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.4);
}

.feature-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 3px;
}

.feature-list span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ── Seguridad ───────────────────────────────────── */
.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.security-copy { position: sticky; top: 110px; }

.security-copy .btn { margin-top: 28px; }

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.security-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.security-list li:hover {
  transform: translateX(6px);
  border-color: rgba(45, 212, 191, 0.35);
}

.security-list .icon {
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(45, 212, 191, 0.09);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--teal);
  flex-shrink: 0;
}

.security-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
}

.security-list span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── Servicios ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 163, 37, 0.35);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.service-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.25);
  color: var(--accent);
  margin-bottom: 18px;
}

.service-icon .icon { width: 22px; height: 22px; }

.service-card h3 { margin-bottom: 8px; font-size: 1.05rem; }

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Timeline (Proceso) ──────────────────────────── */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.timeline li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.timeline li:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 163, 37, 0.35);
}

.tl-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.35);
  margin-bottom: 16px;
}

.timeline h3 { font-size: 1rem; margin-bottom: 7px; }

.timeline p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* ── CTA final ───────────────────────────────────── */
.cta-final { padding: clamp(72px, 11vh, 130px) 0; }

.cta-box {
  position: relative;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(247, 163, 37, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(48px, 8vw, 90px) clamp(24px, 6vw, 80px);
  overflow: hidden;
}

.cta-logo {
  width: min(340px, 70vw);
  height: auto;
  object-fit: contain;
  margin: 0 auto 28px;
}

.cta-box p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--footer-bg);
  padding-top: clamp(48px, 7vh, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 30ch;
}

.footer-brand .brand-mark { height: 36px; width: auto; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 0.93rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  width: fit-content;
}

.footer-col a:hover { color: var(--accent); }

.footer-loc { font-size: 0.93rem; color: var(--text-muted); }

.footer-brand .footer-loc {
  display: block;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  padding-bottom: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
}

/* ── WhatsApp FAB ────────────────────────────────── */
.wa-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.wa-fab svg { width: 30px; height: 30px; }

.wa-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: fab-ring 2.4s ease-out infinite;
}

@keyframes fab-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.7);
}

/* ── Animaciones de entrada ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.d-1 { transition-delay: 0.08s; }
.d-2 { transition-delay: 0.16s; }
.d-3 { transition-delay: 0.24s; }
.d-4 { transition-delay: 0.32s; }

/* ── Accesibilidad ───────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .line-path { stroke-dashoffset: 0; }
  .line-area { opacity: 1; }
  .donut-seg { stroke-dasharray: 164 214; }
  .bar { transform: scaleY(1); }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: auto; }
  .hero-visual { max-width: 640px; margin-inline: auto; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline li:last-child { grid-column: span 2; }
  .security-grid { grid-template-columns: 1fr; }
  .security-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 32px 32px;
    background: var(--menu-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 99;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links > a:not(.btn) {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
  }

  .nav-cta { margin-top: 16px; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-wide { grid-column: span 1; }
  .modules-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li:last-child { grid-column: span 1; }
  .feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .float-card { display: none; }

  .kpi-row { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .kpi { padding: 9px; }
  .kpi-value { font-size: 0.82rem; }

  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ── Vistas del sistema (mockups estilizados) ────── */
.views-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.view-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}

.view-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.view-screen {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(160deg, var(--mockup-grad-a) 0%, var(--mockup-grad-b) 100%);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
}

.view-card figcaption {
  padding: 16px 20px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.view-card figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 2px;
}

.vs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.vs-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
}

.badge-pill {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge-open {
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.badge-done {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.vs-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  background: var(--fill-1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
}

.vs-row b {
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.vs-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.3);
  margin-top: auto;
}

.vs-total span {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.vs-total strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.vs-progress { margin-top: auto; }

.vs-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.vs-progress-bar {
  height: 7px;
  border-radius: 100px;
  background: var(--fill-2);
  overflow: hidden;
}

.vs-progress-bar i {
  display: block;
  height: 100%;
  width: var(--p, 100%);
  border-radius: 100px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.3s;
}

.in-view .vs-progress-bar i { transform: scaleX(1); }

.vs-btn {
  text-align: center;
  padding: 9px;
  border-radius: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.76rem;
  background: linear-gradient(135deg, var(--accent) 0%, #E88B0A 100%);
  color: #1A1204;
}

.vs-btn.ghost {
  background: var(--fill-1);
  border: 1px solid var(--border);
  color: var(--text);
}

.vs-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.vs-saldo {
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.07);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.vs-saldo span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.vs-saldo strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

/* ── Carrusel del hero ───────────────────────────── */
.mockup-wrap { position: relative; }

.mockup-wrap .float-card {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.mockup-wrap.slide-alt .float-card {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.carousel {
  display: grid;
  touch-action: pan-y;
}

.c-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
  visibility: hidden;
}

.c-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
}

.c-slide .mockup-body { height: 100%; }
.c-slide .mockup-main { justify-content: flex-start; }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.c-arrow {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
}

.c-arrow:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  color: var(--text);
  transform: scale(1.06);
}

.c-arrow:active { transform: scale(0.95); }

.c-arrow .icon { width: 18px; height: 18px; }

.c-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 150px;
}

.c-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.c-dots {
  display: flex;
  gap: 7px;
}

.c-dot {
  width: 8px; height: 8px;
  border-radius: 100px;
  border: none;
  padding: 0;
  background: var(--dot-idle);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.c-dot:hover { background: var(--dot-hover); }

.c-dot.active {
  width: 26px;
  background: var(--accent);
}

/* Pantallas del carrusel */
.pos-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pos-pay {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--fill-1);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.pay-chip.active {
  background: var(--accent-soft);
  border-color: rgba(247, 163, 37, 0.4);
  color: var(--accent);
}

.pos-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: auto;
}

.pos-foot .vs-total { margin-top: 0; }

.pos-foot .vs-btn {
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.rep-chips { display: flex; gap: 6px; }

.rep-chips i {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 7px;
}

.chip-pdf {
  color: #FCA5A5;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.chip-xls {
  color: var(--green);
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.rep-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
}

.rep-row {
  display: grid;
  grid-template-columns: 1.8fr 0.6fr 1fr;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--fill-1);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.rep-row span:nth-child(2) { text-align: center; }
.rep-row span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }

.rep-head {
  background: transparent;
  border-color: transparent;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-block: 2px;
}

.rep-head span:nth-child(3) { color: var(--text-muted); }

.rep-total {
  background: var(--accent-soft);
  border-color: rgba(247, 163, 37, 0.3);
}

.rep-total span:first-child {
  color: var(--text);
  font-weight: 600;
}

.rep-total span:nth-child(3) {
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
}

.rep-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
}

.perm-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--fill-1);
  border: 1px solid var(--border);
  color: var(--placeholder);
  font-size: 0.76rem;
}

.perm-search .icon { width: 14px; height: 14px; flex-shrink: 0; }

.perm-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.perm-group span:last-child {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.perm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.perm-chip {
  font-size: 0.66rem;
  padding: 5px 11px;
  border-radius: 7px;
  background: var(--fill-1);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.perm-chip.on {
  background: rgba(45, 212, 191, 0.09);
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--teal);
}

.perm-chip.on::before {
  content: '✓ ';
  font-weight: 700;
}

.perm-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.perm-foot .vs-btn { padding-inline: 20px; }

/* ── Contacto ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.contact-list li a,
.contact-list li > div {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-list li a:hover {
  transform: translateX(6px);
  border-color: rgba(247, 163, 37, 0.35);
}

.contact-list .icon {
  width: 40px; height: 40px;
  padding: 9px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(247, 163, 37, 0.25);
  color: var(--accent);
  flex-shrink: 0;
}

.contact-list li.wa-item .icon {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: var(--wa);
}

.contact-list li.loc-item .icon {
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--teal);
}

.contact-list li.fb-item .icon {
  background: rgba(10, 102, 194, 0.12);
  border-color: rgba(10, 102, 194, 0.35);
  color: var(--celeste);
}

.contact-list strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
}

.contact-list span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--fill-1);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 16px;
  min-height: 48px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--placeholder); }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--fill-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .btn { justify-content: center; }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.form-note a {
  color: var(--wa);
  font-weight: 600;
}

.form-note a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .views-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .views-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
}
