/* =============================================================
   AÚN ERES ÚTIL — hoja de estilos única
   Archetype: Editorial Light Cream, adaptado a marca verde/negro/blanco
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:         #F7F4EA;   /* crema cálido */
  --bg-2:       #ECE5D3;   /* arena */
  --paper:      #FFFFFF;
  --ink:        #16160F;   /* negro cálido — texto */
  --ink-strong: #000000;   /* negro puro de marca — titulares / nav */
  --ink-mute:   #6B6A60;
  --accent:     #5D9632;   /* verde de marca */
  --accent-dark:#3F6B21;
  --accent-soft:#E8F0DD;
  --gold:       #C99A3B;   /* acento cálido complementario — estrellas / ribbons */
  --line:       rgba(20,20,15,0.14);
  --shadow:     0 20px 50px -20px rgba(20,20,15,0.28);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.01em; font-family: var(--serif); }
em { font-style: italic; color: var(--accent-dark); }
::selection { background: var(--accent); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink-strong); color: var(--paper);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: .9rem;
}
.kicker::before { content: "✿"; color: var(--accent); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--ink-mute); font-size: 1.05rem; margin-top: .9rem; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  font-weight: 700; font-size: .98rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--paper);
  box-shadow: 0 14px 30px -12px rgba(93,150,50,.55);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(63,107,33,.5); }
.btn-dark { background: var(--ink-strong); color: var(--paper); }
.btn-dark:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-strong); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-strong); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* =============================================================
   5. Top urgency bar
   ============================================================= */
.topbar {
  background: var(--ink-strong); color: var(--bg);
  font-size: .82rem; font-weight: 600;
  padding: .55rem 1rem;
  display: flex; align-items: center; justify-content: center;
  gap: .6rem .9rem; flex-wrap: wrap; text-align: center;
}
.topbar .dot { color: var(--accent); }
.topbar strong { color: var(--accent); font-weight: 800; }
.topbar .timer { font-variant-numeric: tabular-nums; color: var(--paper); background: rgba(255,255,255,.1); padding: .1rem .55rem; border-radius: 6px; }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,244,234,.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--bg); } }
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(20,20,15,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.nav-brand { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink-strong); }
.nav-brand em { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); flex-wrap: wrap; }
.nav-links a:not(.btn) {
  font-size: .92rem; font-weight: 600; color: var(--ink);
  position: relative; padding-block: .2rem;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .3s var(--ease-out);
}
.nav-links a:not(.btn):hover::after { right: 0; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow: visible; }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero-copy { text-align: left; }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: .98;
  max-width: 14ch;
}
.hero-title .thin { display: block; font-weight: 400; font-size: .38em; letter-spacing: .02em; margin-top: .5rem; color: var(--ink); font-family: var(--sans); font-weight: 600; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-mute); margin-top: 1.2rem; max-width: 46ch; }
.hero-pitch { margin-top: 1rem; max-width: 48ch; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-trust { display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; font-size: .85rem; color: var(--ink-mute); }
.hero-trust .stars { color: var(--gold); letter-spacing: 1px; }
.hero-digital-note { margin-top: .6rem; font-size: .85rem; color: var(--accent-dark); font-weight: 600; }

.hero-visual { position: relative; }
.hero-visual figure {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .float-card {
  position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
  background: var(--paper); border-radius: 16px; padding: .8rem 1.1rem .8rem .8rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem;
  max-width: 260px;
}
.hero-visual .float-card-cover { width: 44px; height: auto; border-radius: 6px; flex-shrink: 0; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.hero-visual .float-card p { font-size: .8rem; color: var(--ink-mute); line-height: 1.3; }
.hero-visual .float-card p strong { color: var(--accent-dark); font-family: var(--serif); }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

/* =============================================================
   8. Single offer
   ============================================================= */
.offers { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.offer-single {
  background: linear-gradient(180deg, var(--accent-soft), var(--paper) 45%);
  border: 2px solid var(--accent); border-radius: 24px;
  padding: clamp(1.8rem, 4vw, 3rem); position: relative;
  box-shadow: var(--shadow);
}
.offer-single .product-grid { align-items: center; }
.offer-single .product-figure img { box-shadow: none; aspect-ratio: auto; object-fit: contain; }

.offer-ribbon {
  position: absolute; top: -.9rem; left: 50%; translate: -50% 0;
  background: var(--accent); color: var(--paper); font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: .5rem 1.2rem; border-radius: 100px;
  white-space: nowrap; box-shadow: 0 8px 18px -8px rgba(93,150,50,.6);
}

.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: clamp(2.2rem, 5vw, 3rem); justify-content: center; }
.trust-chip { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-mute); }
.trust-chip .ic { color: var(--accent); }

/* =============================================================
   9. Trust badges band
   ============================================================= */
.badges { background: var(--ink-strong); color: var(--bg); }
.badges-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 720px) { .badges-grid { grid-template-columns: repeat(3, 1fr); } }
.badge-item .glyph { font-size: 1.9rem; color: var(--accent); margin-bottom: .7rem; display: block; }
.badge-item h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--paper); margin-bottom: .3rem; }
.badge-item p { font-size: .88rem; color: rgba(247,244,234,.65); max-width: 30ch; margin-inline: auto; }

