/* Kyauta Muebles — "el frente de cajón": negro melamina, perfil C de aluminio, verde del logo y hueso */
:root {
  --negro: #0e0f0f; --negro2: #161818; --panel: #1d1f20; --hueso: #ECEBE6; --hueso2: #DEDCD5; --papel: #F6F5F1;
  --tinta: #121313; --tinta2: #4b4d4f; --gris: #8b8d8f; --gris2: #a9aaa6;
  --verde: #2C4A3E; --verde2: #1d3329; --verde3: #9fc3b0;
  --alu: linear-gradient(180deg, #f3f5f7 0%, #c7ccd1 38%, #8f959b 62%, #dfe3e6 100%);
  --alu1: #cfd3d7;
  --linea: rgba(18,19,19,.12); --lineaD: rgba(236,235,230,.12);
  --wa: #1E8E4E;
  --disp: 'Outfit', system-ui, sans-serif; --sans: 'Manrope', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r: 6px; --pad: clamp(16px, 5vw, 64px); --max: 1280px;
  --ease: cubic-bezier(.22,.8,.24,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--negro); color: var(--hueso); font: 16px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--disp); font-weight: 300; letter-spacing: -.03em; line-height: 1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(34px, 5.4vw, 74px); }
h3 { font-size: 21px; font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
em { font-style: normal; color: var(--gris2); }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--gris); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--hueso); color: var(--tinta); padding: 8px 12px; z-index: 99; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--verde3); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--verde3); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.kicker::before { content: ''; width: 28px; height: 3px; background: var(--alu); border-radius: 1px; }
.kicker .dot { display: none; }
.fine { font-size: 13px; color: var(--gris); margin-top: 24px; max-width: 760px; }

