:root {
  --background: #fdfdfb;
  --foreground: #253027;
  --card: #ffffff;
  --primary: #3f9c6d;
  --primary-hover: #35855d;
  --muted: #6b7a70;
  --gold: #e0b562;
  --gold-soft: #f2ddb4;
  --beige: #f7f2e8;
  --border: #e7e2d8;
  --radius: 0.875rem;
  --shadow-soft: 0 2px 10px -4px rgba(40, 50, 42, 0.18);
  --shadow-card: 0 18px 40px -18px rgba(40, 50, 42, 0.32);
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.55;
  padding-top: 46px;
  padding-bottom: 72px;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
strong { color: var(--foreground); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.text-primary { color: var(--primary); }
.mt { margin-top: 1.25rem; }

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--foreground); color: var(--background);
  padding: 0.75rem 1rem; text-align: center;
  font-size: 0.8rem; font-weight: 600;
}

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 56rem; }
.section { padding: 5rem 1.25rem; }
.section-sm { padding: 4rem 1.25rem; }
.beige { background: rgba(247, 242, 232, 0.6); }

/* HERO */
.hero {
  background: linear-gradient(160deg, #fbf8f1 0%, #f6efe2 55%, #fdfdfb 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: 2.5rem;
  padding-top: 3rem; padding-bottom: 4rem;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
}
.badge {
  display: inline-block; border: 1px solid rgba(224, 181, 98, 0.45);
  background: rgba(242, 221, 180, 0.4); border-radius: 999px;
  padding: 0.35rem 1rem; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #5c6a5f;
}
h1 { margin-top: 1.25rem; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; }
.lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1.06rem; color: var(--muted); }
.pills {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem;
  border: 1px solid rgba(224, 181, 98, 0.35); background: rgba(242, 221, 180, 0.22);
  border-radius: 1rem; padding: 0.75rem 1rem; font-size: 0.85rem; font-weight: 600;
}
.cta-wrap { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.inline-list { margin-top: 1.5rem; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--muted); font-size: 0.9rem; }
.hero-img { position: relative; }
.cover { border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-card); }
.cover img { width: 100%; height: auto; object-fit: cover; }
.rating {
  position: absolute; left: 50%; bottom: -1.25rem; transform: translateX(-50%);
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 700; white-space: nowrap;
  box-shadow: var(--shadow-soft); color: #5c6a5f;
}

/* BOTONES */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.85rem 2rem; font-weight: 800; text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff; box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-cta.big { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-cta.small { padding: 0.6rem 1.1rem; font-size: 0.72rem; }
.fineprint { font-size: 0.75rem; color: var(--muted); }
.cta-block { margin-top: 3rem; text-align: center; }
.cta-block .fineprint { margin: 0.75rem auto 0; max-width: 28rem; }

/* SECCIONES */
.head { max-width: 40rem; margin: 0 auto; text-align: center; }
.eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--primary); }
.head h2 { margin-top: 0.75rem; font-size: clamp(1.6rem, 4vw, 2.25rem); }
.head p { margin-top: 1rem; color: var(--muted); }

.grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  border: 1px solid var(--border); background: var(--card); border-radius: 1rem;
  padding: 1.5rem; box-shadow: var(--shadow-soft); transition: transform 0.25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin-top: 1rem; font-size: 1.05rem; font-weight: 700; }
