/* ============================================================
   ATHLETE 360 — Landing Page Styles
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:       #0ABFBC;
  --teal-dark:  #007A8A;
  --teal-light: #E0F7F7;
  --teal-mid:   #B2EBEC;
  --green:      #22c55e;
  --yellow:     #f59e0b;
  --red:        #ef4444;
  --white:      #ffffff;
  --gray-50:    #f8fafc;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --gray-800:   #1e293b;
  --gray-900:   #0f172a;
  --font:       'Inter', system-ui, sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(10,191,188,.12), 0 2px 8px rgba(0,0,0,.08);
  --shadow-lg:  0 20px 48px rgba(10,191,188,.15), 0 8px 24px rgba(0,0,0,.1);
  --nav-h:      100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge-teal  { background: var(--teal-light); color: var(--teal-dark); }
.badge-red   { background: #fee2e2; color: #b91c1c; }
.badge-white { background: rgba(255,255,255,.2); color: #fff; }

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}

.highlight {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}

.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(10,191,188,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,191,188,.45);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700, #334155);
  border: 2px solid var(--gray-200);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-light);
}

.btn-white {
  background: #fff;
  color: var(--teal-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* ---- FADE IN ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-delay {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease .2s, transform .6s ease .2s;
}
.fade-in-delay.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  overflow: visible;
}

.navbar.scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-900);
}

.logo-icon {
  display: flex;
  align-items: center;
}

.logo-accent { color: var(--teal); }

.logo-img {
  height: 150px;
  width: auto;
  display: block;
}

.logo-icon-img {
  height: 120px;
  width: auto;
  display: block;
}

.logo-light { color: #fff; }
.logo-light .logo-accent { color: var(--teal-mid); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}

.nav-links a:hover {
  color: var(--teal-dark);
  background: var(--teal-light);
}

.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(10,191,188,.3);
}

.nav-links .nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10,191,188,.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all .3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 96px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0fdfd 0%, #e6f9f9 40%, #f8fafc 100%);
}

.hero-bg-gradient {
  position: absolute;
  top: -100px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(10,191,188,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
}

.shape-1 {
  width: 600px; height: 600px;
  background: var(--teal);
  top: -200px; right: -100px;
}

.shape-2 {
  width: 300px; height: 300px;
  background: var(--teal-dark);
  bottom: -100px; left: -80px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--teal-mid);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
}

/* — Mockup Card — */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mockup-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-title-bar {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

.mockup-logo {
  height: 22px;
  width: auto;
}

.mockup-body { padding: 20px; }

.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.mockup-stat-item {
  text-align: center;
  background: var(--gray-50);
  border-radius: 10px;
  padding: 10px 6px;
}

.mockup-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.mockup-stat-value.teal  { color: var(--teal-dark); }
.mockup-stat-value.green { color: var(--green); }
.mockup-stat-value.yellow{ color: var(--yellow); }
.mockup-stat-value.red   { color: var(--red); }

.mockup-stat-label {
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 500;
}

.mockup-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.mockup-player {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--gray-100);
}

.player-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.green-dot  { background: var(--green); }
.yellow-dot { background: var(--yellow); }
.red-dot    { background: var(--red); }

.player-info { flex: 1; min-width: 0; }

.player-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-status {
  display: block;
  font-size: 11px;
  color: var(--gray-400);
}

.player-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
}

.ok-tag   { background: #dcfce7; color: #166534; }
.warn-tag { background: #fef3c7; color: #92400e; }
.risk-tag { background: #fee2e2; color: #991b1b; }

.mockup-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #92400e;
}

/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.social-proof {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.proof-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.proof-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-logo-item {
  padding: 8px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all .2s;
}

.proof-logo-item:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-light);
}

/* ============================================================
   PROBLEMA
   ============================================================ */
.problema {
  background: var(--gray-50);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gray-300);
}

.problem-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}

.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   SOLUCIÓN
   ============================================================ */
.solucion {
  background: var(--white);
}

.solucion-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.solucion-text .section-title { text-align: left; }
.solucion-text .section-sub   { text-align: left; margin-bottom: 32px; }

