/* ============================================================
   STYLES.CSS — Aló Empleo
   Estilos de todos los componentes. Mobile-first.
   NO se usan valores hex directos; siempre tokens de tokens.css
   ============================================================ */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* =============================================
   1. UTILIDADES GLOBALES
   ============================================= */

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

/* Texto decorativo "eyebrow" */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-3);
}

.eyebrow--amber {
  color: var(--color-amber);
}

.eyebrow--light {
  color: var(--color-blue-light);
}

/* Cabecera de sección */
.section-head {
  margin-bottom: var(--space-12);
}

.section-head.center {
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-head p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
}

.section-head.center p {
  margin-inline: auto;
}

/* Acento bicolor en headings */
.txt-blue   { color: var(--color-blue); }
.txt-amber  { color: var(--color-amber); }
.txt-white  { color: var(--color-white); }
.txt-muted  { color: var(--color-text-muted); }

/* Sección base */
.section {
  padding-block: var(--section-py);
}

.section--alt {
  background-color: var(--color-off-white);
}

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

/* =============================================
   2. BOTONES
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  padding: 0.875rem var(--space-6);
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

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

.btn:active {
  transform: translateY(0);
}

/* Botón principal: azul */
.btn-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background-color: var(--color-blue-dark);
  box-shadow: 0 12px 40px rgba(0, 114, 206, 0.40);
}

/* Botón acento: amarillo */
.btn-amber {
  background-color: var(--color-amber);
  color: var(--color-navy);
  box-shadow: var(--shadow-amber);
}

.btn-amber:hover {
  background-color: var(--color-amber-dark);
  box-shadow: 0 12px 40px rgba(255, 163, 0, 0.40);
}

/* Botón ghost/outline claro (sobre fondos oscuros) */
.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.50);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: var(--color-white);
  box-shadow: none;
}

/* Botón outline azul (sobre fondo claro) */
.btn-outline {
  background-color: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-outline:hover {
  background-color: var(--color-blue-light);
}

.btn .arrow {
  font-style: normal;
  transition: transform var(--transition-fast);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* =============================================
   3. HEADER / NAVEGACIÓN
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

/* Transparente al inicio (sobre hero azul) */
.site-header {
  background-color: transparent;
}

/* Glassmorphism al hacer scroll */
.site-header.scrolled {
  background-color: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav__logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.nav__logo:hover img {
  opacity: 0.85;
}

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

.nav__menu a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-amber);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  border-radius: var(--radius-full);
}

.nav__menu a:hover {
  color: var(--color-white);
}

.nav__menu a:hover::after {
  transform: scaleX(1);
}

/* Botón hamburguesa */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.nav__toggle:hover {
  background-color: rgba(255, 255, 255, 0.10);
}

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

/* Animación X cuando está abierto */
.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   4. HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-deeper) 60%, #001E4A 100%);
  overflow: hidden;
  padding-top: var(--header-height);
}

/* Glow decorativo */
.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, var(--color-amber-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__glow-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, var(--color-blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Partículas flotantes */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: float linear infinite;
}

.hero__particle:nth-child(1) { width: 80px; height: 80px; background: var(--color-amber); top: 15%; left: 10%; animation-duration: 18s; }
.hero__particle:nth-child(2) { width: 40px; height: 40px; background: var(--color-white); top: 60%; left: 80%; animation-duration: 14s; animation-delay: -4s; }
.hero__particle:nth-child(3) { width: 60px; height: 60px; background: var(--color-amber); top: 80%; left: 30%; animation-duration: 20s; animation-delay: -8s; }
.hero__particle:nth-child(4) { width: 30px; height: 30px; background: var(--color-white); top: 30%; left: 60%; animation-duration: 12s; animation-delay: -2s; }
.hero__particle:nth-child(5) { width: 50px; height: 50px; background: var(--color-blue-light); top: 70%; left: 55%; animation-duration: 16s; animation-delay: -6s; }

@keyframes float {
  0%   { transform: translateY(0px) rotate(0deg); }
  50%  { transform: translateY(-30px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-block: var(--space-16);
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-amber);
  background-color: rgba(255, 163, 0, 0.12);
  border: 1px solid rgba(255, 163, 0, 0.30);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero h1 .txt-amber {
  position: relative;
}

.hero__lead {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.80);
  max-width: 560px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

/* Stats pills */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.hero__stat-icon {
  font-size: var(--text-base);
}

/* Ola decorativa SVG en la base del hero */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.hero__wave svg {
  display: block;
  width: 100%;
}

/* =============================================
   5. SECCIÓN: CÓMO FUNCIONA (navy)
   ============================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  position: relative;
}

.step {
  background-color: var(--color-navy-mid);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-amber);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 900;
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.6;
}

.step__icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

/* Sección navy */
.section--navy .section-head h2 {
  color: var(--color-white);
}

.section--navy .section-head p {
  color: var(--color-text-light);
}

/* =============================================
   6. SECCIÓN: POR QUÉ NOSOTROS (benefits)
   ============================================= */
.benefits-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.benefit {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.benefit__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit__check svg {
  width: 18px;
  height: 18px;
}

.benefit h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.benefit p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* Tarjeta visual derecha */
.benefits-visual {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-deeper) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-8);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-blue);
}

.benefits-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(255, 163, 0, 0.10);
}

