/* Noahnoard · "MAREA": la marca vive dentro del azul. */
:root {
  --blue: #002fff;
  --blue-deep: #001d9f;
  --ink: #262b31;
  --light: #f1f6fa;
  --white: #fff;
  --red: #e1352f;
  --red-ui: #cf2e29; /* rojo de marca un poco más profundo para fondos con texto pequeño (contraste AA) */
  --line: rgba(255, 255, 255, .18);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 28px;
  --container: 1240px;
  --head: "Visby Round CF", "Visby CF", system-ui, sans-serif;
}

@font-face { font-family: "Visby CF"; font-weight: 400; font-display: swap; src: url("../assets/fonts/VisbyCF-Regular.woff2") format("woff2"), url("../assets/fonts/VisbyCF-Regular.otf") format("opentype"); }
@font-face { font-family: "Visby CF"; font-weight: 500; font-display: swap; src: url("../assets/fonts/VisbyCF-Medium.woff2") format("woff2"), url("../assets/fonts/VisbyCF-Medium.otf") format("opentype"); }
@font-face { font-family: "Visby CF"; font-weight: 600; font-display: swap; src: url("../assets/fonts/VisbyCF-DemiBold.woff2") format("woff2"), url("../assets/fonts/VisbyCF-DemiBold.otf") format("opentype"); }
@font-face { font-family: "Visby Round CF"; font-weight: 500; font-display: swap; src: url("../assets/fonts/VisbyRoundCF-Medium.woff2") format("woff2"); }
@font-face { font-family: "Visby Round CF"; font-weight: 600; font-display: swap; src: url("../assets/fonts/VisbyRoundCF-DemiBold.woff2") format("woff2"); }
@font-face { font-family: "Visby Round CF"; font-weight: 700; font-display: swap; src: url("../assets/fonts/VisbyRoundCF-Bold.woff2") format("woff2"); }
@font-face { font-family: "Visby Round CF"; font-weight: 800; font-display: swap; src: url("../assets/fonts/VisbyRoundCF-ExtraBold.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--blue); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--white); background: var(--blue); font: 500 1.0625rem/1.6 "Visby CF", system-ui, sans-serif; overflow-x: clip; }
body.menu-open, body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 800; line-height: .9; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 500; left: 16px; top: -80px; padding: 12px 18px; border-radius: 12px; color: var(--blue); background: #fff; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ── Sistema de revelado: visible por defecto, se oculta solo si hay JS ── */
.js [data-reveal] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 30px; border: 2px solid transparent; border-radius: 999px; font: 700 1rem/1 var(--head); text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 8, 60, .35); }
.btn:active { transform: translateY(0); }
.btn--white { color: var(--blue); background: #fff; }
.btn--line { border-color: #fff; color: #fff; background: transparent; }
.btn--line:hover { color: var(--blue); background: #fff; }
.btn--red { color: #fff; background: var(--red-ui); }
.btn--red:hover { background: #c92b26; }
.btn--blue { color: #fff; background: var(--blue); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn--full { width: 100%; }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font: 700 .8125rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .06); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.title { font-size: clamp(2rem, 6vw, 4rem); }
.title--xl { font-size: clamp(2.6rem, 8.5vw, 6.2rem); }
.outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.mark { display: inline-block; padding: .02em .2em .07em; border-radius: .16em; color: #fff; background: var(--red); transform: rotate(-1.5deg); }
.lead { max-width: 56ch; margin-top: 22px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; color: rgba(255, 255, 255, .88); }

/* ── Marca ── */
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.35rem/1 var(--head); letter-spacing: -.03em; }
.brand-mark { position: relative; width: 28px; height: 28px; border-radius: 9px; background: #fff; transform: rotate(-7deg); }
.brand-mark::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); border: 3px solid var(--blue); }

/* ── Navbar píldora ── */
.nav { position: fixed; z-index: 120; top: 14px; left: 50%; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1200px, calc(100% - 24px)); padding: 10px 10px 10px 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(6, 16, 58, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform: translateX(-50%); transition: width .45s var(--ease), padding .45s var(--ease), background .3s; }
.nav.is-small { width: min(980px, calc(100% - 24px)); padding: 6px 6px 6px 18px; background: rgba(6, 16, 58, .88); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) { padding: 10px 14px; border-radius: 999px; font: 700 .95rem/1 var(--head); transition: background .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .14); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.menu-open .nav-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { top: 23px; transform: rotate(-45deg); }
.menu { position: fixed; z-index: 110; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 110px 28px 40px; background: var(--blue); visibility: hidden; opacity: 0; transform: translateY(-16px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.menu-open .menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.menu a:not(.btn) { display: block; padding: 6px 0; font: 800 clamp(2.2rem, 11vw, 3.6rem)/1 var(--head); text-transform: uppercase; letter-spacing: -.02em; opacity: 0; transform: translateY(26px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu .btn { align-self: flex-start; margin-top: 22px; }
.menu-open .menu a { opacity: 1; transform: none; }
.menu a:nth-child(1) { transition-delay: .06s; } .menu a:nth-child(2) { transition-delay: .12s; } .menu a:nth-child(3) { transition-delay: .18s; }
.menu a:nth-child(4) { transition-delay: .24s; } .menu a:nth-child(5) { transition-delay: .3s; } .menu a:nth-child(6) { transition-delay: .36s; }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ── Atmósfera ── */
.spot { position: fixed; inset: 0; z-index: 1; display: none; pointer-events: none; background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 25%), rgba(255, 255, 255, .13), transparent 62%); }
@media (pointer: fine) { .spot { display: block; } }
main, .footer { position: relative; z-index: 2; }
.bubble { position: absolute; border-radius: 50%; background: #fff; opacity: .1; pointer-events: none; animation: float 9s ease-in-out infinite; }
.bubble:nth-child(2n) { animation-duration: 12s; animation-delay: -4s; opacity: .08; }
.bubble:nth-child(3n) { animation-duration: 14s; animation-delay: -7s; opacity: .13; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.curtain { position: fixed; z-index: 300; inset: 0; background: var(--blue-deep); transform: translateY(100%); pointer-events: none; }
.curtain.is-in { transform: none; transition: transform .3s var(--ease); pointer-events: all; }
.arrive .curtain { transform: none; transition: none; }
.curtain.is-out { transform: translateY(-100%); transition: transform .35s var(--ease); }

/* ── Hero ── */
.hero { position: relative; display: grid; align-items: center; min-height: 100vh; min-height: 100svh; padding: 150px 0 90px; overflow: clip; background: radial-gradient(900px 600px at 85% 10%, var(--blue-deep), transparent 70%), var(--blue); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 8rem); line-height: .86; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; }
.js .line > span { transform: translateY(112%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
@keyframes rise { to { transform: none; } }
.hero .lead { max-width: 46ch; }
.js .fade-up { opacity: 0; transform: translateY(22px); animation: fade-up .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 100ms); }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.stat strong { display: block; font: 800 clamp(1.9rem, 4vw, 2.8rem)/1 var(--head); color: #fff; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.photo-card { position: relative; margin: 0; padding: 10px; border-radius: 36px; background: #fff; transform: rotate(3deg); box-shadow: 0 40px 80px -24px rgba(0, 8, 60, .7); will-change: transform; }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.photo-note { position: absolute; left: 22px; bottom: 22px; width: fit-content; max-width: calc(100% - 44px); padding: 12px 18px; border-radius: 16px; color: var(--blue); background: #fff; font: 800 1rem/1.1 var(--head); text-transform: uppercase; transform: rotate(-3deg); box-shadow: 0 12px 30px rgba(0, 8, 60, .35); }
.photo-wrap { position: relative; }
.seal { position: absolute; z-index: 3; right: -20px; top: -48px; width: 120px; height: 120px; border-radius: 50%; color: var(--blue); background: #fff; will-change: transform; }
.seal svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.seal text { font: 800 15.5px var(--head); letter-spacing: .17em; fill: var(--blue); }
.seal .brand-mark { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; background: var(--blue); }
.seal .brand-mark::after { border-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .photo-card { max-width: 420px; margin-inline: auto; transform: rotate(2deg); }
  .seal { right: 4px; top: -40px; width: 92px; height: 92px; }
  .seal .brand-mark { width: 24px; height: 24px; }
}

/* ── Cinta ── */
.tape-wrap { position: relative; z-index: 3; padding: 30px 0; overflow: clip; }
.tape { overflow: hidden; margin: 0 -3vw; color: #fff; background: var(--red-ui); border-block: 3px solid #fff; transform: rotate(-1.6deg); }
.tape-track { display: flex; width: max-content; padding: 14px 0; animation: tape 32s linear infinite; }
.tape-track span { padding-right: 26px; font: 800 clamp(1.2rem, 2.6vw, 1.7rem)/1 var(--head); text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ── Secciones ── */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: clip; }
.sec--deep { background: var(--blue-deep); }
.sec--ink { background: var(--ink); }
.head { max-width: 900px; margin-bottom: clamp(36px, 6vw, 64px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

/* ── Tarjetas ── */
.card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); color: var(--blue); background: #fff; transition: transform .4s var(--ease), background .35s, color .35s, box-shadow .4s; }
.card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 30px 60px -20px rgba(0, 8, 60, .6); }
.card h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.card p { color: inherit; opacity: .85; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card .num { display: block; margin-bottom: 18px; font: 800 4.6rem/.8 var(--head); color: var(--blue); transition: color .35s; }
.card:hover .num { color: var(--red); }
.card--blue { color: #fff; background: var(--blue); border: 1px solid var(--line); }
.card--blue:hover { color: var(--blue); background: #fff; }
.card--ink { color: #fff; background: var(--ink); }
.card--ink:hover { color: #fff; background: var(--red); }
.card--step { padding: 30px 26px; color: #fff; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); }
.card--step:hover { color: var(--blue); background: #fff; }
.card--step h3 { font-size: 1.5rem; }
.card--step .num { font-size: 3.6rem; color: #fff; }
.card--step:hover .num { color: var(--red); }
.card--ink .num { color: #fff; }
.stamp { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 22px; border-radius: 24px; color: #fff; background: var(--blue); font: 800 2.2rem/1 var(--head); overflow: hidden; }
.stamp span { display: block; opacity: .55; transform: scale(1.7) rotate(-14deg); transition: transform .45s var(--ease), opacity .3s; }
.card:hover .stamp span { opacity: 1; transform: scale(1) rotate(-4deg); }
@media (hover: none) { .stamp span { opacity: 1; transform: rotate(-4deg); } .card:hover { transform: none; } }

/* ── Carrusel ── */
.rail { display: flex; gap: 20px; overflow-x: auto; padding: 8px 0 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #fff transparent; cursor: grab; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail > * { flex: 0 0 min(80vw, 330px); scroll-snap-align: start; }

/* ── Productos ── */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); color: var(--blue); background: #fff; transition: transform .4s var(--ease), box-shadow .4s; }
.pcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(0, 8, 60, .6); }
.js .pcard.enter { animation: fade-up .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.pcard-visual { position: relative; height: 270px; overflow: hidden; background: linear-gradient(135deg, #e6ecff, #c7d4ff); }
.pcard-visual > .pcard-img { display: block; height: 100%; }
.pcard-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-visual img { transform: scale(1.06); }
.product-placeholder { display: grid; place-items: center; width: 100%; height: 100%; }
.product-placeholder .brand-mark { width: 70px; height: 70px; border-radius: 22px; background: var(--blue); }
.product-placeholder .brand-mark::after { width: 22px; height: 22px; right: -7px; bottom: -7px; border: 5px solid #d6e0ff; }
.badge { display: inline-flex; align-items: center; width: max-content; padding: 6px 12px; border-radius: 999px; font: 800 .75rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: rgba(0, 47, 255, .1); }
.badge--collection { color: #fff; background: var(--red-ui); }
.pcard .badge { position: absolute; left: 14px; top: 14px; background: #fff; }
.pcard .badge--collection { background: var(--red-ui); }
.pcard-want { position: absolute; left: 14px; right: 14px; bottom: 14px; transform: translateY(140%); transition: transform .4s var(--ease), box-shadow .25s; }
.pcard:hover .pcard-want, .pcard:focus-within .pcard-want { transform: none; }
@media (hover: none) { .pcard-want { transform: none; } }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.pcard-cat { font: 700 .75rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.pcard h3 { margin: 10px 0 18px; font-size: 1.5rem; line-height: .95; }
.pcard h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pcard-price { margin-top: auto; font: 800 1.2rem/1 var(--head); }
.pcard-price--ask { font-size: .95rem; opacity: .8; }

.toolbar { position: sticky; z-index: 60; top: 84px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 28px; padding: 10px; border: 1px solid var(--line); border-radius: 24px; background: rgba(6, 16, 58, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.filters { display: flex; flex: 1 1 360px; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn { flex: 0 0 auto; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font: 700 .92rem/1 var(--head); background: transparent; transition: background .2s, color .2s, transform .2s; }
.filter-btn:hover { background: rgba(255, 255, 255, .12); }
.filter-btn.is-active { color: var(--blue); background: #fff; border-color: #fff; }
.search { flex: 0 1 260px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .08); }
.search::placeholder { color: rgba(255, 255, 255, .65); }
.count { font: 700 .875rem/1 var(--head); color: rgba(255, 255, 255, .8); padding-right: 10px; }
@media (max-width: 680px) { .toolbar { top: 76px; } .count { display: none; } .search { flex: 1 1 100%; } }
.empty { grid-column: 1 / -1; padding: 64px 24px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); }
.empty h3 { font-size: 1.8rem; margin-bottom: 12px; }
.drop-soon { grid-column: 1 / -1; padding: clamp(40px, 7vw, 80px) 24px; text-align: center; border-radius: var(--radius); color: #fff; background: var(--red-ui); }
.drop-soon h3 { font-size: clamp(2rem, 6vw, 4rem); margin-bottom: 14px; }
.drop-soon p { max-width: 44ch; margin: 0 auto 26px; }

/* ── Modal de producto y ficha ── */
.modal { position: fixed; z-index: 250; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(2, 8, 40, .72); visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.modal.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.modal-dialog { position: relative; width: min(100%, 1180px); max-height: calc(100dvh - 32px); overflow: auto; border-radius: var(--radius); color: var(--blue); background: #fff; transform: scale(.94); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.modal.is-open .modal-dialog { transform: none; opacity: 1; }
.modal-close { position: absolute; z-index: 3; right: 14px; top: 14px; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: var(--blue); font-size: 1.1rem; }
.detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.detail-visual { position: relative; padding: clamp(14px, 2.4vw, 24px); background: var(--light); }

.detail-body { padding: clamp(24px, 4vw, 48px); }
.detail-body h1, .detail-body h2 { margin: 14px 0 8px; font-size: clamp(2rem, 4.4vw, 3rem); }
.detail-price { margin-bottom: 18px; font: 800 1.5rem/1 var(--head); }
.detail-meta { margin: 0 0 18px; font-weight: 600; opacity: .8; }
.detail-link { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.product-detail { overflow: hidden; border-radius: var(--radius); color: var(--blue); background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 8, 60, .7); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font: 700 .8125rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 2px solid rgba(0, 47, 255, .18); border-radius: 14px; color: var(--ink); background: #f4f7ff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; background: #fff; }
.note { margin: 14px 0; padding: 12px 14px; border-radius: 12px; font-size: .9rem; background: #eaf0ff; }
@media (max-width: 860px) {
  .modal { place-items: end center; padding: 0; }
  .modal-dialog { width: 100%; max-height: 92dvh; border-radius: var(--radius) var(--radius) 0 0; transform: translateY(100%); }
  .detail { grid-template-columns: 1fr; }
  .detail-body .btn--full { position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 12px 30px rgba(0, 47, 255, .4); }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Páginas internas ── */
.page-hero { position: relative; padding: 170px 0 clamp(56px, 8vw, 100px); overflow: clip; background: radial-gradient(800px 500px at 90% 0%, var(--blue-deep), transparent 70%), var(--blue); }
.page-hero h1 { font-size: clamp(2.8rem, 9vw, 7.4rem); line-height: .88; }
.page-hero--crumbs { padding-bottom: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 700 .875rem/1 var(--head); opacity: .85; }
.crumbs a:hover { text-decoration: underline; }
.timeline { display: grid; gap: 20px; }
.timeline .card { flex-direction: row; gap: 24px; align-items: flex-start; }
.timeline .num { flex: 0 0 auto; margin: 0; min-width: 90px; }
.timeline h3 { font-size: 1.6rem; margin-bottom: 8px; }
@media (max-width: 620px) { .timeline .card { flex-direction: column; gap: 6px; } }
.poster { padding: clamp(32px, 6vw, 84px); border-radius: var(--radius); color: #fff; background: var(--red-ui); }
.poster h2 { max-width: 14ch; font-size: clamp(2.6rem, 9vw, 7rem); line-height: .86; }
.poster h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px #fff; }
.poster p { max-width: 52ch; margin: 24px 0 30px; font-size: 1.2rem; font-weight: 600; }
.cta-big { text-align: center; }
.cta-big h2 { font-size: clamp(2.4rem, 8.6vw, 6.4rem); line-height: .88; margin-inline: auto; max-width: 14ch; }
.cta-big .lead { margin-inline: auto; }
.cta-big .actions { justify-content: center; }
.contact-card { display: block; }
.contact-card strong { display: block; font: 800 1.7rem/1 var(--head); text-transform: uppercase; margin-bottom: 10px; }
.form-panel { padding: clamp(26px, 4vw, 48px); border-radius: var(--radius); color: var(--blue); background: #fff; }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: 18px; font-weight: 600; background: rgba(255, 255, 255, .06); }
.checklist li::before { content: ""; flex: 0 0 12px; height: 12px; border-radius: 50%; background: #fff; }
.gallery-card { overflow: hidden; padding: 10px; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.gallery-card h3 { margin: 18px 10px 6px; font-size: 1.5rem; }
.gallery-card p { margin: 0 10px 12px; }
.bio { display: flex; flex-direction: column; gap: 14px; width: min(560px, calc(100% - 40px)); margin: 0 auto; padding: 130px 0 70px; text-align: center; }
.bio .brand { align-self: center; font-size: 1.8rem; }
.bio h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); margin: 14px 0 10px; }
.bio .btn { min-height: 60px; }

/* ── Footer ── */
.footer { position: relative; padding: 80px 0 0; overflow: clip; color: #fff; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h2 { margin-bottom: 18px; font-size: .85rem; letter-spacing: .14em; color: rgba(255, 255, 255, .6); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { opacity: .78; transition: opacity .2s, transform .2s; }
.footer-links a:hover { opacity: 1; transform: translateX(4px); }
.footer-about p { max-width: 34ch; margin: 18px 0 0; opacity: .75; }
.footer-bottom { margin: 56px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; opacity: .75; }
.wm { margin: 10px 0 -.14em; font: 800 clamp(4.4rem, 21vw, 19rem)/.8 var(--head); letter-spacing: -.05em; text-align: center; color: rgba(255, 255, 255, .06); white-space: nowrap; user-select: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
.whatsapp-float { position: fixed; z-index: 90; right: 16px; bottom: 16px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: #1fb855; box-shadow: 0 12px 28px rgba(0, 8, 60, .45); transition: transform .25s var(--ease); }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.06); }
.whatsapp-float svg { width: 26px; height: 26px; }
body:has(.modal.is-open) .whatsapp-float, body.menu-open .whatsapp-float { display: none; }
@media (max-width: 980px) { body:has(#product-grid) .whatsapp-float, body:has(#product-root) .whatsapp-float { display: none; } }

/* ── Movimiento reducido: todo visible y sin animar ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .line > span, .js .fade-up { opacity: 1 !important; transform: none !important; }
  .tape-track { transform: none; }
  .spot, .curtain { display: none !important; }
}

/* ── Marca: imágenes, personaje 3D, patrón NRD, preguntas frecuentes ── */
.hero-visual { position: relative; }
.photo-card img { object-position: center top; }
.char { position: absolute; z-index: 4; pointer-events: none; user-select: none; filter: drop-shadow(0 24px 28px rgba(0, 8, 60, .35)); will-change: transform; }
.char--hero { left: -96px; bottom: -34px; width: 210px; }
@media (max-width: 860px) { .char--hero { left: -6px; bottom: -34px; width: 118px; } }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blue-deep); box-shadow: 0 40px 80px -30px rgba(0, 8, 60, .7); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 11; }
.card--img { padding: 0; overflow: hidden; }
.card--img .card-img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: var(--blue-deep); }
.card--img .card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 3vw, 38px); }
.card--img .card-body .btn { margin-top: auto; }
.card--img:hover .card-img { transform: scale(1.03); }
.card--img .card-img { transition: transform .6s var(--ease); }
.card--img .badge { margin-bottom: 14px; }
.card--red { color: #fff; background: var(--red-ui); }
.card--red:hover { color: var(--red-ui); background: #fff; }
.card--red .badge { color: var(--red-ui); background: #fff; }
.sec--pattern { background: var(--red-ui) url("../assets/marca/patron-nrd-rojo.webp") center / 560px; }
.sec--pattern::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(207, 46, 41, .94), rgba(207, 46, 41, .86)); }
.sec--pattern > .container { position: relative; }
.drop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 44px 0; }
@media (max-width: 760px) { .drop-grid { grid-template-columns: 1fr; } }
.drop-tile { position: relative; overflow: hidden; border-radius: var(--radius); background: #fff; }
.drop-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 18px; }
.drop-tile .badge { position: absolute; left: 14px; top: 14px; color: #fff; background: var(--red-ui); }
.drop-tile span.soon { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; border-radius: 999px; font: 800 .8125rem/1 var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); background: var(--light); }
.client { flex: 0 0 min(72vw, 300px); margin: 0; overflow: hidden; border-radius: var(--radius); background: #fff; scroll-snap-align: start; }
.client img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.method-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; border-radius: 20px; background: var(--light); }
.durability { margin-top: auto; padding-top: 14px; }
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .06); transition: background .3s; }
.faq details[open] { background: rgba(255, 255, 255, .12); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font: 700 1.15rem/1.25 var(--head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 1.6rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: rgba(255, 255, 255, .88); }
.char--cta { position: static; display: block; margin: 0 auto -8px; width: min(190px, 44vw); }
.photo-card.no-tilt { transform: none; }
.section-actions { margin-top: 36px; }

.line { padding: 0 .1em .1em; margin-inline: -.1em; }
.page-hero h1 .mark, .hero h1 .mark { padding-inline: .16em; }
.char--cta + h2 { margin-top: 8px; }

.poster h2 { max-width: none; font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: .92; }
.poster p { font-size: 1.1rem; }
.char--cta { width: min(240px, 52vw); }

.photo-note { left: auto; right: 22px; }

/* ── Logo de marca (SVG como máscara: toma el color del texto; blanco sobre azul, azul sobre blanco) ── */
.logo { display: block; flex: none; height: var(--logo-h, 38px); aspect-ratio: 745.74 / 424.48; background: currentColor; -webkit-mask: url("/assets/logo.svg") center / contain no-repeat; mask: url("/assets/logo.svg") center / contain no-repeat; transition: height .45s var(--ease); }
.brand { gap: 0; line-height: 0; }
.nav .logo { --logo-h: 42px; }
.nav.is-small .logo { --logo-h: 34px; }
.footer .logo { --logo-h: 76px; }
.bio .logo { --logo-h: 84px; }
.on-light .logo { color: var(--blue); }

/* ── Botón del pedido en la barra ── */
.nav-end { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .14); transition: background .2s, transform .25s var(--ease); }
.cart-btn:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; color: #fff; background: var(--red); font: 800 .72rem/21px var(--head); text-align: center; box-shadow: 0 0 0 2px #0a2cc9; }

/* ── Galería tipo Amazon: miniaturas a la izquierda en escritorio, debajo en móvil ── */
.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 22px; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .product-placeholder { background: linear-gradient(135deg, #e6ecff, #c7d4ff); }
.gallery-label { position: absolute; left: 12px; bottom: 12px; padding: 7px 14px; border-radius: 999px; color: #fff; background: var(--blue); font: 800 .8125rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding: 2px; }
.thumb { flex: 0 0 64px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 14px; background: #fff; opacity: .7; transition: opacity .2s, border-color .2s, transform .2s var(--ease); }
.thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb.is-active { border-color: var(--blue); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 861px) {
  .gallery:has(> .thumbs) { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
  .gallery:has(> .thumbs) .thumbs { order: -1; flex-direction: column; max-height: 100%; overflow-y: auto; overflow-x: hidden; }
}

/* ── Formulario de opciones y selector de unidades ── */
.opts { margin-top: 18px; }
.qty { display: inline-flex; align-items: center; gap: 2px; border: 2px solid rgba(0, 47, 255, .18); border-radius: 999px; background: #f4f7ff; }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--blue); background: transparent; font: 800 1.3rem/1 var(--head); transition: background .2s; }
.qty button:hover { background: rgba(0, 47, 255, .1); }
.qty span, .qty input { min-width: 36px; text-align: center; font: 800 1.05rem/1 var(--head); color: var(--blue); }
.qty--lg input { width: 70px; min-height: 44px; padding: 0; border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty--lg input::-webkit-outer-spin-button, .qty--lg input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.opts-price { margin: 4px 0 16px; font: 600 1rem/1.4 "Visby CF", sans-serif; color: var(--blue); }
.opts-price strong { font: 800 1.35rem/1 var(--head); }

/* ── Aviso al agregar ── */
.toast { position: fixed; z-index: 280; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); padding: 12px 12px 12px 20px; border-radius: 999px; color: #fff; background: var(--ink); box-shadow: 0 20px 50px rgba(0, 8, 60, .5); font-weight: 600; transform: translate(-50%, 140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast button { flex: none; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; color: var(--blue); background: #fff; font: 800 .9rem/1 var(--head); }

/* ── Panel del pedido ── */
.cart { position: fixed; z-index: 260; inset: 0; background: rgba(2, 8, 40, .62); visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
.cart.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(460px, 100%); color: var(--blue); background: #fff; transform: translateX(100%); transition: transform .5s var(--ease); }
.cart.is-open .cart-panel { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid rgba(0, 47, 255, .12); }
.cart-head h2 { font-size: 1.7rem; }
.cart-close { position: static; }
.cart-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.cart-empty { display: grid; gap: 6px; justify-items: start; padding: 36px 0; }
.cart-list { display: grid; margin: 0; padding: 0; list-style: none; }
.cart-line { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 18px 28px 18px 0; border-bottom: 1px solid rgba(0, 47, 255, .1); }
.cart-thumb { display: grid; place-items: center; width: 76px; height: 76px; overflow: hidden; border-radius: 16px; background: linear-gradient(135deg, #e6ecff, #c7d4ff); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .brand-mark { width: 30px; height: 30px; background: var(--blue); }
.cart-info { display: grid; gap: 4px; min-width: 0; }
.cart-info strong { font: 800 1.05rem/1.15 var(--head); text-transform: uppercase; }
.cart-info > span { font-size: .9rem; opacity: .8; }
.cart-note { font-style: italic; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.cart-row .qty button { width: 36px; height: 36px; }
.cart-price { font: 800 1rem/1.1 var(--head); text-align: right; }
.cart-remove { position: absolute; top: 14px; right: 0; width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--blue); background: transparent; }
.cart-remove:hover { background: rgba(225, 53, 47, .12); color: var(--red); }
.cart-foot { display: grid; gap: 12px; padding: 16px 22px 22px; border-top: 1px solid rgba(0, 47, 255, .12); background: var(--light); }
.cart-foot:empty { display: none; }
.cart-total p { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 600; }
.cart-total strong { font: 800 1.6rem/1 var(--head); }
.cart-total small { display: block; margin-top: 4px; opacity: .75; }
.cart-links { display: flex; justify-content: space-between; }
.cart-links button { padding: 8px 0; border: 0; color: var(--blue); background: none; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 560px) { .toast { bottom: 84px; } }

/* ── Foto protagonista y opciones ── */
.gallery-main { aspect-ratio: 4 / 5; max-height: min(80dvh, 760px); width: 100%; }
.gallery:has(> .thumbs) { grid-template-columns: 78px minmax(0, 1fr); }
.thumb { flex-basis: 70px; height: 70px; }
.form-row:has(> :only-child) { grid-template-columns: 1fr; }
.opts-error { margin: 0 0 14px; padding: 10px 14px; border-radius: 12px; color: #fff; background: var(--red-ui); font-weight: 600; font-size: .92rem; }
.field select[aria-invalid="true"] { border-color: var(--red); background: #fff1f0; }
.detail-body { align-self: start; }
@media (max-width: 860px) {
  .gallery-main { aspect-ratio: 1; max-height: none; }
  .gallery:has(> .thumbs) { grid-template-columns: 1fr; }
}

/* ── Clientes: texto a la izquierda, fotos grandes a la derecha ── */
.clients { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.clients-text .lead { max-width: 30ch; }
.clients .rail { padding-right: 4px; }
.clients .client { flex: 0 0 min(78vw, 400px); }
@media (max-width: 960px) { .clients { grid-template-columns: 1fr; } .clients-text .lead { max-width: 56ch; } }

/* ── Nosotros ── */
.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.band .stat { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .06); }
.band .stat strong { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.band .stat span { font-size: .95rem; }
@media (max-width: 900px) { .band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.story p { max-width: 62ch; font-size: 1.12rem; line-height: 1.65; color: rgba(255, 255, 255, .92); }
.story p:first-of-type { margin-top: 0; }
.timeline .num { min-width: 150px; font-size: 3rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 12px 20px; border: 2px solid #fff; border-radius: 999px; font: 700 1rem/1 var(--head); }

.clients { grid-template-columns: minmax(0, .9fr) minmax(0, 1.8fr); }
.clients-text .title { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: .95; overflow-wrap: anywhere; }

@media (max-width: 960px) { .clients { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .band { grid-template-columns: 1fr; } .band .stat { padding: 20px; } }

.page-hero h1 { font-size: clamp(1.9rem, 8vw, 7.4rem); overflow-wrap: break-word; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ══ v4: barra azul, tarjetas protagonistas, estampados con detalle y personaje grande ══ */
.nav { background: var(--blue); border-color: rgba(255, 255, 255, .42); box-shadow: 0 16px 36px -14px rgba(0, 8, 60, .65); }
.nav.is-small { background: var(--blue); }

/* Los más encargados: mosaico de tarjetas grandes; al pasar el mouse sale un pedido real entregado */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(300px, 27vw, 380px); grid-auto-flow: dense; gap: 20px; }
.bento > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento > :nth-child(4), .bento > :nth-child(7) { grid-column: span 2; }
.fcard { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius); color: var(--blue); background: linear-gradient(160deg, #eef2ff, #d5deff); transition: transform .5s var(--ease), box-shadow .5s; }
.fcard:hover, .fcard:focus-within { transform: translateY(-8px) rotate(-.5deg); box-shadow: 0 36px 70px -24px rgba(0, 8, 60, .7); }
.fcard-media { position: absolute; inset: 0; display: block; }
.fcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .9s var(--ease), opacity .55s var(--ease); }
.fcard-media .fcard-real { opacity: 0; transform: scale(1.07); }
.fcard:hover .fcard-real, .fcard:focus-within .fcard-real { opacity: 1; transform: none; }
.fcard:hover .fcard-media img:first-child { transform: scale(1.05); }
.fcard .badge { position: absolute; z-index: 2; left: 16px; top: 16px; background: #fff; }
.fcard .badge--collection { color: #fff; background: var(--red-ui); }
.fcard-tag { position: absolute; z-index: 2; right: 16px; top: 16px; padding: 8px 12px; border-radius: 999px; font: 800 .72rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red-ui); opacity: 0; transform: translateY(-8px); transition: opacity .4s, transform .5s var(--ease); }
.fcard:hover .fcard-tag, .fcard:focus-within .fcard-tag { opacity: 1; transform: none; }
.fcard-info { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 8, 60, .5); }
.fcard-info h3 { margin: 8px 0 14px; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: .95; }
.bento > :nth-child(1) .fcard-info h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.fcard-info h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fcard-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; }
@media (hover: none) {
  .fcard-media .fcard-real, .fcard-tag { animation: fswap 7s ease-in-out infinite; transform: none; }
}
@keyframes fswap { 0%, 38% { opacity: 0; } 52%, 88% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fcard-media .fcard-real, .fcard-tag { animation: none !important; } }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 300px; }
  .bento > :nth-child(n) { grid-column: auto; grid-row: auto; }
  .bento > :nth-child(1), .bento > :nth-child(4), .bento > :nth-child(7) { grid-column: span 2; }
  .bento > :nth-child(1) { grid-row: span 2; }
}
@media (max-width: 560px) {
  .bento { gap: 12px; grid-auto-rows: 250px; }
  .bento > :nth-child(1) { grid-row: span 1; }
  .fcard-info { left: 8px; right: 8px; bottom: 8px; padding: 14px; border-radius: 18px; }
  .fcard-row .btn { display: none; }
  .bento > :nth-child(1) .fcard-row .btn, .bento > :nth-child(4) .fcard-row .btn, .bento > :nth-child(7) .fcard-row .btn { display: inline-flex; }
  .fcard .badge { left: 10px; top: 10px; }
}

/* Colección: piezas grandes, las protagonistas */
.drop-grid { gap: 24px; }
.drop-tile { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #fff, #e3eaff); transition: transform .5s var(--ease), box-shadow .5s; }
.drop-tile img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; padding: 9%; transition: transform .8s var(--ease); }
.drop-tile:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: 0 36px 70px -24px rgba(60, 0, 0, .6); }
.drop-tile:hover img { transform: scale(1.06); }
.drop-tile span.soon { z-index: 1; }
@media (max-width: 760px) {
  .drop-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
  .drop-grid::-webkit-scrollbar { display: none; }
  .drop-tile { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Clientes: texto arriba, fotos grandes en carrusel a todo el ancho */
.clients { display: block; }
.clients-text { max-width: 760px; margin-bottom: 36px; }
.clients-text .title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: .92; overflow-wrap: normal; }
.clients-text .lead { max-width: 46ch; }
.clients .rail { gap: 24px; padding-bottom: 30px; }
.clients .client { flex: 0 0 min(84vw, 470px); box-shadow: 0 30px 60px -28px rgba(0, 8, 60, .65); transition: box-shadow .5s; }
.clients .client:nth-child(even) { margin-top: 36px; }
.clients .client img { aspect-ratio: 4 / 5; transition: transform .9s var(--ease); }
.clients .client:hover img { transform: scale(1.05); }
@media (max-width: 560px) { .clients .client:nth-child(even) { margin-top: 0; } }

/* Formas de estampar: tarjetas grandes; el detalle aparece al pasar el mouse (en celular, carrusel con el detalle visible) */
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.method { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(500px, 44vw, 640px); border-radius: var(--radius); color: #fff; background: var(--blue-deep); transition: transform .5s var(--ease), box-shadow .5s; outline-offset: 4px; }
.method > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.method::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 120, 0) 30%, rgba(0, 29, 159, .94) 100%); transition: background .6s var(--ease); }
.method:hover, .method:focus-within, .method:focus { transform: translateY(-8px); box-shadow: 0 36px 70px -24px rgba(0, 8, 60, .75); }
.method:hover > img, .method:focus-within > img, .method:focus > img { transform: scale(1.08); }
.method:hover::before, .method:focus-within::before, .method:focus::before { background: linear-gradient(180deg, rgba(0, 47, 255, .55) 0%, rgba(0, 29, 159, .97) 100%); }
.method .badge { position: absolute; left: 18px; top: 18px; color: var(--blue); background: #fff; }
.method-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.4vw, 34px); }
.method-num { display: block; margin-bottom: 8px; font: 800 clamp(3.4rem, 6vw, 5.4rem)/.8 var(--head); color: rgba(255, 255, 255, .32); }
.method h3 { margin: 0; font-size: clamp(2rem, 3.4vw, 3rem); }
.method-more { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .65s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.method:hover .method-more, .method:focus-within .method-more, .method:focus .method-more { max-height: 280px; margin-top: 14px; opacity: 1; }
.method-more p { margin: 0; font-size: 1.05rem; }
.method-more ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.method-more li { padding: 8px 14px; border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 999px; font: 700 .85rem/1 var(--head); }
@media (hover: none), (max-width: 1000px) {
  .methods { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
  .methods::-webkit-scrollbar { display: none; }
  .method { flex: 0 0 min(86vw, 430px); min-height: 540px; scroll-snap-align: center; }
  .method-more { max-height: none; margin-top: 12px; opacity: 1; }
}

/* Personaje 3D: mucho más grande */
.char--hero { left: -96px; bottom: -64px; width: auto; height: clamp(320px, 33vw, 480px); }
@media (max-width: 860px) { .char--hero { left: -12px; bottom: -44px; width: auto; height: 250px; } }
.cta-stage { overflow: hidden; padding-bottom: 0; }
.cta-stage .container { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: clamp(620px, 66vw, 800px); }
.cta-stage .char--cta { position: absolute; left: 50%; top: 0; width: auto; height: 100%; margin: 0; transform: translateX(-50%); }
.cta-stage .cta-copy { position: relative; z-index: 5; width: 100%; padding-bottom: clamp(36px, 5vw, 64px); }
.cta-stage h2 { max-width: 15ch; font-size: clamp(2.3rem, 6.6vw, 5.2rem); text-shadow: 0 6px 36px rgba(0, 12, 90, .75); }
.cta-stage--side .container { justify-content: flex-start; align-items: center; min-height: clamp(540px, 52vw, 700px); }
.cta-stage--side .char--cta { left: auto; right: 0; top: 50%; height: min(100%, 660px); transform: translateY(-50%); }
.cta-stage--side .cta-copy { max-width: 540px; padding: 0; text-align: left; }
.cta-stage--side h2 { margin-inline: 0; }
.cta-stage--side .actions { justify-content: flex-start; }
@media (max-width: 760px) {
  .cta-stage--side .container { align-items: flex-start; padding-top: 36px; min-height: 660px; }
  .cta-stage--side .char--cta { right: -4%; top: auto; bottom: 0; height: 58%; transform: none; }
}

/* Ajuste de tarjetas pequeñas: el recuadro tapa menos foto */
.fcard-info { padding: 14px 16px; }
.fcard-info h3 { margin: 4px 0 10px; }
.bento > :not(:nth-child(1)) .fcard-info .pcard-cat { display: none; }
.bento > :not(:nth-child(1)) .fcard-info h3 { font-size: clamp(1.1rem, 1.7vw, 1.45rem); }
.fcard-tag.is-on { opacity: 1; transform: none; }
#lineas .title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }

/* Carruseles sin barras: flechas a cada lado */
.rail, .methods, .drop-grid, .thumbs { scrollbar-width: none; }
.rail::-webkit-scrollbar, .methods::-webkit-scrollbar, .drop-grid::-webkit-scrollbar, .thumbs::-webkit-scrollbar { display: none; }
.rail, .methods, .drop-grid { overflow-y: hidden; padding-top: 12px; }
.carousel { position: relative; }
.car-btn { position: absolute; top: 50%; z-index: 6; display: none; align-items: center; justify-content: center; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; color: var(--blue); background: #fff; box-shadow: 0 14px 30px -10px rgba(0, 8, 60, .65); transform: translateY(-50%); cursor: pointer; transition: transform .3s var(--ease), opacity .3s, box-shadow .3s; }
.car-btn svg { width: 24px; height: 24px; }
.car-btn--prev { left: -14px; }
.car-btn--next { right: -14px; }
.has-overflow > .car-btn { display: flex; }
.car-btn:hover:not(:disabled) { transform: translateY(-50%) scale(1.08); }
.car-btn:active:not(:disabled) { transform: translateY(-50%) scale(.94); }
.car-btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .car-btn { width: 46px; height: 46px; } .car-btn--prev { left: 4px; } .car-btn--next { right: 4px; } }

/* Formas de estampar: la foto se ve limpia (sin oscurecer) y se acerca para ver la tela; el texto va en un recuadro */
.method::before { display: none; }
.method > img { z-index: 0; transform-origin: 50% 38%; }
.method:hover > img, .method:focus-within > img, .method:focus > img { transform: scale(1.22); }
.method .badge { z-index: 2; }
.method-body { left: 14px; right: 14px; bottom: 14px; z-index: 2; padding: 18px 22px 20px; border-radius: 22px; color: var(--blue); background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 8, 60, .55); }
.method-num { display: inline-block; margin: 0 10px 0 0; font-size: 1.1rem; line-height: 1; color: var(--red-ui); vertical-align: middle; }
.method h3 { display: inline; font-size: clamp(1.7rem, 2.8vw, 2.3rem); vertical-align: middle; }
.method-more li { border-color: var(--blue); }
.method-more p { color: var(--blue); }

/* ══ v5: catálogo sin recortes, colección en carrusel, fotos reales ══ */
.pgrid .pcard-visual { height: auto; aspect-ratio: 4 / 5; background: #fff; }
.pgrid .pcard-visual img { object-fit: contain; padding: 10px; }
.pgrid .pcard:hover .pcard-visual img { transform: scale(1.03); }
.gallery-main img { object-fit: contain; background: #fff; }
.thumb img { object-fit: contain; background: #fff; }

.drop-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 44px 0; padding-bottom: 14px; }
.drop-tile { display: block; flex: 0 0 min(82%, 400px); aspect-ratio: 1 / 1.12; scroll-snap-align: start; color: var(--blue); }
.drop-tile img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; aspect-ratio: auto; object-fit: cover; }
.drop-tile .badge { z-index: 2; }
.drop-info { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: 0 14px 30px -14px rgba(60, 0, 0, .55); }
.drop-info strong { font: 800 1.2rem/1.05 var(--head); text-transform: uppercase; }
.drop-info em { font-style: normal; font-weight: 700; font-size: .95rem; opacity: .85; }
.drop-tile:hover { transform: translateY(-8px) rotate(-.8deg); }

.clients .client img { object-position: center 28%; }

.clients .client { align-self: flex-start; }

/* Mayoreo: collage más grande */
#mayoreo .split { grid-template-columns: .82fr 1.18fr; }
#mayoreo .frame--tall { box-shadow: 0 40px 80px -30px rgba(0, 8, 60, .7); }
@media (max-width: 900px) { #mayoreo .split { grid-template-columns: 1fr; } }

/* ══ v6: tarjeta de colección (mosaico de diseños) ══ */
.pgrid .pcard--col .pcard-visual { background: var(--red-ui); }
.col-mosaic { display: grid; gap: 3px; width: 100%; height: 100%; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; background: #fff; }
.col-mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.col-mosaic--2 { grid-template-rows: 1fr; }
.pgrid .col-mosaic img { width: 100%; height: 100%; padding: 0; object-fit: cover; }
.pgrid .pcard--col:hover .col-mosaic img { transform: none; }

/* ── Menú desplegable propio ── */
.sel { position: relative; }
.sel-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.sel-btn { position: relative; width: 100%; min-height: 48px; padding: 12px 44px 12px 16px; border: 2px solid rgba(0, 47, 255, .18); border-radius: 14px; color: var(--ink); background: #f4f7ff; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.sel-btn.is-empty { color: rgba(6, 16, 58, .6); }
.sel-btn::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border: solid var(--blue); border-width: 0 3px 3px 0; border-radius: 2px; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.sel-btn[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.sel-btn:hover, .sel-btn:focus-visible, .sel-btn[aria-expanded="true"] { border-color: var(--blue); background: #fff; outline: none; }
.sel-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 240px; margin: 0; padding: 8px; overflow-y: auto; list-style: none; border: 2px solid var(--blue); border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -18px rgba(0, 8, 60, .55); }
.sel-list li { padding: 11px 14px; border-radius: 12px; color: var(--blue); font-weight: 700; cursor: pointer; }
.sel-list li.is-ph { opacity: .55; }
.sel-list li.is-cur, .sel-list li:hover { background: #eaf0ff; }
.sel-list li[aria-selected="true"] { color: #fff; background: var(--blue); }
.field:has(select[aria-invalid="true"]) .sel-btn { border-color: var(--red); background: #fff1f0; }
.pgrid .pcard-visual { margin: 10px 10px 0; border-radius: 22px; }
.pgrid .pcard-visual img { padding: 0; object-fit: cover; }

/* Cartel de mayoreo más compacto y jerarquizado */
.poster { padding: clamp(26px, 4.5vw, 64px); }
.poster h2 { margin-top: 16px; max-width: 18ch; font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: .95; }
.poster h2 em { display: block; margin-top: 6px; -webkit-text-stroke-width: 1.5px; }
.poster p { margin: 18px 0 24px; font-size: 1rem; line-height: 1.5; }
.sel-list li { cursor: pointer; }

/* Más encargados con 4 productos: tarjetas iguales y altas para que cada producto se vea completo */
.bento:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.bento:has(> :nth-child(4):last-child) > :nth-child(n) { grid-column: auto; grid-row: auto; }
.bento:has(> :nth-child(4):last-child) .fcard { aspect-ratio: 4 / 5; }
.bento:has(> :nth-child(4):last-child) .fcard-media img { object-position: center 28%; }
.bento:has(> :nth-child(4):last-child) .fcard-info { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; border-radius: 20px; }
.bento:has(> :nth-child(4):last-child) .fcard-info h3, .bento:has(> :nth-child(4):last-child) > :nth-child(1) .fcard-info h3 { margin: 6px 0 10px; font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
@media (max-width: 1000px) { .bento:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Foto ampliada ── */
.gallery-main img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; overflow: auto; padding: 16px; background: rgba(0, 8, 50, .94); animation: lb-in .25s var(--ease) both; cursor: zoom-out; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox img { margin: auto; flex: none; max-width: 100%; max-height: 86dvh; object-fit: contain; border-radius: 20px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); touch-action: pinch-zoom; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; color: var(--blue); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: transform .25s var(--ease); }
.lb-close { top: 16px; right: 16px; }
.lb-nav { top: 50%; margin-top: -24px; font-size: 2rem; padding-bottom: 4px; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-close:hover, .lb-nav:hover { transform: scale(1.08); }
.lb-label { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; color: #fff; background: var(--blue); font: 800 .85rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em; }

/* ── Móvil: más encargados con la información debajo de cada foto ── */
@media (max-width: 760px) {
  .bento .fcard, .bento:has(> :nth-child(4):last-child) .fcard { display: flex; flex-direction: column; aspect-ratio: auto; background: #fff; }
  .bento .fcard-media { position: relative; inset: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
  .bento .fcard-media img { object-position: center 30%; }
  .bento .fcard-info, .bento:has(> :nth-child(4):last-child) .fcard-info { position: static; padding: 12px 6px 10px; border-radius: 0; background: transparent; box-shadow: none; }
  .bento .fcard-info h3, .bento:has(> :nth-child(4):last-child) .fcard-info h3, .bento > :nth-child(1) .fcard-info h3 { margin: 4px 0 10px; font-size: 1.05rem; line-height: 1; }
  .bento .fcard-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .bento .fcard-row .btn, .bento > :nth-child(n) .fcard-row .btn { display: inline-flex; justify-content: center; width: 100%; }
  .bento .fcard-tag { display: none; }
  .bento .fcard:hover, .bento .fcard:focus-within { transform: none; }
}

/* ── Carruseles: las tarjetas aparecen de una vez (el revelado por tarjeta las dejaba invisibles fuera de pantalla) y quedan centradas ── */
.js .rail > [data-reveal], .js .methods > [data-reveal], .js .drop-grid > [data-reveal] { opacity: 1; transform: none; transition: none; }
@media (max-width: 760px) {
  .js [data-reveal].is-in { transition-duration: .45s; transition-delay: calc(var(--d, 0) * .4ms); }
  .rail, .methods, .drop-grid { scroll-padding-inline: 8%; padding-inline: 8%; scroll-snap-type: x mandatory; }
  .rail > *, .methods > *, .drop-tile { scroll-snap-align: center; }
  .methods > * { flex: 0 0 84%; }
  .drop-tile { flex: 0 0 84%; }
}

@media (max-width: 760px) {
  .rail, .methods, .drop-grid { --cw: min(78vw, 360px); padding-inline: calc((100% - var(--cw)) / 2); scroll-padding-inline: calc((100% - var(--cw)) / 2); }
  .rail > *, .methods > *, .drop-tile, .method { flex: 0 0 var(--cw); width: var(--cw); scroll-snap-align: center; }
  .bento .fcard-real { display: none; }
}

.lightbox img { cursor: zoom-in; }
.lightbox.is-zoomed { cursor: zoom-out; }
.lightbox.is-zoomed img { max-width: none; max-height: none; width: min(230vw, 2000px); cursor: zoom-out; }
.lb-close, .lb-nav, .lb-label { position: fixed; }
.lb-label { z-index: 1; }

@media (max-width: 760px) {
  .clients .rail { padding-bottom: 22px; }
  .clients .client { flex: 0 0 var(--cw); width: var(--cw); margin-top: 0; box-shadow: 0 12px 24px -16px rgba(0, 8, 60, .55); scroll-snap-align: center; }
  .clients .client:nth-child(even) { margin-top: 0; }
}

/* ── Precio por cantidad ── */
.tiers { margin: 4px 0 18px; padding: 14px 16px; border-radius: 16px; background: #eaf0ff; }
.tiers strong { display: block; margin-bottom: 8px; font: 800 .8125rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.tiers ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tiers li { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.tiers li b { font-family: var(--head); }
.tiers p { margin: 10px 0 0; font-size: .85rem; opacity: .8; }

.pcard-tiers { display: flex; flex-direction: column; gap: 3px; margin: 10px 0 0; padding: 10px 0 0; border-top: 1.5px solid rgba(0, 47, 255, .15); list-style: none; font-size: .85rem; font-weight: 600; }
.pcard-tiers li { display: flex; justify-content: space-between; gap: 10px; }
.pcard-tiers b { font-family: var(--head); }

/* ── Más encargados en pantallas grandes: tarjetas más grandes y textos más legibles ── */
@media (min-width: 1000px) {
  #destacados .container { max-width: min(1600px, 94vw); }
  .bento:has(> :nth-child(4):last-child) { gap: 28px; }
  .bento:has(> :nth-child(4):last-child) .fcard-info { left: 16px; right: 16px; bottom: 16px; padding: 20px 22px; border-radius: 26px; }
  .bento:has(> :nth-child(4):last-child) .fcard-info h3 { margin: 8px 0 16px; font-size: clamp(1.4rem, 1.75vw, 2rem); }
  .bento:has(> :nth-child(4):last-child) .pcard-cat { font-size: .85rem; }
  .bento:has(> :nth-child(4):last-child) .pcard-price { font-size: clamp(1.25rem, 1.5vw, 1.6rem); }
  .bento:has(> :nth-child(4):last-child) .fcard-row .btn { min-height: 52px; padding: 0 28px; font-size: 1.05rem; }
  .bento:has(> :nth-child(4):last-child) .fcard .badge { left: 20px; top: 20px; padding: 8px 14px; font-size: .8rem; }
}

/* ── Catálogo: cada tarjeta mide lo que su contenido (sin huecos blancos entre el nombre y el precio) ── */
.pgrid { align-items: start; }
.pcard { align-self: start; }
.pcard-price { margin-top: 0; }

/* Más encargados (4 productos) en pantallas grandes: foto completa arriba y la información debajo, sin tapar el producto */
@media (min-width: 761px) {
  .bento:has(> :nth-child(4):last-child) .fcard { display: flex; flex-direction: column; aspect-ratio: auto; background: #fff; padding: 10px; }
  .bento:has(> :nth-child(4):last-child) .fcard-media { position: relative; inset: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--radius) - 8px); }
  .bento:has(> :nth-child(4):last-child) .fcard-media img { object-position: center 30%; }
  .bento:has(> :nth-child(4):last-child) .fcard-info { position: static; padding: 18px 12px 12px; border-radius: 0; background: transparent; box-shadow: none; }
  .bento:has(> :nth-child(4):last-child) .fcard-info h3, .bento:has(> :nth-child(4):last-child) > :nth-child(1) .fcard-info h3 { margin: 6px 0 14px; font-size: clamp(1.3rem, 1.7vw, 1.9rem); line-height: 1; }
  .bento:has(> :nth-child(4):last-child) .fcard-row { justify-content: space-between; align-items: center; flex-wrap: wrap; }
  .bento:has(> :nth-child(4):last-child) .fcard-row .btn { display: inline-flex; }
  .bento:has(> :nth-child(4):last-child) .fcard .badge { left: 22px; top: 22px; }
  .bento:has(> :nth-child(4):last-child) .fcard-tag { display: none; }
  .bento:has(> :nth-child(4):last-child) .fcard:hover { transform: translateY(-8px); }
}
@media (min-width: 1000px) { #destacados .container { width: min(94vw, 1600px); max-width: none; } }

/* Collage de pedidos al por mayor: se muestra completo, sin recortar */
#mayoreo .frame--tall { aspect-ratio: auto; background: #0a35ff; }
#mayoreo .frame--tall img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block; }

/* ── Páginas legales ── */
.legal { max-width: 860px; margin-inline: auto; padding: clamp(26px, 5vw, 60px); border-radius: var(--radius); color: var(--blue); background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 8, 60, .7); }
.legal h2 { margin: 34px 0 10px; font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 1.05rem; line-height: 1.6; font-weight: 500; }
.legal ul { margin: 10px 0 0; padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.legal-cta { margin-top: 34px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Aviso de cookies (solo aparece si se activa la analítica en js/consent.js) ── */
.consent { position: fixed; z-index: 250; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; max-width: 920px; margin-inline: auto; padding: 18px 22px; border-radius: 24px; color: var(--blue); background: #fff; box-shadow: 0 24px 60px -16px rgba(0, 8, 60, .65); }
.consent p { margin: 0; flex: 1 1 340px; font-weight: 600; line-height: 1.45; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; }
.consent .btn--ghost { color: var(--blue); background: transparent; border: 2px solid var(--blue); }

/* Descripción del producto en la ficha */
.detail-desc { margin: 4px 0 18px; font-size: 1.05rem; line-height: 1.55; font-weight: 500; }
