/* =============================================
   TODA LA BIBLIA DE FORMA SENCILLA — style.css
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --brown:   #7C6148;
  --brown-h: #916D50;
  --green:   #4A5E52;
  --sage:    #6B9E92;
  --dark:    #2D2A24;
  --muted:   #78716C;
  --cream:   #FDFAF5;
  --cream2:  #F4EFE6;
  --cream3:  #EEF4F1;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 0.95rem; }

/* ---- LAYOUT HELPERS ---- */
.container   { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }
.container-md{ max-width: 900px;  margin: 0 auto; padding: 0 1.5rem; }
.container-sm{ max-width: 720px;  margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 4rem 1.5rem; }
.divider     { width: 100%; height: 1px; background: #e5e7eb; }

/* ---- ANNOUNCEMENT BAR ---- */
.announce-bar {
  background: var(--brown);
  color: #fff;
  text-align: center;
  padding: .7rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
}

/* ---- TICKER ---- */
.ticker-wrap {
  background: var(--green);
  color: #fff;
  overflow: hidden;
  padding: .5rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span {
  font-size: .75rem;
  padding: 0 2.5rem;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- STARS ---- */
.stars { display: flex; gap: 2px; }
.star  { font-size: 1rem; color: #FBBF24; }

/* ---- HERO ---- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1152px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
}

.hero-main-img {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}
.hero-main-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: opacity .3s;
}

.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.hero-thumb {
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: border-color .2s;
  background: none;
  padding: 0;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-thumb:hover { border-color: var(--sage); }
.hero-thumb.active { border-color: var(--brown); box-shadow: 0 0 0 2px var(--brown); }

.hero-info { position: sticky; top: 2rem; }

.hero-reviews { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.hero-reviews span { font-size: .85rem; font-weight: 600; }

.hero-price {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.price-main { font-size: 2rem; font-weight: 800; color: var(--brown); }
.price-old  { font-size: 1.1rem; color: #9ca3af; text-decoration: line-through; }
.price-badge {
  background: var(--brown);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .6rem;
  border-radius: 4px;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 1rem;
}

.checklist { list-style: none; margin-bottom: 1.5rem; }
.checklist li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  margin-bottom: .5rem;
}
.check-icon { color: var(--sage); font-size: 1rem; flex-shrink: 0; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: block;
  width: 100%;
  background: var(--brown);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s;
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover { background: var(--brown-h); }
.btn-secondary {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .05em;
  padding: .75rem 2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--brown-h); }
.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--brown);
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.btn-white:hover { background: #f3f4f6; }

.small-note {
  text-align: center;
  font-size: .72rem;
  color: #9ca3af;
  margin-top: .5rem;
}

/* ---- TRUST ICONS GRID ---- */
.trust-mini {
  border-top: 1px solid #f3f4f6;
  padding-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.trust-mini-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--muted);
}
.trust-mini-item svg { color: var(--sage); flex-shrink: 0; }

/* ---- SOCIAL PROOF STRIP ---- */
.social-strip {
  background: var(--cream2);
  padding: 2rem 1.5rem;
}
.social-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.social-stat { text-align: center; }
.social-stat-num { font-size: 1.6rem; font-weight: 800; color: var(--brown); }
.social-stat-label { font-size: .72rem; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ---- SECTION HEADERS ---- */
.section-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sage);
  margin-bottom: .5rem;
}
.section-title { color: var(--dark); margin-bottom: .75rem; }
.section-sub   { font-size: .9rem; color: var(--muted); }

/* ---- CARDS GRID ---- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards-grid-3 { grid-template-columns: 1fr; } }

.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.25rem;
  transition: border-color .2s, box-shadow .2s;
}
.feature-card:hover { border-color: var(--sage); box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.feature-card .icon { font-size: 1.5rem; margin-bottom: .75rem; display: block; }
.feature-card h3    { font-size: .85rem; font-weight: 700; margin-bottom: .3rem; }
.feature-card p     { font-size: .75rem; color: var(--muted); }

/* ---- GALLERY GRID ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: box-shadow .3s;
}
.gallery-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .5s;
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(74,94,82,.82);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  text-align: center;
  padding: .4rem;
}

/* ---- PROBLEM CARDS ---- */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) { .problem-grid { grid-template-columns: 1fr; } }

.problem-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: border-color .2s;
}
.problem-card:hover { border-color: rgba(124,97,72,.3); }
.problem-emoji { font-size: 1.75rem; flex-shrink: 0; }
.problem-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.problem-card p  { font-size: .82rem; color: var(--muted); }

