:root {
  --bg: #fff8f3;
  --bg-alt: #fdeee4;
  --card: #ffffff;
  --text: #2b1d16;
  --muted: #7a6358;
  --line: #f0dcd0;
  --primary: #e8513a;
  --primary-2: #f5873d;
  --primary-soft: #ffe7dc;
  --gold: #e7a93b;
  --ok: #2f9e6b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(120, 50, 20, 0.10);
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 10px;
}
.section-title { font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #fff; text-decoration: none; font-weight: 700; font-size: 18px;
  padding: 16px 32px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 81, 58, .30);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 81, 58, .38); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent; color: var(--text); box-shadow: none;
  border: 1.5px solid var(--line); font-weight: 600;
}
.btn-ghost:hover { box-shadow: none; background: #fff; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 243, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-title); font-weight: 700; font-size: 22px; text-decoration: none; }
.logo span { color: var(--primary); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav .btn { font-size: 15px; padding: 10px 20px; color: #fff; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 56px 0 72px; text-align: center; }
.hero h1 { font-size: clamp(36px, 7vw, 64px); margin: 12px auto 18px; max-width: 900px; }
.hero h1 em { color: var(--primary); font-style: italic; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.hero-badges span { display: inline-flex; gap: 6px; align-items: center; }
.pill {
  display: inline-block; background: var(--primary-soft); color: var(--primary);
  font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px;
}

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-weight: 800; margin-bottom: 14px;
}

/* Samples */
.sample { display: flex; flex-direction: column; gap: 12px; }
.sample-top { display: flex; gap: 14px; align-items: center; }
.sample-cover {
  width: 64px; height: 64px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 30px; background: linear-gradient(135deg, var(--primary-soft), #ffd9a8);
}
.sample h3 { font-size: 19px; margin: 0; }
.sample small { color: var(--muted); }
.sample blockquote { font-style: italic; color: var(--muted); font-size: 15px; border-left: 3px solid var(--primary-soft); padding-left: 12px; }
audio { width: 100%; height: 40px; }

/* Occasions */
.occasion {
  text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; transition: transform .15s, box-shadow .15s;
}
.occasion:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.occasion .emoji { font-size: 34px; }
.occasion strong { display: block; margin-top: 6px; font-size: 17px; }
.occasion small { color: var(--muted); }

/* Pricing */
.price-card { position: relative; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { border: 2px solid var(--primary); }
.price-card .tag {
  position: absolute; top: -13px; left: 24px; background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em;
}
.price { font-size: 42px; font-weight: 800; font-family: var(--font-body); }
.price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-old { text-decoration: line-through; color: var(--muted); font-size: 18px; margin-left: 6px; }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* Guarantee */
.guarantee {
  display: flex; gap: 22px; align-items: center; background: #fff; border: 2px dashed var(--gold);
  border-radius: var(--radius); padding: 28px; max-width: 780px; margin: 0 auto;
}
.guarantee .seal { font-size: 56px; }
@media (max-width: 600px) { .guarantee { flex-direction: column; text-align: center; } }

/* Testimonials */
.testimonial .stars { color: var(--gold); letter-spacing: 2px; }
.testimonial p { color: var(--text); margin: 10px 0; }
.testimonial small { color: var(--muted); }

/* FAQ */
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px;
}
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, #3a1f16, #6b2d1d); color: #fff; text-align: center; border-radius: 28px;
  padding: 56px 24px;
}
.final-cta p { color: #f3d9cc; max-width: 560px; margin: 12px auto 28px; }

/* Footer */
.site-footer { padding: 40px 0 90px; color: var(--muted); font-size: 14px; text-align: center; }
.site-footer a { margin: 0 8px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Sticky mobile CTA */
.mobile-cta {
  display: none; position: fixed; left: 12px; right: 84px; bottom: 18px; z-index: 55;
}
@media (max-width: 760px) { .mobile-cta { display: block; } .mobile-cta .btn { width: 100%; padding: 16px; font-size: 16px; } }

/* ============ QUIZ ============ */
.quiz-page { min-height: 100vh; display: flex; flex-direction: column; }
.quiz-wrap { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 24px 16px 60px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 28px; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary-2), var(--primary)); transition: width .35s ease; }

.step { display: none; animation: fade .3s ease; }
.step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(26px, 5vw, 34px); margin-bottom: 6px; }
.step .hint { color: var(--muted); margin-bottom: 22px; }
.field { margin-bottom: 22px; }
.field > label, .field-label { display: block; font-weight: 600; margin-bottom: 8px; }
.field small.help { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.optional { font-weight: 500; color: var(--muted); font-size: 13px; }

input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.phone-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-size: 15px; background: #fff; border: 1.5px solid var(--line); color: var(--text);
  padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: all .15s; user-select: none;
}
.chip:hover { border-color: var(--primary-2); }
.chip.selected { background: linear-gradient(135deg, var(--primary-2), var(--primary)); color: #fff; border-color: transparent; }
.chip-counter { font-size: 13px; color: var(--muted); margin-top: 8px; }

.big-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.big-option {
  font: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 12px;
  cursor: pointer; text-align: center; transition: all .15s; color: var(--text);
}
.big-option .emoji { font-size: 28px; display: block; }
.big-option span.lbl { font-weight: 600; font-size: 15px; }
.big-option small { display: block; color: var(--muted); font-size: 12px; }
.big-option.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px var(--primary-soft); }

.memory-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; transition: border-color .15s;
}
.memory-card.open { border-color: var(--primary); }
.memory-head {
  width: 100%; font: inherit; background: none; border: 0; padding: 14px 16px; display: flex; gap: 12px;
  align-items: center; cursor: pointer; text-align: left; color: var(--text); font-weight: 600;
}
.memory-head .emoji { font-size: 22px; }
.memory-head .check { margin-left: auto; color: var(--ok); font-weight: 800; visibility: hidden; }
.memory-card.filled .check { visibility: visible; }
.memory-body { display: none; padding: 0 16px 16px; }
.memory-card.open .memory-body { display: block; }
.memory-body textarea { min-height: 90px; }

.plan-options { display: grid; gap: 12px; }
.plan-option {
  display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1.5px solid var(--line);
  border-radius: 16px; padding: 16px; cursor: pointer; transition: all .15s;
}
.plan-option.selected { border-color: var(--primary); background: var(--primary-soft); }
.plan-option input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.plan-option .plan-info { flex: 1; }
.plan-option .plan-info strong { display: block; }
.plan-option .plan-info small { color: var(--muted); }
.plan-option .plan-price { font-weight: 800; white-space: nowrap; }
.badge-mini { background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: middle; }

.error-msg {
  display: none; background: #fff4e5; border: 1px solid #f5d29a; color: #8a5a00; border-radius: 12px;
  padding: 12px 14px; font-size: 14px; margin-bottom: 16px;
}
.error-msg.show { display: block; }

.quiz-nav { display: flex; gap: 12px; margin-top: 10px; }
.quiz-nav .btn-ghost { flex: 0 0 auto; }
.quiz-nav .btn:not(.btn-ghost) { flex: 1; }

.interstitial { text-align: center; padding: 20px 0; }
.interstitial .big-emoji { font-size: 56px; }
.interstitial ul { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.summary dl { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { word-break: break-word; }
.total-row { display: flex; justify-content: space-between; align-items: center; font-size: 20px; font-weight: 800; padding: 14px 0; border-top: 1px dashed var(--line); margin-top: 14px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.edit-link { background: none; border: 0; color: var(--primary); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.checkbox-row input { accent-color: var(--primary); width: 18px; height: 18px; margin-top: 3px; }

/* Campaign countdown bar */
.campaign-bar {
  background: linear-gradient(90deg, #6b2d1d, #a8402a); color: #fff; text-align: center;
  font-size: 14px; padding: 9px 16px; line-height: 1.4;
}
.campaign-bar span { color: #f7d9cb; }
@media (max-width: 600px) { .campaign-bar span { display: block; } }

/* Header en celular: logo en una línea, el CTA ya está fijo abajo */
.logo { white-space: nowrap; }
@media (max-width: 760px) {
  .nav .btn { display: none; }
  .site-header .container { height: 56px; }
}
