/* =============================================================
   Tacomas Jalisco — styles.css
   1. Tokens · 2. Reset · 3. Utilities · 4. Type · 5. Components
   6. Sections · 7. Motion · 8. Responsive
   ============================================================= */

/* 1. Tokens */
:root {
  --ink: #0b0b0a;
  --ink-2: #141412;
  --ink-3: #1d1d1a;
  --line: rgba(255,255,255,.12);
  --paper: #f4f1ea;
  --sand: #e9e2d3;
  --sand-2: #d8cdb6;
  --text: #16150f;
  --muted: #6c675b;
  --accent: #ff5a1f;
  --accent-2: #ff7a45;
  --wa: #25d366;
  --wa-dark: #1da851;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2,.7,.1,1);
  --header-h: 76px;
}

/* 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Anchor landing: section title sits just under the sticky header */
.section[id] { scroll-margin-top: calc(var(--header-h) + 28px - clamp(80px, 11vw, 150px)); }
#contacto { scroll-margin-top: calc(var(--header-h) + 28px - clamp(110px, 14vw, 180px)); }
#top { scroll-margin-top: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilities */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }

/* 4. Typography */
.eyebrow { font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.display { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; font-size: clamp(52px, 8.4vw, 128px); }
.display em { font-style: italic; color: var(--accent); }
.display--md { font-size: clamp(44px, 6vw, 92px); }
.title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .95; font-size: clamp(38px, 4.8vw, 68px); letter-spacing: -.005em; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; max-width: 520px; opacity: .88; }

