/* ══════════════════════════════════════════════════════════════
   CASA FUSCO — v2 "industrial oscuro refinado"
   Hoja autocontenida (no depende de style.css).
   La franja de obra (hazard) se usa en UN solo lugar: el panel cotizador.
   ══════════════════════════════════════════════════════════════ */
:root {
  --obra: #12110E;      /* fondo base */
  --panel: #1B1915;     /* superficies */
  --panel-2: #25221A;   /* superficie elevada / hover */
  --linea: #353026;     /* bordes y divisores */
  --cal: #F1ECE1;       /* texto principal */
  --polvo: #A9A191;     /* texto secundario */
  --naranja: #F97316;   /* acción y gráfica */
  --naranja-2: #EA580C; /* acción presionada */
  --oro: #C9A24B;       /* trayectoria (1970) */
  --wa: #25D366;

  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Barlow', system-ui, sans-serif;

  --fs-h1: clamp(46px, 7.4vw, 96px);
  --fs-h2: clamp(34px, 4.6vw, 58px);
  --fs-h3: clamp(21px, 2.2vw, 26px);

  --wrap: 1200px;
  --gut: clamp(18px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--obra); color: var(--cal);
  font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--naranja); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--naranja); color: var(--obra); padding: 10px 14px; font-weight: 700; z-index: 200; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding-block: var(--sec); }
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.h2 { font: 800 var(--fs-h2)/.96 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.lead { color: var(--polvo); margin-top: 14px; font-size: 18px; max-width: 56ch; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r); cursor: pointer;
  font: 700 19px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-main { background: var(--naranja); color: var(--obra); }
.btn-main:hover { background: #FF8A33; }
.btn-main:active { background: var(--naranja-2); }
.btn-line { background: transparent; color: var(--cal); box-shadow: inset 0 0 0 1.5px var(--linea); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--cal); }
.btn-wa { background: transparent; color: var(--cal); box-shadow: inset 0 0 0 1.5px rgba(37, 211, 102, .55); }
.btn-wa svg { fill: var(--wa); }
.btn-wa:hover { background: rgba(37, 211, 102, .1); }
.link { color: var(--cal); text-decoration: underline; text-decoration-color: var(--naranja); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.link:hover { color: var(--naranja); }

/* ── Barra promo + navegación ── */
.promo-bar { background: var(--panel); border-bottom: 1px solid var(--linea); overflow: hidden; white-space: nowrap; }
.promo-track { display: inline-flex; padding: 7px 0; animation: promo 34s linear infinite; }
.promo-track span { display: inline-flex; align-items: center; gap: 9px; padding: 0 28px; font: 600 13.5px/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: var(--polvo); }
.promo-track svg { width: 15px; height: 15px; fill: none; stroke: var(--oro); stroke-width: 2; }
@keyframes promo { to { transform: translateX(-50%); } }
.promo-bar:hover .promo-track { animation-play-state: paused; }

.top { position: sticky; top: 0; z-index: 100; background: rgba(18, 17, 14, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linea); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 68px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.logo-icon { width: 38px; height: 38px; }
.logo-t { font: 800 21px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.logo-s { font-size: 12px; color: var(--polvo); margin-top: 3px; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--polvo); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--cal); }
.nav a[aria-current] { border-bottom-color: var(--naranja); }
.top-cta { min-height: 42px; padding: 0 18px; font-size: 17px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--cal); padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-mobile { display: none; }
@media (max-width: 860px) {
  .nav, .top .top-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile.open { display: grid; padding: 6px var(--gut) 18px; border-top: 1px solid var(--linea); }
  .nav-mobile a { padding: 13px 0; text-decoration: none; border-bottom: 1px solid var(--linea); font-weight: 500; }
  .nav-mobile a:last-child { border: 0; color: var(--naranja); font-weight: 700; }
}

/* ── Portada: el video va limpio; solo título y dos botones abajo ── */
.hero { position: relative; isolation: isolate; height: min(80svh, 780px); min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg picture { display: contents; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,17,14,.9) 0%, rgba(18,17,14,.45) 26%, rgba(18,17,14,0) 55%); }
.hero-in { width: 100%; padding-bottom: clamp(26px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.hero-h1 { font: 800 clamp(34px, 4.8vw, 66px)/.94 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glass { background: rgba(18,17,14,.5); color: var(--cal); box-shadow: inset 0 0 0 1.5px rgba(241,236,225,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(18,17,14,.75); box-shadow: inset 0 0 0 1.5px var(--cal); }
@media (max-width: 760px) {
  .hero { height: 74svh; }
  .hero-btns, .hero-btns .btn { width: 100%; }
}

/* ── Cotizá: texto + panel ── */
.cotizar-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cotizar-alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) {
  .cotizar-in { grid-template-columns: 1fr; }
  .cotizar-in > .cz { order: -1; }
}

/* ── Panel cotizador (la pieza distintiva) ── */
.cz { background: var(--panel); border: 1px solid var(--linea); border-radius: var(--r); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); overflow: hidden; }
.cz::before { content: ""; display: block; height: 8px; background: repeating-linear-gradient(-45deg, var(--naranja) 0 12px, var(--obra) 12px 24px); }
.cz-in { padding: clamp(20px, 2.6vw, 30px); }
.cz-t { font: 700 var(--fs-h3)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.cz-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 16px; border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; }
.cz-tab { background: transparent; border: 0; border-right: 1px solid var(--linea); color: var(--polvo); padding: 13px 6px; cursor: pointer; font: 700 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.cz-tab:last-child { border-right: 0; }
.cz-tab:hover { color: var(--cal); }
.cz-tab[aria-selected="true"] { background: var(--cal); color: var(--obra); }
.cz-q { margin-top: 20px; font-size: 14px; color: var(--polvo); }
.cz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cz-chip { background: transparent; color: var(--cal); border: 1.5px solid var(--linea); border-radius: var(--r); min-width: 62px; padding: 10px 12px; cursor: pointer; font: 700 18px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.cz-chip:hover { border-color: var(--polvo); }
.cz-chip[aria-pressed="true"] { border-color: var(--naranja); color: var(--naranja); }
.cz-dims { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.cz-dims label { font-size: 13px; color: var(--polvo); display: grid; gap: 6px; }
.cz-dims input { width: 100%; background: var(--obra); color: var(--cal); border: 1.5px solid var(--linea); border-radius: var(--r); padding: 12px; font: 700 20px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.cz-dims input:focus { outline: 0; border-color: var(--naranja); }
.cz-out { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--linea); }
.cz-label { font-size: 14px; color: var(--polvo); }
.cz-price { font: 800 clamp(46px, 6vw, 68px)/1 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.cz-cuotas { color: var(--cal); margin-top: 6px; font-size: 16px; }
.cz-incl { color: var(--polvo); margin-top: 8px; font-size: 14.5px; }
.cz .btn-main { width: 100%; margin-top: 20px; }
.cz-foot { margin-top: 14px; font-size: 14.5px; color: var(--polvo); text-align: center; }

/* ── Datos de confianza ── */
.facts { border-block: 1px solid var(--linea); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 22px 26px 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--linea); }
.fact b { display: block; font: 800 clamp(30px, 3.4vw, 42px)/1 var(--f-display); text-transform: uppercase; }
.fact:first-child b { color: var(--oro); }
.fact span { display: block; margin-top: 6px; color: var(--polvo); font-size: 15px; }
@media (max-width: 760px) {
  .facts-in { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 14px 20px 0; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--linea); }
}

/* ── Combos (fila deslizable) ── */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.rail-nav { display: flex; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.rail-btn { width: 48px; height: 48px; border-radius: var(--r); background: transparent; border: 1.5px solid var(--linea); color: var(--cal); cursor: pointer; display: grid; place-items: center; }
.rail-btn:hover { border-color: var(--cal); }
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.combo-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 330px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut);
  padding: 0 var(--gut) 18px; margin: 0 calc(var(--gut) * -1); scrollbar-width: thin; scrollbar-color: var(--linea) transparent;
}
.combo-card, .combo-custom { scroll-snap-align: start; background: var(--panel); border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.combo-ph { aspect-ratio: 4 / 3; background: var(--panel-2); }
.combo-ph img { width: 100%; height: 100%; object-fit: cover; }
.combo-badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--obra); color: var(--cal); padding: 6px 10px; border-radius: 2px; font: 700 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; }
.combo-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.combo-t { font: 700 24px/1.05 var(--f-display); text-transform: uppercase; }
.combo-p { color: var(--polvo); font-size: 14.5px; margin-top: 8px; }
.combo-price-l { margin-top: 16px; font-size: 13px; color: var(--polvo); }
.combo-price { font: 800 36px/1 var(--f-display); font-variant-numeric: tabular-nums; margin-top: 2px; }
.combo-price small { font-size: 18px; font-weight: 600; color: var(--polvo); }
.combo-cuotas { font-size: 14.5px; color: var(--polvo); margin-top: 6px; }
.combo-cuotas b { color: var(--cal); font-weight: 600; }
.combo-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border-radius: var(--r); text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(37, 211, 102, .55); font: 700 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.combo-body > .combo-cuotas:last-of-type { margin-bottom: 18px; }
.combo-cta svg { width: 19px; height: 19px; fill: var(--wa); }
.combo-cta:hover { background: rgba(37, 211, 102, .1); }
.combo-cta-calc { box-shadow: none; background: var(--naranja); color: var(--obra); }
.combo-cta-calc svg { fill: none; stroke: var(--obra); }
.combo-cta-calc:hover { background: #FF8A33; }
.combo-custom { padding: 24px 20px; justify-content: space-between; gap: 24px; background: var(--panel-2); }
.combo-custom-t { font: 800 32px/1 var(--f-display); text-transform: uppercase; }
.combo-custom-p { color: var(--polvo); margin-top: 12px; font-size: 15.5px; }
.combo-note { margin-top: 18px; font-size: 14px; color: var(--polvo); }

/* ── Rubros ── */
.rubros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rubro { position: relative; isolation: isolate; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; align-items: flex-end; background: var(--panel); }
.rubro img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rubro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,17,14,.92) 0%, rgba(18,17,14,.1) 62%); }
.rubro:hover img { transform: scale(1.04); }
.rubro-in { padding: 18px; }
.rubro-t { font: 700 clamp(21px, 2vw, 27px)/1 var(--f-display); text-transform: uppercase; }
.rubro-p { font-size: 14px; color: #CFC8B9; margin-top: 6px; }
.rubro-text { border: 1px solid var(--linea); }
.rubro-text::after { display: none; }
.rubro-text .rubro-p { color: var(--polvo); }
.rubro-text .rubro-go { display: inline-block; margin-top: 14px; color: var(--naranja); font: 700 16px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 900px) { .rubros { grid-template-columns: 1fr 1fr; } }

/* ── Cómo funciona ── */
.how { background: var(--panel); border-block: 1px solid var(--linea); }
.how-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.steps li { counter-increment: paso; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--linea); }
.steps li:last-child { border-bottom: 1px solid var(--linea); }
.steps li::before { content: counter(paso); font: 800 52px/.9 var(--f-display); color: var(--naranja); }
.steps h3 { font: 700 var(--fs-h3)/1.1 var(--f-display); text-transform: uppercase; }
.steps p { color: var(--polvo); margin-top: 6px; }
.how .btn { margin-top: 30px; }
@media (max-width: 860px) { .how-in { grid-template-columns: 1fr; } }

/* ── Flota + razones ── */
.flota { position: relative; isolation: isolate; }
.flota-bg { position: absolute; inset: 0; z-index: -2; }
.flota-bg img { width: 100%; height: 100%; object-fit: cover; }
.flota::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18,17,14,.55) 0%, rgba(18,17,14,.9) 70%, var(--obra) 100%); }
.flota-in { padding-top: clamp(140px, 22vw, 300px); }
.razones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid rgba(241,236,225,.22); }
.razon { padding: 22px 22px 0 0; }
.razon + .razon { padding-left: 22px; border-left: 1px solid rgba(241,236,225,.22); }
.razon h3 { font: 700 var(--fs-h3)/1.1 var(--f-display); text-transform: uppercase; }
.razon p { color: #CFC8B9; margin-top: 8px; font-size: 15.5px; }
@media (max-width: 860px) {
  .razones { grid-template-columns: 1fr 1fr; }
  .razon { padding: 20px 14px 20px 0; }
  .razon:nth-child(odd) { padding-left: 0; border-left: 0; }
  .razon:nth-child(n+3) { border-top: 1px solid rgba(241,236,225,.22); }
}

/* ── Historia + reseñas ── */
.historia { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.historia-ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.historia-ph img { width: 100%; height: 100%; object-fit: cover; }
.historia .btn { margin-top: 26px; }
.resenas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--linea); }
.resena blockquote { margin: 0; font: 500 clamp(22px, 2.4vw, 30px)/1.25 var(--f-display); }
.resena figcaption { margin-top: 14px; color: var(--polvo); font-size: 15px; }
.resena figcaption span { color: var(--oro); letter-spacing: 2px; margin-right: 8px; }
.resenas-more { margin-top: 28px; }
@media (max-width: 860px) { .historia, .resenas { grid-template-columns: 1fr; } }