/* =============================================================
   10. Testimonials
   ============================================================= */
.testimonials-grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.testimonial-quote { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.testimonial-meta { font-size: .82rem; color: var(--ink-mute); display: flex; flex-direction: column; gap: .1rem; }
.testimonial-meta strong { color: var(--ink); font-weight: 700; }
.testimonial-meta .placeholder-tag {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-dark); background: var(--accent-soft); padding: .15rem .5rem; border-radius: 100px;
  width: fit-content; margin-top: .3rem;
}

/* =============================================================
   11. Stat band
   ============================================================= */
.stat-band {
  background: var(--accent-soft);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.stat-band-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; text-align: center; }
.stat-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); border: 3px solid var(--paper); }
.stat-number { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); color: var(--accent-dark); font-weight: 700; line-height: 1; }
.stat-label { margin-top: .5rem; font-weight: 600; color: var(--ink); }
.stat-jp { margin-top: 1rem; font-family: var(--serif); font-style: italic; color: var(--ink-mute); font-size: 1rem; }
@media (min-width: 720px) { .stat-band-inner { flex-direction: row; text-align: left; justify-content: center; } }

/* =============================================================
   12. Author note
   ============================================================= */
.author-section .container { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .author-section .container { grid-template-columns: .85fr 1.15fr; } }
.authority-section { background: var(--bg-2); }
.authority-section .author-figure img { aspect-ratio: 16/10; }
.author-body-solo { color: var(--ink-mute); max-width: 58ch; font-size: 1.02rem; }
.author-figure { position: relative; }
.author-figure img { border-radius: 22px; width: 100%; aspect-ratio: 3/4; object-fit: cover; box-shadow: var(--shadow); }
.author-figure figcaption {
  position: absolute; bottom: -1rem; right: -.8rem; background: var(--ink-strong); color: var(--paper);
  padding: .7rem 1.1rem; border-radius: 14px; font-family: var(--serif); font-style: italic; font-size: .95rem;
  box-shadow: var(--shadow);
}
.author-copy .kicker { justify-content: flex-start; }
.author-quote { font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; margin-bottom: 1.3rem; }
.author-body p { color: var(--ink-mute); margin-bottom: 1rem; max-width: 58ch; }
.author-sign { margin-top: 1.4rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-strong); }
.author-role { font-size: .85rem; color: var(--ink-mute); margin-top: .2rem; }
.author-credentials { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.3rem; }
.author-credentials span { font-size: .82rem; color: var(--ink-mute); display: flex; align-items: center; gap: .4rem; }
.author-credentials span::before { content: "✓"; color: var(--accent); font-weight: 700; }
.author-bio-box {
  margin-top: 1.6rem; padding: 1.3rem 1.5rem; background: var(--bg-2);
  border-left: 3px solid var(--accent); border-radius: 4px 14px 14px 4px; max-width: 58ch;
}
.author-bio-kicker { font-weight: 700; color: var(--ink-strong); margin-bottom: .5rem; font-size: .98rem; }
.author-bio-box p:not(.author-bio-kicker) { color: var(--ink-mute); font-size: .92rem; line-height: 1.55; }

