/* ============================================================
   SAELT Contadores SAS — Stylesheet
   Paleta: #000F51 | #001CA9 | #0072E4 | #514F59 | #A6D9FF
   ============================================================ */

/* ── FUENTES PERSONALIZADAS ──────────────────────────────────
   Coloca los archivos en la carpeta /fonts/ junto a este CSS.
   Nombres de archivo esperados:
     fonts/MADEOuterSansAlt-Bold.woff2
     fonts/MADEOuterSansAlt-Bold.woff
     fonts/MADEOuterSans-Thin.woff2
     fonts/MADEOuterSans-Thin.woff
   ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Made Outer Sans Alt';
  src: url('fonts/MADEOuterSansAltBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Made Outer Sans Alt';
  src: url('fonts/MADEOuterSansAltThin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

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

/* ── VARIABLES ── */
:root {
  /* Paleta oficial SAELT */
  --navy:       #000F51;
  --blue-dark:  #001CA9;
  --blue:       #0072E4;
  --gray-dark:  #514F59;
  --blue-light: #A6D9FF;

  /* Funcionales */
  --white:      #FFFFFF;
  --bg-page:    #F5F7FC;
  --border:     #D8E4F5;
  --text-dark:  #0A0E2A;
  --text-mid:   #3A4060;
  --text-light: #7A84AA;
  --green:      #2ECC71;
  --orange:     #F39C12;

  /* Degradados */
  --grad-hero:    linear-gradient(135deg, #000F51 0%, #001CA9 50%, #0072E4 100%);
  --grad-card:    linear-gradient(135deg, #000F51 0%, #001CA9 100%);
  --grad-accent:  linear-gradient(135deg, #0072E4 0%, #A6D9FF 100%);
  --grad-section: linear-gradient(180deg, #F5F7FC 0%, #EAF1FB 100%);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 15, 81, 0.08);
  --shadow-md: 0 6px 20px rgba(0, 15, 81, 0.14);
  --shadow-lg: 0 16px 48px rgba(0, 15, 81, 0.20);

  /* Transición global */
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-page);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── ANIMACIONES ── */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 48px;
  background: transparent;
  transition: all 320ms ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 15, 81, 0.1), var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--grad-accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
}

.logo-sub {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

nav.scrolled .logo-name { color: var(--navy); }
nav.scrolled .logo-sub  { color: var(--text-light); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-links a:hover             { color: var(--blue-light); }
nav.scrolled .nav-links a      { color: var(--text-mid); }
nav.scrolled .nav-links a:hover { color: var(--blue); }

/* CTA button in nav */
.nav-cta {
  padding: 9px 22px;
  background: var(--blue);
  color: white !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  padding: 110px 48px 80px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: heroIn 0.7s ease-out 0.1s forwards;
}

/* Círculos decorativos */
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(166, 217, 255, 0.07);
  pointer-events: none;
}

.hero-bg-circle:nth-child(1) { width: 500px; height: 500px; top: -100px; right: -80px; }
.hero-bg-circle:nth-child(2) { width: 300px; height: 300px; bottom: 0; left: -60px; background: rgba(0, 114, 228, 0.12); }
.hero-bg-circle:nth-child(3) { width: 180px; height: 180px; top: 30%; right: 25%; background: rgba(166, 217, 255, 0.05); }

/* Grid de fondo */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(166, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 217, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(166, 217, 255, 0.15);
  border: 1px solid rgba(166, 217, 255, 0.35);
  border-radius: 50px;
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--blue-light); }

.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Estadísticas hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(166, 217, 255, 0.2);
  padding-top: 28px;
}

.hstat {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid rgba(166, 217, 255, 0.2);
}

.hstat:last-child { border-right: none; }
.hstat-num { font-size: 30px; font-weight: 800; color: white; line-height: 1; }
.hstat-lbl { font-size: 11px; color: rgba(255, 255, 255, 0.55); margin-top: 4px; letter-spacing: 0.8px; text-transform: uppercase; }

/* Dashboard visual */
.hero-visual {
  display: flex;
  justify-content: center;
}

.dash-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 24px 64px rgba(0, 15, 81, 0.35);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.dash-logo { display: flex; align-items: center; gap: 8px; }

.dash-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-logo-text { font-size: 13px; font-weight: 700; color: var(--navy); }
.dash-logo-sub  { font-size: 10px; color: var(--text-light); }

.dash-badge {
  background: rgba(0, 114, 228, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--bg-page);
}

.dash-row:last-child { border-bottom: none; }

.dash-lbl {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-mid);
}