.card p { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.icon {
  width: 3rem; height: 3rem; display: grid; place-items: center; font-size: 1.3rem;
  border-radius: 0.85rem; background: rgba(63, 156, 109, 0.12);
}
.card.row { flex-direction: row; gap: 1rem; align-items: flex-start; }
.card.row h3 { margin-top: 0; }
.round { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; border-radius: 999px; background: var(--gold-soft); }

.photo { overflow: hidden; border: 1px solid var(--border); background: var(--card); border-radius: 1rem; box-shadow: var(--shadow-soft); }
.photo img { aspect-ratio: 1/1; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo img:hover { transform: scale(1.05); }
.more {
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
  border: 1px dashed rgba(224, 181, 98, 0.6); border-radius: 1rem; background: rgba(242, 221, 180, 0.2);
}
.more-num { font-size: 2rem; font-weight: 800; color: var(--primary); }
.more-txt { margin-top: 0.25rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* OFERTA */
.offer { border: 1px solid var(--border); background: var(--card); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-card); }
.offer h2 { margin-top: 1rem; font-size: clamp(1.5rem, 4vw, 2rem); }
.offer-grid { margin-top: 2rem; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 640px) { .offer-grid { grid-template-columns: 1fr 1fr; } }
.old-price { color: var(--muted); text-decoration: line-through; }
.price-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.25rem; }
.price { font-size: 3rem; font-weight: 800; color: var(--primary); }
.off { background: rgba(63, 156, 109, 0.12); color: var(--primary); font-size: 0.75rem; font-weight: 700; border-radius: 999px; padding: 0.25rem 0.6rem; }
.timer-box {
  margin-top: 1.5rem; display: inline-flex; gap: 0.5rem; font-weight: 700; font-size: 0.9rem;
  border: 1px solid rgba(224, 181, 98, 0.5); background: rgba(242, 221, 180, 0.28);
  border-radius: 0.85rem; padding: 0.75rem 1rem;
}
.check-list { margin-top: 2rem; list-style: none; display: grid; gap: 0.75rem; font-size: 0.92rem; }

/* TESTIMONIOS */
.stars { color: var(--gold); letter-spacing: 2px; }
blockquote { margin-top: 1rem; flex: 1; color: #384539; }
figcaption { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.88rem; font-weight: 600; }
figcaption img { width: 2.75rem; height: 2.75rem; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px rgba(63, 156, 109, 0.25); }

/* GARANTÍA */
.guarantee {
  display: grid; gap: 2rem; align-items: center; text-align: center;
  border: 1px solid var(--border); background: var(--card); border-radius: 1.5rem;
  padding: 2rem; box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .guarantee { grid-template-columns: auto 1fr; text-align: left; } }
.seal { width: 8rem; height: 8rem; margin: 0 auto; border-radius: 999px; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); }
.seal-inner { width: 7rem; height: 7rem; border-radius: 999px; background: var(--card); display: grid; place-items: center; text-align: center; font-size: 1.4rem; }
.seal-num { font-size: 1.1rem; font-weight: 800; }
.seal-txt { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.guarantee p { margin-top: 0.75rem; }

/* FAQ */
.faq { margin-top: 2.5rem; display: grid; gap: 0.75rem; }
details { border: 1px solid var(--border); background: var(--card); border-radius: 1rem; padding: 1.25rem; box-shadow: var(--shadow-soft); }
summary { cursor: pointer; list-style: none; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--primary); transition: transform 0.2s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { margin-top: 0.75rem; font-size: 0.9rem; color: var(--muted); }

footer { border-top: 1px solid var(--border); padding: 2.5rem 1.25rem; text-align: center; font-size: 0.75rem; color: var(--muted); }
.footer-links { margin-top: 0.75rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* NOTIFICACIÓN */
.notif {
  position: fixed; left: 1rem; bottom: 5.5rem; z-index: 40; max-width: 280px;
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.96);
  border-radius: 0.85rem; padding: 0.75rem; box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.notif.show { opacity: 1; transform: none; }
.notif-icon { width: 2rem; height: 2rem; flex: none; display: grid; place-items: center; border-radius: 999px; background: rgba(63, 156, 109, 0.15); }
.notif-msg { font-size: 0.76rem; font-weight: 600; }
.notif-time { margin-top: 0.15rem; font-size: 0.62rem; color: var(--muted); }
@media (min-width: 640px) { .notif { bottom: 1.5rem; left: 1.5rem; } }

/* STICKY BAR */
.stickybar {
  position: fixed; inset: auto 0 0 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  border-top: 1px solid var(--border); background: rgba(255, 255, 255, 0.96);
  padding: 0.75rem 1rem;
}
.sticky-timer { font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.sticky-timer span { color: var(--foreground); }
@media (min-width: 640px) { .stickybar { display: none; } body { padding-bottom: 0; } }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
