/* ==========================================================================
   OV SUSPENSION — Design System & Styles
   Versión 1.0 | julio 2026
   Estructura:
     1. Design Tokens (variables CSS)
     2. Reset & Base
     3. Tipografía
     4. Utilidades & Layout
     5. Componentes (btn, card, badge, eyebrow, section)
     6. Navbar
     7. Hero
     8. Nosotros / Timeline
     9. Qué Hacemos
    10. Por Qué Elegirnos
    11. Próximamente (Coming Soon)
    12. Contador / Stats
    13. Marcas
    14. CTA
    15. Footer
    16. Flotantes (WhatsApp + Scroll Top)
    17. Animaciones on-scroll
    18. Responsive
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Colores --- */
  --color-primary:        #FFBA00;   /* Amarillo principal — solo para acciones */
  --color-primary-dark:   #E0A400;   /* Hover del amarillo */
  --color-primary-light:  #FFD04D;   /* Variante suave */
  --color-black:          #000000;
  --color-gray-dark:      #273944;   /* Gris corporativo oscuro */
  --color-gray-mid:       #4B5563;
  --color-gray-soft:      #9CA3AF;
  --color-gray-light:     #F3F4F6;   /* Fondo secciones blancas con aire */
  --color-white:          #FFFFFF;
  --color-accent:         #4AB4B6;   /* Celeste apoyo — timeline, checks, detalles */
  --color-accent-dark:    #3A9496;

  /* Overlays */
  --overlay-hero:         rgba(0, 0, 0, 0.72);
  --overlay-dark:         rgba(0, 0, 0, 0.85);

  /* Superficies */
  --surface-dark:         #0D1117;   /* Secciones oscuras */
  --surface-card:         #FFFFFF;
  --surface-card-dark:    #111820;   /* Cards en secciones oscuras */

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

  --text-xs:    clamp(0.75rem,  1.2vw, 0.8125rem);   /* 12–13px */
  --text-sm:    clamp(0.875rem, 1.5vw, 0.9375rem);   /* 14–15px */
  --text-base:  clamp(1rem,     1.8vw, 1.0625rem);   /* 16–17px */
  --text-lg:    clamp(1.125rem, 2vw,   1.25rem);     /* 18–20px */
  --text-xl:    clamp(1.25rem,  2.5vw, 1.5rem);      /* 20–24px */
  --text-2xl:   clamp(1.5rem,   3vw,   2rem);        /* 24–32px */
  --text-3xl:   clamp(2rem,     4vw,   2.75rem);     /* 32–44px */
  --text-4xl:   clamp(2.5rem,   5vw,   3.5rem);      /* 40–56px */
  --text-hero:  clamp(2.75rem,  6vw,   4.25rem);     /* 44–68px */

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;
  --weight-black:   800;

  --leading-tight:  1.15;
  --leading-snug:   1.35;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;

  /* --- Espaciados (escala 4px) --- */
  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-8:   2rem;      /* 32px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */
  --space-24:  6rem;      /* 96px */
  --space-32:  8rem;      /* 128px */

  /* --- Contenedor --- */
  --container-max:  1200px;
  --container-pad:  clamp(1.25rem, 5vw, 2.5rem);

  /* --- Bordes & Radios --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 9999px;

  /* --- Sombras --- */
  --shadow-sm:      0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.07);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.08);
  --shadow-primary: 0 4px 24px rgba(255,186,0,.35);

  /* --- Transiciones --- */
  --transition-fast: 150ms ease;
  --transition-base: 280ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-gray-dark);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* Foco visible para accesibilidad de teclado */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Reducir movimiento para usuarios que lo prefieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   3. TIPOGRAFÍA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-black);
}

h1 { font-size: var(--text-hero); font-weight: var(--weight-black); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { max-width: 68ch; }

strong { font-weight: var(--weight-semibold); }

/* ==========================================================================
   4. UTILIDADES & LAYOUT
   ========================================================================== */

/* Contenedor centrado */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Sección genérica */
.section {
  padding-block: var(--space-20);
}

.section--dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section--surface {
  background-color: var(--surface-dark);
  color: var(--color-white);
}

.section--gray {
  background-color: var(--color-gray-light);
}

/* Encabezado de sección */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-gray-mid);
  max-width: 60ch;
  margin-inline: auto;
}

