/* ============ TOKENS ============ */
:root {
  --bg: #ffffff;
  --bg-alt: #fbf5ec;
  --bg-warm: #fff1e4;
  --ink: #2b2620;
  --ink-soft: #746c5f;
  --border: #ece2d2;

  --accent: #ff6b35;
  --accent-dark: #e2551f;
  --accent-soft: #ffe4d1;
  --success: #2e9e5b;

  --shadow-sm: 0 4px 14px rgba(43, 38, 32, 0.06);
  --shadow-md: 0 14px 34px rgba(43, 38, 32, 0.1);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1120px;

  /* Radios — estilo recto, ~5% de redondeo */
  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 7px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 560px) {
  .container { padding: 0 24px; }
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 7.4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 5.5vw, 2.3rem); margin-bottom: 18px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }

p { color: var(--ink-soft); }

a { color: inherit; }

/* ============ BOTONES — RECTOS, LEVE REDONDEO ============ */
.btn {
  display: inline-block;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }

.btn--outline { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--outline:hover { background: var(--bg-alt); border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }

.btn--lg {
  display: block;
  width: 100%;
  padding: 18px 24px;
  font-size: 1.05rem;
}
@media (min-width: 480px) {
  .btn--lg { display: inline-block; width: auto; padding: 18px 40px; }
}
.btn--sm { padding: 10px 18px; font-size: 0.8rem; border-radius: var(--r-sm); }
.btn--full { display: block; width: 100%; text-align: center; }

.logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
@media (min-width: 400px) {
  .logo { font-size: 1.2rem; }
}
.logo__accent { color: var(--accent); }

/* ============ SECTIONS ============ */
.section { padding: 56px 0; overflow: hidden; }
@media (min-width: 768px) {
  .section { padding: 88px 0; }
}
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 14px;
}

.section__lead {
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
}

/* ============ HERO — FONDO CHUMBO (#454545) ============ */
.hero {
  position: relative;
  padding: 20px 0 28px;
  background: #454545;
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.hero__inner h1 { max-width: 560px; color: #fff; margin: 16px 0; text-transform: uppercase; }
.hero__inner .tag { margin-bottom: 0; padding: 5px 14px; }
.highlight { color: var(--accent); }

.social-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
}
.social-count__text {
  display: inline-block;
  max-width: 260px;
  text-align: left;
  text-wrap: balance;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}
.social-count__text strong { color: #fff; }
.social-count__avatars { display: flex; flex-shrink: 0; }
.social-count__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-size: cover;
  background-position: center;
  border: 2px solid #454545;
  margin-left: -10px;
}
.social-count__avatar:first-child { margin-left: 0; }

/* ---- 5 tópicos, en una columna, centrados, sin tarjeta ---- */
.hero__topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  width: 100%;
}
.hero__topics li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
}
.hero__topic-icon {
  flex-shrink: 0;
  color: var(--success);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---- Botón repetido al final de secciones 2 y 4 ---- */
.section-cta {
  text-align: center;
  margin-top: 32px;
}

/* ---- Video corto vertical formato Reels (1080x1920 = 9:16), dentro de un mockup de iPhone ---- */
.phone-mockup {
  width: 100%;
  max-width: 230px;
  margin: 6px auto;
}
.hero__inner .phone-mockup { margin-top: 0; }
.phone-mockup--lg { max-width: 300px; }
@media (min-width: 480px) {
  .phone-mockup--lg { max-width: 340px; }
}
@media (min-width: 900px) {
  .phone-mockup--lg { max-width: 420px; }
}
.phone-mockup__frame {
  position: relative;
  aspect-ratio: 1080 / 1920;
  background: #17140f;
  border-radius: 38px;
  padding: 6px;
  box-shadow: var(--shadow-md), inset 0 0 0 1.5px #322c22;
}
.phone-mockup__island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 18px;
  background: #000;
  border-radius: var(--r-lg);
  z-index: 6;
}
.phone-mockup__btn { position: absolute; background: #322c22; }
.phone-mockup__btn--power { right: -2px; top: 22%; width: 2px; height: 56px; border-radius: 2px; }
.phone-mockup__btn--vol1 { left: -2px; top: 16%; width: 2px; height: 32px; border-radius: 2px; }
.phone-mockup__btn--vol2 { left: -2px; top: 24%; width: 2px; height: 32px; border-radius: 2px; }
.phone-mockup__screen {
  position: absolute;
  inset: 6px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(160deg, #f7ded0, #ffe9db 60%);
}
.phone-mockup__screen iframe { width: 100%; height: 100%; border: none; }

/* ============ VENTAJAS — IMAGEN 1:1 + TABLA 50/50 ============ */
.compare-hero-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 380px;
  margin: 24px auto;
  background: var(--bg-alt);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.compare-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.compare-table {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
}
.compare-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-table__row:not(:last-child) { border-bottom: 1px solid var(--border); }
.compare-table__row--head { background: var(--bg-alt); }
.compare-table__row--head .compare-table__cell {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ink-soft);
  justify-content: center;
}
@media (min-width: 480px) {
  .compare-table__row--head .compare-table__cell { font-size: 0.95rem; }
}
.compare-table__row--head .compare-table__cell--featured { color: var(--accent-dark); }
.compare-table__cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  font-size: 0.72rem;
  color: var(--ink);
}
@media (min-width: 480px) {
  .compare-table__cell { padding: 16px; font-size: 0.88rem; gap: 10px; }
}
.compare-table__cell--featured { background: var(--bg-warm); border-left: 1px solid var(--border); }
.compare-table__icon { flex-shrink: 0; font-weight: 700; }
.compare-table__icon--bad { color: var(--ink); opacity: 0.35; }
.compare-table__icon--good { color: var(--accent); }

