/* =========================
   RESET & BASICS
========================= */
:root {
  --primary: #0b5ed7;
  --primary-dark: #094bb0;
  --secondary: #25d366; /* WhatsApp Green */
  --text-main: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --bg-light: #f9fafb;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif; /* Fuente moderna */
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--white);
  padding-bottom: 60px; /* Espacio para la barra sticky en móvil */
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 60px 0;
}
.section.light {
  background-color: var(--bg-light);
}
.text-center {
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================
   HEADER
========================= */
#site-header {
  border-bottom: 1px solid #e5e7eb;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
}
.brand-highlight {
  color: var(--primary);
  font-weight: 400;
}

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}
.nav-cta {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

/* =========================
   HERO SECTION (High Conversion)
========================= */
.hero {
  position: relative;
  padding: 60px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

/* Hero Text */
.hero-text {
  color: var(--white);
}
.badge-promo {
  background: var(--secondary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: inline-block;
}
.hero-text h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-weight: 800;
}
.hero-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 450px;
}

.hero-trust {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.trust-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Hero Form (Lead Magnet) */
.hero-form-wrapper {
  display: flex;
  justify-content: flex-end;
}
.lead-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}
.lead-form h3 {
  margin: 0 0 5px 0;
  color: var(--text-main);
  font-size: 1.4rem;
}
.lead-form p {
  margin: 0 0 20px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 15px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  ring: 2px solid rgba(11, 94, 215, 0.2);
}

.full-width {
  width: 100%;
}
.form-disclaimer {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 12px;
}

/* =========================
   PLANES
========================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.plan-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 30px;
  background: var(--white);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.plan-card.featured {
  border: 2px solid var(--primary);
  background: #f8fbff;
}
.ribbon {
  position: absolute;
  top: 12px;
  right: -25px;
  background: var(--primary);
  color: #fff;
  width: 100px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  transform: rotate(45deg);
  padding: 2px 0;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: 10px 0;
}
.plan-features li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: #4b5563;
}
.plan-features li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* =========================
   BENEFICIOS & FAQ
========================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.benefits-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.icon-check {
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.faq-item p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* =========================
   CONTACTO & BOTONES
========================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
}
.contact-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn.plan-primary,
.btn.primary {
  background: var(--primary);
  color: #fff;
}
.btn.plan-primary:hover {
  background: var(--primary-dark);
}
.btn.plan-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn.whatsapp {
  background: var(--secondary);
  color: #fff;
}

.bg-blue {
  background: var(--primary);
  color: var(--white);
}
.text-white p,
.text-white h2 {
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}

.img-rounded {
  border-radius: 20px;
}

/* Shine Effect Animation */
.shine-effect {
  position: relative;
  overflow: hidden;
}
.shine-effect::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 3s infinite;
}
@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

/* =========================
   STICKY MOBILE FOOTER (Conversión Móvil)
========================= */
.sticky-mobile-bar {
  display: none; /* Oculto en desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
  z-index: 1000;
  justify-content: space-between;
  gap: 10px;
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.sticky-btn.call {
  background: var(--primary);
  color: var(--white);
}
.sticky-btn.whatsapp {
  background: var(--secondary);
  color: var(--white);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero-container,
  .split,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .hero-form-wrapper {
    justify-content: center;
  }
  .hero-text {
    text-align: center;
    margin-bottom: 30px;
  }
  .hero-trust {
    justify-content: center;
  }
  .sticky-mobile-bar {
    display: flex;
  } /* Mostrar barra en móvil */
  .hero {
    padding: 40px 0;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}