.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.tag-ok  { background: #E3F9ED; color: #1A9E4A; }
.tag-prx { background: #FFF3E0; color: #C97800; }

/* ============================================================
   SECCIONES — BASE
   ============================================================ */
section { padding: 88px 48px; }

.sec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.sec-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.sec-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================================
   BOTONES GLOBALES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 114, 228, 0.4);
}

.btn-primary:hover {
  background: #005FBF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 114, 228, 0.5);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* ============================================================
   ABOUT CARDS — Sección 9:16
   ============================================================ */
#about {
  background: white;
  padding: 88px 48px;
}

.about-cards-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
}

.about-card {
  flex: 1;
  aspect-ratio: 4 / 5;
  /* max-width: 380px; */
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
}

.about-card:nth-child(2) { animation-delay: 0.15s; }

/* Card 1 — degradado de marca */
.about-card-1 {
  background: linear-gradient(160deg, #000F51 0%, #001CA9 45%, #0072E4 100%);
  color: white;
  box-shadow: 0 20px 56px rgba(0, 15, 81, 0.28);

  /*
   * Sobreescribimos el shorthand heredado de .about-card con valores
   * explícitos para cada lado; el bottom más generoso evita que el
   * contenido quede pegado al borde inferior de la card.
   */
  padding-top:    40px;
  padding-right:  36px;
  padding-bottom: 56px;
  padding-left:   36px;
}

/* Decoraciones de fondo card 1 */
.about-card-1::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(166, 217, 255, 0.08);
  bottom: -60px;
  right: -60px;
  pointer-events: none;
}

.about-card-1::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(166, 217, 255, 0.06);
  top: 30px;
  left: -40px;
  pointer-events: none;
}

/* Card 2 — fondo claro con borde de marca */
.about-card-2 {
  background: #F0F5FF;
  border: 1.5px solid rgba(0, 114, 228, 0.18);
  box-shadow: 0 12px 36px rgba(0, 15, 81, 0.08);
}

.about-card-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #000F51, #0072E4, #A6D9FF);
  border-radius: 20px 20px 0 0;
}

/* Áreas internas de las cards */
.about-card-top    { position: relative; z-index: 1; }
.about-card-bottom { position: relative; z-index: 1; padding-bottom: 20px;}

/* Logo dentro de card 1 */
.about-card-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.about-card-logo-img {
  width: 48px;
  height: auto;
  flex-shrink: 0;
}

.about-card-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.about-card-logo-name {
  font-family: 'Made Outer Sans Alt', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: 1.8px;
}

.about-card-logo-sub {
  font-family: 'Made Outer Sans Alt', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 100;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Label / badge dentro de cada card */
.about-card-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.about-card-1 .about-card-label {
  background: rgba(166, 217, 255, 0.18);
  border: 1px solid rgba(166, 217, 255, 0.35);
  color: var(--blue-light);
}

.about-card-2 .about-card-label {
  background: rgba(0, 114, 228, 0.1);
  border: 1px solid rgba(0, 114, 228, 0.2);
  color: var(--blue);
}

/* Títulos */
.about-card-1 h3 {
  font-size: 22px;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.about-card-2 h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

/* Textos */
.about-card-1 p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.about-card-2 p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-mid);
}

/* Espacio inferior en card 1 — el selector doble supera en especificidad
   cualquier shorthand heredado de .about-card */
.about-card-1 .about-card-bottom {
  padding-bottom: 25px;
}