/* 5. Components */
.btn { --bg: var(--ink); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; background: var(--bg); color: var(--fg); font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease); }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { --bg: var(--wa); --fg: #062b14; box-shadow: 0 10px 30px -10px rgba(37,211,102,.65); }
.btn--wa:hover { --bg: #2be070; box-shadow: 0 16px 40px -12px rgba(37,211,102,.8); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.08); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { height: 62px; padding: 0 34px; font-size: 19px; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); color: #fff; transition: background .25s, box-shadow .25s, transform .3s var(--ease); }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

/* Announcement */
.announce { background: var(--accent); color: #fff; overflow: hidden; height: 38px; display: flex; align-items: center; }
.announce__track { display: flex; align-items: center; gap: 28px; white-space: nowrap; animation: marquee 34s linear infinite; padding-left: 28px; font-family: var(--f-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.announce__track i { width: 6px; height: 6px; background: #fff; transform: rotate(45deg); flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,10,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: #fff; border-bottom: 1px solid var(--line); transition: background .3s; }
.header.is-scrolled { background: rgba(11,11,10,.96); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo__mark { width: 38px; height: 38px; }
.logo__word { display: flex; flex-direction: column; line-height: .85; font-family: var(--f-display); }
.logo__word b { font-weight: 800; font-size: 26px; letter-spacing: .04em; }
.logo__word small { font-weight: 600; font-size: 12px; letter-spacing: .5em; color: var(--accent); margin-top: 3px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.nav a { position: relative; padding: 6px 0; white-space: nowrap; opacity: .85; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* 6. Sections */
/* Hero (split) */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px; background: radial-gradient(closest-side, rgba(255,90,31,.22), transparent 70%); z-index: -1; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000 30%, transparent 80%); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy .display { margin: 22px 0 24px; font-size: clamp(50px, 6vw, 94px); }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); justify-content: start; }
.hero__facts div { padding: 20px 32px 0 0; margin-right: 32px; border-right: 1px solid var(--line); }
.hero__facts div:last-child { border-right: 0; margin-right: 0; }
.hero__facts dt { font-family: var(--f-display); font-weight: 800; font-size: 28px; letter-spacing: .02em; line-height: 1; }
.hero__facts dd { font-size: 13px; opacity: .6; margin-top: 6px; }
.hero__media { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--ink-3); box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.shot { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.shot.is-active { opacity: 1; visibility: visible; }
.shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.shot.is-active img { transform: scale(1); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,7,.85) 0%, rgba(8,8,7,0) 38%); }
.shot figcaption { position: absolute; left: 24px; bottom: 70px; z-index: 1; display: flex; flex-direction: column; gap: 2px; transform: translateY(12px); opacity: 0; transition: transform .8s var(--ease) .25s, opacity .8s var(--ease) .25s; }
.shot.is-active figcaption { transform: none; opacity: 1; }
.shot figcaption b { font-family: var(--f-display); text-transform: uppercase; font-size: 22px; letter-spacing: .06em; font-weight: 800; }
.shot figcaption span { font-size: 14px; opacity: .75; }
.hero__ctrl { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.hero__dots { display: flex; gap: 8px; }
.dot { width: 44px; height: 22px; display: flex; align-items: center; }
.dot span { display: block; width: 100%; height: 3px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; border-radius: 3px; }
.dot span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.dot.is-active span::after { animation: fill 6.5s linear forwards; }
.hero__media.is-paused .dot.is-active span::after { animation-play-state: paused; }
.hero__count { font-family: var(--f-display); letter-spacing: .2em; font-size: 13px; opacity: .75; }
.hero__count b { font-size: 18px; color: #fff; }

/* Perks */
.perks { background: var(--ink); color: #fff; border-top: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; align-items: center; gap: 16px; padding: 30px 24px; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; padding-left: 0; }
.perk svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.perk svg use { color: var(--accent); }
.perk b { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; font-size: 18px; font-weight: 700; }
.perk span { font-size: 14px; opacity: .65; }

/* Section shell */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--sand { background: var(--sand); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .title { max-width: 14ch; }
.sec-head__aside { color: var(--muted); max-width: 420px; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1fr auto; align-items: end; column-gap: 60px; }
  .sec-head .eyebrow { grid-column: 1 / -1; }
}
.sec-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.sec-head--row .title { max-width: 18ch; margin-top: 16px; }

/* Categories bento */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; grid-template-areas: "a a b c" "a a d c" "e f f g" "e f f h"; }
.cat--a { grid-area: a; } .cat--b { grid-area: b; } .cat--c { grid-area: c; } .cat--d { grid-area: d; }
.cat--e { grid-area: e; } .cat--f { grid-area: f; } .cat--g { grid-area: g; } .cat--h { grid-area: h; }
.cat { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: #fff; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,8,7,.9) 0%, rgba(8,8,7,.3) 45%, rgba(8,8,7,0) 75%); }
.cat:hover img { transform: scale(1.06); }
.cat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.cat__n { font-family: var(--f-display); font-weight: 600; letter-spacing: .2em; font-size: 13px; color: var(--accent); }
.cat h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.4vw, 36px); line-height: .95; margin-top: 4px; }
.cat--a h3 { font-size: clamp(44px, 4.6vw, 72px); }
.cat p { opacity: .75; font-size: 14px; margin-top: 6px; }
.cat__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--f-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.cat__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.cat:hover .cat__go { color: var(--accent); }
.cat:hover .cat__go svg { transform: translateX(6px); }
.more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 22px 26px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px rgba(22,21,15,.07); }
.more__label { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 14px; color: var(--accent); }
.more__list { display: flex; flex-wrap: wrap; gap: 6px 4px; flex: 1; }
.more__list li { font-size: 14px; color: var(--muted); }
.more__list li:not(:last-child)::after { content: "·"; margin-left: 6px; color: var(--sand-2); }
.more__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--wa-dark); }
.more__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.more__link:hover svg { transform: translateX(5px); }

/* Product rail */
.rail-ctrl { display: flex; gap: 10px; flex: none; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 24vw, 330px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 20px; scrollbar-width: none; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.rail::-webkit-scrollbar { display: none; }
.prod { scroll-snap-align: start; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .45s var(--ease); }
.prod:hover { border-color: rgba(255,90,31,.5); transform: translateY(-4px); }
.prod__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-3); }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.05); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; background: rgba(11,11,10,.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: #fff; }
.prod__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod__fit { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--accent); font-weight: 600; }
.prod h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 25px; line-height: 1.02; }
.prod__d { font-size: 14px; opacity: .62; margin-bottom: 10px; flex: 1; }
.prod .btn { height: 48px; font-size: 16px; }

