/* ============ CASI · estilos del sitio ============ */
:root {
  --ink: #0f1720;
  --ink-2: #1e2934;
  --text: #2b3540;
  --muted: #6b7682;
  --faint: #9aa4ae;
  --line: #e6e9ed;
  --line-2: #eef0f3;
  --bg: #ffffff;
  --soft: #f5f7f9;
  --soft-2: #eef2f5;
  --brand: #12b5e0;
  --brand-d: #0a8db0;
  --brand-soft: #e7f7fc;
  --wa: #1fa855;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 32, .05);
  --shadow: 0 2px 6px rgba(15, 23, 32, .04), 0 12px 32px rgba(15, 23, 32, .07);
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.15em; height: 1.15em; flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1280px, 100% - 3rem); margin-inline: auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-d); margin: 0 0 .7rem; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .72rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: .95rem; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s; white-space: nowrap; }
.btn:hover { border-color: #c9d0d7; }
.btn:active { transform: scale(.98); }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg:last-child { transform: translateX(2px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-dark, .btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover, .btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); box-shadow: 0 8px 20px rgba(15, 23, 32, .18); }
.btn-light { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-light:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #1a9a4d; border-color: #1a9a4d; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-outline-light:hover { border-color: #fff; }
.btn-small { padding: .5rem .9rem; font-size: .88rem; }
.icon-btn { background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; display: inline-flex; border-radius: 10px; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 22px; height: 22px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font-weight: 500; font-size: .95rem; }
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brand-d); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-2); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 32, .06); }
.header-row { display: flex; align-items: center; gap: 2rem; height: 72px; }
.logo { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; flex: none; }
.logo-sim { width: 46px; height: 46px; flex: none; }
.logo-txt { display: grid; font-family: 'Poppins', sans-serif; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.logo-txt span { font-weight: 300; font-size: .86rem; }
.logo-txt b { font-weight: 700; font-size: 1.04rem; }
.header-search { flex: 1; max-width: 520px; margin-left: auto; display: flex; align-items: center; gap: .6rem; background: var(--soft); border: 1px solid transparent; border-radius: 999px; padding: 0 1rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.header-search svg { color: var(--faint); }
.header-search input { flex: 1; background: none; border: 0; padding: .68rem 0; min-width: 0; font-size: .95rem; }
.header-search input::placeholder { color: var(--faint); }
.header-search input:focus { outline: none; }
.header-search:focus-within { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-link { font-weight: 500; font-size: .95rem; color: var(--text); }
.header-link:hover { color: var(--ink); }
.quote-btn { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: .92rem; transition: background .2s; }
.quote-btn:hover { background: var(--ink-2); }
.quote-count { background: var(--brand); color: var(--ink); font-size: .72rem; font-weight: 600; min-width: 1.35rem; height: 1.35rem; border-radius: 99px; display: inline-grid; place-items: center; padding: 0 .35rem; }
.nav-toggle { display: none; margin-left: -.5rem; }
.main-nav { border-top: 1px solid var(--line-2); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav-list > li > a { display: flex; align-items: center; gap: .3rem; padding: .85rem .9rem; font-weight: 500; font-size: .93rem; color: var(--muted); position: relative; transition: color .15s; }
.nav-list > li:first-child > a { padding-left: 0; }
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--ink); }
.nav-list > li > a.active::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: -1px; height: 2px; background: var(--brand); border-radius: 2px; }
.nav-list > li:first-child > a.active::after { left: 0; }
.caret { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.has-sub:hover .caret { transform: rotate(180deg); }
.nav-mobile-only { display: none; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; padding-top: .4rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 10; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub-inner { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); min-width: 270px; padding: .6rem; display: grid; }
.sub-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--faint); margin: .35rem .7rem .4rem; }
.sub-inner a { display: flex; justify-content: space-between; align-items: center; padding: .55rem .7rem; border-radius: 8px; font-size: .93rem; color: var(--text); }
.sub-inner a span { color: var(--faint); font-size: .8rem; }
.sub-inner a:hover { background: var(--soft); color: var(--ink); }
.sub-all { margin-top: .3rem; border-top: 1px solid var(--line-2); border-radius: 0 0 8px 8px !important; color: var(--brand-d) !important; font-weight: 500; padding-top: .7rem !important; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 500; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: .35rem .85rem; border-radius: 999px; margin: 0 0 1.5rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 540px; line-height: 1.6; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }
.hero-stats { display: flex; gap: 2.5rem; margin: 2.75rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero-stats dt { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.hero-stats dd { margin: 0; font-size: .88rem; color: var(--muted); }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; aspect-ratio: 1; max-width: 560px; margin-left: auto; width: 100%; }
.hero-tile { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); display: grid; place-items: center; padding: 12%; box-shadow: var(--shadow-sm); animation: rise .8s var(--ease) both; }
.hero-tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hero-tile.t1 { border-radius: 120px var(--r-lg) var(--r-lg) var(--r-lg); }
.hero-tile.t2 { background: var(--brand-soft); border-color: transparent; animation-delay: .08s; }
.hero-tile.t3 { background: var(--soft-2); border-color: transparent; animation-delay: .16s; }
.hero-tile.t4 { border-radius: var(--r-lg) var(--r-lg) 120px var(--r-lg); animation-delay: .24s; }
.hero-photo { grid-column: 1 / -1; grid-row: 1 / -1; border-radius: var(--r-lg); background: center/cover no-repeat; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.benefits { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.benefits-grid > div { display: flex; gap: .9rem; align-items: center; padding: 1.5rem 1.25rem; }
.benefits-grid > div + div { border-left: 1px solid var(--line-2); }
.benefits-grid svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-d); }
.benefits-grid strong { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
.benefits-grid span { font-size: .85rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.cat-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem; border-radius: var(--r-lg); background: var(--soft); transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s; isolation: isolate; }
.cat-card:hover { background: var(--soft-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-text { position: relative; z-index: 1; display: grid; gap: .25rem; }
.cat-name { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink); }
.cat-count { font-size: .88rem; color: var(--muted); }
.cat-card img { position: absolute; right: -2%; bottom: -6%; width: 52%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); z-index: 0; }
.cat-card:hover img { transform: scale(1.05) rotate(-2deg); }
.cat-arrow { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.cat-card:hover .cat-arrow { transform: translateX(4px); }
.cat-card.cat-wide { grid-row: span 2; background: var(--brand-soft); }
.cat-card.cat-wide:hover { background: #d9f2fa; }
.cat-wide .cat-name { font-size: 2rem; }
.cat-card.cat-wide img { width: 72%; right: -2%; bottom: -4%; }
.cat-wide .cat-arrow { background: var(--ink); color: #fff; }

/* ---------- Tarjetas de producto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem 1.25rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
.card { position: relative; display: flex; flex-direction: column; }
.card-link { display: flex; flex-direction: column; flex: 1; }
.card-img { position: relative; aspect-ratio: 1; background: var(--soft); border-radius: var(--r); display: grid; place-items: center; padding: 12%; overflow: hidden; transition: background .25s; }
.section-soft .card-img { background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.badge { position: absolute; top: .75rem; left: .75rem; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.card-body { padding: 1rem .15rem .5rem; display: grid; gap: .2rem; flex: 1; align-content: start; }
.brand { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-d); }
.sku { font-size: .8rem; color: var(--faint); }
.card-title { font-family: var(--body); font-size: .98rem; font-weight: 500; line-height: 1.4; margin: 0; color: var(--ink); letter-spacing: -.005em; }
.card-link:hover .card-title { color: var(--brand-d); }
.card-add { position: absolute; top: .7rem; right: .7rem; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); border-radius: 999px; font-weight: 500; font-size: .82rem; cursor: pointer; color: var(--ink); opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease), background .2s, color .2s; box-shadow: var(--shadow-sm); }
.card:hover .card-add, .card-add:focus-visible, .card-add.added { opacity: 1; transform: none; }
.card-add:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-add.added { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.card-add svg { width: 15px; height: 15px; }
.noimg { color: #c2cbd3; display: grid; place-items: center; width: 100%; height: 100%; }
.noimg svg { width: 48px; height: 48px; }
.noimg.big svg { width: 96px; height: 96px; }

/* ---------- Cómo comprar ---------- */
.how { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.how-intro p.muted { font-size: 1.05rem; margin: 0 0 1.75rem; max-width: 420px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.steps li { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.4rem 1.5rem; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.steps li:hover { border-color: transparent; box-shadow: var(--shadow); }
.steps span { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--brand-d); background: var(--brand-soft); border-radius: 10px; padding: .4rem .6rem; line-height: 1; }
.steps strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: .15rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

.brands { padding-top: 0; }
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.brand-strip a { padding: .6rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .85rem; letter-spacing: .06em; color: var(--muted); transition: .2s; }
.brand-strip a:hover { border-color: var(--ink); color: var(--ink); }
.brand-strip img { height: 26px; width: auto; filter: grayscale(1); opacity: .7; }

.cta { padding: 0 0 clamp(3.5rem, 7vw, 6rem); }
.cta-inner { background: var(--ink); color: #b9c4cf; border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-inner::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 44px solid var(--brand); opacity: .12; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { margin: 0; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Listado ---------- */
.page { padding: 2rem 0 5rem; }
.narrow { max-width: 820px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--faint); margin-bottom: 1.5rem; }
.crumbs svg { width: 13px; height: 13px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--muted); }
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.list-head h1 { margin: 0; }
.list-head .muted { margin: .5rem 0 0; }
.count { color: var(--muted); margin: 0; white-space: nowrap; font-size: .92rem; }
.list-layout { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.filters { position: sticky; top: 140px; }
.filters-toggle { display: none; }
.filters label { font-size: .8rem; font-weight: 600; display: block; margin-bottom: .5rem; color: var(--ink); }
.input-icon { position: relative; }
.input-icon input { width: 100%; padding: .65rem .9rem .65rem 2.4rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .92rem; }
.input-icon input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.input-icon svg { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--faint); width: 17px; }
.filter-group { margin-top: 2rem; }
.filter-group h3 { font-family: var(--body); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: .6rem; }
.cat-tree, .cat-tree ul, .brand-filter { list-style: none; margin: 0; padding: 0; }
.cat-tree ul { padding-left: .75rem; margin: .15rem 0 .35rem .55rem; border-left: 1px solid var(--line); }
.cat-tree a, .brand-filter a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .42rem .6rem; border-radius: 8px; font-size: .92rem; color: var(--text); transition: background .15s; }
.cat-tree a span, .brand-filter a > span:last-child { font-size: .78rem; color: var(--faint); }
.cat-tree a:hover, .brand-filter a:hover { background: var(--soft); }
.cat-tree a.active { background: var(--brand-soft); color: var(--brand-d); font-weight: 600; }
.cat-tree a.active span { color: var(--brand-d); }
.brand-filter { max-height: 320px; overflow: auto; }
.brand-filter a { justify-content: flex-start; }
.brand-filter a > span:last-child { margin-left: auto; }
.chk { width: 17px; height: 17px; border: 1.5px solid #c3cbd3; border-radius: 5px; flex: none; transition: .15s; }
.brand-filter a.active .chk { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; border-color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .5rem .35rem .85rem; background: var(--soft); border-radius: 99px; font-size: .85rem; font-weight: 500; }
.chip:hover { background: var(--soft-2); }
.chip svg { width: 14px; height: 14px; }
.sort-form { display: flex; align-items: center; gap: .6rem; margin-left: auto; font-size: .88rem; color: var(--muted); }
.sort-form select { padding: .5rem 2rem .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7682' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .7rem center/14px no-repeat; appearance: none; color: var(--ink); font-weight: 500; cursor: pointer; }
.empty { text-align: center; padding: 4rem 1rem; border-radius: var(--r); background: var(--soft); color: var(--muted); }
.pager { display: flex; justify-content: center; gap: .35rem; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 .9rem; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.pager a { border: 1px solid var(--line); }
.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); color: #fff; }

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.gallery { position: sticky; top: 140px; }
.gallery-main { aspect-ratio: 1; background: var(--soft); border-radius: var(--r-lg); display: grid; place-items: center; padding: 10%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.thumbs button { width: 84px; height: 84px; padding: .5rem; border: 2px solid transparent; border-radius: 12px; background: var(--soft); cursor: pointer; transition: border-color .15s; }
.thumbs button:hover { border-color: var(--line); }
.thumbs button.active { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-info { padding-top: .5rem; }
.product-info .card-meta { display: flex; gap: .9rem; align-items: center; margin-bottom: .75rem; }
.product-info .brand { font-size: .78rem; }
.product-info .sku { font-size: .85rem; }
.product-info h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.03em; margin: 0 0 1.5rem; }
.price { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--ink); margin: 0 0 1.5rem; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 400; }
.product-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; margin-bottom: 1.75rem; }
.product-actions .btn { padding: .95rem 1.2rem; }
.product-actions .btn.added { background: #fff; border-color: var(--brand); color: var(--brand-d); font-weight: 600; }
.docs { display: grid; gap: .5rem; margin-bottom: 2.25rem; }
.doc { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: transparent; box-shadow: var(--shadow); }
.doc > svg:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-d); }
.doc span { flex: 1; display: grid; }
.doc strong { font-weight: 600; color: var(--ink); font-size: .95rem; }
.doc small { color: var(--muted); font-size: .82rem; }
.doc > svg:last-child { color: var(--muted); }
.desc h2, .specs h2 { font-family: var(--body); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: .9rem; }
.desc { margin-bottom: 2rem; color: var(--text); line-height: 1.75; }
.desc p { margin: 0 0 1rem; }
.prose { line-height: 1.75; }
.prose h2 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; text-transform: none; letter-spacing: -.015em; color: var(--ink); margin: 2.25rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--brand-d); text-decoration: underline; text-underline-offset: 3px; }
.specs table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs th { width: 40%; color: var(--muted); font-weight: 400; }
.specs td { color: var(--ink); font-weight: 500; }
.assure { list-style: none; padding: 1.25rem; margin: 0; border-radius: var(--r); background: var(--soft); display: grid; gap: .5rem; color: var(--text); font-size: .92rem; }
.assure li { display: flex; gap: .6rem; align-items: center; }
.assure svg { color: var(--wa); }
.related { margin-top: 6rem; padding-top: 3rem; border-top: 1px solid var(--line-2); }

/* ---------- Cotización y formularios ---------- */
.quote-list { display: grid; gap: .75rem; margin: 2rem 0; }
.q-item { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 1.25rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); }
.q-item img { width: 80px; height: 80px; object-fit: contain; background: var(--soft); border-radius: 10px; padding: 8px; mix-blend-mode: multiply; }
.q-item a { font-weight: 600; color: var(--ink); }
.q-item small { display: block; color: var(--faint); font-size: .8rem; }
.q-item input[type=number] { width: 84px; }
.q-item input { padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 8px; }
.q-note { grid-column: 2 / -1; }
.q-note input { width: 100%; }
.form { margin-top: 2rem; }
.form h2 { font-size: 1.35rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.5rem; }
.form label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 500; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea, .form select { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; font-weight: 400; background: #fff; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.form-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.hp { position: absolute; left: -9999px; }
.notice { display: flex; gap: .9rem; padding: 1.1rem 1.3rem; border-radius: var(--r); margin: 1.5rem 0; }
.notice p { margin: .2rem 0 0; }
.notice.ok { background: #e9f8ef; color: #136b39; }
.notice.ok svg { width: 24px; height: 24px; }
.notice.err { background: #fdeeee; color: #9b2222; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card { background: var(--soft); padding: 2rem; border-radius: var(--r-lg); }
.contact-card h2 { font-size: 1.35rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; }
.contact-list svg { color: var(--brand-d); margin-top: .2rem; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa7b3; padding: 4.5rem 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3.5rem; }
.footer-logo { height: 34px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 340px; line-height: 1.7; margin: 0 0 1.25rem; }
.site-footer h3 { font-family: var(--body); color: #fff; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.site-footer a { transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .contact-list svg { color: var(--brand); }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #2c3946; color: #fff; }
.social:hover { border-color: var(--brand); color: var(--brand) !important; }
.footer-bottom { border-top: 1px solid #222e3a; padding: 1.5rem 0; font-size: .83rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.wa-float { position: fixed; right: 1.5rem; bottom: 1.5rem; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(31, 168, 85, .35); z-index: 40; transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }
.toast:empty { display: none; }
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, calc(100% + 3rem)); background: var(--ink); color: #fff; padding: .85rem 1.25rem; border-radius: 999px; box-shadow: 0 12px 32px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); z-index: 60; display: flex; gap: 1rem; align-items: center; font-size: .92rem; }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--brand); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-row { gap: 1.25rem; }
  .header-link { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid > div:nth-child(3) { border-left: 0; }
  .benefits-grid > div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-row { height: auto; flex-wrap: wrap; gap: .6rem .75rem; padding: .75rem 0; }
  .nav-toggle { display: inline-flex; }
  .logo { gap: .5rem; } .logo-sim { width: 34px; height: 34px; }
  .logo-txt span { font-size: .6rem; } .logo-txt b { font-size: .72rem; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .header-actions { margin-left: auto; }
  .quote-label { display: none; }
  .quote-btn { padding: .6rem .8rem; }
  .main-nav { display: none; }
  .main-nav.open { display: block; max-height: calc(100vh - 130px); overflow: auto; }
  .nav-list { flex-direction: column; padding: .5rem 0 1rem; }
  .nav-list > li > a { padding: .8rem 0; font-size: 1rem; color: var(--ink); }
  .nav-list > li > a.active::after { display: none; }
  .nav-mobile-only { display: block; }
  .caret { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; }
  .sub-inner { border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; min-width: 0; border-left: 1px solid var(--line); border-radius: 0; }
  .sub-title, .sub-all { display: none !important; }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .cat-wide { grid-column: 1 / -1; grid-row: span 1; }
  .cat-card.cat-wide img { width: 42%; }
  .list-layout, .product, .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .filters, .gallery { position: static; }
  .filters-toggle { display: inline-flex; }
  .filters-body { display: none; margin-top: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); }
  .filters.open .filters-body { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .card-add { opacity: 1; transform: none; padding: .45rem; }
  .card-add span { display: none; }
}
@media (max-width: 560px) {
  .hero-grid { padding-top: 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stats dt { font-size: 1.3rem; }
  .hero-actions .btn { flex: 1; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-grid > div { border-left: 0 !important; padding: 1rem 0; }
  .benefits-grid > div + div { border-top: 1px solid var(--line-2); }
  .cat-grid { grid-auto-rows: 150px; gap: .6rem; }
  .cat-card { padding: 1.1rem; }
  .cat-name { font-size: 1.15rem; }
  .cat-arrow { width: 32px; height: 32px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem; }
  .card-title { font-size: .9rem; }
  .product-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .list-head { flex-direction: column; align-items: start; }
  .q-item { grid-template-columns: 60px 1fr auto; gap: .75rem; }
  .q-item img { width: 60px; height: 60px; }
  .q-item .q-qty { grid-column: 2; }
  .cta-inner { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Header oscuro (el logo original lleva el punto blanco) ---------- */
.site-header { background: var(--ink); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .25); }
.header-search { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .08); }
.header-search input { color: #fff; }
.header-search input::placeholder, .header-search svg { color: #8693a0; }
.header-search:focus-within { background: rgba(255, 255, 255, .1); border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 181, 224, .18); }
.header-link { color: #c3cdd6; }
.header-link:hover { color: #fff; }
.quote-btn { background: var(--brand); color: var(--ink); font-weight: 600; }
.quote-btn:hover { background: #3cc6ec; }
.quote-count { background: var(--ink); color: #fff; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.main-nav { border-top: 1px solid rgba(255, 255, 255, .08); }
.nav-list > li > a { color: #aab6c1; }
.nav-list > li > a:hover, .nav-list > li > a.active { color: #fff; }
.sub-inner { color: var(--text); }
@media (max-width: 860px) {
  .nav-list > li > a { color: #fff; }
  .sub-inner { background: transparent; border-left-color: rgba(255, 255, 255, .12); }
  .sub-inner a { color: #aab6c1; }
  .sub-inner a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
}

/* Aviso de atención a empresas */
.b2b-note { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--brand-soft); color: var(--ink); margin: 0 0 1.5rem; font-size: .93rem; }
.b2b-note svg { color: var(--brand-d); width: 22px; height: 22px; margin-top: .1rem; }
.b2b-note p { margin: 0; }

/* ============ Rediseño con fotos del rubro (diciembre 2026) ============ */
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--ink); font-weight: 600; }
.btn-brand:hover { background: #3cc4e8; border-color: #3cc4e8; box-shadow: 0 8px 24px rgba(18, 181, 224, .3); }

/* Franja superior */
.topbar { background: #0a1016; color: #9fb0bf; font-size: .8rem; }
.topbar-row { display: flex; justify-content: center; gap: 2.25rem; padding: .45rem 0; }
.topbar-row span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar svg { width: 14px; height: 14px; color: var(--brand); }

/* Menú desplegable con foto */
.nav-list > li:nth-last-child(-n+3) .sub { left: auto; right: 0; }
.sub-inner.with-img { grid-template-columns: minmax(250px, auto) 220px; gap: .6rem; }
.sub-links { display: grid; align-content: start; }
.sub-img { display: block; border-radius: 10px; overflow: hidden; padding: 0 !important; }
.sub-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .4s var(--ease); }
.sub-img:hover { background: none !important; }
.sub-img:hover img { transform: scale(1.04); }

/* Portada a todo el ancho */
.hero-full { position: relative; background: var(--ink); color: #fff; min-height: clamp(540px, 76vh, 720px); display: flex; align-items: center; isolation: isolate; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; z-index: -2; }
.hero-full::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 16, 22, .94) 0%, rgba(10, 16, 22, .82) 34%, rgba(10, 16, 22, .35) 62%, rgba(10, 16, 22, .05) 85%); }
.hero-full-inner { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.hero-full .hero-copy { max-width: 600px; animation: rise .8s var(--ease) both; }
.hero-full h1 { color: #fff; }
.hero-full .lead { color: #c5d0da; }
.hero-full .eyebrow { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #dfe7ee; backdrop-filter: blur(6px); }
.hero-full .dot { box-shadow: 0 0 0 4px rgba(18, 181, 224, .25); }
.hero-full .hero-stats { border-top-color: rgba(255, 255, 255, .16); }
.hero-full .hero-stats dt { color: #fff; }
.hero-full .hero-stats dd { color: #9fb0bf; }

/* Categorías con foto */
.cat-grid:has(.has-photo) { grid-auto-rows: 250px; }
.cat-card.has-photo { background: var(--ink); justify-content: flex-end; }
.cat-card.has-photo img { inset: 0; right: auto; bottom: auto; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; mix-blend-mode: normal; transition: transform .6s var(--ease); }
.cat-card.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10, 16, 22, 0) 35%, rgba(10, 16, 22, .82) 100%); }
.cat-card.has-photo:hover { background: var(--ink); }
.cat-card.has-photo:hover img { transform: scale(1.05); }
.cat-card.has-photo .cat-name { color: #fff; }
.cat-card.has-photo .cat-count { color: #c5d0da; }
.cat-card.has-photo .cat-arrow { position: absolute; top: 1.1rem; right: 1.1rem; z-index: 1; background: rgba(255, 255, 255, .92); }
.cat-card.has-photo.cat-wide .cat-arrow { background: var(--brand); color: var(--ink); }

/* Stock permanente */
.stock { padding-top: 0; }
.stock-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.stock-photo img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checks li { display: flex; align-items: center; gap: .75rem; font-weight: 500; color: var(--ink); }
.checks svg { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-d); }

/* Cierre con foto */
.cta-photo .cta-inner { min-height: 380px; justify-content: flex-end; isolation: isolate; }
.cta-photo .cta-inner::after { display: none; }
.cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left 40%; z-index: -2; }
.cta-photo .cta-inner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 16, 22, .1) 0%, rgba(10, 16, 22, .55) 38%, rgba(10, 16, 22, .92) 62%); }
.cta-content { max-width: 470px; display: grid; gap: .25rem; }
.cta-content .cta-actions { margin-top: 1.25rem; }
.cta-content p { color: #c5d0da; }

@media (max-width: 1080px) {
  .stock-grid { grid-template-columns: 1fr; }
  .sub-inner.with-img { grid-template-columns: minmax(230px, auto) 180px; }
}
@media (max-width: 860px) {
  .tb-hide-sm { display: none !important; }
  .sub-img { display: none !important; }
  .sub-inner.with-img { display: grid; grid-template-columns: 1fr; }
  .hero-full { min-height: 0; align-items: flex-end; }
  .hero-bg img { object-position: 78% 30%; }
  .hero-full::before { background: linear-gradient(180deg, rgba(10, 16, 22, .45) 0%, rgba(10, 16, 22, .78) 40%, rgba(10, 16, 22, .95) 100%); }
  .hero-full-inner { padding-top: 14rem; padding-bottom: 2.5rem; }
  .cat-grid:has(.has-photo) { grid-auto-rows: 190px; }
  .cta-photo .cta-inner { min-height: 0; padding-top: 11rem; }
  .cta-photo .cta-inner::before { background: linear-gradient(180deg, rgba(10, 16, 22, .2) 0%, rgba(10, 16, 22, .85) 45%, rgba(10, 16, 22, .95) 100%); }
}
@media (max-width: 560px) {
  .cat-grid:has(.has-photo) { grid-auto-rows: 160px; }
  .cat-card.has-photo .cat-arrow { top: .7rem; right: .7rem; }
  .hero-full-inner { padding-top: 11rem; }
}

/* Sin stock (viene de la lista de precios) */
.badge-out { background: #fff4ec; color: #b4440f; border: 1px solid #fbd5bd; }
.stock-out { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: #b4440f; background: #fff4ec; border: 1px solid #fbd5bd; padding: .3rem .75rem; border-radius: 999px; }
.social-links { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Marcas: logos sin fondo, en grises (o en blanco sobre fondo oscuro) y más grandes */
.brand-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem 1.25rem; align-items: center; max-width: 1120px; margin: 0 auto; }
.brand-strip a { display: flex; align-items: center; justify-content: center; height: 88px; padding: .75rem 1rem; border: 0; border-radius: 14px; text-align: center; }
.brand-strip a:hover { background: var(--soft); }
.brand-strip img { height: auto; max-height: 58px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .82; transition: opacity .2s, transform .2s var(--ease); }
.brand-strip a:hover img { opacity: 1; transform: scale(1.04); }
.en-oscuro .brand-strip img { filter: grayscale(1) invert(1); }
@media (max-width: 560px) { .brand-strip { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); } .brand-strip a { height: 72px; } .brand-strip img { max-height: 46px; } }

/* Pie de página: logo de CASI (símbolo con aro blanco, visible sobre fondo oscuro) y nombre */
.footer-marca { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; color: #fff; }
.footer-marca img { width: 56px; height: 56px; flex: none; }
.footer-marca b { display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.footer-marca small { display: block; margin-top: .35rem; font-size: .68rem; letter-spacing: .12em; color: #9fb0bf; text-transform: uppercase; line-height: 1.35; max-width: 210px; }

/* ============ Identidad del rubro y movimiento (diciembre 2026) ============ */
/* Franjas de peligro: se despliegan al entrar en pantalla */
.franja { height: 12px; background: repeating-linear-gradient(-45deg, var(--brand) 0 16px, #0a1016 16px 32px); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.franja.visto { transform: none; }
.stock > .franja, .brands > .franja { margin: 0 auto clamp(2.5rem, 5vw, 4rem); width: min(1280px, 100% - 3rem); border-radius: 3px; }
.franja-footer { height: 10px; transform-origin: right; }

/* Cintas de peligro con texto que avanza al bajar */
.cinta { position: relative; z-index: 3; margin: -20px -3vw; padding: .55rem 0; transform: rotate(-1.4deg); background: repeating-linear-gradient(-45deg, var(--brand) 0 16px, #11a7cf 16px 32px); box-shadow: 0 10px 26px rgba(10, 16, 22, .22); overflow: hidden; border-block: 3px solid #0a1016; }
.cinta-texto { white-space: nowrap; font: 800 1rem/1 var(--display); letter-spacing: .14em; color: #0a1016; will-change: transform; }
.cinta + .cta { padding-top: clamp(3rem, 6vw, 5rem); }

/* Portada con profundidad: la foto se mueve más lento que el texto */
.hero-full .hero-bg img { will-change: transform; transform: scale(1.08); transform-origin: center top; }
.hero-full .hero-copy { will-change: transform, opacity; }

/* Categorías con palabra gigante */
.ch { position: relative; height: calc(var(--n) * 60vh + 100vh); background: #0a1016; color: #fff; }
.ch-stage { position: sticky; top: var(--hdr, 0px); height: calc(100vh - var(--hdr, 0px)); height: calc(100svh - var(--hdr, 0px)); display: flex; align-items: center; overflow: hidden; }
.ch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) auto; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.ch .kicker { color: var(--brand); }
.ch-palabras { position: relative; height: clamp(9rem, 22vw, 15rem); margin: .5rem 0 1.5rem; }
.ch-item { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(40px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; color: #fff; }
.ch-item.activo { opacity: 1; transform: none; pointer-events: auto; }
.ch-item.antes { transform: translateY(-40px); }
.ch-palabra { font: 800 clamp(3.2rem, 9vw, 8rem)/.9 var(--display); letter-spacing: -.04em; }
.ch-sub { display: inline-flex; align-items: center; gap: .5rem; margin-top: .9rem; font-size: 1.05rem; font-weight: 600; color: var(--brand); }
.ch-todos { display: inline-flex; align-items: center; gap: .45rem; color: #b9c6d2; font-weight: 500; }
.ch-todos:hover { color: #fff; }
.ch-fotos { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #111b23; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.ch-foto { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.ch-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.ch-foto.activo { opacity: 1; }
.ch-foto.activo img { transform: scale(1); }
.ch-puntos { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ch-puntos li { width: 10px; height: 10px; border-radius: 50%; background: #2b3a47; transition: background .3s, transform .3s; cursor: pointer; }
.ch-puntos li.activo { background: var(--brand); transform: scale(1.35); }

/* Marcas en carrusel infinito (se pausa al pasar el mouse) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: mq 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { flex: none; width: 190px; height: 92px; display: flex; align-items: center; justify-content: center; padding: .8rem 1.4rem; }
.marquee-track img { max-height: 54px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) blur(.3px); opacity: .55; transition: opacity .3s, filter .3s, transform .3s var(--ease); }
.marquee-track a:hover img { opacity: 1; filter: grayscale(1); transform: scale(1.06); }
.marquee-track span { font-weight: 700; letter-spacing: .08em; color: var(--muted); }
@keyframes mq { to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .ch { height: calc(var(--n) * 55vh + 100vh); }
  .ch-grid { grid-template-columns: 1fr; gap: 1rem; width: calc(100% - 2.5rem); }
  .ch-fotos { order: -1; aspect-ratio: 16 / 10; }
  .ch-puntos { display: flex; justify-content: center; order: 3; }
  .ch-palabras { height: 7.5rem; margin: 0 0 .75rem; }
  .ch-palabra { font-size: clamp(2.8rem, 13vw, 4rem); }
  .cinta-texto { font-size: .85rem; }
  .marquee-track a { width: 140px; height: 76px; }
  .marquee-track img { max-height: 42px; }
}

/* Sin animaciones: todo quieto y visible */
@media (prefers-reduced-motion: reduce) {
  .franja { transform: none; }
  .ch { height: auto; }
  .ch-stage { position: static; height: auto; padding: 4rem 0; }
  .ch-palabras { height: auto; display: grid; gap: 1.2rem; }
  .ch-item { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .ch-palabra { font-size: clamp(2rem, 5vw, 3rem); }
  .ch-fotos, .ch-puntos { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track .mq-copia { display: none; }
  .hero-full .hero-bg img { transform: none; }
}

/* Sección "Stock permanente" con fondo celeste suave para diferenciarla */
.section.stock { background: var(--ink); color: #c7d2dc; padding-top: clamp(3.5rem, 7vw, 6rem); }
.section.stock h2, .section.stock .checks li { color: #fff; }
.section.stock .muted { color: #9fb0bf; }
.section.stock .kicker { color: var(--brand); }
.section.stock .btn-dark { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.section.stock .btn-dark:hover { background: #fff; border-color: #fff; }
.section.stock .stock-photo img { box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.section.stock > .franja { margin-top: calc(-1 * clamp(3.5rem, 7vw, 6rem)); margin-bottom: clamp(2.5rem, 5vw, 4rem); width: 100%; border-radius: 0; }
.section.stock .checks svg { background: rgba(18, 181, 224, .14); color: var(--brand); }

/* También te puede interesar (según lo que miró el visitante) */
.related.interes { margin-top: 3.5rem; }
.related.interes[hidden] { display: none; }
.related.interes .section-head .muted { font-size: .9rem; }