/* ============ CARRUSEL (genérico: productos y testimonios) ============ */
.carousel { position: relative; margin-top: 8px; }
.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 20px 8px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 560px) {
  .carousel__track { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 900px) {
  .carousel__track {
    max-width: var(--container);
    margin: 0 auto;
    overflow: visible;
    flex-wrap: wrap;
    scroll-snap-type: none;
  }
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
@media (min-width: 900px) {
  .carousel__dots { display: none; }
}
.carousel__dots button {
  width: 8px; height: 8px;
  border-radius: 2px;
  border: none;
  background: var(--border);
  padding: 0;
  cursor: pointer;
}
.carousel__dots button.is-active { background: var(--accent); width: 20px; }

.carousel-card {
  flex: 0 0 72%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) {
  .carousel-card { flex-basis: 55%; }
}
@media (min-width: 640px) {
  .carousel-card { flex-basis: 40%; }
}
@media (min-width: 900px) {
  .carousel-card { flex: 0 0 calc(25% - 15px); }
}
.carousel-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin: 0;
  overflow: hidden;
}
.carousel-card__media--alt { background: var(--bg-alt); color: var(--ink); }
.carousel-card__media svg { width: 38%; height: 38%; }
.carousel-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-card h3 { margin: 14px 16px 4px; }
.carousel-card p { font-size: 0.9rem; margin: 0 16px 16px; }
.mold-gallery__note {
  margin-top: 24px;
  font-size: 0.85rem;
  font-style: italic;
}

/* ============ BONOS ============ */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}
@media (min-width: 640px) {
  .bonus-grid { grid-template-columns: repeat(3, 1fr); }
}
.bonus-card {
  position: relative;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 26px 22px;
}
.bonus-card__ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--r-sm);
}
.bonus-card__cover {
  width: auto;
  height: 260px;
  max-width: 100%;
  margin: 0 auto 14px;
  filter: drop-shadow(0 8px 14px rgba(43, 38, 32, 0.18));
}
.bonus-card p { font-size: 0.9rem; margin-bottom: 12px; }
.bonus-card__value {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

/* ============ ÁREA DE MIEMBROS ============ */
.members-preview {
  max-width: 480px;
  margin: 32px auto 0;
}
.members-preview__frame {
  aspect-ratio: 16 / 10;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}
.members-preview__frame svg { width: 22%; height: 22%; }
.members-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}
.members-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.members-list__icon { flex-shrink: 0; color: var(--success); font-weight: 700; }