/* Marquee */
.marquee { background: var(--accent); color: var(--ink); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: -12px -2vw; width: 104vw; position: relative; z-index: 2; }
.marquee__track { display: flex; gap: 34px; align-items: center; white-space: nowrap; animation: marquee 30s linear infinite; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 54px); line-height: 1; }
.marquee__track b { font-size: .5em; }

/* Generations */
.gens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gen { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 26px 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px rgba(22,21,15,.08); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .35s; }
.gen::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); }
.gen:hover { color: #fff; transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(22,21,15,.6); }
.gen:hover::before { transform: none; }
.gen__tag { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--accent); }
.gen__years { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 4vw, 60px); line-height: .9; margin: 18px 0 16px; letter-spacing: -.01em; }
.gen__years i { display: block; font-style: normal; color: var(--accent); height: .5em; line-height: .4; }
.gen p { font-size: 14px; color: var(--muted); flex: 1; transition: color .35s; }
.gen:hover p { color: rgba(255,255,255,.7); }
.gen__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.gen__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }
.gen:hover .gen__go svg { transform: translateX(6px); }
.gen--new { background: var(--accent); color: #fff; box-shadow: none; }
.gen--new .gen__tag { color: #fff; opacity: .85; }
.gen--new .gen__years i { color: var(--ink); }
.gen--new p { color: rgba(255,255,255,.85); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr 1fr; grid-template-rows: 280px 280px; gap: 16px; grid-template-areas: "a b b c" "a d d c"; }
.ph { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.ph--a { grid-area: a; } .ph--b { grid-area: b; } .ph--c { grid-area: c; } .ph--d { grid-area: d; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ph:hover img { transform: scale(1.05); }
.ph figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(11,11,10,.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: #fff; }
.sec-head__aside--light { color: rgba(255,255,255,.6); }

/* Builder */
.builder { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.builder__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.builder__intro .title { margin: 16px 0 20px; }
.builder__steps { display: flex; gap: 10px; margin-top: 30px; counter-reset: s; flex-wrap: wrap; }
.builder__steps li { counter-increment: s; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--sand); }
.builder__steps li::before { content: counter(s) " · "; color: var(--accent); }
.builder__card { background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 80px -40px rgba(22,21,15,.4), 0 0 0 1px rgba(22,21,15,.06); display: grid; gap: 28px; }
fieldset { border: 0; }
legend { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: 20px; margin-bottom: 14px; }
legend span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 11px 18px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(22,21,15,.12); font-weight: 500; font-size: 15px; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"]::before { content: "✓ "; color: var(--accent); }
.builder__preview { background: #e7f8ec; border-radius: 14px; padding: 16px 18px; border-left: 4px solid var(--wa); }
.builder__preview span { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--wa-dark); }
.builder__preview p { font-size: 15px; margin-top: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 36px 30px 40px; position: relative; overflow: hidden; }
.step__n { font-family: var(--f-display); font-weight: 800; font-size: 96px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--sand-2); display: block; margin-bottom: 26px; transition: color .4s; }
.step:hover .step__n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { font-family: var(--f-display); text-transform: uppercase; font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { grid-template-columns: 1fr; }
.faq__list details { border-top: 1px solid rgba(22,21,15,.14); }
.faq__list details:last-child { border-bottom: 1px solid rgba(22,21,15,.14); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font-family: var(--f-display); text-transform: uppercase; font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: .02em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative; box-shadow: inset 0 0 0 1.5px rgba(22,21,15,.25); transition: background .3s, transform .4s var(--ease); }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%,-50%); }
.faq__list summary i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .3s; }
.faq__list details[open] summary i { background: var(--accent); color: #fff; box-shadow: none; }
.faq__list details[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.faq__list details p { padding: 0 0 26px; color: var(--muted); max-width: 60ch; }

/* Final CTA */
.final { position: relative; color: #fff; overflow: hidden; isolation: isolate; text-align: center; background: var(--ink); }
.final__beam { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 110%, rgba(255,90,31,.45), transparent 70%), radial-gradient(40% 50% at 50% 100%, rgba(255,170,60,.25), transparent 70%); }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(60% 80% at 50% 60%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 80% at 50% 60%, #000, transparent 75%); }
.final__inner { padding-block: clamp(110px, 14vw, 180px); display: flex; flex-direction: column; align-items: center; }
.final .display { margin: 20px 0 24px; }
.final .lead { margin-bottom: 36px; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: currentColor; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 16px; }
.footer__logo img { width: 190px; height: auto; }
.footer .muted { color: rgba(255,255,255,.55); max-width: 320px; margin-top: 18px; font-size: 15px; }
.footer h4 { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .16em; font-size: 14px; color: var(--accent); margin-bottom: 18px; font-weight: 700; }
.footer li { margin-bottom: 10px; color: rgba(255,255,255,.75); font-size: 15px; }
.footer li a:hover { color: #fff; }
.footer__base { border-top: 1px solid var(--line); padding-block: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 12px; }
.wa-float__label { background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.wa-float.is-hint .wa-float__label, .wa-float:hover .wa-float__label { opacity: 1; transform: none; }
.wa-float__btn { width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(37,211,102,.7); position: relative; transition: transform .35s var(--ease); }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float__btn svg { width: 32px; height: 32px; }
.wa-float:hover .wa-float__btn { transform: scale(1.08); }

/* 7. Motion */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .announce__track, .marquee__track { animation-duration: 90s; }
  .shot img { transition: none; transform: none; }
  .wa-float__btn::before { animation: none; }
}

/* 8. Responsive */
@media (max-width: 1180px) {
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--ink); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s; font-size: 22px; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .gens { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; width: 100%; }
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .perk { padding: 22px 16px; }
  .perk:nth-child(odd) { border-left: 0; padding-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; grid-template-areas: "a a" "a a" "b c" "d c" "e f" "e g" "h h"; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px 260px; grid-template-areas: "b b" "a c" "d d"; }
  .builder, .faq, .steps { grid-template-columns: 1fr; }
  .builder__intro { position: static; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .header__cta span { display: none; }
  .header__cta { width: 42px; padding: 0; }
  .logo__word b { font-size: 22px; }
  .cta-row .btn { flex: 1 1 100%; }
  .perks__grid { grid-template-columns: 1fr; }
  .perk, .perk:nth-child(odd) { border-left: 0; padding: 18px 0; }
  .perk:nth-child(n+2) { border-top: 1px solid var(--line); }
  .cats { grid-auto-rows: 180px; gap: 10px; }
  .cat__body { padding: 16px; }
  .cat h3 { font-size: 24px; }
  .cat p { display: none; }
  .cat--a p, .cat--f p { display: block; }
  .more { padding: 18px; }
  .gens { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gen { min-height: 0; padding: 20px 18px; }
  .ph figcaption { font-size: 11px; padding: 5px 10px; left: 10px; bottom: 10px; }
  .gen--new { grid-column: span 2; min-height: 200px; }
  .gen__years { font-size: 40px; }
  .gallery { grid-template-rows: 200px 220px 200px; gap: 10px; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
  .hero__facts div { padding-right: 12px; margin-right: 12px; }
  .hero__facts dt { font-size: 20px; }
  .hero__facts dd { font-size: 12px; }
  .rail-ctrl { display: none; }
  .rail { grid-auto-columns: 78%; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; }
  .wa-float__btn { width: 58px; height: 58px; }
  .final .btn--lg { font-size: 16px; padding: 0 22px; }
}

/* =============================================================
   9. Páginas de categoría y catálogo
   ============================================================= */
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.title--xl { font-size: clamp(48px, 6.4vw, 96px); max-width: none; }
.chero { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 72px); }
.chero::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; background: radial-gradient(closest-side, rgba(255,90,31,.2), transparent 70%); z-index: -1; }
.chero__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.chero .title { margin: 18px 0 16px; }
.chero .lead { opacity: .8; }
.chero__count { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.6); }
.chero__count b { font-family: var(--f-display); font-size: 22px; color: var(--accent); margin-right: 2px; }
.chero__media { aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.chero__media img { width: 100%; height: 100%; object-fit: cover; }
.chero--plain .lead { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); }
.crumbs a:hover { color: #fff; }
.crumbs b { color: var(--accent); font-weight: 700; }
.crumbs span { opacity: .4; }

.fbar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(244,241,234,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(22,21,15,.08); }
.fbar__inner { display: flex; align-items: center; gap: 18px; padding-block: 14px; }
.fbar__label { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--muted); white-space: nowrap; }
.fbar__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.fbar__chips::-webkit-scrollbar { display: none; }
.fchip { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(22,21,15,.14); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.fchip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

.clist { padding-bottom: clamp(56px, 8vw, 110px); }
.clist > .container { padding-top: clamp(28px, 4vw, 48px); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(22,21,15,.07); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(22,21,15,.45), 0 0 0 1px rgba(22,21,15,.07); }
.pcard[hidden] { display: none; }
.pcard__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-3); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__cat { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--accent); }
.pcard h3 { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 23px; line-height: 1.02; }
.pcard__d { font-size: 14px; color: var(--muted); flex: 1; }
.pcard__gens { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.pcard__gens li { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--text); }
.pcard .btn { height: 46px; font-size: 16px; }
.pempty { text-align: center; padding: 56px 20px; background: #fff; border-radius: var(--radius); display: grid; justify-items: center; gap: 20px; }
.pempty[hidden] { display: none; }
.pempty p { max-width: 460px; color: var(--muted); }

.cgroup { padding-top: clamp(36px, 5vw, 64px); }
.cgroup[hidden] { display: none; }
.cgroup__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.cgroup__head .title { font-size: clamp(32px, 3.6vw, 52px); }
.cgroup__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; white-space: nowrap; }
.cgroup__link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.cgroup__link:hover { color: var(--accent); }
.cgroup__link:hover svg { transform: translateX(5px); }

.cask { background: var(--ink); color: #fff; }
.cask__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.cask .title { font-size: clamp(34px, 4vw, 56px); }
.cask .muted { color: rgba(255,255,255,.6); margin-top: 10px; }

.section--tight { padding: clamp(56px, 8vw, 100px) 0; }
.ocats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.ocat { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; color: #fff; isolation: isolate; display: flex; align-items: flex-end; padding: 14px; }
.ocat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.ocat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,8,7,.88), rgba(8,8,7,0) 60%); }
.ocat:hover img { transform: scale(1.06); }
.ocat span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 18px; line-height: 1; }

.prod__link { display: block; }
.prod__more { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: rgba(255,255,255,.75); }
.prod__more:hover { color: #fff; }
.prod__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

@media (max-width: 1180px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .ocats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .chero__grid { grid-template-columns: 1fr; }
  .chero__media { max-width: 560px; aspect-ratio: 16 / 9; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pgrid { gap: 12px; }
  .pcard__body { padding: 14px 14px 16px; gap: 6px; }
  .pcard h3 { font-size: 18px; }
  .pcard__d { font-size: 13px; }
  .pcard__gens li { font-size: 11px; padding: 3px 7px; }
  .pcard .btn { height: 42px; font-size: 14px; padding: 0 10px; }
  .fbar__label { display: none; }
  .fbar__inner { padding-block: 10px; }
  .ocats { grid-template-columns: repeat(2, 1fr); }
  .cask__inner .btn { width: 100%; }
  .cgroup__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.more__link--dark { color: var(--text); }
.more__link--dark:hover { color: var(--accent); }

/* =============================================================
   10. Redes sociales
   ============================================================= */
.social { display: flex; gap: 10px; margin-top: 22px; }
.social__btn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.social__btn svg { width: 22px; height: 22px; }
.social__btn:hover { transform: translateY(-3px); box-shadow: none; }
.social__btn--ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social__btn--fb:hover { background: #1877f2; }
.social__btn--wa:hover { background: var(--wa); }

.nav__social { display: none; }
@media (max-width: 1180px) {
  .nav__social { display: flex; gap: 10px; padding-top: 18px; }
  .nav__social a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 !important; border: 0 !important; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 17px; letter-spacing: .1em; }
  .nav__social a::after { display: none; }
  .nav__social svg { width: 20px; height: 20px; }
}

.social-sec { padding-top: 0; padding-bottom: clamp(24px, 4vw, 48px); }
.gallery-sec + .social-sec { padding-top: clamp(80px, 11vw, 150px); }
.scards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scard { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; padding: clamp(28px, 3.4vw, 48px); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: #fff; background: var(--ink); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.scard::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .9; transition: opacity .5s; }
.scard--ig::before { background: radial-gradient(120% 120% at 0% 100%, #feda75 0%, #fa7e1e 22%, #d62976 48%, #962fbf 72%, #4f5bd5 100%); }
.scard--fb::before { background: radial-gradient(120% 120% at 0% 100%, #4c9bff 0%, #1877f2 45%, #0b4fb3 100%); }
.scard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,10,0) 30%, rgba(11,11,10,.35)); }
.scard:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(22,21,15,.6); }
.scard__bg { position: absolute; right: -40px; top: -40px; width: 300px; height: 300px; opacity: .14; z-index: -1; transition: transform 1s var(--ease); }
.scard:hover .scard__bg { transform: rotate(-8deg) scale(1.06); }
.scard__icon { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; margin-bottom: auto; }
.scard__icon svg { width: 30px; height: 30px; }
.scard__net { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: 14px; opacity: .85; margin-top: 40px; }
.scard__handle { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 4vw, 58px); line-height: .95; letter-spacing: -.005em; }
.scard__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; align-self: flex-start; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; }
.scard__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.scard:hover .scard__cta svg { transform: translateX(5px); }
@media (max-width: 760px) {
  .scards { grid-template-columns: 1fr; gap: 12px; }
  .scard { min-height: 240px; }
  .scard__bg { width: 220px; height: 220px; }
}

/* Logos oficiales a color */
:root { --ig-grad: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); --fb-blue: #1877f2; }
.social__btn--ig { background: var(--ig-grad); box-shadow: none; border-radius: 13px; }
.social__btn--fb { background: var(--fb-blue); box-shadow: none; border-radius: 50%; }
.social__btn--wa { background: var(--wa); box-shadow: none; border-radius: 50%; }
.social__btn--fb svg { width: 24px; height: 24px; transform: translate(1px, 2px); }
.social__btn:hover { transform: translateY(-3px) scale(1.06); filter: brightness(1.08); }
.social__btn--ig:hover { background: var(--ig-grad); }
.social__btn--fb:hover { background: var(--fb-blue); }

.scard__icon { width: 76px; height: 76px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 0 0 4px #fff, 0 18px 40px -12px rgba(0,0,0,.55); }
.scard__icon svg { width: 40px; height: 40px; }
.scard--ig .scard__icon { background: var(--ig-grad); border-radius: 22px; }
.scard--fb .scard__icon { background: var(--fb-blue); border-radius: 50%; }
.scard--fb .scard__icon svg { width: 46px; height: 46px; transform: translate(2px, 5px); }
.scard:hover .scard__icon { transform: rotate(-6deg) scale(1.05); }
.scard__icon { transition: transform .5s var(--ease); }

@media (max-width: 1180px) {
  .nav__social a[href*="instagram"] { background: var(--ig-grad); }
  .nav__social a[href*="facebook"] { background: var(--fb-blue); }
  .nav__social svg { width: 22px; height: 22px; }
}

/* =============================================================
   11. Asistente de compra (chat)
   ============================================================= */
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22,21,15,.25); margin-top: 22px; }
.btn--ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost-dark svg { width: 20px; height: 20px; }

.has-chat .wa-float { bottom: 96px; }
.has-chat .wa-float__label { display: none; }
.has-chat .wa-float__btn { width: 54px; height: 54px; }
.has-chat .wa-float__btn svg { width: 27px; height: 27px; }
.has-chat .wa-float { right: 25px; }

.cb-launch { position: fixed; right: 20px; bottom: 20px; z-index: 61; display: flex; align-items: center; gap: 12px; transition: opacity .3s, transform .4s var(--ease); }
.cb-launch.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }
.cb-launch__btn { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 36px -10px rgba(255,90,31,.75); transition: transform .35s var(--ease); }
.cb-launch__btn svg { width: 30px; height: 30px; }
.cb-launch:hover .cb-launch__btn { transform: scale(1.07); }
.cb-launch__dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px var(--paper); }
.cb-launch__dot[hidden] { display: none; }
.cb-launch__hint { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 999px 999px 4px 999px; font-weight: 600; font-size: 14px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.5); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; white-space: nowrap; }
.cb-launch.is-hint .cb-launch__hint, .cb-launch:hover .cb-launch__hint { opacity: 1; transform: none; }