.quote-box {
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ---- BENEFITS SECTION ---- */
.benefits-section {
  background: var(--sage);
  padding: 4rem 1.5rem;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  padding: 1.25rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.benefit-card p { color: #fff; font-size: .85rem; }

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }

.step-num {
  width: 3.5rem; height: 3.5rem;
  background: var(--brown);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  margin: 0 auto 1rem;
}
.step-title { font-weight: 700; font-size: .9rem; margin-bottom: .4rem; }
.step-desc  { font-size: .82rem; color: var(--muted); }

.callout-box {
  margin-top: 3rem;
  background: var(--cream2);
  border-left: 4px solid var(--sage);
  border-radius: 0 6px 6px 0;
  padding: 1.5rem;
  font-size: .95rem;
  font-weight: 600;
  font-style: italic;
}

/* ---- BONUS SECTION ---- */
.bonus-section {
  background: var(--cream3);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 4rem 1.5rem;
}
.bonus-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 768px) { .bonus-inner { flex-direction: column; } }

.bonus-badge {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.bonus-img-wrap {
  position: relative;
  flex-shrink: 0;
  transform: rotate(2deg);
}
.bonus-img-wrap img {
  width: 16rem;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
  border: 1px solid #e5e7eb;
}
.bonus-free-tag {
  position: absolute;
  top: -.75rem;
  right: -.75rem;
  background: var(--brown);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 1.5rem;
  transition: box-shadow .2s;
}
.testimonial-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.testimonial-text {
  font-size: .85rem;
  color: var(--dark);
  font-style: italic;
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: .75rem;
  border-top: 1px solid #f3f4f6;
  padding-top: 1rem;
}
.testimonial-avatar {
  width: 2.25rem; height: 2.25rem;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial-name     { font-size: .82rem; font-weight: 700; }
.testimonial-location { font-size: .72rem; color: var(--muted); }
.verified-badge {
  margin-left: auto;
  background: #f0fdf4;
  color: #16a34a;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 4px;
}

/* ---- FOR WHOM ---- */
.for-whom-section {
  background: var(--green);
  padding: 4rem 1.5rem;
}
.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .for-whom-grid { grid-template-columns: 1fr; } }
.for-whom-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
}

/* ---- OFFER BOX ---- */
.offer-box {
  border: 2px solid var(--brown);
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.offer-product-name { font-weight: 700; font-size: 1.05rem; margin-bottom: .3rem; }
.offer-product-sub  { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.offer-price-wrap   { display: flex; align-items: flex-end; justify-content: center; gap: .75rem; margin-bottom: 1.5rem; }
.offer-price-main   { font-size: 2.5rem; font-weight: 800; color: var(--brown); }
.offer-price-old    { font-size: 1.25rem; color: #9ca3af; text-decoration: line-through; margin-bottom: .2rem; }

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--cream2);
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 2.5rem 1.5rem;
}
.trust-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.trust-item svg { color: var(--sage); }

/* ---- FAQ ---- */
.faq-list { list-style: none; border-top: 1px solid #e5e7eb; }
.faq-item  { border-bottom: 1px solid #e5e7eb; }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: color .2s;
}
.faq-btn:hover { color: var(--brown); }
.faq-arrow {
  flex-shrink: 0;
  transition: transform .3s;
  font-size: .8rem;
  color: var(--muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  display: none;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-answer { display: block; }

/* ---- FINAL CTA ---- */
.final-cta {
  background: var(--brown);
  padding: 4rem 1.5rem;
  text-align: center;
}
.final-cta h2    { color: #fff; margin-bottom: 1rem; }
.final-cta p     { color: rgba(255,255,255,.8); font-size: .9rem; max-width: 38rem; margin: 0 auto 2rem; }
.final-cta .note { color: rgba(255,255,255,.5); font-size: .72rem; margin-top: 1rem; }

/* ---- FOOTER ---- */
footer {
  background: var(--green);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-copy  { color: rgba(255,255,255,.5); font-size: .75rem; }
.footer-legal { color: rgba(255,255,255,.3); font-size: .72rem; margin-top: .3rem; }

/* ---- SCROLL ANIMATION ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE HELPERS ---- */
@media (max-width: 768px) {
  .section { padding: 3rem 1.25rem; }
}
