/* VNUK Artesanía: guía del curso de velas y jabones. Cormorant Garamond (títulos) + Jost (texto), servidas por el propio sitio (OFL). */
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #ffffff;
  --mist: #f2eff6;       /* lavanda del jabón: fondo de la primera pantalla */
  --plum: #2b2433;
  --muted: #6c6475;
  --line: #e3dde9;
  --wax: #d99a2b;        /* cera de abeja: solo donde se compra */
  --wax-hi: #e6a93a;
  --sage: #5f7f5b;
  --pad: clamp(20px, 3.6vw, 56px);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--plum); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--pad); background: var(--mist); }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 700 22px/1 var(--serif); text-decoration: none; white-space: nowrap; }
.flame { width: 18px; height: 18px; fill: var(--wax); }
.top-link { font-size: 13px; color: var(--muted); text-decoration: none; }

/* Pantalla 1 */
.hero { background: var(--mist); padding-bottom: 24px; overflow: hidden; }
.cluster { position: relative; height: 218px; margin: 4px auto 0; max-width: 420px; }
.cluster img { position: absolute; border-radius: 50%; box-shadow: 0 10px 30px rgba(43,36,51,.16); animation: rise .9s var(--ease) both; }
.c2 { width: 190px; left: 50%; margin-left: -95px; top: 8px; z-index: 3; animation-delay: .05s !important; }
.c1 { width: 128px; left: 4%; top: 64px; z-index: 2; animation-delay: .15s !important; }
.c3 { width: 128px; right: 4%; top: 64px; z-index: 2; animation-delay: .2s !important; }
.c4 { width: 78px; left: 18%; top: 0; z-index: 1; animation-delay: .3s !important; }
.c5 { width: 78px; right: 18%; top: 4px; z-index: 1; animation-delay: .35s !important; }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
.hero-body { padding: 10px var(--pad) 0; max-width: 620px; margin: 0 auto; }
.label { font-size: 13px; font-weight: 500; color: var(--sage); }
h1 { margin-top: 4px; font: 600 clamp(34px, 9.4vw, 60px)/1 var(--serif); letter-spacing: -.01em; }
.sub { margin-top: 10px; color: var(--muted); font-size: 16px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 14px; }
.now { font: 700 40px/1 var(--serif); font-variant-numeric: lining-nums; }
.now small { font: 500 14px var(--sans); color: var(--muted); }
.inst { font-size: 13.5px; color: var(--muted); }
.cta { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 22px; margin-top: 14px; border-radius: 999px; background: var(--wax); color: #2b1d05; font: 500 17px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center; box-shadow: 0 8px 22px rgba(217,154,43,.3); transition: background .3s var(--ease), translate .3s var(--ease); }
.cta:hover { background: var(--wax-hi); translate: 0 -1px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay img { width: 40px; height: 25px; border-radius: 4px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .i { color: var(--sage); }

/* Pantalla 2 */
.tour { padding: 26px 0 26px; }
.tour-head, .panel, .close { padding-inline: var(--pad); }
h2 { font: 600 clamp(28px, 7.4vw, 46px)/1.02 var(--serif); letter-spacing: -.01em; }
.tabs { display: flex; gap: 6px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.panel { margin-top: 14px; min-height: 196px; }
.panel[hidden] { display: none; }
.rail-wrap { position: relative; margin-inline: calc(var(--pad) * -1); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 4px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail li { scroll-snap-align: start; display: grid; gap: 8px; justify-items: center; text-align: center; }
.rail img { width: 100%; border-radius: 50%; transition: scale .5s var(--ease); }
.rail li:hover img { scale: 1.04; }
.rail span { font: 600 18px/1.1 var(--serif); }
.nav { position: absolute; top: 38%; translate: 0 -50%; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 2px 10px rgba(43,36,51,.15); cursor: pointer; transition: opacity .3s; }
.nav.prev { left: 8px; } .nav.next { right: 8px; }
.nav:disabled { opacity: 0; pointer-events: none; }

.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--mist); }
.seg button { padding: 7px 14px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--plum); box-shadow: 0 1px 4px rgba(43,36,51,.12); }
.country { margin-top: 12px; }
.country[hidden] { display: none; }
.country .big { font: 700 38px/1 var(--serif); font-variant-numeric: lining-nums; }
.country p + p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.note { margin-top: 10px; font-size: 13px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px var(--pad) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 10px 4px; }
.stats li + li { border-left: 1px solid var(--line); padding-left: 10px; }
.stats b { display: block; font: 700 24px/1 var(--serif); font-variant-numeric: lining-nums; }
.stats span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.close .cta { margin-top: 16px; }
.fine { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s var(--ease); }
.buybar.show { transform: none; }
.buybar p { font-size: 13px; color: var(--muted); }
.buybar b { display: block; font: 700 24px/1 var(--serif); color: var(--plum); font-variant-numeric: lining-nums; }
.buybar .cta { margin: 0; min-height: 44px; padding: 8px 20px; font-size: 15px; }

.foot { padding: 18px var(--pad) 92px; background: var(--plum); color: #c9c2d1; font-size: 12.5px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.foot nav a { color: #fff; text-decoration: none; }

@media (min-width: 960px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: calc(100vh - 46px); max-height: 860px; padding: 0 max(var(--pad), calc((100vw - 1240px) / 2)); }
  .cluster { order: 2; height: 460px; max-width: 520px; width: 100%; }
  .c2 { width: 300px; margin-left: -150px; top: 70px; }
  .c1 { width: 200px; left: 0; top: 190px; }
  .c3 { width: 200px; right: 0; top: 190px; }
  .c4 { width: 130px; left: 10%; top: 10px; }
  .c5 { width: 130px; right: 10%; top: 20px; }
  .hero-body { padding: 0; margin: 0; }
  .cta { max-width: 400px; }
  .tour { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 56px; align-content: center; min-height: 100vh; max-height: 900px; padding: 40px max(var(--pad), calc((100vw - 1240px) / 2)); }
  .tour-head, .panel, .close { padding: 0; grid-column: 1; }
  .stats { grid-column: 2; grid-row: 1; align-self: end; margin: 0; grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 4px; border-top: 1px solid var(--line); }
  .stats li:nth-child(4) { border-top: 1px solid var(--line); }
  .close { grid-column: 2; grid-row: 2 / span 2; align-self: start; }
  .close .cta { max-width: none; }
  .rail-wrap { margin-inline: 0; }
  .rail { grid-auto-columns: calc((100% - 48px) / 5); padding-inline: 0; }
  .buybar { display: none; }
  .foot { padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.legal { max-width: 720px; margin: 0 auto; padding: 36px var(--pad) 56px; }
.legal h1 { font-size: 44px; }
.legal h2 { font: 600 28px/1.1 var(--serif); margin-top: 24px; }
.legal p { margin-top: 12px; }
.legal .meta { color: var(--muted); font-size: 14px; }
