/* ===== RENTAPACK — Sistema de diseño (v2: navy/teal sobre blanco) ===== */

:root {
  /* === Paleta principal === */
  --ink:        #0B1F3A;  /* Navy: texto principal, headers, primario */
  --ink-soft:   #4B5C73;  /* Texto secundario */
  --ink-muted:  #6B7B8E;  /* Texto terciario, labels */
  --paper:      #FFFFFF;  /* Fondo principal */
  --paper-2:    #F5F7FA;  /* Fondo de sección alterna */
  --paper-3:    #EEF2F6;  /* Banda más densa */
  --rule:       #E4E8EE;  /* Bordes y divisores */
  --rule-soft:  #F0F3F7;  /* Bordes muy sutiles */

  --accent:        #0EA5A5;  /* Teal — único acento (CTA, links, highlights) */
  --accent-dark:   #087979;
  --accent-light:  #14C2C2;
  --accent-tint:   #E6F7F7;  /* Fondo suave del acento (badges, hover) */

  --warn:    #C9842A;       /* Ámbar — reservado para badges puntuales */
  --warn-tint: #FBF1DF;
  --danger:  #C0392B;
  --success: #1E8E5A;

  /* === Compatibilidad con sections.css legacy (se irán quitando) === */
  --color-primary:        var(--accent);
  --color-primary-light:  var(--accent-light);
  --color-primary-dark:   var(--accent-dark);
  --color-secondary:      var(--ink);
  --color-secondary-light:#1A3354;
  --color-accent:         var(--accent);
  --color-white:          var(--paper);
  --color-off-white:      var(--paper-2);
  --color-gray-50:        #F8FAFC;
  --color-gray-100:       var(--paper-2);
  --color-gray-200:       var(--rule);
  --color-gray-300:       #CBD5DD;
  --color-gray-400:       var(--ink-muted);
  --color-gray-500:       var(--ink-soft);
  --color-gray-600:       #3B4A5E;
  --color-gray-700:       #2A3A4F;
  --color-gray-800:       #18293E;
  --color-gray-900:       var(--ink);
  --color-black:          var(--ink);
  --bg-dark:              var(--paper);
  --bg-dark-elevated:     var(--paper-2);
  --bg-dark-card:         var(--paper);
  --bg-gradient:          var(--paper);
  --color-success:        var(--success);
  --color-warning:        var(--warn);
  --color-danger:         var(--danger);
  --color-info:           var(--accent);

  /* === Sombras (sobrias, sin glow) === */
  --shadow-sm:  0 1px 2px rgba(11, 31, 58, 0.06);
  --shadow:     0 2px 4px rgba(11, 31, 58, 0.06), 0 1px 2px rgba(11, 31, 58, 0.04);
  --shadow-md:  0 4px 12px rgba(11, 31, 58, 0.08);
  --shadow-lg:  0 12px 28px rgba(11, 31, 58, 0.10);
  --shadow-xl:  0 20px 40px rgba(11, 31, 58, 0.12);
  --shadow-glow:        none;
  --shadow-glow-purple: none;
  --shadow-card:        var(--shadow-md);

  /* === Tipografía === */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: var(--font-sans);

  /* === Espaciado === */
  --spacing-1: 0.25rem;
  --spacing-2: 0.5rem;
  --spacing-3: 0.75rem;
  --spacing-4: 1rem;
  --spacing-5: 1.25rem;
  --spacing-6: 1.5rem;
  --spacing-8: 2rem;
  --spacing-10: 2.5rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-20: 5rem;
  --spacing-24: 6rem;

  /* === Bordes === */
  --radius-sm:   0.25rem;
  --radius:      0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-full: 9999px;

  --border-subtle: 1px solid var(--rule-soft);
  --border-light:  1px solid var(--rule);
  --border-accent: 1px solid var(--accent);

  /* === Transiciones === */
  --transition:      all 0.18s ease;
  --transition-slow: all 0.32s ease;
  --transition-fast: all 0.12s ease;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: 3.25rem; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9375rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--ink-soft);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ===== FOCUS VISIBLE (Accesibilidad — solo teclado, no mouse) ===== */
:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.btn:focus-visible {
  outline-offset: 3px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 165, 0.18);
}

/* Skip link (oculto hasta enfoque por teclado) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  color: var(--paper);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* ===== Icon system (SVG sprite, reemplaza Font Awesome) ===== */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
  fill: currentColor;
}

.icon--lg { width: 1.25em; height: 1.25em; }
.icon--xl { width: 1.5em;  height: 1.5em; }

.spin { animation: spin 0.8s linear infinite; }

/* ===== UTILIDADES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-6);
}

.section {
  padding: var(--spacing-20) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-12);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-3);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Mantener nombre por compatibilidad, pero ya no es gradiente */
.text-gradient {
  color: var(--accent);
  -webkit-background-clip: initial;
  background-clip: initial;
  background: none;
}

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--rule);
}

.btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper-2);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn--ghost:hover {
  color: var(--accent);
  background: transparent;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
}

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

.btn i {
  font-size: 0.9em;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.875rem 0;
  transition: var(--transition);
  background: var(--paper);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 0.625rem 0;
  background: var(--paper);
  border-bottom-color: var(--rule);
  box-shadow: var(--shadow-sm);
}

/* Home: el header va transparente sobre el hero para que el grid/glow fluyan
   detrás del nav (sin el corte duro en su borde inferior). Vuelve sólido + sombra
   en cuanto se hace scroll (.scrolled, a >24px). Solo aplica en la landing;
   privacidad.html no lleva esta clase, así que su header sigue sólido. */
.header--over-hero:not(.scrolled) {
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
}

.logo-mark .lm-cell  { fill: var(--ink); }
.logo-mark .lm-focus { fill: var(--accent); }

/* Variante para footer (fondo oscuro): las celdas foreground se aclaran */
.logo--footer .logo-mark .lm-cell { fill: var(--paper); }

.logo span {
  color: var(--accent);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.nav__link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.25rem 0;
  position: relative;
  transition: var(--transition);
}

.nav__link::after {
  display: none;
}

.nav__link:hover,
.nav__link.active {
  color: var(--ink);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0.25rem;
}

.hamburger {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--ink);
  left: 0;
  transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

.nav-toggle.active .hamburger { background-color: transparent; }
.nav-toggle.active .hamburger::before { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .hamburger::after  { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: auto;
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

/* === Grid pattern (estático, fundación visual) === */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 31, 58, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 31, 58, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 80%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 35%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Glow teal con pulso lento (esquina superior derecha) */
.hero::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 165, 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 9s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%      { opacity: 0.55; transform: scale(1.08); }
}

/* === FX layer: beams, nodes, spotlight === */
.hero__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 85%);
}

/* Beams: líneas teal que recorren el grid como "datos viajando" */
.hero__beam {
  position: absolute;
  pointer-events: none;
}

.hero__beam--h1,
.hero__beam--h2 {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(14, 165, 165, 0.85) 50%, transparent 100%);
  filter: drop-shadow(0 0 6px rgba(14, 165, 165, 0.7));
}

.hero__beam--h1 {
  top: 27.5%;     /* sobre una línea del grid */
  left: -320px;
  width: 320px;
  animation: beamH 11s linear infinite;
}

.hero__beam--h2 {
  top: 72.5%;
  left: -260px;
  width: 260px;
  animation: beamH 14s linear infinite 5s;
}

.hero__beam--v {
  top: -280px;
  left: 70%;
  width: 1px;
  height: 280px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 165, 165, 0.85) 50%, transparent 100%);
  filter: drop-shadow(0 0 5px rgba(14, 165, 165, 0.6));
  animation: beamV 13s linear infinite 3s;
}

/* El beam recorre el viewport en el primer ~40% del ciclo,
   luego espera invisible hasta repetir (sensación orgánica) */