.section--dark .section-header h2,
.section--surface .section-header h2 {
  color: var(--color-white);
}

.section--dark .section-header p,
.section--surface .section-header p {
  color: var(--color-gray-soft);
}

/* Grid de 4 cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  align-items: center;
}

/* Visually hidden (accesibilidad) */
.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;
}

/* ==========================================================================
   5. COMPONENTES
   ========================================================================== */

/* --- Eyebrow label --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: var(--color-white);
}

.badge--accent {
  background: rgba(74,180,182,.15);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.02em;
  line-height: 1;
  transition: background var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primario — amarillo */
.btn--primary {
  background: var(--color-primary);
  color: var(--color-black);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 6px 32px rgba(255,186,0,.5);
}

/* Outline — borde blanco */
.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--color-white);
}

/* Outline oscuro — borde gris oscuro */
.btn--outline-dark {
  background: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-gray-dark);
}
.btn--outline-dark:hover {
  background: var(--color-gray-dark);
  color: var(--color-white);
}

/* Ghost — solo texto */
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid transparent;
  padding-inline: var(--space-4);
}
.btn--ghost:hover { border-color: var(--color-primary); }

/* Tamaños */
.btn--sm { padding: var(--space-2) var(--space-5); font-size: var(--text-sm); }
.btn--lg {
  padding: var(--space-5) var(--space-12);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
}

/* --- Cards --- */
.card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.card--dark {
  background: var(--surface-card-dark);
  border-color: rgba(255,255,255,.06);
}

.card--dark:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}

/* Ícono de card */
.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,186,0,.10);
  margin-bottom: var(--space-5);
  transition: background var(--transition-base);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.card:hover .card-icon {
  background: var(--color-primary);
}

.card:hover .card-icon svg {
  color: var(--color-black);
}

.card h3, .card h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card p {
  font-size: var(--text-sm);
  color: var(--color-gray-mid);
  line-height: var(--leading-relaxed);
}

.card--dark p { color: var(--color-gray-soft); }
.card--dark h3, .card--dark h4 { color: var(--color-white); }

/* Product cards (grilla "Qué hacemos") — layout centrado y balanceado */
.grid-6 .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-4);
  min-height: 192px;
  padding: var(--space-6);
}

.grid-6 .card-icon {
  margin-bottom: 0;
  border: 1px solid rgba(255,186,0,.18);
}

.grid-6 .card h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: 0;
  line-height: var(--leading-snug);
  text-wrap: balance;
}

/* ==========================================================================
   6. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

/* Transparente sobre el hero */
.navbar--transparent {
  background: transparent;
}

/* Sólida al hacer scroll */
.navbar--scrolled {
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}

/* Logo */
.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

/* Links de navegación */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__links a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,.80);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.navbar__links a:hover { color: var(--color-white); }
.navbar__links a:hover::after { transform: scaleX(1); }

/* CTA en navbar */
.navbar__cta { flex-shrink: 0; }

/* Botón hamburguesa (mobile) */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  transition: background var(--transition-fast);
}

.navbar__hamburger:hover { background: rgba(255,255,255,.08); }

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

/* Estado abierto */
.navbar__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Fondo premium CSS — se reemplaza con hero.jpg si existe */
  background-color: var(--color-black);
  background-image:
    /* Overlay oscuro principal */
    linear-gradient(160deg, rgba(0,0,0,.80) 0%, rgba(39,57,68,.70) 100%),
    /* Textura de ruido sutil */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: cover, 300px 300px;
  background-position: center, center;
}

/* Si el usuario agrega hero.jpg, descomentar esto:
.hero {
  background-image:
    linear-gradient(160deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.60) 100%),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
}
*/

/* Isotipo grande como elemento decorativo de fondo */
.hero__bg-logo {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 45vw, 600px);
  height: auto;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1) brightness(2);
}

/* Línea de acento vertical */
.hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--color-primary), transparent);
  opacity: .7;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  padding-block: var(--space-32);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp .7s .1s forwards;
}

.hero__eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s .25s forwards;
}

/* Subrayado decorativo en "suspensión" */
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.78);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-10);
  max-width: 60ch;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s .4s forwards;
}

