:root {
  --red: #dd1c31;
  --red-dark: #b51628;
  --blue: #1c31ff;
  --yellow: #ffdd1c;
  --bg: #f7f7fb;
  --text: #111111;
  --text-muted: #555555;
  --border-soft: #e2e2ee;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

/* Reset simple */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  line-height: 1.2;
}

/* Layout base */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  height: 32px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 0.25rem 0;
  position: relative;
  color: var(--text-muted);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-link:hover {
  color: var(--text);
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(0, 0, 0, 0.08);
  background: #ffffff;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #ffe5eb 0, #ffffff 45%, #f7f7fb 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(221, 28, 49, 0.06);
  color: var(--red);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.2rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-bullets li {
  margin-bottom: 0.3rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-trust {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-main-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  object-fit: cover;
}

.hero-mascot {
  position: absolute;
  bottom: -14px;
  right: -8px;
  width: 90px;
  transform: rotate(-4deg);
}

/* Strip */

.section.strip {
  padding: 0.9rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.strip-tags span {
  padding: 0.25rem 0.75rem;
  background: #f1f1f8;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
}

.ideal-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: left;
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  font-size: 1.7rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0.4rem auto 0;
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.step-card img {
  height: 80px;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-cta {
  margin-top: 2rem;
  text-align: center;
}

/* Video */

.video-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}

.video-wrapper {
  text-align: center;
}

.video-placeholder {
  position: relative;
  display: inline-block;
  cursor: pointer;
  pointer-events: auto;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 1.2rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  pointer-events: none; /* importante */
}


.video-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

/* Planes */

/* Toggle anual/mensual */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem 0 0.35rem;
}

.billing-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.billing-label-strong {
  color: var(--text);
  font-weight: 600;
}

.billing-save {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 221, 28, 0.35);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
}

.billing-hint {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

/* Switch */
.switch {
  width: 54px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  padding: 0;
}

.switch-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  transition: transform 0.18s ease;
}

/* Estado anual activado (por defecto) */
.switch.is-annual .switch-knob {
  transform: translateX(24px);
}

/* Texto debajo del precio */
.plan-billing-line {
  margin: 0.25rem 0 0.75rem;
}

.plan-billing-line .billing-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-trial {
  font-size: 0.9rem;
  margin: 0.4rem 0 0.8rem;
  color: var(--text);
}

.plan-annual-only {
  font-size: 0.9rem;
  margin-top: 0.6rem;
  color: var(--text);
}

.plan-annual-only .muted {
  color: var(--text-muted);
  font-weight: 400;
}



.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.plan-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.8rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan-featured {
  border-color: var(--red);
  position: relative;
}

.plan-icon {
  height: 64px;          /* tamaño visible del icono */
  width: auto;           /* mantiene la proporción original */
  margin-bottom: 0.9rem;
  margin-left: auto;
  margin-right: auto;    /* centra el icono en la tarjeta */
}

.plan-card h3 {
  font-size: 1.2rem;
}

.plan-price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.3rem 0;
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features li {
  margin-bottom: 0.35rem;
}

.plan-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.plans-footnote {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Funcionalidades */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.feature-card img {
  height: 52px;
  margin-bottom: 0.7rem;
}

.feature-card h3 {
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Testimonios */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Es para ti */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.pill-list span {
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* FAQ */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.faq-illustration img {
  max-width: 260px;
  margin: 0 auto;
}

.faq-list details {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  border: 1px solid var(--border-soft);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] {
  border-color: var(--red);
}

.faq-list details p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA final */

.section-cta-final {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 50%, #791121 100%);
  color: #ffffff;
}

.cta-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.cta-final-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.cta-final-text p {
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.cta-final-text .btn-primary {
  background: #ffffff;
  color: var(--red);
}

.cta-final-text .btn-primary:hover {
  background: #fbe9ed;
}

.cta-final-media img {
  max-width: 260px;
  margin: 0 auto;
}

/* Footer */

.site-footer {
  background: #111111;
  color: #f1f1f1;
  padding-top: 1.8rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1rem;
}

.footer-logo {
  height: 28px;
  margin-bottom: 0.6rem;
}

.footer-inner p {
  font-size: 0.85rem;
  color: #c6c6c6;
  max-width: 18rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  font-size: 0.88rem;
}

.footer-links a {
  color: #e4e4e4;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 0.7rem 1.5rem 1.2rem;
  font-size: 0.8rem;
  color: #aaaaaa;
}

/* WhatsApp button */

.whatsapp-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 60;
}

.whatsapp-button img {
  width: 26px;
  height: 26px;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .video-section,
  .plans-grid,
  .features-grid,
  .testimonials-grid,
  .faq-layout,
  .cta-final-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: 64px;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.7rem 1.5rem 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3.2rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.96rem;
  }

  .hero-bullets {
    font-size: 0.9rem;
  }

  .whatsapp-button {
    width: 48px;
    height: 48px;
  }

  .whatsapp-button img {
    width: 24px;
    height: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }
}