/* Mini-stats en card 1 */
.about-mini-stats {
  display: flex;
  border-top: 1px solid rgba(166, 217, 255, 0.2);
  padding-top: 20px;
  margin-top: 20px;
}

.mini-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid rgba(166, 217, 255, 0.2);
}

.mini-stat:last-child { border-right: none; }
.mini-stat-num { font-size: 22px; font-weight: 800; color: white; }
.mini-stat-lbl { font-size: 10px; color: rgba(255, 255, 255, 0.55); letter-spacing: 0.5px; margin-top: 2px; }

/* Beneficios en card 2 */
.about-benefits { margin-top: 20px; }

.about-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 114, 228, 0.1);
}

.about-benefit:last-child { border-bottom: none; }

.about-benefit-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.about-benefit-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.about-benefit-desc {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 1px;
}

/* Botón CTA card 2 */
.about-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 114, 228, 0.3);
}

.about-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 114, 228, 0.4);
}

/* ============================================================
   PROBLEMA
   ============================================================ */
#problema { background: white; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.pain-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  background: white;
  transition: all var(--transition);
  opacity: 0;
  animation: slideUp 0.55s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity var(--transition);
}

.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.pain-card:hover::before { opacity: 1; }

.pain-card:nth-child(2) { animation-delay: 0.08s; }
.pain-card:nth-child(3) { animation-delay: 0.16s; }
.pain-card:nth-child(4) { animation-delay: 0.24s; }

.pain-icon { font-size: 30px; margin-bottom: 14px; }
.pain-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pain-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* ============================================================
   SERVICIOS
   ============================================================ */
#servicios { background: var(--grad-section); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.svc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: all var(--transition);
  opacity: 0;
  animation: slideUp 0.55s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }

.svc-card:nth-child(2) { animation-delay: 0.06s; }
.svc-card:nth-child(3) { animation-delay: 0.12s; }
.svc-card:nth-child(4) { animation-delay: 0.18s; }
.svc-card:nth-child(5) { animation-delay: 0.24s; }
.svc-card:nth-child(6) { animation-delay: 0.30s; }

.svc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 15, 81, 0.07), rgba(0, 114, 228, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.svc-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.svc-card p  { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

/* ============================================================
   PROCESO
   ============================================================ */
#proceso { background: white; }

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.steps-wrap::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-light));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: slideUp 0.55s ease-out forwards;
}

.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
.step:nth-child(4) { animation-delay: 0.3s; }

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 18px;
  font-weight: 800;
  color: white;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

.step:nth-child(1) .step-num { background: var(--navy); }
.step:nth-child(2) .step-num { background: var(--blue-dark); }
.step:nth-child(3) .step-num { background: var(--blue); }
.step:nth-child(4) .step-num { background: #00A8E0; }

.step h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p  { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ============================================================
   DIFERENCIAL
   ============================================================ */
#diferencial { background: var(--grad-section); }

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
}

.diff-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all var(--transition);
  opacity: 0;
  animation: slideUp 0.55s ease-out forwards;
}

.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.diff-card:nth-child(2) { animation-delay: 0.1s; }
.diff-card:nth-child(3) { animation-delay: 0.2s; }
.diff-card:nth-child(4) { animation-delay: 0.3s; }

