:root {
  /* Colores de marca MaxComfort: amarillo (estrella del logo) + negro, sobre fondo claro */
  --yellow: #f5b800;
  --yellow-2: #e0a500;
  --yellow-soft: #fff6d6;
  --black: #141414;
  --black-2: #2b2b2b;
  --white: #ffffff;
  --soft: #f7f6f2;
  --text: #1b1b1b;
  --muted: #6b6b6b;
  --line: rgba(0, 0, 0, .1);
  --radius: 22px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .25);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* "hidden" siempre oculta, aunque el elemento tenga su propio display (flex, grid…) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
/* Resaltador amarillo que se "pinta" al aparecer */
mark {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%) no-repeat;
  background-size: 0% 100%; color: inherit; padding: 0 .08em;
  transition: background-size 1.1s var(--ease) .35s;
}
.in mark, .ready .hero__title mark, mark.in { background-size: 100% 100%; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--white);
  display: grid; place-content: center; gap: 22px; justify-items: center;
  transition: transform .9s var(--ease) .1s;
}
.loader.done { transform: translateY(-100%); }
/* Pantalla de carga: la estrella del logo entra como estrella fugaz, destella, y aparecen las letras */
.loader__mark { display: grid; justify-items: center; gap: 10px; width: 240px; }
.loader__star { width: 130px; margin-left: -30px; animation: loaderShoot .75s cubic-bezier(.2, .9, .3, 1.2) both, twinkle 1s ease-in-out .75s 1; }
.loader__letters { width: 220px; animation: rise .6s var(--ease) .35s both; }
@keyframes loaderShoot {
  from { opacity: 0; transform: translate(160px, -90px) scale(.5) rotate(-12deg); }
  60% { opacity: 1; }
}
.loader__bar { width: 160px; height: 3px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; background: var(--yellow); animation: load 1.3s var(--ease) forwards; }
@keyframes load { from { width: 0 } to { width: 100% } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--yellow); z-index: 60; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1200px, calc(100% - 24px)); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .3);
  transition: background .4s, transform .5s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
.nav.solid { background: rgba(255, 255, 255, .95); }
.brand img { height: 42px; width: auto; } /* logo con fondo transparente (img/logo-menu.png) */
.brand--footer { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
.brand--footer span { color: var(--yellow); font-style: italic; font-weight: 400; }
.nav__links { display: flex; gap: 28px; font-size: .97rem; font-weight: 500; }
.nav__links a { position: relative; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 761px) {
  .nav__links { gap: 16px; font-size: .9rem; }
  .nav__links a[href="#preguntas"] { display: none; } /* en pantallas medianas sobra espacio sin "Preguntas" */
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; gap: 8px; align-items: center; }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; place-content: center; gap: 6px; }
.nav__burger span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform .3s; }

.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: live 2s infinite; vertical-align: middle; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0) } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0) } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .3s var(--ease), background .25s, box-shadow .3s, color .25s;
  will-change: transform; white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--lg { padding: 20px 38px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--yellow); color: var(--black); box-shadow: 0 12px 28px -12px rgba(224, 165, 0, .9); }
.btn--primary:hover { background: #ffc61a; box-shadow: 0 18px 36px -12px rgba(224, 165, 0, 1); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--black-2); }
/* Botón de WhatsApp: el verde que todos reconocen + ícono. Texto oscuro para que se lea bien. */
.btn--wa { background: #25d366; color: #0b2e18; box-shadow: 0 12px 28px -12px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: #2ee374; box-shadow: 0 18px 36px -12px rgba(37, 211, 102, .9); }
.btn--wa svg { flex: none; }
.btn--outline { border: 2px solid var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }
.btn[aria-disabled="true"] { background: #e9e6dc; color: #8a8a8a; pointer-events: none; box-shadow: none; }
.link { color: var(--black); font-size: .85rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; margin-left: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; background: radial-gradient(circle at 85% 20%, var(--yellow-soft), transparent 45%), var(--white); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 90px; }
.hero__inner { position: relative; width: min(1200px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; margin-bottom: 18px; color: var(--muted); }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); vertical-align: middle; margin-right: 10px; }
.hero__title { font-size: clamp(3.2rem, 8.5vw, 6.8rem); line-height: .98; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.ready .hero__title .line > span { transform: none; }
.ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.ready .hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.hero__title--3 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); }
.hero__lead b { color: var(--text); font-weight: 600; }
.hero__title mark { transition-delay: .9s; }
.hero__lead { font-size: 1.15rem; max-width: 540px; color: #444; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__stats { display: flex; gap: 40px; list-style: none; flex-wrap: wrap; }
.hero__stats li { border-left: 3px solid var(--yellow); padding-left: 14px; }
.hero__stats b { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.hero__stats span { font-size: .85rem; color: var(--muted); }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.hero__scroll span { width: 2px; height: 36px; background: linear-gradient(var(--black), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0) } 50% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }

/* Collage del hero */
.collage { position: relative; height: 600px; }
.collage > * { position: absolute; transition: transform .3s ease-out; }
.collage__shape { width: 360px; height: 360px; border-radius: 50%; background: var(--yellow); right: 40px; top: 70px; opacity: .9; }
.collage__photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); opacity: 0; transition: opacity 1s var(--ease), transform .3s ease-out; }
.ready .collage__photo { opacity: 1; }
.collage__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.collage__photo:hover img { transform: scale(1.06); }
.collage__photo--a { width: 260px; height: 360px; left: 0; top: 30px; }
.collage__photo--b { width: 270px; height: 360px; right: 0; top: 200px; transition-delay: .2s; }
.collage__label { position: absolute; left: 14px; bottom: 14px; background: var(--white); padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: .85rem; }
.collage__label::after { content: " →"; }
.collage__product { display: flex; align-items: center; gap: 12px; background: var(--white); padding: 10px 18px 10px 10px; border-radius: 20px; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.25; animation: bob 6s ease-in-out infinite; }
.collage__product img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; background: var(--soft); }
.collage__product b { font-size: 1.05rem; }
.collage__product--a { left: 150px; top: 420px; }
.collage__product--b { right: 170px; top: 40px; animation-delay: -3s; }
.collage__badge { right: 20px; bottom: 10px; background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 99px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }
.collage__badge b { color: var(--yellow); }
@keyframes bob { 50% { translate: 0 -10px } }
/* Tarjetas flotantes del hero: se pueden tocar */
.collage__product, .collage__badge { cursor: pointer; z-index: 3; }
.collage__product { transition: transform .3s ease-out, box-shadow .3s, scale .3s var(--ease); }
.collage__product:hover, .collage__badge:hover { scale: 1.06; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .35); }
.collage__go { font-style: normal; font-weight: 800; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); margin-left: 4px; transition: transform .3s var(--ease); }
.collage__product:hover .collage__go { transform: translateX(4px); }
.collage__badge { transition: transform .3s ease-out, scale .3s var(--ease); }
/* Destello al llegar a un producto desde el hero */
.flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 184, 0, 0) } 25%, 60% { box-shadow: 0 0 0 8px rgba(245, 184, 0, .55) } }