/* =============================================================
   13. Product detail sections
   ============================================================= */
.product-section { background: var(--paper); }
.product-section:nth-of-type(even) { background: var(--bg); }
.product-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .product-grid { grid-template-columns: 1fr 1fr; } }
.product-grid.is-reverse .product-figure { order: 2; }
@media (min-width: 960px) { .product-grid.is-reverse .product-copy { order: 1; } .product-grid.is-reverse .product-figure { order: 2; } }
.product-figure img { border-radius: 20px; width: 100%; object-fit: cover; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.product-eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .8rem; }
.product-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.product-copy p.lead { color: var(--ink-mute); font-size: 1.05rem; margin-bottom: 1.3rem; max-width: 52ch; }
.feature-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.6rem; }
.feature-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.feature-list .ic { color: var(--accent); font-weight: 800; flex-shrink: 0; margin-top: .1rem; }
.product-price-block { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.product-price-block .price { font-family: var(--serif); font-size: 2.3rem; font-weight: 700; color: var(--ink-strong); }
.product-price-block .price-old { font-size: 1.15rem; color: var(--ink-mute); text-decoration: line-through; }
.product-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.2rem; font-size: .82rem; color: var(--ink-mute); }
.product-meta span { display: flex; align-items: center; gap: .4rem; }

/* =============================================================
   15. FAQ (native <details>, works without JS)
   ============================================================= */
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: .3rem 1.3rem;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding-block: 1.1rem;
  font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .3s var(--ease-out), border-color .3s var(--ease-out); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: var(--ink-strong); transition: transform .3s var(--ease-out); }
.faq-item summary .plus::before { top: 50%; left: 26%; right: 26%; height: 2px; translate: 0 -50%; }
.faq-item summary .plus::after { left: 50%; top: 26%; bottom: 26%; width: 2px; translate: -50% 0; }
.faq-item[open] summary .plus { border-color: var(--accent); }
.faq-item[open] summary .plus::after { transform: rotate(90deg) scaleX(0); }
.faq-item p { padding-bottom: 1.2rem; color: var(--ink-mute); max-width: 62ch; }

/* =============================================================
   16. Final CTA
   ============================================================= */
.final-cta { background: var(--ink-strong); color: var(--bg); padding-block: clamp(3rem, 6vw, 5rem); }
.final-cta-split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 960px) { .final-cta-split { grid-template-columns: 1.2fr .8fr; } }
.final-cta-copy .kicker { color: var(--gold); }
.final-cta-copy h2 { color: var(--paper); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.final-cta-copy p { color: rgba(247,244,234,.75); font-size: 1.08rem; margin-bottom: 2rem; max-width: 46ch; }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.final-cta-figure img { width: 100%; max-width: 280px; margin-inline: auto; border-radius: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
@media (max-width: 959px) { .final-cta-copy { text-align: center; } .final-cta-actions { justify-content: center; } .final-cta-copy p { margin-inline: auto; } }

/* =============================================================
   17. Footer
   ============================================================= */
.footer { background: var(--bg-2); padding-block: 2.5rem 2rem; }
.footer-inner { display: flex; flex-direction: column; gap: 1.4rem; align-items: center; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-strong); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; font-size: .85rem; color: var(--ink-mute); }
.footer-fine { font-size: .78rem; color: var(--ink-mute); max-width: 60ch; }
.footer-copy { font-size: .8rem; color: var(--ink-mute); }

/* =============================================================
   18. Toast (checkout placeholder notice)
   ============================================================= */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; translate: -50% 20px;
  background: var(--ink-strong); color: var(--paper); padding: .9rem 1.4rem; border-radius: 100px;
  font-size: .88rem; font-weight: 600; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease-out), translate .35s var(--ease-out);
  z-index: 999; max-width: 90vw; text-align: center;
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* =============================================================
   19. Responsive tweaks
   ============================================================= */
@media (max-width: 719px) {
  .hero-visual .float-card { position: static; margin-top: 1rem; max-width: none; }
  .author-figure figcaption { position: static; margin-top: .8rem; display: inline-block; }
}

/* =============================================================
   20. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01s; }
}