.cb { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 400px; height: min(640px, calc(100dvh - 40px)); display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(22,21,15,.1); opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right; transition: opacity .22s, transform .3s var(--ease); font-family: var(--f-body); color: var(--text); }
.cb.is-open { opacity: 1; transform: none; }
.cb[hidden] { display: none; }
.cb__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--ink); color: #fff; }
.cb__avatar { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.cb__avatar svg { width: 26px; height: 26px; color: #fff; }
.cb__who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.cb__who b { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .06em; font-size: 18px; }
.cb__who span { font-size: 12px; opacity: .65; display: flex; align-items: center; gap: 6px; }
.cb__who i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); }
.cb__reset { font-size: 12px; opacity: .6; padding: 6px 8px; border-radius: 8px; white-space: nowrap; }
.cb__reset:hover { opacity: 1; background: rgba(255,255,255,.08); }
.cb__close { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.cb__close:hover { background: rgba(255,255,255,.1); }
.cb__close svg { width: 20px; height: 20px; }

.cb__log { flex: 1; overflow-y: auto; padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.cb-msg { display: flex; }
.cb-msg p { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.cb-msg--bot p { background: #fff; border-bottom-left-radius: 5px; box-shadow: 0 1px 0 rgba(22,21,15,.06); }
.cb-msg--me { justify-content: flex-end; }
.cb-msg--me p { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.cb-msg b { font-weight: 600; }
.cb-msg--bot + .cb-msg--me, .cb-msg--me + .cb-msg--bot { margin-top: 6px; }
.cb-typing p { display: flex; gap: 4px; padding: 14px 16px; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9b2a3; animation: cbdot 1s infinite ease-in-out; }
.cb-typing i:nth-child(2) { animation-delay: .15s; } .cb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cbdot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }

.cb-msg--prods { margin: 2px -14px; }
.cb-prods { display: flex; gap: 10px; overflow-x: auto; padding: 4px 14px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.cb-prod { flex: 0 0 172px; scroll-snap-align: start; background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(22,21,15,.07); }
.cb-prod img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--ink-3); }
.cb-prod__b { padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cb-prod__b b { font-family: var(--f-display); text-transform: uppercase; font-size: 15.5px; line-height: 1.05; font-weight: 700; }
.cb-prod__b span { font-size: 11.5px; color: var(--muted); flex: 1; }
.cb-prod__add { margin-top: 6px; height: 34px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(22,21,15,.15); transition: background .2s, color .2s; }
.cb-prod__add:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cb-prod__add.is-on { background: var(--wa); color: #062b14; box-shadow: none; }

.cb__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 10px; max-height: 148px; overflow-y: auto; }
.cb__chips:empty { display: none; }
.cb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s; }
.cb-chip:hover { background: var(--accent); color: #fff; }
.cb-chip--primary { background: var(--accent); color: #fff; }
.cb-chip--wa { background: var(--wa); color: #062b14; box-shadow: none; }
.cb-chip--wa:hover { background: #2be070; color: #062b14; }
.cb-chip svg { width: 16px; height: 16px; }

.cb__foot { border-top: 1px solid rgba(22,21,15,.08); background: #fff; padding: 10px 12px 12px; display: grid; gap: 8px; }
.cb__cart { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 12px; background: var(--wa); color: #062b14; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.cb__cart[hidden] { display: none; }
.cb__cart svg { width: 18px; height: 18px; }
.cb__form { display: flex; gap: 8px; }
.cb__input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 12px; background: var(--paper); padding: 0 14px; font: inherit; font-size: 16px; color: var(--text); }
.cb__input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.cb__send { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.cb__send svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .cb { right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; }
  html.cb-lock, html.cb-lock body { overflow: hidden; }
  .cb-launch { right: 14px; bottom: 14px; }
  .cb-launch__btn { width: 58px; height: 58px; }
  .has-chat .wa-float { right: 16px; bottom: 82px; }
  .has-chat .wa-float__btn { width: 50px; height: 50px; }
  .cb__reset { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cb { transition: none; } }
.cb__who b, .cb__who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb__who b { font-size: 17px; }
.cb__who span { display: block; }
.cb__who span i { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.cb__reset { font-size: 11.5px; }
.cb__reset { width: 38px; height: 38px; padding: 0; display: grid; place-items: center; border-radius: 10px; opacity: .7; flex: none; }
.cb__reset svg { width: 19px; height: 19px; }
@media (max-width: 640px) { .cb__reset { display: grid; } }

/* TikTok */
:root { --tt-cyan: #25f4ee; --tt-red: #fe2c55; }
.scards { grid-template-columns: repeat(3, 1fr); }
.scard__handle { font-size: clamp(30px, 3vw, 46px); overflow-wrap: anywhere; }
.scard--tt::before { background: radial-gradient(90% 90% at 0% 100%, rgba(37,244,238,.55) 0%, transparent 60%), radial-gradient(90% 90% at 100% 0%, rgba(254,44,85,.6) 0%, transparent 60%), #010101; opacity: 1; }
.scard--tt .scard__icon { background: #010101; border-radius: 22px; }
.scard--tt .scard__icon svg, .social__btn--tt svg, .scard--tt .scard__bg { filter: drop-shadow(-2px -2px 0 var(--tt-cyan)) drop-shadow(2px 2px 0 var(--tt-red)); }
.scard--tt .scard__bg { opacity: .18; }
.social__btn--tt { background: #010101; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); border-radius: 13px; }
.social__btn--tt:hover { background: #010101; }
.social__btn--tt svg { filter: drop-shadow(-1.5px -1.5px 0 var(--tt-cyan)) drop-shadow(1.5px 1.5px 0 var(--tt-red)); }
@media (max-width: 1180px) {
  .nav__social a[href*="tiktok"] { background: #010101; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
  .nav__social a[href*="tiktok"] svg { filter: drop-shadow(-1.5px -1.5px 0 var(--tt-cyan)) drop-shadow(1.5px 1.5px 0 var(--tt-red)); }
  .nav__social { gap: 8px; }
  .nav__social a { font-size: 15px; gap: 8px; letter-spacing: .06em; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .scards { grid-template-columns: 1fr 1fr; }
  .scard--tt { grid-column: span 2; min-height: 240px; }
}
@media (max-width: 760px) { .scards { grid-template-columns: 1fr; } }
.scard__handle { font-size: clamp(28px, 2.5vw, 38px); overflow-wrap: normal; }
@media (max-width: 1100px) { .scard__handle { font-size: clamp(30px, 5vw, 44px); } }

/* Logo de la marca */
.logo__img { display: block; height: 52px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); transition: transform .35s var(--ease); }
.logo:hover .logo__img { transform: scale(1.03); }
.footer__logo { display: inline-block; background: none; padding: 0; border-radius: 0; }
.footer__logo img { width: 230px; height: auto; }
@media (max-width: 640px) { .logo__img { height: 44px; } }
.logo__img { height: 60px; margin-block: -4px; }
@media (max-width: 640px) { .logo__img { height: 48px; } }