.benefits-visual .big {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-5xl));
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  position: relative;
}

.benefits-visual .big span {
  color: var(--color-amber);
}

.benefits-visual .quote {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
  position: relative;
}

.benefits-visual .who {
  font-size: var(--text-sm);
  color: var(--color-amber);
  font-weight: 600;
  position: relative;
}

.benefits-visual hr {
  border-color: rgba(255, 255, 255, 0.20);
  margin-block: var(--space-5);
  position: relative;
}

/* =============================================
   7. SECCIÓN: FORMULARIO DE POSTULACIÓN
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

/* Info lateral */
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.contact-info p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

/* Canales de contacto */
.contact-channels {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.channel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.channel:hover {
  border-color: var(--color-blue);
  background-color: var(--color-blue-light);
  box-shadow: var(--shadow-sm);
}

.channel--whatsapp:hover {
  border-color: #25D366;
  background-color: #F0FFF4;
}

.channel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  flex-shrink: 0;
}

.channel--whatsapp .channel__icon {
  background-color: #E8FFF3;
  color: #25D366;
}

.channel__icon svg {
  width: 22px;
  height: 22px;
}

.channel span:last-child {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
}

.channel small {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* === FORMULARIO === */
.form {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.form__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-border);
}

/* Campos del formulario */
.field {
  margin-bottom: var(--space-5);
}

.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.field input,
.field select {
  width: 100%;
  padding: 0.875rem var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-off-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-glow);
  background-color: var(--color-white);
}

/* Estado de error */
.field--error input,
.field--error select {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field__error {
  display: block;
  font-size: var(--text-xs);
  color: #DC2626;
  margin-top: var(--space-1);
  min-height: 1em;
}

/* Select con flecha custom */
.field--select {
  position: relative;
}

.field--select::after {
  content: '';
  position: absolute;
  right: var(--space-4);
  top: calc(50% + 14px);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-muted);
  pointer-events: none;
  transform: translateY(-50%);
}

/* === SLIDER DE COMPUTADORA === */
.field--slider .slider-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.field--slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    to right,
    var(--color-blue) 0%,
    var(--color-blue) var(--pct, 0%),
    var(--color-border) var(--pct, 0%),
    var(--color-border) 100%
  );
  border: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
}

.field--slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-blue);
  box-shadow: 0 2px 8px rgba(0, 114, 206, 0.40);
  border: 3px solid var(--color-white);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.field--slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.20);
  box-shadow: 0 4px 16px rgba(0, 114, 206, 0.50);
}

.field--slider input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-blue);
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 114, 206, 0.40);
  cursor: pointer;
}

.slider-value-display {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: var(--shadow-blue);
  transition: transform var(--transition-fast);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Nota del formulario */
.form__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  line-height: 1.5;
}

/* Estado de éxito */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.form-success.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  animation: successBounce 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successBounce {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.form-success p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 360px;
}

/* =============================================
   8. SECCIÓN: CANALES / REDES SOCIALES
   ============================================= */
.channels-section {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-deeper) 100%);
  padding-block: var(--section-py);
}

.channels-section .section-head h2,
.channels-section .section-head p {
  color: var(--color-white);
}

.channels-section .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.channels-section .eyebrow {
  color: var(--color-amber);
  background-color: rgba(255, 163, 0, 0.15);
  border: 1px solid rgba(255, 163, 0, 0.30);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

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

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  color: var(--color-white);
  text-decoration: none;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base);
  cursor: pointer;
}

.social-card:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
}

.social-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.social-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
}

.social-card__handle {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.65);
}