/* botones */
.btn { --bg: var(--hueso); --fg: var(--tinta); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 4px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--wa::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3a.5.5 0 0 0 0-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2Zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2Zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8s-.4-.1-.6.1-.7.8-.8 1-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.2-.4.2-.4.7-1.3a.5.5 0 0 0 0-.4l-.8-1.9c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.9 11.9 0 0 0 4.6 4c1.7.7 2.4.8 3.2.7a2.8 2.8 0 0 0 1.8-1.3 2.3 2.3 0 0 0 .2-1.3c-.1-.1-.3-.2-.5-.3Z"/></svg>') center/contain no-repeat; }
.btn--line { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--dark { --bg: var(--tinta); --fg: var(--hueso); }
.btn--alu { --bg: #d8dcdf; --fg: var(--tinta); background: var(--alu); border-color: #aeb3b8; }
.btn--block { width: 100%; }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } .btn--line:hover { background: var(--hueso); color: var(--tinta); border-color: var(--hueso); } }

/* marca (logo apilado KYA/UTA) */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__mark { display: inline-grid; font-family: var(--disp); font-weight: 300; font-size: 19px; line-height: .86; letter-spacing: .05em; }
.brand__mark--lg { font-size: 44px; }
.brand__sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; line-height: 1.35; padding-left: 12px; border-left: 1px solid currentColor; }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); color: #fff; transition: background .35s, box-shadow .35s; }
.hdr.is-solid { background: rgba(14,15,15,.92); box-shadow: 0 1px 0 var(--lineaD); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--alu); transition: right .3s var(--ease); }
.nav a:hover::after { right: 0; }
.hdr__wa { min-height: 42px; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* HERO */
.hero { position: relative; height: 240svh; background: var(--negro); }
.hero__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,9,.86) 0%, rgba(8,9,9,.55) 42%, rgba(8,9,9,.12) 100%), linear-gradient(0deg, rgba(8,9,9,.7), transparent 40%); }
/* los 4 frentes de cajón */
.slats { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 1fr 1fr 1.25fr; gap: 6px; padding: 0; pointer-events: none; }
.slat { position: relative; display: block; background: linear-gradient(180deg, #1b1c1d 0%, #121313 100%); transform: translateX(-102%); will-change: transform; box-shadow: inset 0 -1px 0 rgba(255,255,255,.04); }
.slat:nth-child(even) { transform: translateX(102%); }
.slat s { position: absolute; left: 0; right: 0; top: 0; height: clamp(14px, 2.2vh, 22px); background: var(--alu); box-shadow: 0 6px 10px -4px rgba(0,0,0,.7); overflow: hidden; }
.slat s::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.95) 50%, transparent 70%); transform: translateX(var(--sh, -120%)); }
.hero.is-shut .slat s::after { transform: translateX(120%); transition: transform 1.1s var(--ease); }
.slat--doors { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: none; box-shadow: none; }
.slat--doors s { position: relative; height: 100%; background: linear-gradient(180deg, #1b1c1d 0%, #121313 100%); box-shadow: none; overflow: visible; }
.slat--doors s::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: clamp(14px, 2.2vh, 22px); background: var(--alu); box-shadow: 0 6px 10px -4px rgba(0,0,0,.7); }
.slat--doors s::after { display: none; }
.slat::before { content: attr(data-n); position: absolute; right: var(--pad); bottom: 14px; font-family: var(--mono); font-size: 11px; color: rgba(236,235,230,.25); letter-spacing: .1em; }
.hero__copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(70px, 11svh, 130px); color: #fff; max-width: 760px; will-change: transform, opacity; }
.hero h1 { font-size: clamp(46px, 8vw, 118px); font-weight: 200; letter-spacing: -.045em; }
.hero h1 em { color: transparent; background: var(--alu); -webkit-background-clip: text; background-clip: text; font-weight: 300; }
.hero__lead { font-size: clamp(16px, 1.4vw, 18.5px); max-width: 540px; margin: 22px 0 28px; color: rgba(255,255,255,.86); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; gap: 26px; flex-wrap: wrap; color: rgba(255,255,255,.7); }
.hero__facts b { font-family: var(--disp); font-weight: 300; font-size: 26px; color: #fff; letter-spacing: -.02em; margin-right: 4px; }
.hero__after { position: absolute; left: 50%; top: 50%; width: min(560px, calc(100% - 2 * var(--pad))); transform: translate(-50%, -50%); text-align: center; opacity: 0; visibility: hidden; will-change: opacity, transform; z-index: 2; background: #141515; border: 1px solid rgba(236,235,230,.1); border-radius: 4px; padding: clamp(24px, 3.5vw, 40px) clamp(18px, 3vw, 40px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.hero__after .mono { color: var(--verde3); }
.hero__after-t { font-family: var(--disp); font-weight: 300; font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -.03em; margin: 14px 0 18px; }
.hero__dims { display: flex; justify-content: center; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; color: var(--gris2); }
.hero__dims span { font-family: var(--disp); font-size: 34px; font-weight: 200; color: #fff; letter-spacing: -.02em; }
.hero__dims i { font-style: normal; opacity: .5; }
.hero__scroll { position: absolute; right: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.65); will-change: opacity; }
.hero__scroll span { width: 1px; height: 36px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ''; position: absolute; left: 0; right: 0; height: 40%; background: #fff; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* rubros (cinta) */
.rubros { border-block: 1px solid var(--lineaD); overflow: hidden; background: var(--negro2); }
.rubros__track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: marq 32s linear infinite; color: var(--gris2); font-size: 13px; }
.rubros__track span { display: flex; align-items: center; gap: 48px; }
.rubros__track span::after { content: ''; width: 18px; height: 3px; background: var(--alu); }
@keyframes marq { to { transform: translateX(-50%); } }

/* secciones */
.sec { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.sec__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.sec__lead { font-size: 18px; color: var(--gris2); margin-top: 20px; max-width: 600px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.light { background: var(--hueso); color: var(--tinta); }
.light em { color: var(--tinta2); }
.light .sec__lead, .light .card__note { color: var(--tinta2); }
.light .kicker { color: var(--verde); }

/* por dentro */
.dentro { position: relative; height: 320svh; background: radial-gradient(70% 70% at 30% 50%, #4a4e50 0%, #232526 45%, var(--negro) 85%); }
.dentro__stick { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 30px; padding: 70px var(--pad) 30px; overflow: hidden; }
.dentro__canvas { position: relative; height: min(80svh, 700px); }
.dentro__canvas canvas { width: 100%; height: 100%; touch-action: pan-y; }
.dentro__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.dentro h2 { font-size: clamp(32px, 4.2vw, 58px); margin-bottom: 28px; }
.dentro__meter { position: absolute; left: var(--pad); bottom: 26px; color: var(--gris); }
.dentro__meter span { color: var(--hueso); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--lineaD); opacity: .3; transition: opacity .4s; position: relative; }
.steps li::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--alu); transition: width .6s var(--ease); }
.steps li.is-on { opacity: 1; }
.steps li.is-on::after { width: 100%; }
.steps b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--verde3); padding-top: 4px; }
.steps h3 { font-size: 21px; }
.steps p { font-size: 14.5px; color: var(--gris2); max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.steps li.is-on p { max-height: 90px; margin-top: 6px; }

/* modelos */
.modelos { background: var(--hueso); color: var(--tinta); }
.modelos em { color: var(--tinta2); }
.modelos .kicker { color: var(--verde); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1.5px solid var(--linea); background: transparent; border-radius: 4px; padding: 0 16px; min-height: 44px; font-size: 14px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.chips button[aria-selected="true"] { background: var(--tinta); color: var(--hueso); border-color: var(--tinta); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.card { background: var(--papel); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 1px 0 var(--linea); }
.card__img { aspect-ratio: 4/4.4; background: #d9d7d0; overflow: hidden; position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; }
.card__img img + img { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) { .card:hover .card__img img:first-child { transform: scale(1.04); } .card:hover .card__img img + img { opacity: 1; } }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--verde); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 3px; }
.card__rub { position: absolute; top: 12px; right: 12px; background: rgba(14,15,15,.78); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 3px; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { font-size: 22px; }
.card__sub { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--verde); }
.card__note { font-size: 14px; color: var(--tinta2); }
.card__price { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card__price b { font-family: var(--disp); font-weight: 400; font-size: 28px; letter-spacing: -.02em; }
.card__price s { color: var(--gris); font-size: 14px; }
.card__price small { width: 100%; font-family: var(--mono); font-size: 10.5px; color: var(--tinta2); text-transform: uppercase; letter-spacing: .06em; }
.card__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.card__ctas .btn { min-height: 46px; padding: 0 10px; font-size: 13.5px; }
.card__ctas .btn--line { color: var(--tinta); }
@media (hover: hover) { .card__ctas .btn--line:hover { background: var(--tinta); color: var(--hueso); border-color: var(--tinta); } }

/* configurador */
.armala { background: var(--negro2); }
.cfg { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.cfg__stage { position: sticky; top: 90px; aspect-ratio: 4/3.6; border-radius: 10px; overflow: hidden; background: radial-gradient(110% 90% at 50% 25%, #f4f3ef 0%, #d9d7d0 65%, #c7c4bc 100%); color: var(--tinta); }
.cfg__stage canvas { width: 100%; height: 100%; touch-action: pan-y; }
.cfg__hud { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; gap: 10px; }
.cfg__hud .mono { color: var(--tinta); background: rgba(255,255,255,.75); padding: 5px 10px; border-radius: 3px; }
.cfg__hint { font-size: 12.5px; color: var(--tinta2); }
.cfg__tools { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.ic { width: 46px; height: 46px; border-radius: 4px; border: 0; background: rgba(255,255,255,.88); font-size: 20px; color: var(--tinta); }
.pill { min-height: 46px; padding: 0 18px; border-radius: 4px; border: 0; background: var(--tinta); color: var(--hueso); font-weight: 600; font-size: 14px; }
.pill[aria-pressed="true"] { background: var(--verde); }
.cfg__form { display: grid; gap: 20px; }
.cfg__form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.cfg__form fieldset[hidden] { display: none; }
.cfg__form legend { font-weight: 600; font-size: 14px; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; padding: 0; }
.cfg__form legend .mono, .cfg__form legend span { color: var(--verde3); font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts--chk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opts label { position: relative; display: block; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: flex; flex-direction: column; justify-content: center; min-height: 48px; height: 100%; padding: 8px 14px; border-radius: 4px; border: 1.5px solid var(--lineaD); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s, color .2s; line-height: 1.25; }
.opts span small { font-family: var(--mono); font-size: 10.5px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; opacity: .7; margin-top: 2px; }
.opts--chk span { padding-left: 40px; position: relative; }
.opts--chk span::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .6; }
.opts--chk input:checked + span::before { background: var(--tinta) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5 10.5l3 3 7-7" stroke="%23ECEBE6" stroke-width="2.4" fill="none"/></svg>') center/14px no-repeat; opacity: 1; border-color: var(--tinta); }
.opts input:checked + span { background: var(--hueso); color: var(--tinta); border-color: var(--hueso); }
.opts input:disabled + span { opacity: .35; cursor: not-allowed; }
.opts input:focus-visible + span { outline: 2px solid var(--verde3); outline-offset: 2px; }
.steps-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.steps-in button { min-height: 52px; border-radius: 4px; border: 1.5px solid var(--lineaD); background: transparent; position: relative; font-family: var(--disp); font-size: 22px; font-weight: 300; }
.steps-in button i { position: absolute; left: 10px; right: 10px; bottom: 8px; display: grid; gap: 3px; }
.steps-in button[aria-checked="true"] { background: var(--hueso); color: var(--tinta); border-color: var(--hueso); }
.steps-in button:disabled { opacity: .3; cursor: not-allowed; }
.sws { display: flex; flex-wrap: wrap; gap: 10px; }
.sws button { width: 48px; height: 48px; border-radius: 4px; border: 2px solid var(--lineaD); background: var(--c); position: relative; transition: transform .2s var(--ease); }
.sws button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sws button[aria-checked="true"] { border-color: var(--hueso); transform: scale(1.06); box-shadow: 0 0 0 3px var(--negro2), 0 0 0 5px var(--verde3); }
.tapein { position: relative; height: 54px; background: var(--alu); border-radius: 4px; overflow: hidden; }
.tapein__ticks { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(90deg, rgba(18,19,19,.6) 0 1px, transparent 1px calc(100% / 40)), repeating-linear-gradient(90deg, rgba(18,19,19,.85) 0 1.5px, transparent 1.5px calc(100% / 8)); background-size: 100% 12px, 100% 24px; background-repeat: repeat-x; }
.tapein input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; cursor: ew-resize; z-index: 1; }
.tapein input::-webkit-slider-thumb { -webkit-appearance: none; width: 8px; height: 54px; background: var(--verde); box-shadow: 0 0 0 2px var(--tinta); border-radius: 2px; }
.tapein input::-moz-range-thumb { width: 8px; height: 54px; background: var(--verde); border: 0; box-shadow: 0 0 0 2px var(--tinta); border-radius: 2px; }
.cfg__out { background: var(--panel); border: 1px solid var(--lineaD); border-radius: 8px; padding: 18px; display: grid; gap: 10px; position: relative; overflow: hidden; }
.cfg__out::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--alu); }
.cfg__out .mono { color: var(--gris2); line-height: 1.5; }
.cfg__price { font-family: var(--disp); font-weight: 300; font-size: 38px; line-height: 1.05; letter-spacing: -.02em; }
.cfg__price small { display: block; font-family: var(--sans); font-size: 13px; color: var(--gris2); margin-top: 6px; line-height: 1.45; letter-spacing: 0; }

/* reels */
.taller-reels { background: var(--negro); padding-bottom: clamp(60px, 9vw, 110px); }
.reels { display: flex; gap: 14px; overflow-x: auto; padding: 0 var(--pad) 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #444 transparent; overscroll-behavior-x: contain; }
.reels figure { margin: 0; flex: 0 0 clamp(200px, 21vw, 270px); scroll-snap-align: start; }
.reels video { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 8px; background: #222; }
.reels figcaption { font-size: 14px; color: var(--gris2); margin-top: 10px; }

/* a medida */
.medida { background: var(--hueso); color: var(--tinta); }
.medida em { color: var(--tinta2); } .medida .kicker { color: var(--verde); }
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); text-decoration: none; color: #fff; background: #222; grid-row: span 2; }
.tile--v { grid-row: span 3; }
.tile:nth-child(3) { grid-column: 3; grid-row: 1 / span 3; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 50%); }
.tile span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-size: 13.5px; color: rgba(255,255,255,.8); }
.tile b { display: block; font-family: var(--disp); font-weight: 400; font-size: 24px; color: #fff; letter-spacing: -.02em; }
@media (hover: hover) { .tile:hover img, .tile:hover video { transform: scale(1.05); } }

/* clientes */
.clientes { background: var(--negro); }
.clientes__big { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 40px; align-items: end; margin-bottom: 50px; }
.clientes__big .kicker { grid-column: 1 / -1; }
.bignum { font-family: var(--disp); font-weight: 200; font-size: clamp(110px, 18vw, 260px); line-height: .8; letter-spacing: -.06em; background: var(--alu); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bignum sup { font-size: .4em; vertical-align: top; }
.clientes__big h2 { font-size: clamp(26px, 3.2vw, 44px); max-width: 620px; padding-bottom: 10px; }
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.wall img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 4px; }
.wall img:nth-child(odd) { margin-top: 40px; }

/* compra */
.compra { background: var(--negro2); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.flow li { padding: 28px 22px 10px 0; position: relative; }
.flow li::before { content: ''; position: absolute; top: 0; left: 0; right: 6px; height: 4px; background: var(--alu); border-radius: 1px; }
.flow h3 { font-size: 24px; margin: 12px 0 8px; }
.flow p { color: var(--gris2); font-size: 15px; }

/* asistente */
.asist { background: var(--verde2); }
.asist em { color: var(--verde3); }
.asist__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.asist .sec__lead { color: rgba(236,235,230,.78); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks li::before { content: ''; width: 22px; height: 22px; border-radius: 3px; background: var(--hueso) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5 10.5l3 3 7-7" stroke="%231d3329" stroke-width="2.2" fill="none"/></svg>') center/14px no-repeat; flex: none; }
.chat { background: #ECE5DD; color: var(--tinta); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; height: 580px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); min-width: 0; }
.chat__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #1f2c27; color: #fff; }
.chat__av { width: 40px; height: 40px; border-radius: 50%; background: var(--hueso); color: var(--verde); display: grid; place-items: center; font-family: var(--disp); font-weight: 400; font-size: 11px; line-height: .85; flex: none; text-align: center; letter-spacing: .04em; }
.chat__top b { display: block; font-size: 15px; } .chat__top small { font-size: 12px; opacity: .78; }
.chat__x { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 24px; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; background-image: radial-gradient(rgba(18,19,19,.05) 1px, transparent 1px); background-size: 14px 14px; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; line-height: 1.42; animation: pop .3s var(--ease); white-space: pre-line; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.msg--bot { background: #fff; border-top-left-radius: 2px; align-self: flex-start; }
.msg--me { background: #D9FDD3; border-top-right-radius: 2px; align-self: flex-end; }
.msg img { border-radius: 6px; margin-bottom: 6px; width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.msg--typing { color: var(--gris); font-style: italic; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.chat__qr { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px; background: #ECE5DD; }
.chat__qr button { border: 1.5px solid var(--verde); color: var(--verde); background: #fff; border-radius: 999px; padding: 0 14px; min-height: 40px; font-size: 13.5px; font-weight: 600; }
.chat__in { display: flex; gap: 8px; padding: 10px 12px; background: #e2dbd2; }
.chat__in input { flex: 1; min-width: 0; border: 0; border-radius: 999px; padding: 0 16px; min-height: 46px; font: inherit; font-size: 16px; background: #fff; color: var(--tinta); }
.chat__in button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--verde); color: #fff; font-size: 18px; flex: none; }
.chat--float { position: fixed; right: 18px; bottom: 90px; width: min(390px, calc(100vw - 24px)); height: min(580px, calc(100svh - 120px)); z-index: 60; }
.botfab { position: fixed; right: 18px; bottom: 18px; z-index: 55; display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 8px; border-radius: 999px; border: 1px solid var(--lineaD); background: var(--verde); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(0,0,0,.6); }
.botfab span { width: 38px; height: 38px; border-radius: 50%; background: var(--hueso); color: var(--verde); display: grid; place-items: center; font-family: var(--disp); font-size: 18px; font-weight: 500; }
.dock { display: none; }

/* taller */
.taller { background: var(--hueso); color: var(--tinta); }
.taller em { color: var(--tinta2); } .taller .kicker { color: var(--verde); }
.taller__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 70px); align-items: center; }
.nap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 30px 0; }
.nap dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--verde); margin-bottom: 6px; }
.nap dd { margin: 0; font-size: 15.5px; word-break: break-word; }
.map { height: 420px; border-radius: var(--r); overflow: hidden; background: var(--hueso2); z-index: 0; }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(1.05) brightness(1.02); }
.zone { stroke: #2C4A3E; }
.taller__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.taller__ctas .btn--line { color: var(--tinta); }
.faq { display: grid; gap: 10px; max-width: 900px; margin-top: clamp(60px, 9vw, 110px); }
.faq__t { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 14px; }
.faq details { background: var(--papel); border-radius: 6px; padding: 0 20px; border-left: 3px solid transparent; transition: border-color .3s; }
.faq details[open] { border-left-color: var(--verde); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--verde); }
.faq details[open] summary::after { content: '–'; }
.faq p { padding-bottom: 18px; color: var(--tinta2); }

/* footer */
.ftr { background: var(--negro); padding: 60px 0 110px; border-top: 1px solid var(--lineaD); }
.ftr__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; align-items: start; }
.ftr p { color: var(--gris2); margin-top: 14px; font-size: 14.5px; }
.ftr nav { display: grid; gap: 10px; }
.ftr nav a { text-decoration: none; }
.ftr .mono { color: var(--gris); line-height: 1.6; }

/* servicios */
.phero { padding: 160px 0 70px; background: var(--negro); position: relative; overflow: hidden; }
.phero h1 { font-size: clamp(46px, 7.6vw, 110px); font-weight: 200; letter-spacing: -.045em; }
.phero h1 em { color: transparent; background: var(--alu); -webkit-background-clip: text; background-clip: text; }
.phero p { font-size: 19px; color: var(--gris2); max-width: 640px; margin-top: 24px; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.svc-list { display: grid; gap: clamp(60px, 9vw, 120px); }
.svc-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; scroll-margin-top: 90px; }
.svc-item:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-media > * { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; background: #222; }
.svc-media > :only-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
.svc-item h2 { font-size: clamp(32px, 4.4vw, 60px); margin: 6px 0 18px; }
.svc-item p { color: var(--gris2); font-size: 17px; }
.svc-item ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 8px; }
.svc-item li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; }
.svc-item li::before { content: ''; width: 14px; height: 3px; background: var(--alu); flex: none; transform: translateY(-4px); }
.svc-num { font-family: var(--mono); font-size: 12px; color: var(--verde3); letter-spacing: .12em; }

/* responsive */
@media (max-width: 1020px) {
  .nav { position: fixed; inset: 0; background: var(--negro); color: var(--hueso); flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 var(--pad); gap: 22px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; z-index: -1; }
  .nav a { font-family: var(--disp); font-weight: 300; font-size: 40px; letter-spacing: -.02em; }
  .nav-open .nav { visibility: visible; opacity: 1; }
  .burger { display: block; }
  .hdr__wa { display: none; }
  .dentro__stick { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; padding-top: 64px; gap: 6px; align-content: stretch; }
  .dentro__canvas { height: 100%; min-height: 0; }
  .dentro h2 { display: none; }
  .dentro__copy .kicker { margin-bottom: 8px; }
  .steps li { display: none; border: 0; padding: 0; opacity: 1; }
  .steps li::after { display: none; }
  .steps li.is-on { display: grid; }
  .steps { margin-bottom: 12px; min-height: 104px; }
  .dentro__meter { left: auto; right: var(--pad); top: 76px; bottom: auto; }
  .cfg { grid-template-columns: minmax(0, 1fr); }
  .cfg__stage { position: relative; top: 0; aspect-ratio: 1/0.95; }
  .asist__in, .taller__in { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 24px; }
  .ftr__in { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .tile:nth-child(3) { grid-column: auto; grid-row: span 3; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .clientes__big { grid-template-columns: minmax(0, 1fr); }
  .svc-item { grid-template-columns: minmax(0, 1fr); }
  .svc-item:nth-child(even) .svc-media { order: 0; }
}
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .hdr { padding: 10px 16px; }
  .brand__sub { display: none; }
  .hero { height: 200svh; }
  .hero__copy { bottom: 64px; }
  .hero__shade { background: linear-gradient(0deg, rgba(8,9,9,.92) 0%, rgba(8,9,9,.6) 48%, rgba(8,9,9,.25) 100%); }
  .hero__lead { margin: 16px 0 20px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__facts { gap: 16px; margin-top: 22px; font-size: 10.5px; }
  .hero__facts b { font-size: 21px; }
  .hero__scroll { display: none; }
  .slats { gap: 4px; }
  .dentro { height: 250svh; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .nap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .map { height: 300px; }
  .chat { height: 540px; }
  .botfab { display: none; }
  .dock { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55; background: rgba(22,24,24,.96); border: 1px solid var(--lineaD); padding: 8px; border-radius: 8px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transform: translateY(150%); transition: transform .4s var(--ease); }
  .dock.is-on { transform: none; }
  .dock .btn { min-height: 46px; padding: 0 12px; }
  .dock .btn--line { color: var(--hueso); }
  .chat--float { right: 12px; left: 12px; width: auto; bottom: 84px; height: min(560px, calc(100svh - 110px)); }
  .reels figure { flex-basis: 62vw; }
  .opts--3 { grid-template-columns: minmax(0, 1fr); }
  .opts--3 span { flex-direction: row; justify-content: space-between; align-items: center; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall img:nth-child(odd) { margin-top: 0; }
  .wall img:nth-child(even) { margin-top: 30px; }
  .mosaic { grid-auto-rows: 130px; }
  .svc-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .rubros__track, .hero__scroll span::after { animation: none; }
  .hero, .dentro { height: auto; }
  .hero__stick { height: 100svh; }
  .dentro__stick { position: relative; height: auto; min-height: 100svh; }
}
[hidden] { display: none !important; }