.diff-icon { font-size: 34px; margin-bottom: 16px; }
.diff-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.diff-card p  { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* Checklist de características */
.feat-title { font-size: 20px; font-weight: 700; color: var(--navy); margin: 52px 0 24px; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feat-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all var(--transition);
}

.feat-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.feat-check { color: var(--blue); font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.feat-t { font-size: 14px; font-weight: 600; color: var(--navy); }
.feat-d { font-size: 13px; color: var(--text-mid); line-height: 1.5; margin-top: 2px; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
#testimonios { background: white; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.test-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  transition: all var(--transition);
  opacity: 0;
  animation: slideUp 0.55s ease-out forwards;
}

.test-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.test-card:nth-child(2) { animation-delay: 0.1s; }
.test-card:nth-child(3) { animation-delay: 0.2s; }

.test-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

.test-name   { font-size: 14px; font-weight: 700; color: var(--navy); }
.test-role   { font-size: 12px; color: var(--text-light); margin-bottom: 14px; }
.test-stars  { color: var(--orange); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.test-text   { font-size: 14px; color: var(--text-mid); line-height: 1.8; font-style: italic; margin-bottom: 16px; }

.test-metric {
  border-left: 3px solid var(--blue);
  padding-left: 12px;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
}

/* Barra de estadísticas */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: white;
}

.stat-box {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
  opacity: 0;
  animation: slideUp 0.55s ease-out forwards;
}

.stat-box:last-child { border-right: none; }
.stat-box:nth-child(2) { animation-delay: 0.1s; }
.stat-box:nth-child(3) { animation-delay: 0.2s; }
.stat-box:nth-child(4) { animation-delay: 0.3s; }

.stat-n {
  font-size: 34px;
  font-weight: 800;
  background: var(--grad-card);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-l { font-size: 13px; color: var(--text-mid); margin-top: 6px; }

/* ============================================================
   CTA / CONTACTO
   ============================================================ */
#contacto {
  background: var(--grad-hero);
  padding: 88px 48px;
  position: relative;
  overflow: hidden;
}

#contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(166, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 217, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-wrap {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cta-wrap h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 48px;
  line-height: 1.65;
  max-width: 580px;
}

/* Formulario de contacto */
.cta-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fgroup { position: relative; }
.fgroup.full { grid-column: 1 / -1; }

.flabel {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.finput,
.fselect,
.ftextarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-family: inherit;
  font-size: 15px;
  padding: 10px 0;
  transition: border-color var(--transition);
}

.finput::placeholder,
.ftextarea::placeholder { color: rgba(255, 255, 255, 0.4); }

.finput:focus,
.fselect:focus,
.ftextarea:focus {
  outline: none;
  border-bottom-color: var(--blue-light);
  box-shadow: inset 0 -2px 0 var(--blue-light);
}

.ftextarea { resize: vertical; min-height: 90px; }

.fselect {
  appearance: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 18px;
}

.fselect option { background: var(--navy); color: white; }

.cta-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.cta-divider span { font-size: 13px; color: rgba(255, 255, 255, 0.45); white-space: nowrap; }

/* Botón WhatsApp */
.btn-wa {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 40px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: #1abe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 48px 28px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
  max-width: 260px;
}

.footer-logo { display: flex; align-items: center; gap: 9px; }
.footer-logo-name { font-size: 17px; font-weight: 800; color: white; letter-spacing: 0.5px; }
.footer-logo-sub  { font-size: 10px; color: rgba(255, 255, 255, 0.45); letter-spacing: 1.5px; text-transform: uppercase; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }

.soc-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 15px;
  transition: all var(--transition);
}

.soc-icon:hover { background: var(--blue); color: white; }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  nav { padding: 14px 24px; }
  section { padding: 64px 24px; }

  .hero-content { grid-template-columns: 1fr; }
  .hero-visual  { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-wrap    { grid-template-columns: repeat(2, 1fr); }
  .steps-wrap::before { display: none; }
  .test-grid     { grid-template-columns: 1fr; }
  .stats-bar     { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .about-cards-wrap {
    flex-direction: column;
    align-items: center;
  }

  .about-card {
    max-width: 100%;
    width: 100%;
    aspect-ratio: auto;
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .pain-grid,
  .diff-grid,
  .feat-grid       { grid-template-columns: 1fr; }
  .services-grid,
  .steps-wrap      { grid-template-columns: 1fr; }
  .cta-form        { grid-template-columns: 1fr; }
  .fgroup.full     { grid-column: 1; }
  .cta-divider,
  .btn-wa          { grid-column: 1; }
  .hero-btns       { flex-direction: column; }
  .footer-top      { grid-template-columns: 1fr; }
  .stats-bar       { grid-template-columns: 1fr 1fr; }
  #contacto        { padding: 64px 24px; }
}