/* Botones del hero */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .7s .55s forwards;
}

/* Badge "Coming Soon" */
.hero__badge-wrap {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .7s .7s forwards;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,.5);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s 1.5s infinite;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards, bounce 2s 2.5s infinite;
}

.hero__scroll-indicator svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   8. NOSOTROS / TIMELINE
   ========================================================================== */
.nosotros {
  background: var(--color-white);
}

.nosotros__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.nosotros__text h2 {
  margin-bottom: var(--space-5);
}

.nosotros__text p {
  color: var(--color-gray-mid);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.nosotros__text p:last-of-type { margin-bottom: 0; }

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-10);
}

.timeline__item:last-child { padding-bottom: 0; }

/* Punto en la línea */
.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-8) + 12px);
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
  z-index: 1;
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-1);
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-black);
  margin-bottom: var(--space-2);
}

.timeline__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-mid);
  line-height: var(--leading-relaxed);
  max-width: 40ch;
}

/* ==========================================================================
   9. QUÉ HACEMOS
   ========================================================================== */
.que-hacemos {
  background: var(--color-gray-light);
}

.que-hacemos .grid-4 {
  /* 4 cols en desktop */
}

/* ==========================================================================
   10. POR QUÉ ELEGIRNOS
   ========================================================================== */
.por-que {
  background: var(--color-black);
}

.por-que .section-header h2 {
  color: var(--color-white);
}

.por-que .card--dark .card-icon {
  background: rgba(255,186,0,.10);
}

/* número grande decorativo en cards de beneficios */
.benefit-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: var(--weight-black);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
}

/* ==========================================================================
   11. PRÓXIMAMENTE — COMING SOON
   ========================================================================== */
.coming-soon {
  background: var(--surface-dark);
  position: relative;
  overflow: hidden;
}

/* Gradiente decorativo de fondo */
.coming-soon::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,180,182,.08) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,186,0,.06) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.coming-soon__text h2 {
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

/* Acento en el título */
.coming-soon__text h2 span {
  color: var(--color-primary);
}

.coming-soon__text p {
  color: rgba(255,255,255,.70);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

/* Lista de features */
.coming-soon__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.coming-soon__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: rgba(255,255,255,.85);
}

.coming-soon__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74,180,182,.15);
  border: 1.5px solid var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234AB4B6'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Panel derecho — tarjeta "preview" */
.coming-soon__card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-soon__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.coming-soon__card-icon {
  font-size: 4rem;
  margin-bottom: var(--space-5);
  display: block;
  filter: drop-shadow(0 0 16px rgba(255,186,0,.4));
}

.coming-soon__card h3 {
  color: var(--color-white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.coming-soon__card p {
  color: rgba(255,255,255,.55);
  font-size: var(--text-sm);
  margin-inline: auto;
}

.coming-soon__card .badge {
  margin-top: var(--space-6);
  display: inline-flex;
}

/* ==========================================================================
   12. CONTADOR / STATS
   ========================================================================== */
.stats {
  background: var(--color-white);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding-block: var(--space-16);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stats__item {
  padding: var(--space-8);
  position: relative;
}

.stats__item + .stats__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(0,0,0,.10);
}

.stats__number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: var(--weight-black);
  color: var(--color-primary);
  line-height: 1;
  display: block;
  letter-spacing: -0.03em;
}

.stats__suffix {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-black);
}

.stats__label {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-black);
  margin-top: var(--space-2);
  display: block;
}

.stats__desc {
  font-size: var(--text-sm);
  color: var(--color-gray-mid);
  margin-top: var(--space-1);
  display: block;
}

/* ==========================================================================
   13. MARCAS
   ========================================================================== */
.marcas {
  background: var(--color-gray-light);
}

.marcas__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.marcas__item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,.07);
  padding: var(--space-6) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
  min-height: 88px;
}

.marcas__item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.marcas__item img {
  max-height: 56px;
  width: auto;
}

/* ==========================================================================
   14. CTA AMARILLO
   ========================================================================== */
.cta-block {
  background: var(--color-primary);
  padding-block: var(--space-20);
  position: relative;
  overflow: hidden;
}

/* Patrón decorativo */
.cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(0,0,0,.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-block__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-block h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--color-black);
  margin-bottom: var(--space-4);
}