/* ── Entrega y ubicación ── */
.hub { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.hub-photo, .hub-map { border-radius: var(--r); overflow: hidden; min-height: 320px; background: var(--panel); }
.hub-photo img { width: 100%; height: 100%; object-fit: cover; }
.hub-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.hub-info { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--linea); border-radius: var(--r); }
.hub-row { padding: 22px; }
.hub-row + .hub-row { border-left: 1px solid var(--linea); }
.hub-l { font-size: 14px; color: var(--polvo); }
.hub-v { margin-top: 4px; font-weight: 500; }
.hub-v a { text-decoration-color: var(--naranja); text-underline-offset: 4px; }
@media (max-width: 860px) {
  .hub { grid-template-columns: 1fr; }
  .hub-info { grid-template-columns: 1fr; }
  .hub-row + .hub-row { border-left: 0; border-top: 1px solid var(--linea); }
}

/* ── Preguntas ── */
.faq { max-width: 820px; }
.faq-item { border-top: 1px solid var(--linea); }
.faq-item:last-of-type { border-bottom: 1px solid var(--linea); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 700 var(--fs-h3)/1.15 var(--f-display); text-transform: uppercase; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 500 30px/1 var(--f-body); color: var(--naranja); }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 24px; color: var(--polvo); max-width: 62ch; }
.faq .btn { margin-top: 28px; }

/* ── Cierre + pie ── */
.cierre { border-top: 1px solid var(--linea); text-align: left; }
.cierre-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cierre .h2 { max-width: 16ch; }
.cierre-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer { background: var(--panel); border-top: 1px solid var(--linea); padding: 56px 0 28px; font-size: 15px; }
.footer-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand img { height: 54px; width: auto; }
.footer-brand p { color: var(--polvo); margin-top: 14px; max-width: 30ch; }
.footer-h { font: 700 17px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: var(--polvo); text-decoration: none; }
.footer-links a:hover { color: var(--cal); }
.footer-credit { max-width: var(--wrap); margin: 40px auto 0; padding: 20px var(--gut) 0; border-top: 1px solid var(--linea); color: var(--polvo); font-size: 13.5px; }
.footer-credit a { color: var(--polvo); }
@media (max-width: 860px) { .footer-in { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.7); }
.fab svg { width: 28px; height: 28px; fill: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .promo-track { animation: none; }
  .rubro img { transition: none; }
}