/* ============ TESTIMONIOS ============ */
.testimonial-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) {
  .testimonial-card { flex-basis: 60%; }
}
@media (min-width: 640px) {
  .testimonial-card { flex-basis: 42%; }
}
@media (min-width: 900px) {
  .testimonial-card { flex: 0 0 calc(33.333% - 16px); }
}
.testimonial-card__stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.testimonial-card__media svg { width: 30%; height: 30%; }
.testimonial-card__quote { color: var(--ink); font-size: 0.95rem; margin-bottom: 16px; }
.testimonial-card__name { font-size: 0.85rem; color: var(--ink-soft); }

/* capturas reales de WhatsApp: la propia imagen es la tarjeta, sin relleno de texto */
.carousel--testimonials .carousel__track { align-items: flex-start; }
.testimonial-card.testimonial-card--whatsapp {
  padding: 0;
  overflow: hidden;
  background: #0b141a;
  line-height: 0;
}
.testimonial-card--whatsapp img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ COUNTDOWN DE OFERTA ============ */
.countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  margin: 28px auto 0;
  padding: 16px 20px;
  background: var(--bg-warm);
  border: 1px solid var(--accent-soft);
  border-radius: var(--r-md);
  text-align: center;
}
.countdown__label { font-size: 0.85rem; font-weight: 600; color: var(--accent-dark); }
.countdown__timer { display: flex; align-items: center; gap: 6px; }
.countdown__unit {
  display: flex;
  align-items: baseline;
  gap: 3px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  padding: 6px 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  min-width: 52px;
  justify-content: center;
}
.countdown__unit small { font-size: 0.65rem; font-weight: 500; opacity: 0.7; }
.countdown__sep { font-weight: 700; color: var(--ink-soft); }

/* ============ PRECIOS ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}
@media (min-width: 720px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) {
  .price-card { padding: 36px 32px; }
}
.price-card--featured {
  border: 2px solid var(--accent);
  background: var(--bg-warm);
  box-shadow: var(--shadow-md);
  order: -1;
}
@media (min-width: 720px) {
  .price-card--featured { order: 0; }
}
.price-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.price-card__badge svg { width: 22px; height: 22px; }
.price-card__flag {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 6px 16px;
  border-radius: var(--r-sm);
}
.price-card__desc { font-size: 0.9rem; margin-bottom: 20px; min-height: 42px; }
.price-card__value {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 9vw, 2.8rem);
  margin-bottom: 24px;
  color: var(--ink);
}
.price-card__old {
  font-size: 1.3rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  font-weight: 500;
}
.price-card__currency { font-size: 1.3rem; vertical-align: top; margin-right: 2px; }
.price-card__cents { font-size: 1.5rem; }
.price-card__list {
  list-style: none;
  margin-bottom: 28px;
}
.price-card__list li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--ink);
}
.price-card__list li::before { content: '✓ '; color: var(--ink); font-weight: 700; }

/* ============ EL EXPERTO ============ */
.experto__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .experto__inner { flex-direction: row; text-align: left; max-width: 900px; gap: 40px; }
}
.experto__photo {
  flex-shrink: 0;
  width: 400px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  background: var(--bg-alt);
  overflow: hidden;
}
@media (min-width: 720px) {
  .experto__photo { width: 550px; }
}
.experto__photo img { width: 100%; height: 100%; object-fit: cover; }
.experto__text .eyebrow { margin-bottom: 10px; }
.experto__text p { margin-top: 12px; }

/* ============ GARANTÍA ============ */
.guarantee-section__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.guarantee-section__seal {
  display: block;
  width: 275px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
}
.guarantee-section__inner p { margin-top: 12px; }

/* ============ FAQ ============ */
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item__q::after {
  content: '+';
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.2rem;
  transition: transform 0.15s ease;
}
.faq-item.is-open .faq-item__q::after { transform: rotate(45deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
}
.faq-item.is-open .faq-item__a { max-height: 320px; }
.faq-item__a p { padding: 0 22px 22px; font-size: 0.95rem; }

/* ============ FOOTER ============ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}
.footer__inner { text-align: center; }
.footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 16px 0;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-decoration: underline;
}
.footer__links a:hover { color: var(--accent-dark); }
.footer__copy { font-size: 0.82rem; color: var(--ink-soft); }
.footer__disclaimer {
  font-size: 0.72rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 12px auto 0;
  opacity: 0.8;
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ AJUSTES FINOS DE VIEWPORTS MUY PEQUEÑOS ============ */
@media (max-width: 359px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
}
