/* =========================================================
   Luxe Decor · hoja de estilos única
   Paleta sacada del logo. Mobile first.
   ========================================================= */

@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #FAF7F2;          /* blanco roto */
  --surface: #FFFFFF;
  --sand: #F1EAE0;        /* fondo de producto */
  --sand-2: #E9E0D3;
  --beige: #E6CDAE;       /* pantalla del logo */
  --gold: #AA7434;        /* dorado bronce: solo grande o con texto oscuro encima */
  --gold-ink: #85561F;    /* dorado legible para texto pequeño (AA sobre crema) */
  --ink: #111111;
  --muted: #5B544C;
  --line: #E4DBCF;
  --night: #15110D;
  --night-2: #241C15;
  --cream-ink: #F5EFE6;
  --warm: #FFD49A;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 16px;
  --max: 1240px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 500; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .hero :focus-visible, .story :focus-visible { outline-color: var(--warm); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 500 .72rem/1.4 var(--font-head); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 1rem; }
.on-dark .eyebrow { color: var(--beige); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 38rem; }
.muted { color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

/* Marcadores de datos pendientes: visibles a propósito */
.pendiente, mark.pendiente { background: #FFF1C9; color: #5A3D00; padding: 0 .3em; border-radius: 4px; font-size: .92em; }
.on-dark .pendiente { background: rgba(255, 212, 154, .18); color: var(--warm); }
.revisar { border-left: 3px solid var(--gold); background: #FBF3E7; padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 1.2em 0; font-size: .95rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 500 .95rem/1 var(--font-head); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--cream-ink); }
.btn--dark:hover { background: #2a2622; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--cream-ink); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream-ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #B98144; }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; font-size: 1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 247, 242, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header .bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.nav-main { display: none; gap: 26px; }
.nav-main a, .nav-side a.link { font: 400 .9rem var(--font-head); text-decoration: none; }
.nav-main a:hover, .nav-side a.link:hover { color: var(--gold-ink); }
.brand { grid-column: 2; display: block; }
.brand img { height: 46px; width: auto; }
.nav-side { grid-column: 3; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav-side .link { display: none; }
.cart-btn { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .75rem; }
.menu-btn { grid-column: 1; grid-row: 1; justify-self: start; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 12px; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 960px) {
  .nav-main { display: flex; grid-column: 1; grid-row: 1; }
  .menu-btn { display: none; }
  .nav-side .link { display: inline; }
  .brand img { height: 58px; }
  :root { --header-h: 76px; }
}

/* Menú móvil */
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden; }
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.mobile-nav .top img { height: 38px; width: auto; }
.mobile-nav nav a { display: block; font: 300 1.9rem/1.25 var(--font-head); padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
.mobile-nav .social { margin-top: auto; display: flex; gap: 18px; font: 500 .75rem var(--font-head); letter-spacing: .2em; text-transform: uppercase; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); border: 0; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Hero (inspirado en el diseño de referencia) ---------- */
.hero-shell { padding: 0 8px; }
.hero { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--night); color: #fff; min-height: calc(100svh - var(--header-h) - 8px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero__light { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.hero__orb { position: absolute; width: min(120vw, 760px); aspect-ratio: 1; border-radius: 50%; left: 50%; top: 32%; transform: translate(-50%, -50%); background: radial-gradient(circle, #FFC777 0%, #F29C3C 34%, #B8611F 55%, rgba(80, 36, 10, .0) 71%); filter: blur(2px); opacity: .95; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .82; transform: translate(-50%, -50%) scale(1.03); } }
.hero__lamp { position: absolute; left: 50%; top: 29%; width: min(64vw, 470px); transform: translate(-50%, -50%); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }
.hero__lamp .l-halo, .hero__lamp .l-lit { opacity: 1 !important; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 4, .0) 30%, rgba(10, 7, 4, .78) 100%); }
.hero__content { position: relative; padding: 0 22px 26px; }
.hero__brand { position: absolute; left: 20px; top: 20px; width: 92px; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; margin-bottom: 12px; color: rgba(255, 255, 255, .9); }
.hero h1 { font-size: clamp(2rem, 6.4vw, 3.6rem); max-width: 14ch; margin-bottom: .35em; font-weight: 400; }
.hero p { color: rgba(255, 255, 255, .86); max-width: 34rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; font-size: .72rem; line-height: 1.35; }
.hero__stats div { padding-right: 10px; }
.hero__stats div + div { border-left: 1px solid rgba(255, 255, 255, .18); padding-left: 12px; }
.hero__stats strong { display: block; font: 500 .82rem var(--font-head); color: #fff; }
.hero__stats span { color: rgba(255, 255, 255, .62); }
@media (min-width: 900px) {
  .hero__orb { left: 64%; top: 46%; width: 720px; }
  .hero__lamp { left: 64%; top: 47%; width: 440px; }
  .hero__content { padding: 0 56px 46px; }
  .hero__stats { display: flex; gap: 0; border: 0; max-width: 640px; font-size: .85rem; }
  .hero__stats div { padding: 0 28px 0 0; }
  .hero__stats div + div { padding-left: 24px; }
  .hero__brand { left: 56px; top: 44px; width: 150px; }
}

/* ---------- Franja de confianza ---------- */
.trust { padding: 34px 0 10px; text-align: center; }
.trust p { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.trust li { font: 500 .72rem var(--font-head); letter-spacing: .26em; text-transform: uppercase; color: #6F675E; display: flex; align-items: center; gap: 8px; }
.trust li svg { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; max-width: 40rem; }
.section-head.center .lead { margin-inline: auto; }
@media (min-width: 900px) { .section { padding: 110px 0; } }

/* Separador con la trama calada del pie del logo */
.calado { height: 34px; background: url("../img/calado.svg") center / 120px auto repeat-x; opacity: .55; }
.calado--mask { -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }

/* ---------- Lámpara: apagada → encendida (detalle "wow") ---------- */
.lamp { position: relative; background: var(--sand); border-radius: var(--radius-sm); overflow: hidden; transition: background .9s var(--ease); }
.lamp .lamp-svg { width: 100%; height: 100%; }
.lamp .l-halo, .lamp .l-lit { opacity: 0; transition: opacity .9s var(--ease); }
.lamp.is-on, .lamp.is-on-dark { background: #2A211A; }
.lamp.is-on .l-halo, .lamp.is-on .l-lit { opacity: 1; }
.lamp img { width: 100%; height: 100%; object-fit: cover; }
.lamp .photo-on { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.lamp.is-on .photo-on { opacity: 1; }
@media (hover: hover) {
  .card:hover .lamp, .lamp.hover-on:hover { background: #2A211A; }
  .card:hover .lamp .l-halo, .card:hover .lamp .l-lit, .lamp.hover-on:hover .l-halo, .lamp.hover-on:hover .l-lit, .card:hover .lamp .photo-on { opacity: 1; }
}
.switch-hint { position: absolute; left: 12px; top: 12px; font: 500 .62rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .7); padding: 6px 10px; border-radius: 999px; transition: color .6s, background .6s; }
.lamp.is-on .switch-hint { color: var(--ink); background: var(--warm); }
@media (hover: hover) { .card:hover .switch-hint { color: var(--ink); background: var(--warm); } }

/* ---------- Tarjetas de producto ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 12px; }
@media (min-width: 700px) { .products { gap: 34px 18px; } }
@media (min-width: 1040px) { .products { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; text-decoration: none; display: block; }
.card .lamp { aspect-ratio: 4 / 5; }
.card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 14px; }
.card__name { font: 400 clamp(1.02rem, 3.6vw, 1.25rem)/1.2 var(--font-head); margin: 0; letter-spacing: -.01em; }
.card__type { font-size: .86rem; color: var(--muted); margin: 2px 0 0; }
.card__price { font: 400 clamp(1rem, 3.6vw, 1.25rem)/1.2 var(--font-head); color: var(--gold-ink); white-space: nowrap; }
.card__price small { font-size: .7rem; color: var(--muted); display: block; text-align: right; letter-spacing: .02em; }
.swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.card::after { content: ""; position: absolute; inset: -6px; border-radius: 16px; }
.card:focus-visible { outline-offset: 6px; }

/* ---------- Cómo se hace ---------- */
.steps { display: grid; gap: 24px 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 639px) { .step h3 { font-size: 1.02rem; margin-top: 12px; } .step p { font-size: .85rem; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step__media { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; background: var(--night-2); color: var(--cream-ink); }
.step__media svg { width: 100%; height: 100%; }
.step__num { position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font: 500 .75rem var(--font-head); color: #fff; }
.step h3 { margin: 16px 0 6px; font-weight: 400; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Historia con scroll (la lámpara se enciende) ---------- */
.story-shell { padding: 0 8px; }
.story { position: relative; border-radius: var(--radius); background: var(--night); color: var(--cream-ink); }
.story__grid { display: grid; grid-template-columns: 1fr; }
.story__visual { position: sticky; top: var(--header-h); height: 62svh; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; z-index: 0; }
.story__glow { position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 199, 119, .9), rgba(242, 156, 60, .35) 35%, rgba(0, 0, 0, 0) 65%); opacity: var(--p, 0); transform: scale(calc(.6 + var(--p, 0) * .5)); }
.story__lamp { position: relative; width: min(72vw, 360px); }
.story__lamp .l-halo, .story__lamp .l-lit { opacity: var(--p, 0); transition: none; }
.story__steps { position: relative; z-index: 1; padding: 0 20px 18vh; }
.story__step { min-height: 70svh; display: flex; align-items: flex-end; }
.story__card { background: rgba(21, 17, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 22px; max-width: 30rem; }
.story__card h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: .4em; }
.story__card p { color: rgba(245, 239, 230, .78); margin: 0; }
.story__k { font: 500 .7rem var(--font-head); letter-spacing: .28em; text-transform: uppercase; color: var(--beige); margin-bottom: 12px; display: block; }
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1.1fr 1fr; }
  .story__visual { height: calc(100svh - var(--header-h)); border-radius: var(--radius) 0 0 var(--radius); }
  .story__steps { padding: 20vh 56px 30vh; }
  .story__step { min-height: 78vh; align-items: center; }
  .story__card { background: transparent; border: 0; backdrop-filter: none; padding: 0; }
  .story__card h3 { font-size: 2.2rem; }
}

/* ---------- Qué incluye ---------- */
.includes { max-width: 640px; margin: 0 auto; }
.includes table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.includes th, .includes td { text-align: left; padding: 11px 12px; vertical-align: top; }
.includes th { font-weight: 500; width: 46%; }
.includes td { color: var(--muted); }
.includes tr:nth-child(odd) { background: #F3EEE6; }
.includes .cta { text-align: center; margin-top: 28px; }

/* ---------- Locales / a medida ---------- */
.pro { display: grid; gap: 26px; align-items: center; }
.pro__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 10%, #3A2A1C, #120D09); }
.pro__media .lamps-row { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; padding: 0 6%; }
.pro__media .lamps-row > div:nth-child(2) { margin-top: 8%; }
.pro__media .l-halo, .pro__media .l-lit { opacity: 1; }
.pro__list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.pro__list li { display: flex; gap: 10px; align-items: flex-start; }
.pro__list li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
@media (min-width: 900px) { .pro { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

/* ---------- Reseñas ---------- */
.reviews-band { background: #F3EEE6; }
.reviews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(84%, 380px); scroll-snap-align: start; background: var(--surface); border-radius: var(--radius-sm); padding: 22px; border: 1px dashed var(--line); }
.review .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review blockquote { margin: 12px 0; font: 400 1.05rem/1.45 var(--font-head); }
.review cite { font-style: normal; font-size: .86rem; color: var(--muted); }
.review.is-empty { display: grid; place-items: center; min-height: 200px; text-align: center; color: var(--muted); }

/* ---------- Destacado (bloque tipo "membresía" del diseño) ---------- */
.feature { display: grid; gap: 30px; }
@media (min-width: 960px) { .feature { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; font-size: .95rem; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #F3EEE6; border-radius: var(--radius-sm); padding: 18px; margin-top: 22px; }
.stats3 strong { display: block; font: 400 1.7rem/1.1 var(--font-head); }
.stats3 span { font-size: .78rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font: 400 1.02rem var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.5rem/1 var(--font-head); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 2px 20px; color: var(--muted); }

/* ---------- CTA final + newsletter ---------- */
.final-shell { padding: 0 8px; }
.final { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--night); color: #fff; padding: 90px 0 140px; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; width: 900px; aspect-ratio: 1; border-radius: 50%; right: -260px; top: -200px; background: radial-gradient(circle, rgba(255, 196, 112, .85), rgba(214, 120, 40, .45) 36%, rgba(0, 0, 0, 0) 66%); }
.final h2 { max-width: 13ch; }
.final p { color: rgba(255, 255, 255, .8); max-width: 32rem; }
.final .ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .85rem; margin: 18px 0 26px; color: rgba(255, 255, 255, .85); }

/* ---------- Pie (tarjeta blanca sobre fondo oscuro, como la referencia) ---------- */
.site-footer { background: var(--night); padding: 0 8px 8px; margin-top: -1px; }
.site-footer.standalone { padding-top: 8px; margin-top: 60px; }
.footer-card { background: var(--surface); border-radius: var(--radius); padding: 38px 20px 22px; margin-top: -90px; position: relative; }
.site-footer.standalone .footer-card { margin-top: 0; }
.footer-grid { display: grid; gap: 34px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; color: var(--muted); max-width: 26rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.footer-cols h4 { font: 400 .85rem var(--font-head); color: #6F675E; margin-bottom: 12px; letter-spacing: 0; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--gold-ink); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 34px; padding-top: 18px; font-size: .78rem; color: #6F675E; }
@media (min-width: 900px) {
  .footer-card { padding: 48px 48px 26px; }
  .footer-grid { grid-template-columns: 1fr 1.4fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field legend { font: 500 .85rem var(--font-head); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid #CFC5B8; background: #fff; }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: 2px solid var(--gold-ink); outline-offset: 1px; border-color: transparent; }
.inline-form { display: flex; gap: 8px; max-width: 460px; }
.inline-form .input { border-radius: 999px; flex: 1; min-width: 0; }
.on-dark .inline-form .input { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }
.on-dark .inline-form .input::placeholder { color: rgba(255, 255, 255, .6); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); }
.on-dark .checkbox { color: rgba(255, 255, 255, .7); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #CFC5B8; background: #fff; font-size: .88rem; cursor: pointer; }
.chips input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--cream-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.form-msg { margin-top: 10px; font-size: .9rem; }
.form-msg.ok { color: #2E6B3A; }
.form-msg.err { color: #9B2C1F; }
.on-dark .form-msg.ok { color: #B9E4BF; }
.hp { position: absolute; left: -9999px; }

/* ---------- Página de producto ---------- */
.crumbs { font-size: .82rem; color: var(--muted); padding: 18px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; gap: 28px; padding-bottom: 40px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; } .pdp__info { position: sticky; top: calc(var(--header-h) + 16px); } }
.gallery__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.gallery__main .lamp { position: absolute; inset: 0; border-radius: 0; }
.gallery__main.is-zoomed { cursor: zoom-out; }
.gallery__main .zoom-layer { position: absolute; inset: 0; transition: transform .35s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main.is-zoomed .zoom-layer { transform: scale(2.2); }
.gallery__switch { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 10px; }
.thumb { aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--sand); position: relative; }
.thumb[aria-current="true"] { border-color: var(--ink); }
.thumb .lamp { position: absolute; inset: 0; border-radius: 0; }
.thumb .tag { position: absolute; left: 4px; bottom: 4px; font: 500 .55rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .85); color: var(--ink); padding: 3px 6px; border-radius: 999px; }
.pdp h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .15em; }
.pdp__sub { color: var(--muted); margin-bottom: 18px; }
.pdp__price { font: 400 2.2rem/1 var(--font-head); color: var(--gold-ink); margin: 0 0 6px; }
.pdp__price small { font: 400 .8rem var(--font-body); color: var(--muted); margin-left: 6px; }
.pdp__lead { display: flex; align-items: center; gap: 8px; font-size: .9rem; background: #F3EEE6; padding: 10px 14px; border-radius: 12px; margin: 16px 0 22px; }
.pdp__lead svg { width: 18px; height: 18px; color: var(--gold-ink); flex: 0 0 18px; }
.opt-group { margin-bottom: 20px; border: 0; padding: 0; }
.opt-group legend { font: 500 .78rem var(--font-head); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.opt-group legend b { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); margin-left: 6px; font-size: .9rem; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opt { position: relative; }
.color-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.color-opt span { display: block; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 3px #fff; cursor: pointer; }
.color-opt input:checked + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.color-opt input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 4px; }
.buy-row { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #CFC5B8; border-radius: 999px; background: #fff; height: 54px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; cursor: pointer; border-radius: 999px; }
.qty input { width: 34px; text-align: center; border: 0; background: none; -moz-appearance: textfield; font-weight: 500; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; }
.pay-icons { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.pdp__desc { margin-top: 26px; }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; width: 38%; padding-right: 12px; }
.specs td { color: var(--muted); }
.note-layer { font-size: .85rem; color: var(--muted); background: #F3EEE6; border-radius: 12px; padding: 12px 14px; margin-top: 14px; }

/* Barra de compra fija en móvil */
.buy-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
.buy-sticky.is-visible { transform: none; }
.buy-sticky .meta { flex: 1; min-width: 0; line-height: 1.25; }
.buy-sticky .meta strong { display: block; font: 400 1rem var(--font-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-sticky .meta span { font-size: .85rem; color: var(--gold-ink); }
@media (min-width: 960px) { .buy-sticky { display: none; } }
body.has-sticky .wa-float { bottom: 86px; }
@media (min-width: 960px) { body.has-sticky .wa-float { bottom: 20px; } }

/* ---------- Carrito (panel lateral) ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(17, 12, 8, .45); opacity: 0; visibility: hidden; transition: opacity .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(100%, 440px); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.3rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); }
.ship-bar { font-size: .85rem; margin-bottom: 14px; }
.ship-bar .track { height: 4px; border-radius: 4px; background: var(--sand-2); margin-top: 8px; overflow: hidden; }
.ship-bar .fill { height: 100%; background: var(--gold); width: 0; transition: width .5s var(--ease); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line .lamp { width: 76px; aspect-ratio: 4 / 5; }
.line h3 { font-size: 1rem; margin: 0 0 2px; font-weight: 400; }
.line .var { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.line .price { font: 400 1rem var(--font-head); }
.line .qty { height: 36px; }
.line .qty button { width: 34px; font-size: 1rem; }
.line .qty input { width: 26px; }
.remove { background: none; border: 0; padding: 4px 0; font-size: .78rem; color: var(--muted); text-decoration: underline; cursor: pointer; margin-left: 10px; }
.totals { display: grid; gap: 6px; font-size: .92rem; margin-bottom: 14px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font: 400 1.2rem var(--font-head); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.empty-cart { text-align: center; padding: 50px 10px; color: var(--muted); }
.empty-cart .btn { margin-top: 16px; }
.checkout-note { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Página carrito */
.cart-page { display: grid; gap: 30px; padding-bottom: 60px; }
@media (min-width: 960px) { .cart-page { grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; } }
.summary { background: var(--surface); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }

/* ---------- Páginas interiores ---------- */
.page { padding-top: 28px; }
.page-hero { padding: 40px 0 30px; }
.page-hero h1 { max-width: 18ch; }
.prose { max-width: 760px; margin: 0 auto; padding: 40px var(--gutter) 60px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #2E2A26; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--gold-ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 6px; vertical-align: top; }
.prose .updated { font-size: .85rem; color: var(--muted); }
.split { display: grid; gap: 30px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }
.photo-slot { aspect-ratio: 4 / 5; border-radius: var(--radius); background: repeating-linear-gradient(-45deg, var(--sand), var(--sand) 12px, var(--sand-2) 12px, var(--sand-2) 24px); display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: .9rem; }
.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (min-width: 900px) { .card-form { padding: 36px; } }
.status-page { min-height: 60svh; display: grid; place-items: center; text-align: center; padding: 60px var(--gutter); }
.status-page .lamp { width: 180px; aspect-ratio: 4 / 5; margin: 0 auto 26px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 16px; bottom: 20px; z-index: 25; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .2s var(--ease), bottom .3s; }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }
.wa-float { transition: transform .2s var(--ease), bottom .3s, opacity .3s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Aviso (toast) ---------- */
.toast { visibility: hidden; position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 140%); background: var(--ink); color: var(--cream-ink); padding: 12px 18px; border-radius: 999px; font-size: .9rem; transition: transform .35s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-visible { visibility: visible; transform: translate(-50%, 0); }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 559px) {
  .card__body { flex-direction: column; gap: 2px; }
  .card__price small { display: inline; margin-right: 4px; }
  .card__type { font-size: .78rem; }
  .switch-hint { font-size: .55rem; padding: 5px 8px; left: 8px; top: 8px; }
  .hero__ctas .btn { min-height: 44px; padding: 0 18px; font-size: .9rem; }
}

/* ---------- Cómo se hace: la lámpara se imprime al hacer scroll ---------- */
.make { padding: 72px 0 40px; }
.make__head { text-align: center; max-width: 44rem; margin-bottom: 30px; }
.make__head .lead { margin-inline: auto; }
.make__grid { display: grid; grid-template-columns: 1fr; }
.make__stage { position: sticky; top: calc(var(--header-h) + 8px); z-index: 0; height: 46svh; }
.make__canvas { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #F6F0E7, var(--sand-2)); transition: background 1.2s var(--ease); }
.make__canvas::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(133, 86, 31, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(133, 86, 31, .07) 1px, transparent 1px); background-size: 22px 22px; transition: opacity 1s; }
.make[data-stage="3"] .make__canvas { background: radial-gradient(90% 80% at 50% 45%, #3A2A1C, var(--night)); }
.make[data-stage="3"] .make__canvas::before { opacity: 0; }
.make__svg { position: absolute; inset: 4% 0 12%; width: 100%; height: 84%; }
.make__hud { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 12px; font: 500 .62rem var(--font-head); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); transition: color 1s; }
.make[data-stage="3"] .make__hud { color: var(--beige); }
.make__bar { flex: 1; height: 2px; background: rgba(133, 86, 31, .18); border-radius: 2px; overflow: hidden; }
.make__bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.make__steps { list-style: none; margin: 0; padding: 0 0 10svh; position: relative; z-index: 1; }
.make__step { min-height: 58svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 4svh; opacity: .45; transition: opacity .6s var(--ease); }
.make__step.is-active { opacity: 1; }
.make__step > * { background: var(--bg); }
.make__step h3, .make__step p, .make__step .make__n { margin: 0; padding: 0 18px; }
.make__step .make__n { padding-top: 16px; border-radius: 16px 16px 0 0; font: 300 2.4rem/1 var(--font-head); color: var(--gold); letter-spacing: .04em; }
.make__step h3 { font-size: 1.6rem; font-weight: 400; padding-top: 8px; padding-bottom: 8px; }
.make__step p { color: var(--muted); padding-bottom: 18px; border-radius: 0 0 16px 16px; max-width: 30rem; }
.make__step .btn { align-self: flex-start; margin-left: 18px; background: var(--ink); }
@media (min-width: 900px) {
  .make { padding: 110px 0 60px; }
  .make__grid { grid-template-columns: 1.05fr 1fr; gap: 72px; }
  .make__stage { height: calc(100svh - var(--header-h) - 40px); top: calc(var(--header-h) + 20px); }
  .make__steps { padding: 18vh 0 22vh; }
  .make__step { min-height: 72vh; justify-content: center; padding: 0; }
  .make__step > * { background: none; }
  .make__step h3, .make__step p, .make__step .make__n { padding-left: 0; padding-right: 0; }
  .make__step .btn { margin-left: 0; }
  .make__step .make__n { font-size: 3.6rem; }
  .make__step h3 { font-size: 2.3rem; }
  .make__step p { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) { .make__step { opacity: 1; } }
@media (max-width: 899px) {
  .make__step { opacity: 1; }
  .make__step:not(.is-active) h3, .make__step:not(.is-active) p, .make__step:not(.is-active) .make__n { color: #A39A90; }
  .make__step h3, .make__step p, .make__step .make__n { transition: color .5s var(--ease); }
  .make__step .make__n { box-shadow: 0 -10px 24px rgba(21, 17, 13, .06); }
}

/* Cabecera: logo a la izquierda, apartados y carrito a la derecha */
.site-header .bar { display: flex; align-items: center; gap: 12px; }
.site-header .brand { order: 1; margin-right: auto; }
.site-header .nav-main { order: 2; }
.site-header .nav-side { order: 3; }
.site-header .menu-btn { order: 4; margin-right: -8px; }
@media (min-width: 960px) {
  .site-header .bar { gap: 30px; }
  .site-header .nav-side { gap: 18px; }
}

/* Fotos en portada (hero, historia, locales) */
.hero--photo .hero__orb { display: none; }
.hero--photo .hero__lamp { inset: 0; left: 0; top: 0; width: auto; transform: none; filter: none; }
.hero--photo .hero__lamp picture, .hero--photo .hero__lamp img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero--photo .hero__shade { background: linear-gradient(180deg, rgba(10, 7, 4, .0) 25%, rgba(10, 7, 4, .85) 100%); }
@media (min-width: 900px) {
  .hero--photo .hero__lamp img { object-position: 60% 45%; }
  .hero--photo .hero__shade { background: linear-gradient(90deg, rgba(10, 7, 4, .75) 0%, rgba(10, 7, 4, .35) 36%, rgba(10, 7, 4, 0) 55%), linear-gradient(180deg, rgba(10, 7, 4, 0) 70%, rgba(10, 7, 4, .45) 100%); }
}
.story__lamp--photo { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.story__lamp--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__lamp--photo .on { opacity: var(--p, 0); }
.pro__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 899px) {
  .hero--photo .hero__lamp { bottom: 40%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero--photo .hero__lamp img { object-position: 50% 62%; }
  .hero--photo .hero__shade { background: linear-gradient(180deg, rgba(10, 7, 4, 0) 45%, rgba(10, 7, 4, .6) 100%); }
}