@keyframes beamH {
  0%   { transform: translateX(0);                          opacity: 0; }
  3%   { opacity: 1; }
  37%  { opacity: 1; }
  40%  { transform: translateX(calc(100vw + 320px));        opacity: 0; }
  100% { transform: translateX(calc(100vw + 320px));        opacity: 0; }
}

@keyframes beamV {
  0%   { transform: translateY(0);                          opacity: 0; }
  3%   { opacity: 1; }
  37%  { opacity: 1; }
  40%  { transform: translateY(calc(100vh + 280px));        opacity: 0; }
  100% { transform: translateY(calc(100vh + 280px));        opacity: 0; }
}

/* Nodes: puntos teal en intersecciones del grid */
.hero__node {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(14, 165, 165, 0.8));
  opacity: 0.25;
  animation: nodeBlink 5s ease-in-out infinite;
}

@keyframes nodeBlink {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.4); }
}

/* Spotlight: radial gradient que sigue al cursor (desktop) */
.hero__spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(14, 165, 165, 0.10) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(var(--mx, -1000px), var(--my, -1000px)) translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
  will-change: transform;
}

.hero:hover .hero__spotlight { opacity: 1; }

/* No mostrar spotlight en touch devices */
@media (hover: none) {
  .hero__spotlight { display: none; }
}

/* Respetar reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero__beam,
  .hero__node { animation: none; }
  .hero__beam { opacity: 0; }
  .hero__spotlight { display: none; }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.hero__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.hero__title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__cta-secondary {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.25rem;
  transition: var(--transition);
}

.hero__cta-secondary:hover {
  color: var(--accent);
}

.hero__cta-secondary i {
  font-size: 0.8em;
  transition: transform 0.2s ease;
}

.hero__cta-secondary:hover i {
  transform: translateX(3px);
}

.hero__notes {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.hero__note i {
  color: var(--accent);
  font-size: 0.875rem;
}

.hero__image {
  position: relative;
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
}

.hero__image-wrapper img,
.hero__video {
  width: 100%;
  height: auto;
  display: block;
}

.hero__image-glow {
  display: none;
}

/* Eliminado: scroll-down, particles */
.scroll-down,
#particles-js {
  display: none !important;
}

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3rem 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}

.stats-band__item {
  padding: 0.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.stats-band__item:last-child {
  border-right: none;
}

.stats-band__value {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stats-band__value sup {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-soft);
  vertical-align: top;
  margin-left: 0.25rem;
  top: 0.5rem;
  position: relative;
}

.stats-band__label {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.stats-band__footnote {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin: 2rem 0 0;
  font-style: italic;
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader__circle {
  width: 36px;
  height: 36px;
  border: 2px solid var(--rule);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 0.75rem;
}

.loader__text {
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 50px;
  height: 50px;
  background: #25D366;
  color: var(--paper);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  z-index: 999;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  color: var(--paper);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 3rem;
  }

  .hero__content {
    max-width: 700px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .stats-band__grid {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }

  .nav {
    gap: 1rem;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background: var(--paper);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    border-left: 1px solid var(--rule);
    box-shadow: var(--shadow-xl);
    gap: 1.5rem;
  }

  .nav__menu.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
  }

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

  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .stats-band {
    padding: 2.25rem 0;
  }

  .stats-band__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats-band__item {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 1.5rem;
  }

  .stats-band__item:last-child {
    border-bottom: none;
    padding-bottom: 0.5rem;
  }

  .stats-band__value {
    font-size: 2.25rem;
  }
}

@media (max-width: 576px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__cta-secondary {
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 1rem;
    left: 1rem;
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0;
  z-index: 9999;
  box-shadow: 0 -8px 24px rgba(11, 31, 58, 0.08);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner--hide {
  transform: translateY(100%) !important;
}

.cookie-banner__text {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: var(--ink-soft);
}

.cookie-banner__text i {
  font-size: 1.25rem;
  color: var(--accent);
}

.cookie-banner__text p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-banner__text {
    flex-direction: column;
    gap: 0.5rem;
  }
}
