/* Pomaku — shared styles. DRAFT. Palette and fonts match the Puma y la lupa PDF and ad (AR v15). */
@font-face { font-family: "Andika"; src: url("fonts/Andika-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Andika"; src: url("fonts/Andika-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Grandstander"; src: url("fonts/Grandstander.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #F9EDD4;      /* ad background */
  --paper: #FFFDF7;   /* cards / PDF paper */
  --ink: #2A2B33;
  --soft: #6E6860;
  --ochre: #E2A93B;   /* CTA, ad highlight */
  --ochre-d: #C98F22;
  --terra: #C4553B;   /* cover title */
  --teal: #6F9E95;    /* cover eyebrow */
  --line: #E7C9A8;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(80, 55, 20, .08), 0 8px 24px rgba(80, 55, 20, .10);
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.55 "Andika", system-ui, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.display { font-family: "Grandstander", "Andika", sans-serif; font-weight: 600; }

/* placeholders: visible on purpose until filled in */
.ph { background: #fff3b0; outline: 1px dashed #b58a00; border-radius: 4px; padding: 0 .2em; font-family: ui-monospace, monospace; font-size: .85em; white-space: nowrap; }

/* header */
.top { padding: 16px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: "Grandstander", sans-serif; font-weight: 700; font-size: 1.4rem; text-decoration: none; color: var(--terra); }

/* buttons */
.btn {
  display: inline-block; background: var(--ochre); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.2rem; padding: 14px 40px; border-radius: 999px;
  box-shadow: 0 2px 0 var(--ochre-d);
}
.btn:hover { background: #E9B44F; }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-sm { font-size: 1rem; padding: 10px 24px; }

.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-img { border-radius: 6px; box-shadow: var(--shadow); background: #fff; }

section { padding: 48px 0; }
.rule { border-top: 1.5px solid var(--line); }
.eyebrow { color: var(--teal); font-weight: 700; font-size: .95rem; margin-bottom: .4em; }
.muted { color: var(--soft); }
.small { font-size: .85rem; line-height: 1.45; }

/* hero */
.hero { padding: 16px 0 40px; }
.hero-grid { display: grid; gap: 20px; }
.hero-cover { width: 62%; max-width: 340px; margin: 0 auto; transform: rotate(-1.5deg); }
.hook { font-weight: 700; font-size: 1.15rem; margin-bottom: .6em; }
.hero h1 { font-family: "Grandstander", sans-serif; font-weight: 600; color: var(--terra); font-size: 2.6rem; margin-bottom: 0; }
.hero h1 small { display: block; font-size: 1.1rem; color: var(--ink); font-weight: 500; margin-top: .2em; }
.lead { font-size: 1.1rem; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; list-style: none; }
.facts li { background: var(--paper); border-radius: 999px; padding: 4px 14px; font-size: .9rem; border: 1px solid var(--line); }

.price { padding: 18px 20px; margin-bottom: 0; }
.price-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 4px; }
.price-big { font-size: 2rem; font-weight: 700; }
.price-sub { font-size: 1.1rem; font-weight: 400; color: var(--soft); }
.price .btn { display: block; text-align: center; margin: 14px 0 10px; }
.price p { margin: 0 0 .4em; }

/* qué trae */
.inside { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 0 -20px; }
.inside figure { flex: 0 0 78%; scroll-snap-align: center; }
.inside figure { margin: 0; padding: 14px; }
.inside figcaption { padding: 12px 4px 0; }
.inside figcaption strong { display: block; font-size: 1.1rem; }
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 0; margin: 20px 0 0; list-style: none; }
.stories li { padding: 12px 14px; }
.stories .n { font-size: .8rem; color: var(--soft); display: block; }
.stories .t { font-weight: 700; font-size: 1.05rem; }
.stories .l { float: right; font-size: 1.3rem; font-weight: 700; color: var(--terra); line-height: 1; }
.extras { margin-top: 20px; padding: 18px 20px; }
.extras ul { margin: .4em 0 0; padding-left: 1.2em; }

/* cómo se usa */
.steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { padding: 20px; position: relative; }
.steps .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ochre); font-weight: 700; margin-bottom: 8px; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 0; }
.seal { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #E0412E; color: #fff; font-family: "Grandstander", sans-serif; font-weight: 700; font-size: .85rem; transform: rotate(-10deg); box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px #E0412E; float: right; }

/* gallery: horizontal scroll on mobile, grid on desktop */
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 0 -20px; list-style: none; }
.gallery li { flex: 0 0 62%; scroll-snap-align: center; }
.gallery a { display: block; text-decoration: none; }
.gallery span { display: block; font-size: .85rem; color: var(--soft); padding-top: 8px; text-align: center; }
.swipe { font-size: .85rem; color: var(--soft); }

/* faq */
.faq details { padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 28px 12px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--ochre-d); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; }

.final { text-align: center; }
.final .cover-sm { width: 160px; margin: 0 auto 20px; transform: rotate(2deg); }
.final .price { max-width: 440px; margin: 0 auto; text-align: left; }

/* footer */
footer { padding: 32px 0 48px; font-size: .9rem; color: var(--soft); }
footer .seller { margin-bottom: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
footer nav a { color: var(--ink); }
footer .arrep { font-weight: 700; }

/* brand home */
.home-hero { padding: 48px 0 24px; text-align: center; }
.home-hero h1 { font-family: "Grandstander", sans-serif; font-weight: 700; color: var(--terra); font-size: 3.2rem; margin: 0; }
.home-hero p { font-size: 1.2rem; }
.product { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px; max-width: 560px; margin: 0 auto 48px; text-decoration: none; align-items: center; }
.product h2 { font-size: 1.3rem; margin-bottom: .2em; }
.product p { margin: 0 0 .6em; }

/* legal */
.legal { max-width: 720px; padding: 8px 20px 40px; }
.legal h1 { font-size: 1.8rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.4em; }
.legal .card { padding: 24px; }

@media (min-width: 760px) {
  body { font-size: 19px; }
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 5fr 6fr; grid-template-areas: "cover head" "cover body"; gap: 0 56px; align-content: center; }
  .hero-head { grid-area: head; align-self: end; margin-bottom: 16px; }
  .hero-body { grid-area: body; }
  .hero-cover { grid-area: cover; width: 100%; max-width: 420px; align-self: center; }
  .hero h1 { font-size: 3.4rem; }
  .inside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { display: grid; grid-template-columns: repeat(6, 1fr); overflow: visible; margin: 0; padding: 4px 0 0; }
  .gallery li { flex: none; }
  .swipe { display: none; }
  .faq-list { max-width: 760px; }
  section { padding: 64px 0; }
}