/* ---------- Marquesina ---------- */
.marquee { background: var(--black); color: var(--white); overflow: hidden; padding: 16px 0; font-weight: 600; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 34s linear infinite; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%) } }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--soft { background: var(--soft); }
.section--yellow { background: var(--yellow); }
.section--yellow .eyebrow { color: var(--black); }
.section--yellow .eyebrow::before { background: var(--black); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { font-size: 1.15rem; color: #4a4a4a; margin-top: 22px; max-width: 600px; }
.section__head--center .section__lead { margin-inline: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- ¿Dónde trabajas? ---------- */
.jobs { margin-bottom: 40px; }
.jobs__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.jobs__tabs button { padding: 12px 20px; border-radius: 99px; border: 2px solid var(--line); font-weight: 600; transition: all .25s var(--ease); }
.jobs__tabs button:hover { border-color: var(--black); }
.jobs__tabs button[aria-selected="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.jobs__stage { position: relative; height: 520px; border-radius: 30px; overflow: hidden; background: var(--black); }
.jobs__photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 6s linear; }
.jobs__photos img.on { opacity: 1; transform: scale(1); }
.jobs__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .1) 60%); pointer-events: none; }
.jobs__card { position: absolute; z-index: 2; left: 40px; bottom: 40px; max-width: 440px; color: var(--white); }
.jobs__card > * { animation: rise .6s var(--ease) both; }
.jobs__card h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.jobs__card p { opacity: .9; margin-bottom: 20px; }
.jobs__card .btn { animation-delay: .1s; }

