:root {
  --orange: #EA8F00;
  --orange-dark: #C77700;
  --cream: #F8F4EA;
  --cream-2: #F1EADA;
  --brown: #6B4A33;
  --brown-dark: #4A3222;
  --yellow: #F2B632;
  --ink: #4A3A2E;
  --radius: 18px;
  --maxw: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
h1, h2, h3 { color: var(--brown); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.h-hand, .title-hand, .sub-hand { font-family: "Gaegu", "Nunito", cursive; font-weight: 700; }
.h-hand { font-size: clamp(2rem, 5vw, 2.8rem); text-align: center; }
.center { text-align: center; }

/* Header */
.site-header {
  background: var(--orange);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(16px, 4vw, 40px);
  position: sticky; top: 0; z-index: 20;
}
.logo img { width: clamp(150px, 28vw, 230px); height: auto; }
.nav { display: flex; gap: clamp(12px, 3vw, 28px); }
.nav a {
  color: #fff; text-decoration: none; font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.nav a:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block; background: #B96A00; color: #fff;
  font-weight: 800; font-size: 1.1rem; text-decoration: none; text-align: center;
  padding: 16px 32px; border-radius: 999px; border: 0;
  box-shadow: 0 6px 0 #8A4E00, 0 10px 18px rgba(107, 74, 51, .2);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 #8A4E00, 0 8px 14px rgba(107, 74, 51, .2); }
.btn:active { transform: translateY(6px); box-shadow: 0 0 0 #8A4E00; }
.btn:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }
.btn-light { background: #fff; color: var(--orange-dark); box-shadow: 0 6px 0 rgba(0,0,0,.18); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 40px);
}
.swirl { position: absolute; top: 0; left: 0; width: 200px; fill: none; stroke: var(--yellow); stroke-width: 4; stroke-dasharray: 14 12; stroke-linecap: round; opacity: .8; pointer-events: none; }
.hero-text, .hero-img { position: relative; }
.eyebrow { color: var(--brown); font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6em; }
.hero h1 { display: flex; flex-direction: column; margin-bottom: .4em; }
.title-hand { font-size: clamp(3.6rem, 11vw, 6.2rem); letter-spacing: .02em; line-height: .95; }
.sub-hand { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.lead { font-size: 1.15rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 1.2em; }
.price-amount { font-size: 2rem; font-weight: 800; color: var(--brown); }
.price-note { font-size: .95rem; }
.micro { font-size: .9rem; margin: 1em 0 0; color: var(--brown); }
.hero-img img { border-radius: 6px; filter: drop-shadow(0 18px 24px rgba(74, 50, 34, .25)); }

/* Sections */
.section { padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 40px); }
.section > *, .final > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section.alt { background: var(--cream-2); }
.section-lead { text-align: center; max-width: 640px !important; font-size: 1.1rem; }

.cards { list-style: none; padding: 0; margin-top: 32px; margin-bottom: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); padding: 24px 20px; box-shadow: 0 4px 14px rgba(107, 74, 51, .1); }
.card-ico { font-size: 2rem; display: block; margin-bottom: 8px; }
.card h3 { font-size: 1.1rem; }
.card p { font-size: .98rem; margin: 0; }

.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.split .h-hand { text-align: left; }
.note { background: #fff; border: 2px dashed var(--yellow); border-radius: var(--radius); padding: 24px; }
.note-title { font-family: "Gaegu", cursive; font-weight: 700; font-size: 1.6rem; color: var(--brown); margin-bottom: .2em; }
.note p:last-child { margin: 0; }

.steps { list-style: none; padding: 0; margin: 32px auto 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps h3 { font-size: 1.1rem; margin-bottom: .2em; }
.steps p { margin: 0; font-size: .98rem; }
.n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; }

.faq { margin-top: 28px; max-width: 760px !important; }
details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(107, 74, 51, .08); }
summary { cursor: pointer; padding: 16px 20px; font-weight: 800; color: var(--brown); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 16px; margin: 0; }

.final { background: var(--orange); color: #fff; text-align: center; padding: clamp(44px, 8vw, 84px) clamp(16px, 4vw, 40px); }
.final .h-hand { color: #fff; }
.final p { max-width: 520px; font-size: 1.15rem; }

/* Footer */
.site-footer { background: var(--brown-dark); color: #e9dfd0; text-align: center; padding: 36px 16px 110px; font-size: .95rem; }
.site-footer a { color: #fff; }
.foot-logo { width: 190px; margin: 0 auto 16px; }
.license { max-width: 520px; margin-left: auto; margin-right: auto; }
.copy { opacity: .75; font-size: .85rem; margin: 0; }

/* Barra fija de compra (solo móvil) */
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-text { text-align: center; }
  .hero h1 { align-items: center; }
  .price { justify-content: center; }
  .swirl { width: 130px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split .h-hand { text-align: center; }
  .steps { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .nav a:not(:last-child) { display: none; }
  .nav a:last-child { font-size: .8rem; }
  .cards { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 120px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(248, 244, 234, .96); box-shadow: 0 -4px 14px rgba(74, 50, 34, .15);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { display: block; padding: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta { transition: none; }
}