/* Colores de iconos de redes */
.social-card--whatsapp .social-card__icon { background-color: #25D366; }
.social-card--facebook .social-card__icon { background-color: #1877F2; }
.social-card--instagram .social-card__icon { background: linear-gradient(135deg, #E1306C, #F56040, #FCAF45); }
.social-card--tiktok .social-card__icon   { background-color: #010101; }
.social-card--email .social-card__icon    { background-color: var(--color-amber); color: var(--color-navy); }

.channels-cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* =============================================
   9. SECCIÓN: B2B (Para Empresas)
   ============================================= */
.empresas {
  background-color: var(--color-off-white);
  padding-block: var(--space-16);
}

.empresas__card {
  background: linear-gradient(135deg, var(--color-amber) 0%, #FF8C00 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: flex-start;
  box-shadow: var(--shadow-amber);
  position: relative;
  overflow: hidden;
}

.empresas__card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}

.empresas__eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.70);
  margin-bottom: var(--space-2);
}

.empresas__card h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

.empresas__card p {
  color: rgba(10, 22, 40, 0.75);
  font-size: var(--text-lg);
  max-width: 560px;
  line-height: 1.65;
}

.empresas__action {
  margin-top: var(--space-2);
}

/* =============================================
   10. FOOTER
   ============================================= */
.footer {
  background-color: var(--color-navy);
  color: var(--color-text-light);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border-dark);
  margin-bottom: var(--space-8);
}

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

.footer__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-amber);
  margin-bottom: var(--space-3);
}

.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: var(--space-6);
}

/* Iconos sociales en footer */
.footer__socials {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-dark);
  color: var(--color-text-light);
  font-size: 1.125rem;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

.footer__social:hover {
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-3);
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--color-amber);
}

.footer__legal {
  font-size: var(--text-xs);
  color: var(--color-border-dark);
  margin-top: var(--space-4);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-border-dark);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__bottom-links a {
  color: var(--color-border-dark);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--color-amber);
}

/* =============================================
   11. BOTÓN FAB — WHATSAPP FLOTANTE
   ============================================= */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background-color: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity var(--transition-slow),
              transform var(--transition-slow),
              box-shadow var(--transition-fast);
  pointer-events: none;
}

.whatsapp-fab.fab--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-fab:hover {
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.60);
  transform: translateY(-3px) scale(1.02);
}

.whatsapp-fab:active {
  transform: translateY(0) scale(0.98);
}

.whatsapp-fab svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.fab__pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-amber);
  animation: fabPulse 2s ease-in-out infinite;
}

@keyframes fabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 163, 0, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 163, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 163, 0, 0); }
}

/* =============================================
   12. ANIMACIONES REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   13. RESPONSIVE — TABLET (≥ 640px)
   ============================================= */
@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .empresas__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* =============================================
   14. RESPONSIVE — DESKTOP (≥ 1024px)
   ============================================= */
@media (min-width: 1024px) {
  .nav__menu {
    display: flex;
  }

  .nav__toggle {
    display: none;
  }

  .section-head h2 {
    font-size: var(--text-4xl);
  }

  /* Hero */
  .hero__inner {
    max-width: 820px;
  }

  /* Steps — 4 columnas en desktop */
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Benefits layout 2 columnas */
  .benefits-layout {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact 2 columnas */
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer 4 columnas */
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr;
  }

  /* Social grid 5 columnas */
  .social-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* =============================================
   15. RESPONSIVE — WIDE (≥ 1280px)
   ============================================= */
@media (min-width: 1280px) {
  .container {
    padding-inline: var(--space-8);
  }
}

/* =============================================
   16. MÓVIL — NAV MENÚ DESPLEGABLE
   ============================================= */
@media (max-width: 1023px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    background-color: var(--color-navy);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 99;
  }

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

  .nav__menu a {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-white);
    text-align: center;
  }

  .nav__actions {
    display: none;
  }
}

/* =============================================
   17. PÁGINA LEGAL — AVISO DE PRIVACIDAD
   ============================================= */

/* Hero del documento legal */
.legal-hero {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-deeper) 100%);
  padding-top: calc(var(--header-height) + var(--space-16));
  padding-bottom: var(--space-16);
  text-align: center;
}

.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.legal-hero__meta {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-top: var(--space-2);
}

/* Contenido del aviso */
.legal {
  padding-block: var(--space-16);
  background-color: var(--color-white);
}

.legal__body {
  max-width: 780px;
  margin-inline: auto;
}

.legal__intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-10);
  padding: var(--space-6);
  background-color: var(--color-blue-light);
  border-left: 4px solid var(--color-blue);
  border-radius: var(--radius-md);
}

.legal__body h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-border);
}

.legal__body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.legal__body a {
  color: var(--color-blue);
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.legal__body a:hover {
  color: var(--color-blue-dark);
}

.legal__body ul {
  list-style: none;
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.legal__body ul li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  padding-left: var(--space-6);
  position: relative;
}

.legal__body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-weight: 700;
}

.legal__back {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

/* Header simplificado en páginas legales */
.nav__actions--legal {
  display: flex;
}