/* ---------- Prueba interactiva ---------- */
.lab { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--white); margin-bottom: 26px; box-shadow: var(--shadow); }
.lab__visual { position: relative; background: radial-gradient(circle at 50% 40%, #2f2f2f, #121212); padding: 30px; min-height: 340px; display: grid; place-items: center; }
.lab__svg { width: 100%; max-width: 460px; }
.lab__status { position: absolute; top: 20px; left: 20px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #ddd; transition: background .3s, color .3s; }
.lab__status.ok { background: #2ecc71; color: var(--black); }
.lab__status.warn { background: var(--yellow); color: var(--black); }
.lab__controls { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.lab__controls .eyebrow { margin-bottom: 0; }
.gauge__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.gauge__value { display: block; font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.gauge__kg { color: var(--muted); }
.gauge__scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.lab__note { font-size: .85rem; color: var(--muted); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--yellow) var(--p, 0%), #eee var(--p, 0%)); outline: none; cursor: grab; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--black); border: 6px solid var(--yellow); box-shadow: 0 4px 16px rgba(0, 0, 0, .3); transition: transform .2s; }
.range::-webkit-slider-thumb:active { transform: scale(1.2); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--black); border: 6px solid var(--yellow); }
.lab.shake .lab__svg { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-3px) } 75% { transform: translateX(3px) } }

.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 70px; }
.badge { padding: 24px; border-radius: 20px; background: var(--soft); border: 2px solid transparent; transition: border-color .3s, transform .4s var(--ease), background .3s; }
.badge:hover { border-color: var(--yellow); background: var(--yellow-soft); transform: translateY(-4px); }
.badge b { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; }
.badge span { font-size: .92rem; color: var(--muted); }
/* "¿Qué significa?": la explicación se abre dentro del mismo cuadro */
.badge { align-self: start; }
.badge__toggle { display: block; margin-top: 10px; font-size: .82rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.badge__more { max-height: 0; overflow: hidden; font-size: .88rem; color: #3a3a3a; line-height: 1.55; opacity: 0; transition: max-height .45s var(--ease), opacity .35s, margin .45s var(--ease); }
.badge.open .badge__more { max-height: 320px; opacity: 1; margin-top: 10px; }
.badge .badge__more b { display: inline; font-family: var(--sans); font-size: inherit; margin: 0; color: var(--text); font-weight: 700; }
.badge.open { border-color: var(--yellow); background: var(--yellow-soft); }

/* ---------- Prueba: pisar un clavo ---------- */
.stepnail { margin-bottom: 26px; }.panel.resisting { border-color: var(--yellow); }
.panel.resisting .panel__status { background: var(--yellow-soft); font-variant-numeric: tabular-nums; }
.stepnail__head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.stepnail__head h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.panel--us .panel__tag { background: var(--black); color: var(--white); }
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { position: relative; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #fffdf6, #f1ede3); border: 2px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.panel svg { display: block; width: 100%; height: auto; }
.panel__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 99px; background: var(--white); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.panel--us .panel__tag { background: var(--yellow); }
.panel__status { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; text-align: center; font-weight: 700; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .3s var(--ease); }
.panel.hurt { border-color: #e5484d; box-shadow: 0 0 0 6px rgba(229,72,77,.12); }
.panel.hurt .panel__status { background: #e5484d; color: #fff; transform: scale(1.03); }
.panel.safe { border-color: #2ecc71; box-shadow: 0 0 0 6px rgba(46,204,113,.14); }
.panel.safe .panel__status { background: #2ecc71; color: var(--black); transform: scale(1.03); }
.panel.shake svg { animation: shake .3s; }

.controls { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 22px; padding: 22px 26px; border-radius: 24px; background: var(--soft); }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.meter__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.meter__value { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.meter__kg { color: var(--muted); font-size: .95rem; }
.meter__bar { position: relative; height: 14px; border-radius: 99px; background: #e6e2d7; margin-top: 12px; overflow: hidden; }
.meter__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--yellow), #ff9f1a); border-radius: 99px; }
.meter__marks { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 6px; }

.hold { position: relative; width: 190px; height: 190px; border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 800; font-size: 1.05rem; line-height: 1.2; box-shadow: 0 18px 40px -14px rgba(224,165,0,.9), inset 0 -6px 0 rgba(0,0,0,.08); user-select: none; -webkit-user-select: none; touch-action: none; transition: transform .15s; }
.hold:active, .hold.down { transform: scale(.94); }
.hold svg { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); transform: rotate(-90deg); pointer-events: none; }
.hold span { display: block; padding: 0 22px; }
.hold small { display: block; font-weight: 600; font-size: .78rem; opacity: .7; margin-top: 4px; }
.stepnail__note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 14px; }

@media (max-width: 760px) {
  .duel { gap: 10px; }
  .panel__tag { font-size: .62rem; padding: 5px 9px; top: 10px; left: 10px; }
  .panel__status { position: static; font-size: .76rem; line-height: 1.25; padding: 8px 6px; border-radius: 0; min-height: 48px; display: grid; place-items: center; }
  .hold small { display: none; }
  .controls { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px; }
  .meter { width: 100%; }
  .hold { width: 160px; height: 160px; }
}

/* ---------- Galería ---------- */
.gallery { display: grid; gap: 12px; }
.gallery__main { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #fff; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.gallery__main img.on { opacity: 1; transform: scale(1); }
.gallery__main:hover img.on { transform: scale(1.06); }
.gallery__thumbs { display: flex; gap: 10px; }
.gallery__thumbs button { width: 72px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 3px solid transparent; opacity: .55; transition: opacity .2s, border-color .2s; background: #fff; }
.gallery__thumbs button.on { opacity: 1; border-color: var(--yellow); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Configurador ---------- */
.configurator { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; padding: 40px; border-radius: 32px; background: var(--soft); }
.configurator h3 { font-size: 2.2rem; margin-bottom: 6px; }
.field-label { display: block; font-weight: 700; font-size: .95rem; margin: 26px 0 12px; }
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.pack { position: relative; padding: 12px 6px 10px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); text-align: center; transition: all .25s var(--ease); }
.pack b { display: block; font-size: 1.25rem; font-family: var(--serif); }
.pack span { font-size: .74rem; color: var(--muted); }
.pack:hover { border-color: var(--black); transform: translateY(-2px); }
.pack.on { background: var(--black); color: var(--white); border-color: var(--black); }
.pack.on span { color: var(--yellow); }
.pack em { position: absolute; top: -9px; right: -4px; font-style: normal; font-size: .64rem; font-weight: 800; background: var(--yellow); color: var(--black); padding: 2px 6px; border-radius: 99px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 50px; padding: 11px 12px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); font-weight: 700; transition: all .2s var(--ease); }
.pill:hover { border-color: var(--black); }
.pill.on { background: var(--yellow); border-color: var(--yellow); color: var(--black); transform: scale(1.08); }
/* Tallas: misma talla / tallas diferentes */
.size-mode { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--white); border: 2px solid var(--line); margin-bottom: 12px; }
.size-mode button { padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: .88rem; transition: all .2s; }
.size-mode button.on { background: var(--black); color: var(--white); }
.dist { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dcell { display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); transition: border-color .2s, background .2s; }
.dcell b { font-family: var(--serif); font-size: 1.15rem; }
.dcell.on { border-color: var(--yellow); background: var(--yellow-soft); }
.dcell .qty { margin: 0; background: var(--white); }
.dist__left { margin-top: 10px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.dist__left.ok { color: #1f9d55; }
.pairs { display: flex; align-items: center; gap: 12px; }
.pairs .qty { margin: 0; background: var(--white); }
.dist--shoe { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.shoe .size-mode { margin-bottom: 10px; }
.shoe__more { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }
.price-box { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.price-box__total { display: block; font-family: var(--serif); font-size: 2.8rem; font-weight: 700; line-height: 1; }
.price-box__unit { color: var(--muted); font-size: .92rem; }
.price-box__save { background: var(--black); color: var(--yellow); font-weight: 700; padding: 8px 14px; border-radius: 99px; font-size: .9rem; animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0 } }
.msi { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: var(--yellow-soft); font-size: .88rem; text-align: center; }
.msi--center { margin-top: 0; }
.secure { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08) } }

/* Mandil */
.apron { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 30px; border-radius: 32px; overflow: hidden; background: var(--soft); }
.apron__photo { position: relative; min-height: 380px; overflow: hidden; }
.apron__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.apron:hover .apron__photo img { transform: scale(1.05); }
.apron__body { position: relative; padding: 44px 44px 44px 100px; display: flex; flex-direction: column; justify-content: center; }
.apron__product { position: absolute; left: -65px; top: 40px; width: 130px; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 5px solid var(--white); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.apron h3 { font-size: 2.2rem; margin: 12px 0 8px; }
.apron__buy { display: flex; align-items: center; gap: 20px; margin-top: 22px; }
.price { font-family: var(--serif); font-size: 2rem; }
.tag { align-self: flex-start; display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--black); }

/* ---------- Banda con foto ---------- */
.photo-band { position: relative; height: 70vh; min-height: 420px; overflow: hidden; display: grid; place-items: center; text-align: center; }
.photo-band__img { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); }
.photo-band__text { position: relative; z-index: 1; color: var(--white); font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.1; padding: 0 20px; }
.photo-band mark { color: var(--black); background: none; position: relative; }
.photo-band mark::before { content: ""; position: absolute; inset: .08em -.12em; background: var(--yellow); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .4s; }
.photo-band .in mark::before { transform: scaleX(1); }

/* ---------- Puntos interactivos ---------- */
.explore { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 30px; border-radius: 32px; background: var(--white); margin-bottom: 40px; box-shadow: var(--shadow); }
.explore__img { position: relative; }
.explore__img img { width: 100%; border-radius: 22px; }
.hotspot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--yellow); border: 4px solid var(--white); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); display: grid; place-items: center; font-weight: 800; font-size: .85rem; transition: transform .25s var(--ease), background .25s; }
.hotspot::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--yellow); animation: ring 2.2s infinite; }
.hotspot:hover, .hotspot.on { transform: scale(1.25); background: var(--black); color: var(--yellow); }
.explore__info h3 { font-size: 2.2rem; margin-bottom: 22px; }
.explore__detail { min-height: 120px; padding: 22px; border-radius: 20px; background: var(--yellow-soft); border-left: 5px solid var(--yellow); }
.explore__detail b { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.explore__detail > * { animation: rise .45s var(--ease) both; }
.explore__dots { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.explore__dots button { padding: 8px 14px; border-radius: 99px; border: 2px solid var(--line); font-size: .85rem; font-weight: 600; transition: all .2s; }
.explore__dots button.on { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- Huaraches ---------- */
.shoes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.shoe { padding: 18px; border-radius: 30px; background: var(--white); display: grid; gap: 22px; transition: box-shadow .4s, transform .4s var(--ease); }
.shoe:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.shoe__info { padding: 0 10px 10px; }
.shoe__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.shoe h3 { font-size: 1.7rem; }
.shoe__price { font-family: var(--serif); font-size: 1.7rem; white-space: nowrap; }
.shoe__price s { font-size: 1rem; color: var(--muted); }
.shoe .btn { margin-top: 24px; }
.swatches { display: flex; gap: 12px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--line); transition: box-shadow .2s, transform .2s; }
.swatch.on { box-shadow: 0 0 0 3px var(--yellow); transform: scale(1.08); }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 8px; font-size: .95rem; color: #4a4a4a; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); color: var(--black); font-size: .7rem; font-weight: 800; margin-right: 10px; }
.gift { margin-top: 30px; display: grid; grid-template-columns: 1fr 1.2fr; border-radius: 30px; overflow: hidden; background: var(--white); }
.gift img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.gift__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.gift h3 { font-size: 2rem; }
.gift p { color: var(--muted); }

/* ---------- Comparación ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { padding: 40px; border-radius: 28px; }
.compare__col h4 { font-size: 1.15rem; margin-bottom: 20px; }
.compare__col ul { list-style: none; display: grid; gap: 14px; }
.compare__col li { padding-left: 34px; position: relative; }
.compare__col--muted { background: var(--soft); color: var(--muted); }
.compare__col--muted li::before { content: "—"; position: absolute; left: 0; }
.compare__col--us { background: var(--white); border: 3px solid var(--yellow); box-shadow: var(--shadow); }
.compare__col--us li::before { content: "✓"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); font-weight: 800; font-size: .75rem; }

/* ---------- Mayoreo ---------- */
.mayoreo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.mayoreo .section__lead { color: #2b2b2b; }
.tiers { margin-top: 36px; display: grid; gap: 8px; }
.tier { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; padding: 14px 20px; border-radius: 14px; background: rgba(255, 255, 255, .55); transition: background .3s, transform .3s var(--ease); }
.tier:hover { background: var(--white); transform: translateX(6px); }
.tier b { font-family: var(--serif); font-size: 1.2rem; }
.tier .bar { height: 8px; width: 120px; border-radius: 9px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.tier .bar i { display: block; height: 100%; background: var(--black); width: 0; transition: width 1.2s var(--ease); }
.tier.in .bar i { width: var(--w); }
.quote { padding: 34px; border-radius: 28px; background: var(--white); display: grid; gap: 16px; position: sticky; top: 100px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45); }
.quote h3 { font-size: 1.8rem; }
.quote label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.quote input:not([type=checkbox]) { font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); outline: none; transition: border-color .2s; }
.quote input:focus { border-color: var(--yellow); }
/* Tallas en la cotización: cuadritos compactos con − / + */
.qsizes { display: grid; gap: 8px; }
.qsizes__label { font-weight: 600; font-size: .9rem; }
.qsizes__group { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 4px 0 2px; }
.qsizes__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 6px; }
.qcell { min-width: 0; display: grid; justify-items: center; gap: 4px; padding: 6px 2px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); transition: border-color .2s, background .2s; }
.qcell b { font-family: var(--serif); font-size: 1rem; }
.qcell.on { border-color: var(--yellow); background: var(--yellow-soft); }
.qcell .qty { margin: 0; border-width: 1px; }
.qcell .qty button { width: 22px; height: 24px; font-size: .95rem; }
.qcell .qty output { min-width: 14px; font-size: .85rem; }
/* Tipo de huarache: piel café / piel negro / malla */
.qtypes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.qtypes button { padding: 7px 12px; border-radius: 99px; border: 2px solid var(--line); background: var(--white); font-size: .8rem; font-weight: 600; }
.qtypes button.on { background: var(--black); color: var(--white); border-color: var(--black); }
.qtypes em { font-style: normal; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: 4px; border-radius: 99px; background: var(--yellow); color: var(--black); font-size: .7rem; font-weight: 800; }
.qsizes__left { font-size: .85rem; font-weight: 600; color: var(--muted); }
.qsizes__left.ok { color: #1f9d55; }
.qsizes__left.shake { animation: shake .35s; color: #d6343a; }
.quote select { font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); outline: none; }
.quote select:focus { border-color: var(--yellow); }
/* Pestañas Plantillas / Huaraches en el descuento por cantidad */
.tier-tabs { margin-top: 30px; margin-bottom: 0; background: rgba(255, 255, 255, .6); }
.tier-tabs + .tiers { margin-top: 14px; }
.tier-shoes { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 18px; background: var(--white); }
.tier-shoes__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tier-shoes__imgs img { aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--soft); }
.tier-shoes b { font-family: var(--serif); font-size: 1.25rem; display: block; margin-bottom: 6px; }
.tier-shoes p { font-size: .92rem; color: #3a3a3a; margin-bottom: 12px; }
@media (max-width: 760px) { .tier-shoes { grid-template-columns: 1fr; } .tier-shoes__imgs { max-width: 220px; } }
.quote .check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.quote .check input { width: 20px; height: 20px; accent-color: var(--black); }
.quote__estimate { padding: 14px 16px; border-radius: 12px; background: var(--yellow-soft); font-size: .95rem; }
.quote__estimate b { font-family: var(--serif); font-size: 1.35rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 18px; border: 2px solid transparent; overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--yellow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); font-size: 1.3rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 22px; color: #4a4a4a; animation: rise .5s var(--ease); }

/* ---------- CTA final + footer ---------- */
.final { position: relative; overflow: hidden; color: var(--white); padding: clamp(100px, 13vw, 170px) 0; text-align: center; }
.final__bg { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.final__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 20px; }
.final h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.final mark { color: var(--yellow); background: none; }
.final p { font-size: 1.15rem; opacity: .9; }
.footer { background: var(--white); padding: 70px 0 30px; border-top: 6px solid var(--yellow); }
.footer .muted { margin-top: 12px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.footer__inner a:not(.brand) { display: block; margin-bottom: 8px; transition: color .2s; }
.footer__inner a:not(.brand):hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- Modal tallas ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__card { position: relative; width: min(480px, 100%); max-height: 90vh; overflow: auto; background: var(--white); border-radius: 28px; padding: 36px; animation: rise .45s var(--ease); border-top: 8px solid var(--yellow); }
.modal__card h3 { font-size: 2rem; margin-bottom: 16px; }
.modal__x { position: absolute; top: 16px; right: 18px; font-size: 1.8rem; line-height: 1; color: var(--muted); }
@keyframes fade { from { opacity: 0 } }
.steps { padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.cm-input { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 10px; border-radius: 18px; background: var(--soft); }
.cm-input button { width: 54px; height: 54px; border-radius: 50%; background: var(--yellow); font-size: 1.6rem; font-weight: 700; transition: transform .15s; }
.cm-input button:active { transform: scale(.9); }
.cm-input output { font-family: var(--serif); font-size: 2.8rem; min-width: 110px; text-align: center; }
.size-result { margin: 18px 0; padding: 18px; border-radius: 16px; background: var(--black); color: var(--white); text-align: center; }
.size-result b { font-family: var(--serif); font-size: 2.2rem; color: var(--yellow); display: block; }
.size-result span { display: block; font-size: .9rem; opacity: .8; }

/* ---------- Ya nos conoces + reseñas ---------- */
.trust { padding-bottom: 40px; }
.seen { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 36px 40px; border-radius: 30px; background: var(--soft); border: 3px solid var(--yellow); }
.seen__mark { width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; }
.seen h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.seen .eyebrow { margin-bottom: 8px; }
.seen__text p:last-child { color: #4a4a4a; max-width: 560px; }
.seen__stats { display: grid; gap: 10px; }
.seen__stat { padding: 12px 18px; border-radius: 16px; background: var(--white); text-align: center; min-width: 150px; }
.seen__stat b { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.seen__stat span { font-size: .8rem; color: var(--muted); }
.reviews__head { margin-top: 90px; margin-bottom: 40px; }
.reviews { columns: 3 280px; column-gap: 16px; }
.review { break-inside: avoid; margin-bottom: 16px; padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: transform .4s var(--ease), box-shadow .4s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review__stars { color: var(--yellow); font-size: 1.15rem; letter-spacing: 2px; }
.review__stars i { color: #ddd; font-style: normal; }
.review p { font-size: 1.02rem; }
.review footer { display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.review footer b { color: var(--text); font-weight: 600; }

/* ---------- Antes de irse ---------- */
.exit { display: grid; gap: 14px; text-align: center; justify-items: center; }
/* Estrella del logo: entra "volando" como estrella fugaz y luego destella */
/* La forma de la estrella del logo, rellena con el amarillo de la marca (más alegre que el dorado) */
.exit__star { position: relative; width: 120px; animation: shoot .9s var(--ease) both, exitShine 2.6s ease-in-out .9s 1; }
.exit__star-shape {
  display: block; width: 100%; aspect-ratio: 239 / 98;
  background: linear-gradient(160deg, #ffe066 0%, var(--yellow) 55%, #f0a800 100%);
  -webkit-mask: url(../img/estrella-maxcomfort.png) center / contain no-repeat;
  mask: url(../img/estrella-maxcomfort.png) center / contain no-repeat;
}
/* Un solo destello, largo: sube, se mantiene brillando un momento y se apaga despacio */
.exit__star::after { content: ""; position: absolute; left: 12%; top: 18%; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, #fff 0 20%, rgba(255, 255, 255, 0) 70%); opacity: 0; animation: exitSparkle 2.6s ease-in-out .9s 1; }
@keyframes exitShine {
  0%, 100% { filter: none; transform: none; }
  30%, 70% { filter: brightness(1.08) drop-shadow(0 0 6px rgba(245, 184, 0, .55)); transform: scale(1.05); }
}
@keyframes exitSparkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  30%, 70% { opacity: 1; transform: scale(1.5); }
}
@keyframes shoot { from { opacity: 0; transform: translate(40px, -18px) scale(.7) rotate(-8deg) } }
@keyframes twinkle { 50% { filter: brightness(1.25) drop-shadow(0 0 8px rgba(245, 184, 0, .7)); transform: scale(1.04) } }
@keyframes sparkle { 0%, 30%, 100% { opacity: 0; transform: scale(.4) } 45% { opacity: 1; transform: scale(1.4) } }
.exit h3 { margin: 0; }
.exit__list { list-style: none; display: grid; gap: 8px; text-align: left; width: 100%; padding: 14px 18px; border-radius: 16px; background: var(--soft); font-size: .95rem; }
.exit__list li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); font-size: .7rem; font-weight: 800; margin-right: 10px; }
.exit__stay { margin: 0; }

/* ---------- Todos los productos ---------- */
.catalog { padding-bottom: 40px; }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; border-radius: 22px; background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pcard__img { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
a.pcard__img, [data-info-img] { display: block; cursor: pointer; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__tag { position: absolute; top: 12px; left: 12px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--yellow); }
.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.pcard__body h3 { font-size: 1.2rem; }
.pcard__price { font-family: var(--serif); font-size: 1.4rem; margin-top: auto; padding-top: 6px; }
.pcard__price s { font-size: .95rem; color: var(--muted); }
.pcard__price small { font-size: .8rem; font-family: var(--sans); color: var(--muted); }
.pcard__sub { font-size: .8rem; color: var(--muted); }
.pcard .btn { margin-top: 8px; padding: 12px 16px; font-size: .92rem; }
.pcard--soon .pcard__img img { filter: grayscale(.3); }
.pcard--soon .pcard__tag { background: var(--black); color: var(--white); }

/* ---------- Carrito ---------- */
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.cart-btn:hover { background: var(--yellow-soft); }
.cart-btn__count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--yellow); color: var(--black); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-btn__count.bump { animation: bump .45s var(--ease); }
.drawer { position: fixed; inset: 0; z-index: 85; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: fade .25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--white); display: flex; flex-direction: column; animation: slideIn .35s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%) } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.6rem; }
.drawer__head .modal__x { position: static; }
.drawer__ship { margin: 14px 22px 0; padding: 10px 14px; border-radius: 12px; background: var(--yellow-soft); font-size: .9rem; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 50px 0; display: grid; justify-items: center; gap: 16px; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.citem img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--soft); }
.citem__info { display: grid; gap: 4px; font-size: .92rem; }
.citem__info span { color: var(--muted); font-size: .85rem; }
.citem__right { display: grid; justify-items: end; gap: 6px; font-size: .95rem; }
.citem__right .link { margin: 0; font-size: .8rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; border: 1.5px solid var(--line); border-radius: 99px; width: max-content; }
.qty button { width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; font-weight: 700; }
.qty button:hover { background: var(--yellow-soft); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.drawer__foot { padding: 16px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__sum { display: flex; justify-content: space-between; font-size: 1.1rem; }
.drawer__sum b { font-family: var(--serif); font-size: 1.4rem; }
.drawer__keep { justify-self: center; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 95; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 99px; font-weight: 600; font-size: .92rem; transition: all .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Confirmación de talla ---------- */
.confirm { display: grid; gap: 16px; }
.confirm h3 { margin-bottom: 0; }
.confirm__product { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: var(--soft); }
.confirm__product img { width: 76px; height: 76px; object-fit: cover; border-radius: 14px; background: #fff; flex: none; }
.confirm__product > div { display: grid; gap: 2px; }
.confirm__price { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.confirm__size { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-radius: 18px; background: var(--black); color: var(--white); }
.confirm__size span { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }
.confirm__size b { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--yellow); }
.confirm__warn { font-size: .92rem; padding: 12px 14px; border-radius: 14px; background: var(--yellow-soft); border-left: 4px solid var(--yellow); }
.confirm__check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 2px solid var(--line); cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s; }
.confirm__check:has(input:checked) { border-color: var(--yellow); background: var(--yellow-soft); }
.confirm__check input { width: 22px; height: 22px; accent-color: var(--black); flex: none; margin-top: 1px; }
.confirm__alt { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.confirm__alt .link { margin: 0; }

/* ---------- Asistente ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 66px; height: 66px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(224, 165, 0, .9); transition: transform .3s var(--ease); }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--yellow); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8 } to { transform: scale(1.7); opacity: 0 } }
.fab.hidden { transform: scale(0); }
.fab-hint { position: fixed; right: 98px; bottom: 36px; z-index: 70; background: var(--black); color: var(--white); padding: 12px 16px; border-radius: 16px 16px 4px 16px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .35); font-size: .92rem; font-weight: 600; opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .5s var(--ease); }
.fab-hint.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.assistant {
  position: fixed; right: 22px; bottom: 22px; z-index: 75; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 44px));
  background: var(--white); border-radius: 26px; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: open .45s var(--ease);
}
.assistant[hidden] { display: none; }
@keyframes open { from { transform: scale(.6) translateY(40px); opacity: 0 } }
.assistant__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--black); color: var(--white); }
.assistant__head > div > span { font-size: .8rem; opacity: .75; display: block; }
.assistant__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); color: var(--black); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.assistant__x { margin-left: auto; font-size: 1.8rem; opacity: .7; line-height: 1; }
.assistant__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
/* Ningún mensaje se "aplasta" cuando el chat se llena (antes una tarjeta podía quedar en 0 de alto) */
.assistant__body > * { flex-shrink: 0; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: .95rem; animation: rise .35s var(--ease); white-space: pre-line; }
.msg--bot { background: var(--white); border-bottom-left-radius: 6px; align-self: flex-start; }
.msg--me { background: var(--yellow); color: var(--black); border-bottom-right-radius: 6px; align-self: flex-end; font-weight: 500; }
.msg a.btn { margin-top: 10px; }
.msg-card { align-self: flex-start; width: 86%; background: var(--white); border-radius: 18px; overflow: hidden; animation: rise .35s var(--ease); }
.msg-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #fff; }
.msg-card div { padding: 12px 14px 14px; display: grid; gap: 4px; }
.msg-card b { font-size: 1rem; }
.msg-card .btn { margin-top: 8px; }
.chat-privacy { align-self: center; font-size: .72rem; color: var(--muted); text-align: center; max-width: 90%; }
.typing { display: flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 30% { transform: translateY(-5px); opacity: .5 } }
/* Los botones se acomodan en varias líneas (antes era una fila que no se podía deslizar con el mouse) */
.assistant__chips { display: flex; flex-wrap: wrap; gap: 6px 8px; padding: 10px 14px; max-height: 170px; overflow-y: auto; background: var(--soft); border-top: 1px solid var(--line); }
.assistant__chips:empty { display: none; }
.assistant__chips button { flex: none; padding: 7px 13px; border-radius: 99px; border: 2px solid var(--line); background: var(--white); font-size: .86rem; font-weight: 600; transition: all .2s; }
.assistant__chips button:hover { border-color: var(--yellow); background: var(--yellow-soft); }
.assistant__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.assistant__input input { flex: 1; font: inherit; padding: 12px 16px; border-radius: 99px; border: 2px solid var(--line); outline: none; }
.assistant__input input:focus { border-color: var(--yellow); }
.assistant__input button { width: 46px; border-radius: 50%; background: var(--black); color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner, .lab, .configurator, .mayoreo, .shoes, .compare, .explore, .apron, .gift { grid-template-columns: 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
  .quote { position: static; }
  .collage { height: 520px; max-width: 560px; width: 100%; margin-inline: auto; }
  .apron__product { left: auto; right: 24px; top: -70px; width: 110px; }
  .apron__body { padding-top: 60px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .hero__inner { width: calc(100% - 32px); }
  .nav { padding-left: 14px; }
  .brand img { height: 34px; }
  .nav__links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: all .3s var(--ease); }
  .nav__links a { padding: 14px 16px; font-size: 1.1rem; }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__burger { display: grid; }
  .nav.open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding-top: 110px; }
  .hero__stats { gap: 22px; }
  .hero__stats b { font-size: 1.6rem; }
  .collage { height: 430px; }
  .collage__shape { width: 240px; height: 240px; right: 10px; top: 50px; }
  .collage__photo--a { width: 58%; height: 280px; top: 10px; }
  .collage__photo--b { width: 52%; height: 260px; top: 150px; }
  .collage__product { padding: 8px 12px 8px 8px; font-size: .78rem; }
  .collage__product img { width: 48px; height: 48px; }
  .collage__product--a { left: 4px; top: 330px; }
  .collage__product--b { right: 8px; top: 0; }
  .collage__badge { right: 4px; bottom: 0; }
  .jobs__stage { height: 480px; }
  .jobs__stage::after { background: linear-gradient(rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .8)); }
  .jobs__card { left: 22px; right: 22px; bottom: 24px; }
  .jobs__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .jobs__tabs button { flex: none; }
  .configurator { padding: 20px; gap: 26px; }
  .lab__controls { padding: 28px 22px; }
  .badges { grid-template-columns: 1fr; }
  .apron__body { padding: 60px 24px 30px; }
  .explore { padding: 16px; gap: 20px; }
  .gift__body { padding: 28px; }
  .compare__col { padding: 28px; }
  .catalog__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard__body { padding: 12px; }
  .pcard__body h3 { font-size: 1rem; }
  .pcard__price { font-size: 1.15rem; }
  .pcard .btn { padding: 10px 8px; font-size: .82rem; white-space: normal; }
  .seen { grid-template-columns: 1fr; padding: 28px 22px; gap: 18px; }
  .seen__mark { width: 56px; height: 56px; font-size: 1.6rem; }
  .seen__stats { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
  .tier { grid-template-columns: 1fr auto; }
  .tier .bar { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__inner > div:first-child { grid-column: 1 / -1; }
  .fab-hint { display: none; }
  .assistant { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Ajustes de facilidad de uso (revisión 2026-10-11)
   ===================================================================== */

/* 1 · Menos scroll: en celular se quita el collage decorativo del inicio */
.configurator { margin-bottom: 40px; }
@media (max-width: 760px) {
  .hero { min-height: auto; padding-bottom: 56px; }
  .collage, .hero__scroll { display: none; }
}

/* 2 · Carrito lateral: "Pagar ahora" directo */
.drawer__links { display: flex; justify-content: center; gap: 24px; }
.drawer__links .link { margin: 0; }

/* 3 · Botones del tamaño de un dedo (mínimo ~40–44 px) */
.qty button { width: 40px; height: 40px; }
.dist { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.dist--shoe { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.qsizes__grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.qcell .qty button { width: 34px; height: 36px; font-size: 1.05rem; }
.link, .badge__toggle { display: inline-block; padding: 10px 2px; }
.badge__toggle { padding-left: 0; }
.hotspot { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: .95rem; }
.swatch { width: 44px; height: 44px; }
.pill { min-height: 44px; min-width: 52px; }
.size-mode button, .assistant__chips button { padding: 11px 16px; }
.qtypes button { padding: 10px 13px; }
.modal__x { width: 44px; height: 44px; display: grid; place-items: center; }

/* 4 · Letra más grande para leer sin esfuerzo */
.eyebrow { font-size: .875rem; }
.small, .muted.small { font-size: .92rem; }
.pack span { font-size: .85rem; }
.tag, .pcard__tag { font-size: .78rem; }
.pcard__sub, .citem__info span, .quote__hint { font-size: .88rem; }
.qsizes__group { font-size: .85rem; }
.meter__marks { font-size: .85rem; }
.secure { font-size: .88rem; }
.footer h5 { font-size: .85rem; }
@media (max-width: 760px) {
  .panel__tag { font-size: .75rem; }
  .panel__status { font-size: .88rem; }
}

/* 6 · Botón del asistente en celular: más chico y se aparta al bajar */
.fab { transition: transform .35s var(--ease); }
.fab.away { transform: translateY(130px); }
@media (max-width: 760px) { .fab { width: 56px; height: 56px; right: 14px; bottom: 14px; } }
@media (max-width: 760px) {
  /* menos altura antes de la primera tarjeta de compra */
  .photo-band { height: 42vh; min-height: 260px; }
  .shoe .gallery__main { aspect-ratio: 4 / 3; }
  .section { padding: 64px 0; }
  .panel__tag { font-size: .8rem; }
}
.pack em { font-size: .74rem; padding: 2px 7px; }
/* Con el carrito abierto, el aviso "✓ Agregado" sale arriba para no tapar "Pagar ahora" */
.drawer:not([hidden]) + .toast { bottom: auto; top: 18px; transform: translate(-50%, -30px); }
.drawer:not([hidden]) + .toast.show { transform: translate(-50%, 0); }

/* ---------- Historia (dentro del bloque de Mercado Libre) ---------- */
.seen__text p + p { margin-top: 10px; }
.seen__text p { color: #4a4a4a; max-width: 600px; }

/* ---------- Páginas de producto (una por producto, para Google) ---------- */
.pd { padding: 120px 0 70px; background: radial-gradient(circle at 90% 0%, var(--yellow-soft), transparent 40%), var(--white); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pd__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: start; }
.pd__info h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 10px 0 12px; }
.pd__lead { font-size: 1.08rem; color: #4a4a4a; }
.pd__price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 6px; }
.pd__price b { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.pd__price s { color: var(--muted); }
.buybox { margin-top: 22px; padding: 24px; border-radius: 24px; background: var(--white); border: 2px solid var(--line); display: grid; gap: 18px; }
.buybox h4 { font-size: .95rem; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.buybox h4 .link { margin: 0; padding: 0; font-weight: 600; }
.pd-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.pd-packs button { padding: 10px 6px; border-radius: 14px; border: 2px solid var(--line); background: var(--white); text-align: center; line-height: 1.25; }
.pd-packs button b { display: block; font-size: 1rem; }
.pd-packs button span { font-size: .78rem; color: var(--muted); }
.pd-packs button.on { background: var(--yellow); border-color: var(--yellow); }
.pd-packs button.on span { color: var(--black); }
.qtyrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.confirm-size { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #4a4a4a; padding: 12px 14px; border-radius: 14px; background: var(--yellow-soft); cursor: pointer; }
.confirm-size input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--black); }
.buybox__note { font-size: .9rem; color: var(--muted); }
.pd__trust { display: grid; gap: 8px; margin-top: 18px; font-size: .95rem; }
.pd-section { padding: 70px 0; }
.pd-section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pd-text p + p { margin-top: 12px; }
.pd-text p { color: #4a4a4a; }
.pd-steps { list-style: none; counter-reset: s; display: grid; gap: 12px; }
.pd-steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--white); border-radius: 18px; border: 1px solid var(--line); }
.pd-steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 800; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table tr:last-child td { border-bottom: 0; }
.story-strip { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 30px 34px; border-radius: 26px; background: var(--soft); border: 3px solid var(--yellow); }
.story-strip img { width: 84px; }
.story-strip h3 { font-size: 1.6rem; margin-bottom: 6px; }
.story-strip p { color: #4a4a4a; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.related a { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); font-weight: 700; transition: transform .3s var(--ease), box-shadow .3s; }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.related span { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) {
  .pd { padding-top: 100px; }
  .pd__grid, .pd-cols { grid-template-columns: 1fr; gap: 26px; }
  .story-strip { grid-template-columns: 1fr; padding: 24px 20px; }
  .buybox { padding: 18px; }
}
.pd-section:not(.section--soft) .faq details { border-color: var(--line); }
.pd-section:not(.section--soft) .faq details[open] { border-color: var(--yellow); }
.pd-section .faq summary { padding: 18px 20px; font-size: 1rem; }
.pd-section .faq .answer { padding: 0 20px 18px; }
.pd .gallery__main { border: 1px solid var(--line); }
.pd .gallery__thumbs { flex-wrap: wrap; }

/* ---------- Comprar según lo que necesitas ---------- */
.needs-section { padding-bottom: clamp(60px, 8vw, 100px); }
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.need { display: grid; gap: 6px; align-content: start; padding: 22px 20px; border-radius: 22px; background: var(--soft); border: 2px solid transparent; transition: transform .35s var(--ease), border-color .25s, box-shadow .35s; }
.need:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: var(--shadow); }
.need__icon { font-size: 1.9rem; line-height: 1; margin-bottom: 4px; }
.need b { font-size: 1.08rem; line-height: 1.25; }
.need span:last-child { font-size: .92rem; color: var(--muted); }
.need::after { content: "Ver →"; margin-top: 6px; font-size: .88rem; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (max-width: 900px) { .needs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .need { padding: 18px 14px; } .need b { font-size: 1rem; } }
.pd__rating { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .95rem; color: var(--muted); }
.pd__rating span { color: var(--yellow); letter-spacing: 1px; font-size: 1.05rem; }
.pd__rating b { color: var(--text); }
.pd__rating:hover { text-decoration: underline; text-decoration-color: var(--yellow); }

/* Huaraches (página principal): fotos más bajas y aire antes de "Toca los puntos" */
.shoes { margin-bottom: 56px; }
.shoe .gallery__main { aspect-ratio: 4 / 3; }
@media (max-width: 760px) { .shoes { margin-bottom: 36px; } }

/* Oferta: más barato que en Mercado Libre */
.deal { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--yellow-soft); border: 2px solid var(--yellow); font-size: .9rem; line-height: 1.3; }
.deal__pct { flex: none; padding: 4px 10px; border-radius: 99px; background: var(--black); color: var(--yellow); font-weight: 800; font-size: .88rem; }
.deal s { color: var(--muted); }
.deal--sm { margin: 6px 0 2px; padding: 4px 10px 4px 4px; gap: 7px; font-size: .78rem; }
.deal--sm .deal__pct { padding: 3px 8px; font-size: .78rem; }

/* ---------- Franja de confianza: 3 columnas con ícono, título y una línea ---------- */
.pp-trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; max-width: 860px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .25); }
.pp-trust > div { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.pp-trust > div + div { border-left: 1px solid var(--line); }
.pp-trust svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.pp-trust b { display: block; font-size: .95rem; line-height: 1.25; }
.pp-trust small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 760px) {
  .pp-trust { grid-template-columns: 1fr; }
  .pp-trust > div { padding: 12px 16px; }
  .pp-trust > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .pp-trust svg { width: 38px; height: 38px; padding: 9px; }
}
/* Menú: marca la sección en la que estás */
.nav__links a.on { font-weight: 700; }
.nav__links a.on::after { transform: scaleX(1); }
/* Foto de perfil del asistente: la estrella del logo, solo contorno negro */
.assistant__avatar { position: relative; overflow: hidden; background: var(--yellow); box-shadow: 0 0 0 3px rgba(245, 184, 0, .28); }
.assistant__avatar img { width: 72%; height: auto; }
/* Al abrir el chat, la estrella "despierta" una vez: aparece con un giro suave y un destello cruza el círculo */
.assistant__avatar::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%); transform: translateX(-130%); pointer-events: none; }
.assistant__avatar.shine img { animation: starPop 1s var(--ease); }
.assistant__avatar.shine::after { animation: glint 1s ease .25s; }
@keyframes starPop { 0% { transform: scale(.55) rotate(-18deg); opacity: .3; } 55% { transform: scale(1.12) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@keyframes glint { to { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) { .assistant__avatar.shine img, .assistant__avatar.shine::after { animation: none; } }

/* Dorado del logo (estrella): solo para "Hecho a mano en México" */
:root { --gold: #a98030; --gold-light: #e2c47c; }
.tag--gold, .pcard__tag--gold { background: linear-gradient(120deg, var(--gold) 0%, #c9a24a 35%, var(--gold-light) 50%, #c9a24a 65%, var(--gold) 100%); background-size: 220% 100%; color: #1f1606; box-shadow: 0 6px 16px -8px rgba(169, 128, 48, .8); animation: goldShine 6s ease-in-out infinite; }
.tag--gold::before, .pcard__tag--gold::before { content: "★ "; }
@keyframes goldShine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .tag--gold, .pcard__tag--gold { animation: none; } }
/* Sello "Hecho en México" (todos los productos) */
.tag--sm { font-size: .66rem; padding: 5px 10px; margin-bottom: 8px; }
.mx-seal { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 99px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1f1606; background: linear-gradient(120deg, var(--gold), #c9a24a 35%, var(--gold-light) 50%, #c9a24a 65%, var(--gold)); background-size: 220% 100%; animation: goldShine 6s ease-in-out infinite; box-shadow: 0 6px 16px -8px rgba(169, 128, 48, .8); }
.pcard__img { position: relative; }
.marquee__mx { color: var(--gold); }
.footer__mx { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .mx-seal { animation: none; } }
.pd__iva { align-self: center; padding: 3px 10px; border-radius: 99px; background: var(--soft); font-size: .78rem; font-weight: 600; color: var(--muted); }
/* Al saltar a una sección (desde el chat o el menú), que el menú de arriba no la tape */
section[id], #prueba, #configurador, #huarache-piel, #huarache-malla, #mandil { scroll-margin-top: 90px; }
/* Otra cantidad de plantillas (3, 5, 10…) */
.pd-other { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .92rem; font-weight: 600; }
.pd-other input { width: 90px; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--line); font: inherit; font-weight: 700; }
.pd-other input:focus { outline: none; border-color: var(--yellow); }
#otherNote { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--yellow-soft); color: var(--text); }

/* Página principal más corta: productos que llevan a su página + botón al final de cada línea */
.home-products .catalog__grid { grid-template-columns: repeat(4, 1fr); }
a.pcard__img { display: block; }
.sec-cta { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 900px) { .home-products .catalog__grid { grid-template-columns: 1fr 1fr; } }
/* Jeans (próximamente): nota que se abre con "Más información" */
.pcard__info { display: grid; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--yellow-soft); font-size: .88rem; line-height: 1.45; animation: rise .4s var(--ease); }
.pcard__info p { margin: 0; }
.notify { display: grid; gap: 8px; }
.notify label { font-weight: 600; }
.notify input { width: 100%; padding: 10px 12px; border: 1.5px solid rgba(0,0,0,.15); border-radius: 10px; font: inherit; background: #fff; color: #1a1a1a; }
.notify input:focus { outline: none; border-color: #1a1a1a; }
.notify .notify__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify__msg:empty { display: none; }
.notify__msg { font-size: .82rem; color: #a23b1d; }
.notify__msg a { text-decoration: underline; }
.notify__fine { font-size: .74rem; opacity: .7; }
.notify__ok { font-weight: 600; }

/* Carrito: aviso de mínimo de plantillas */
.drawer__warn { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #fff1e6; color: #8a3b12; font-size: .86rem; line-height: 1.4; font-weight: 600; }
#drawerPay[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.tier-note { margin-top: 10px; font-size: .82rem; color: #4a4a4a; line-height: 1.45; }

/* Cantidad que se puede escribir (huaraches y mandil, hasta 100) */
.qty .qty__in { width: 46px; border: 0; background: transparent; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.qty .qty__in::-webkit-outer-spin-button, .qty .qty__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Descuentos: tarjeta para comprar (antes era el cotizador) */
.mayo-cta { display: grid; gap: 12px; align-content: start; }
.mayo-cta p { line-height: 1.5; }
.mayo-cta__list { list-style: none; display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }

/* Prueba del clavo en computadora: botas a la izquierda, medidor y botón a la derecha,
   todo cabe en una pantalla de laptop normal (1366×768) */
@media (min-width: 900px) {
  .stepnail { display: grid; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 22px; align-items: center; }
  .stepnail__head { grid-column: 1 / -1; margin-bottom: 14px; }
  .stepnail__head h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 6px; }
  .stepnail__head .muted { font-size: .95rem; }
  .duel { grid-template-columns: repeat(2, auto); justify-content: center; }
  .panel svg { width: auto; height: clamp(260px, calc(100vh - 330px), 420px); margin: 0 auto; }
  .controls { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; margin-top: 0; padding: 22px 18px; }
  .meter { width: 100%; }
  .meter__top { flex-direction: column; align-items: center; gap: 2px; }
  .meter__value { font-size: clamp(2rem, 3vw, 2.6rem); }
  .hold { width: 160px; height: 160px; font-size: .98rem; }
  .stepnail__note { grid-column: 1 / -1; margin-top: 10px; }
}