.cta-block p {
  font-size: var(--text-lg);
  color: rgba(0,0,0,.70);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-10);
  line-height: var(--leading-relaxed);
}

/* Botón CTA — negro sobre amarillo */
.btn--cta {
  background: var(--color-black);
  color: var(--color-primary);
  border: 2px solid var(--color-black);
  padding: var(--space-5) var(--space-16);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  transition: background var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}

.btn--cta:hover {
  background: var(--color-gray-dark);
  border-color: var(--color-gray-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,.40);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer {
  background: var(--color-black);
  color: rgba(255,255,255,.70);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  border-top: 1px solid rgba(255,255,255,.05);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand img {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-5);
}

.footer__brand p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,.55);
  max-width: 30ch;
  margin-bottom: var(--space-6);
}

/* Redes sociales */
.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.60);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.footer__social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(255,186,0,.08);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

/* Columnas del footer */
.footer__col-title {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--color-primary); }

/* Datos de contacto */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
}

.footer__contact-item a {
  color: rgba(255,255,255,.55);
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover { color: var(--color-primary); }

.footer__contact-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--color-primary);
}

/* Divider + copyright */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
}

.footer__legal {
  display: flex;
  gap: var(--space-5);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
  transition: color var(--transition-fast);
}

.footer__legal a:hover { color: var(--color-primary); }

/* ==========================================================================
   16. FLOTANTES (WhatsApp + Scroll Top)
   ========================================================================== */

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-6);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
  animation: pulse-wa 3s 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.10);
  box-shadow: 0 6px 28px rgba(37,211,102,.65);
  animation-play-state: paused;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Tooltip al hover */
.whatsapp-float::before {
  content: 'Consultanos';
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.85);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.whatsapp-float:hover::before { opacity: 1; }

/* Botón Scroll Top */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  right: calc(var(--space-6) + 56px + 12px);
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.80);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), background var(--transition-fast);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-black);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   17. ANIMACIONES
   ========================================================================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,.75); }
}

/* Clases para reveal on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal--left.revealed { opacity: 1; transform: translateX(0); }

.reveal--right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal--right.revealed { opacity: 1; transform: translateX(0); }

/* Delays escalonados para grillas */
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; }
.reveal-delay-4 { transition-delay: .40s; }
.reveal-delay-5 { transition-delay: .50s; }
.reveal-delay-6 { transition-delay: .60s; }
.reveal-delay-7 { transition-delay: .70s; }
.reveal-delay-8 { transition-delay: .80s; }
.reveal-delay-9 { transition-delay: .90s; }
.reveal-delay-10 { transition-delay: 1.00s; }
.reveal-delay-11 { transition-delay: 1.10s; }
.reveal-delay-12 { transition-delay: 1.20s; }

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */

/* Tablet landscape / small desktop */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .marcas__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .nosotros__grid {
    gap: var(--space-10);
  }

  .coming-soon__inner {
    gap: var(--space-10);
  }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .section { padding-block: var(--space-16); }

  /* Navbar mobile */
  .navbar__links {
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(0,0,0,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-8) var(--space-6);
    gap: var(--space-1);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
  }

  .navbar__links.open {
    transform: translateX(0);
  }

  .navbar__links a {
    font-size: var(--text-lg);
    padding: var(--space-4) 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.85);
  }

  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  /* Hero */
  .hero__content { max-width: 100%; }
  .hero__bg-logo { opacity: 0.03; right: -8%; }

  /* Grids */
  .nosotros__grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .coming-soon__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .coming-soon__card { display: none; } /* ocultar en mobile */

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stats__item + .stats__item::before {
    left: 20%;
    right: 20%;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .marcas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* Mobile */
@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: 1fr;
  }

  .grid-6 .card {
    min-height: 140px;
  }

  .marcas__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .btn--cta {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    width: 100%;
    justify-content: center;
  }

  .cta-block__inner {
    padding-inline: 0;
  }

  .scroll-top {
    right: calc(var(--space-4) + 56px + 10px);
  }

  .whatsapp-float {
    right: var(--space-4);
    bottom: var(--space-6);
  }

  .scroll-top {
    bottom: var(--space-6);
    right: calc(var(--space-4) + 56px + 10px);
  }
}