.solucion-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solucion-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.solucion-list li strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.solucion-list li span {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* – Mini Mockup Chart – */
.mini-mockup {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.mini-mockup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

.mini-dots {
  display: flex;
  gap: 4px;
}

.mini-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
}

.mini-dots span:nth-child(1) { background: #ef4444; }
.mini-dots span:nth-child(2) { background: #f59e0b; }
.mini-dots span:nth-child(3) { background: #22c55e; }

.chart-bars { padding: 20px 20px 0; }

.chart-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.chart-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  width: 48px;
  flex-shrink: 0;
}

.chart-bar-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-bar {
  height: 10px;
  border-radius: 100px;
  background: var(--teal);
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transition: width 1s ease;
}

.bar-warn  { background: linear-gradient(90deg, #f59e0b, #d97706); }
.bar-good  { background: linear-gradient(90deg, #22c55e, #16a34a); }
.bar-teal  { background: linear-gradient(90deg, var(--teal), var(--teal-dark)); }

.chart-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-600);
  width: 28px;
}

.mini-insights {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--gray-100);
  margin-top: 6px;
}

.insight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-600);
}

.insight-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.teal-dot    { background: var(--teal); }
.yellow-dot-sm { background: var(--yellow); }

/* ============================================================
   BENEFICIOS
   ============================================================ */
.beneficios {
  background: var(--gray-50);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card-highlight {
  border: 2px solid var(--teal);
  background: linear-gradient(160deg, var(--teal-light), #f0fdfd);
}

.benefit-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal-dark);
}

.icon-highlight {
  background: var(--teal);
  color: #fff;
}

.benefit-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
.como-funciona {
  background: var(--white);
}

.steps-wrapper { position: relative; }

.step-connector {
  display: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 2px;
  opacity: .3;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal-mid);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 64px; height: 64px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal-dark);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--teal-mid);
}

.feature-icon-wrap {
  width: 44px; height: 44px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================================
   COMPARATIVA
   ============================================================ */
.comparativa {
  background: var(--white);
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--gray-200);
}

.compare-table th:first-child { text-align: left; color: var(--gray-600); }

.compare-table .col-old {
  background: var(--gray-50);
  color: var(--gray-500, #6b7280);
}

.compare-table .col-new {
  background: linear-gradient(160deg, var(--teal-light), #f0fdfd);
  color: var(--teal-dark);
}

.compare-table th.col-new {
  color: var(--teal-dark);
  border-bottom-color: var(--teal-mid);
}

.compare-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--gray-800);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr:hover td { background: var(--gray-50); }
.compare-table tr:hover td.col-old { background: #f3f4f6; }
.compare-table tr:hover td.col-new { background: #d5f5f5; }

.compare-table .cross {
  color: #ef4444;
  font-size: 18px;
  font-weight: 700;
}

.compare-table .check {
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 700;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gray-50);
}

.cta-card {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #005f6b 60%, #003d47 100%);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-logo-solo {
  width: 72px;
  height: auto;
  margin: 8px auto 20px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 16px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.cta-form input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s;
}

.cta-form input::placeholder { color: rgba(255,255,255,.5); }

.cta-form input:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.18);
}

.cta-form input.error { border-color: #fca5a5; }

.form-group-full { width: 100%; }

.cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  resize: vertical;
  min-height: 90px;
  transition: border-color .2s, background .2s;
}

.cta-form textarea::placeholder { color: rgba(255,255,255,.5); }

.cta-form textarea:focus {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.18);
}

.cta-form textarea.error { border-color: #fca5a5; }

.form-error {
  font-size: 12px;
  color: #fca5a5;
  margin-top: 4px;
  text-align: left;
  min-height: 16px;
}

.form-note {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.4);
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #86efac;
  max-width: 480px;
  margin: 12px auto 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-900);
  padding-top: 56px;
  color: var(--gray-400);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-200, #e2e8f0);
  margin-bottom: 16px;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color .2s;
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #1a1a2e;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a2e;
  border-right: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-content { text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats  { justify-content: center; }

  .solucion-inner { grid-template-columns: 1fr; gap: 40px; }
  .solucion-text .section-title,
  .solucion-text .section-sub { text-align: center; }

  .problems-grid   { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps-grid      { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid::before { display: none; }
  .features-grid   { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 28px; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .section { padding: 64px 0; }

  .section-title { font-size: 26px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 24px 24px 32px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
  }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 18px;
    padding: 16px 20px;
    font-size: 16px;
  }

  .hamburger { display: flex; }

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 56px;
  }

  .hero-title { font-size: 30px; letter-spacing: -.01em; }
  .hero-sub   { font-size: 16px; }

  .hero-actions { flex-direction: column; }
  .btn-lg { justify-content: center; padding: 14px 24px; }

  .hero-stats { gap: 16px; }
  .stat-number { font-size: 20px; }

  .section-header { margin-bottom: 36px; }

  .problems-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefits-grid { grid-template-columns: 1fr; }

  .step-card { padding: 28px 20px; }
  .step-card:not(:last-child)::after {
    content: '';
    display: block;
    width: 2px;
    height: 32px;
    background: var(--teal-mid);
    margin: 20px auto 0;
  }

  .features-grid { grid-template-columns: 1fr; gap: 8px; }

  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }

  .cta-card { padding: 40px 20px; }
  .cta-title { font-size: 24px; }
  .cta-sub { font-size: 15px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }

  .proof-logos { gap: 8px; }
  .proof-logo-item { font-size: 13px; padding: 6px 14px; }

  .solucion-text .section-title,
  .solucion-text .section-sub { text-align: left; }
}
