/* Racoon Films — estilos */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-var.woff2) format('woff2-variations'), url(../fonts/archivo-var.woff2) format('woff2');
}
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/jbmono-400.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 500; src: url(../fonts/jbmono-500.woff2) format('woff2'); }

:root {
  --paper: #F2F2EF;
  --white: #FFFFFF;
  --ink: #121212;
  --ink-2: #3A3A37;
  --muted: #5E5E5A;
  --rule: #CFCFCA;
  --rule-soft: #E4E4DF;
  --hover: #E8E8E3;
  --rec: #C8261A;
  --night: #111110;
  --night-2: #262624;
  --night-rule: #34342F;
  --night-text: #EDEDE8;
  --night-muted: #9A9A94;
  --night-soft: #C4C4BE;
  --rec-light: #FF4A35;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Archivo', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1360px;
  --gutter: 40px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rec); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; margin: 0; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none; -webkit-hyphens: none; }

/* ---------- Barra de contacto ---------- */
.topbar { background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 12.5px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 28px; min-height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.topbar a:hover { color: #FF6A55; }
.topbar .hours { color: #B9B9B3; }
.dark-page .topbar { background: #000; border-bottom: 1px solid var(--night-rule); color: var(--night-text); }

/* ---------- Cabecera ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { height: 46px; width: auto; }
.brand .word { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--rec); }
.cart-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 13px;
}
.cart-link:hover { color: var(--white); background: var(--rec); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; }
.cart-icon { display: none; position: relative; width: 44px; height: 44px; align-items: center; justify-content: center; }
.cart-icon .badge {
  position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--rec); color: var(--white); font-family: var(--mono); font-size: 10px; display: flex; align-items: center; justify-content: center;
}

.dark-page { background: var(--night); color: var(--night-text); }
.dark-page .site-header { background: var(--night); border-color: var(--night-rule); }
.dark-page .nav a[aria-current="page"] { color: var(--rec-light); }
.dark-page a:hover { color: #FF6A55; }
.dark-page .cart-link { background: var(--night-text); color: var(--night); }
.dark-page .cart-link:hover { background: var(--rec-light); color: var(--night); }
.mark-chip { width: 50px; height: 50px; border-radius: 50%; background: var(--night-text); display: flex; align-items: center; justify-content: center; }
.mark-chip img { width: 40px; height: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border: 1px solid var(--ink); background: transparent; font-weight: 600; font-size: 16px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-rec { background: var(--rec); border-color: var(--rec); color: var(--white); }
.btn-rec:hover { background: #A81E14; border-color: #A81E14; color: var(--white); }
.btn-light { border-color: var(--night-text); color: var(--night-text); }
.btn-light:hover { background: var(--night-text); color: var(--night); }
.btn svg { flex: none; }

/* ---------- Home ---------- */
.hero { padding-top: 72px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(46px, 8.2vw, 124px); }
.hero .lead { margin: 28px 0 0; max-width: 620px; font-size: 20px; color: var(--ink-2); text-wrap: pretty; }
.hero .eyebrow { margin-bottom: 28px; }

.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 16px; padding-bottom: 96px; }
.door {
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 400px; padding: 36px;
  background: var(--white); border: 1px solid var(--rule); transition: transform .3s var(--ease), border-color .2s ease;
}
.door:hover { transform: translateY(-4px); border-color: var(--ink); color: var(--ink); }
.door .top { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.door .title { display: block; font-size: 52px; }
.door p { margin: 16px 0 0; font-size: 17px; color: var(--ink-2); max-width: 420px; }
.door .go { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.door.dark { background: var(--night); color: var(--night-text); border-color: var(--night); }
.door.dark:hover { color: var(--night-text); border-color: var(--rec-light); }
.door.dark .top { color: var(--night-muted); }
.door.dark p { color: var(--night-soft); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec-light); display: inline-block; margin-right: 8px; vertical-align: middle; }

.section { border-top: 1px solid var(--rule); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 36px; }
.section-head h2 { font-size: 56px; }
.material { padding-top: 80px; padding-bottom: 96px; }
.group-label { margin: 0 0 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.tiles { display: grid; gap: 12px; }
.tiles.big { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); margin-bottom: 56px; }
.tiles.small { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.tile { position: relative; display: block; overflow: hidden; background: var(--white); border: 1px solid #DCDCD6; }
.tiles.big .tile { aspect-ratio: 4 / 5; }
.tiles.small .tile { aspect-ratio: 1 / 1; }
.tile img { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 64px); object-fit: contain; padding: 28px; transition: transform .5s var(--ease); }
.tiles.small .tile img { height: calc(100% - 52px); padding: 22px; }
.tile:hover img { transform: scale(1.05); }
.tile .label {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 12px 14px; background: var(--white); font-weight: 700; font-size: 17px; line-height: 1.2;
}
.tiles.small .tile .label { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; font-size: 15px; }
.tile .label .n { font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--muted); }
.tile:hover .label { color: var(--rec); }

.steps-section { background: var(--white); }
.steps-section .wrap { padding-top: 80px; padding-bottom: 80px; }
.steps-section h2 { font-size: 40px; margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 8px 0; border-top: 2px solid var(--ink); }
.steps .k { font-family: var(--mono); font-size: 13px; color: var(--rec); }
.steps .t { font-weight: 700; font-size: 22px; }
.steps .d { font-size: 16px; color: var(--ink-2); }

.night { background: var(--night); color: var(--night-text); }
.night a:hover { color: #FF6A55; }
.night .wrap { padding-top: 96px; padding-bottom: 96px; }
.night-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 40px; align-items: end; margin-bottom: 56px; }
.night-head h2 { font-size: clamp(44px, 5.6vw, 80px); }
.night-head p { margin: 0 0 14px; font-size: 18px; color: var(--night-soft); }
.svc { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 14px; }
.svc li { padding: 10px 0; border-top: 1px solid var(--night-rule); }
.svc li:last-child { border-bottom: 1px solid var(--night-rule); }
.reel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; }
.reel a, .reel .proj-card { display: flex; flex-direction: column; gap: 14px; }
.still .play { position: absolute; left: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--rec-light); display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease); }
.still .play:hover { transform: scale(1.08); }
.still video, .still iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.still { position: relative; aspect-ratio: 16 / 9; background: var(--night-2); overflow: hidden; }
.still img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s ease, transform .6s var(--ease); }
a:hover .still img { filter: brightness(1.15); transform: scale(1.02); }
.still .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--night-muted); }
.reel .meta { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 600; }
.reel .meta span + span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--night-muted); }

.contact .wrap { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; }
.contact h2 { font-size: 56px; }
.facts { margin: 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); font-size: 18px; }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--rule); }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 19px; }
.facts dt:nth-last-of-type(1), .facts dd:last-child { border-bottom: 1px solid var(--rule); }

.site-footer { border-top: 1px solid var(--rule); }
.site-footer .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.dark-page .site-footer { border-color: var(--night-rule); }
.dark-page .site-footer .wrap { color: var(--night-muted); }

/* ---------- Catálogo ---------- */
.cat-page { padding-top: 48px; padding-bottom: 96px; }
.cat-page h1 { font-size: clamp(42px, 6vw, 84px); margin: 12px 0 36px; }
.cat-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.cat-nav { flex: 1 1 220px; max-width: 260px; position: sticky; top: 100px; }
.cat-nav .eyebrow { padding-bottom: 10px; border-bottom: 2px solid var(--ink); color: var(--ink); }
.cat-nav ul { list-style: none; margin: 0; padding: 0; }
.cat-nav button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px;
  border: 0; border-bottom: 1px solid var(--rule); background: transparent; font-size: 15px; font-weight: 500; text-align: left;
}
.cat-nav button:hover { background: var(--hover); }
.cat-nav button .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cat-nav button[aria-pressed="true"] { background: var(--ink); color: var(--paper); font-weight: 600; }
.cat-nav button[aria-pressed="true"] .n { color: var(--paper); }
.cat-main { flex: 999 1 520px; min-width: 0; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.search { display: flex; align-items: center; gap: 10px; flex: 1 1 280px; max-width: 440px; min-height: 46px; padding: 0 14px; background: var(--white); border: 1px solid var(--rule); }
.search:focus-within { border-color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.sub-title { margin: 28px 0 14px; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.sub-title:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); transition: border-color .18s ease; }
.card:hover { border-color: var(--ink); }
.card .ph { aspect-ratio: 1 / 1; padding: 22px; border-bottom: 1px solid #ECECE8; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .ph img { transform: scale(1.04); }
.card .body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 10px; flex: 1; }
.card .brand-name { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.card h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 16px 16px; }
.price { font-family: var(--mono); font-size: 15px; font-weight: 500; }
.price small { color: var(--muted); font-size: 12px; font-weight: 400; }
.add { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: transparent; font-size: 14px; font-weight: 600; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.add:hover { background: var(--rec); border-color: var(--rec); color: var(--white); }
.add.in { background: var(--ink); color: var(--paper); }
.empty { padding: 56px 24px; border: 1px dashed #A8A8A2; text-align: center; color: var(--muted); }

.cart { flex: 1 1 320px; max-width: 370px; background: var(--white); border: 1px solid var(--ink); position: sticky; top: 100px; }
.cart-head { padding: 18px 20px; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cart-head h2 { font-size: 22px; font-stretch: 112%; }
.cart-close { display: none; }
.dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--rule); }
.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.field input, .field select, .field textarea {
  min-height: 44px; padding: 8px 10px; border: 1px solid var(--rule); background: #F7F7F5;
  font-family: var(--body); font-size: 15px; color: var(--ink); text-transform: none; letter-spacing: 0; border-radius: 0;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: var(--white); }
.days-line { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lines { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow-y: auto; }
.lines li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 20px; border-bottom: 1px solid var(--rule); align-items: center; }
.lines img { grid-row: span 2; width: 52px; height: 52px; object-fit: contain; }
.lines .nm { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.lines .sum { font-family: var(--mono); font-size: 13.5px; text-align: right; }
.qty { display: flex; align-items: center; }
.qty button { width: 34px; height: 34px; border: 1px solid var(--rule); background: #F7F7F5; font-size: 16px; line-height: 1; }
.qty span { width: 34px; text-align: center; font-family: var(--mono); font-size: 14px; }
.rm { justify-self: end; border: 0; background: transparent; color: var(--muted); font-size: 13px; text-decoration: underline; min-height: 34px; }
.cart-empty { margin: 0; padding: 28px 20px; color: var(--muted); }
.cart-foot { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total strong { white-space: nowrap; }
.total strong { font-family: var(--mono); font-size: 20px; font-weight: 500; }
.note { margin: 0; font-size: 13px; color: var(--muted); }
.urgent-row, .urgent-row .note { color: var(--rec); }
.urgent-row strong { font-size: 16px; }
.date-err { grid-column: 1 / -1; margin: 0; padding: 10px 12px; background: #FBE9E7; color: #8A1A10; border: 1px solid #E8B4AD; font-size: 13.5px; line-height: 1.45; }
.cart-bar { display: none; }

/* ---------- Formulario ---------- */
.request { padding-top: 56px; padding-bottom: 96px; }
.request h1 { font-size: clamp(40px, 5vw, 72px); margin: 12px 0 32px; }
.req-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.req-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.req-form fieldset { margin: 0; padding: 0; border: 0; }
.req-form legend { padding: 0 0 10px; margin-bottom: 18px; width: 100%; border-bottom: 2px solid var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
.req .req-mark { color: var(--rec); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rec); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; font-size: 15px; }
.form-msg.err { background: #FBE9E7; color: #8A1A10; border: 1px solid #E8B4AD; }
.summary { flex: 1 1 320px; max-width: 400px; background: var(--white); border: 1px solid var(--ink); position: sticky; top: 100px; }
.summary .lines { max-height: none; }
.done { max-width: 640px; padding: 72px 0 120px; }
.done h1 { font-size: clamp(40px, 6vw, 80px); margin: 16px 0 20px; }
.done p { font-size: 18px; color: var(--ink-2); }

/* ---------- Proyectos ---------- */
.proj-hero { padding-top: 64px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); gap: 32px; align-items: end; }
.proj-hero h1 { font-size: clamp(48px, 5.2vw, 84px); }
.proj-hero p { margin: 0; max-width: 520px; font-size: 18px; color: var(--night-soft); }
.featured { padding-bottom: 64px; }
.featured .box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); border: 1px solid var(--night-rule); }
.featured .video { grid-column: span 2; position: relative; aspect-ratio: 16 / 9; background: #000; }
.featured .video img, .featured .video iframe, .featured .video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.featured .play {
  position: absolute; left: 28px; bottom: 28px; width: 76px; height: 76px; border-radius: 50%; border: 0;
  background: var(--rec-light); display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease);
}
.featured .play:hover { transform: scale(1.08); }
.featured .info { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 32px; border-left: 1px solid var(--night-rule); }
.featured h2 { font-size: 40px; font-stretch: 112%; margin-top: 14px; }
.featured .info p { margin: 14px 0 0; color: var(--night-soft); }
.more { padding-bottom: 96px; }
.more .reel .meta { padding-top: 14px; border-top: 1px solid var(--night-rule); }
.more .who { font-size: 15px; color: var(--night-soft); }
.cta-band { border-top: 1px solid var(--night-rule); }
.cta-band .wrap { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta-band h2 { font-size: clamp(40px, 5vw, 72px); max-width: 760px; }
.btn-rec-light { background: var(--rec-light); border-color: var(--rec-light); color: var(--night); }
.btn-rec-light:hover { background: #FF6A55; border-color: #FF6A55; color: var(--night); }

/* ---------- Reviews ---------- */
.reviews .wrap { padding-top: 80px; padding-bottom: 96px; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.rv { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rv-cover { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: hidden; background: var(--night); color: #FFFFFF; text-align: left; }
.rv-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rv-cover:hover img { transform: scale(1.04); }
.rv-cover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.78)); }
.rv-play { position: absolute; top: 14px; right: 14px; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: var(--rec); color: #FFFFFF; display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease); }
.rv-cover:hover .rv-play { transform: scale(1.08); }
.rv-name { hyphens: none; position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 21px; line-height: 1; text-wrap: balance; }
.rv-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 40px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 13px; }
.card .ph { position: relative; }
.rv-chip { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 0; background: var(--ink); color: var(--paper); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; }
.rv-chip:hover { background: var(--rec); }
.rv-modal { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; overflow: auto; }
.rv-modal::backdrop { background: rgba(10, 10, 10, .86); }
.rv-box { position: relative; display: flex; flex-wrap: wrap; background: var(--night); color: var(--night-text); }
.rv-box video { display: block; max-height: 74vh; max-width: 100%; min-width: 0; background: #000; }
.rv-info { flex: 1 1 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 28px; }
.rv-info .eyebrow { color: var(--night-muted); }
.rv-info h2 { font-size: 30px; font-stretch: 112%; }
.rv-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

/* ---------- Textos legales ---------- */
.legal { max-width: 760px; padding-top: 56px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 60px); margin: 0 0 12px; }
.legal h2 { font-size: 20px; margin: 36px 0 8px; }
.legal p, .legal li { font-size: 16px; color: var(--ink-2); line-height: 1.65; }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .topbar { font-size: 12px; }
  .topbar .wrap { justify-content: space-between; gap: 0 12px; }
  .topbar .hours { display: none; }
  .site-header .wrap { min-height: 62px; }
  .brand .mark { height: 38px; }
  .brand .word { height: 28px; }
  .menu-btn, .cart-icon { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; font-size: 20px; font-weight: 600;
  }
  .dark-page .nav { background: var(--night); border-color: var(--night-rule); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .dark-page .nav a { border-color: var(--night-rule); }
  .nav .cart-link { display: none; }
  .header-actions { display: flex; align-items: center; }

  .display { font-stretch: 96%; }
  .hero h1 { font-size: 50px; }
  .cat-page h1 { font-size: 36px; }
  .proj-hero h1 { font-size: 52px; }
  .request h1, .done h1 { font-size: 40px; }
  .hero { padding-top: 36px; padding-bottom: 28px; }
  .hero .lead { font-size: 17px; }
  .doors { gap: 10px; padding-bottom: 48px; }
  .door { min-height: 200px; padding: 22px; gap: 24px; }
  .door .title { font-size: 36px; }
  .door p { display: none; }
  .section-head h2, .contact h2 { font-size: 38px; }
  .material { padding-top: 40px; padding-bottom: 48px; }
  .tiles.big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 36px; }
  .tiles.big .tile img { height: calc(100% - 48px); padding: 14px; }
  .tiles.big .tile .label { left: 6px; right: 6px; bottom: 6px; padding: 8px 10px; font-size: 14px; }
  .tiles.big .tile .label svg, .tile .label .n { display: none; }
  .tiles.small { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); gap: 8px; }
  .tiles.small .tile { flex: 0 0 150px; height: 150px; scroll-snap-align: start; }
  .tiles.small .tile img { height: calc(100% - 42px); padding: 12px; }
  .tiles.small .tile .label { left: 6px; right: 6px; bottom: 6px; padding: 7px 9px; font-size: 13px; }
  .steps-section .wrap, .night .wrap, .contact .wrap { padding-top: 48px; padding-bottom: 48px; }
  .steps-section h2 { font-size: 28px; margin-bottom: 20px; }
  .steps li { padding: 16px 0 8px; }
  .night-head { margin-bottom: 28px; }
  .reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .reel a, .reel .proj-card { flex: 0 0 300px; scroll-snap-align: start; }
  .facts { grid-template-columns: 100px minmax(0, 1fr); font-size: 16px; }
  .reviews .wrap { padding-top: 48px; padding-bottom: 48px; }
  .rv-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); gap: 10px; }
  .rv { flex: 0 0 220px; scroll-snap-align: start; }
  .rv-name { font-size: 18px; }
  .rv-chip { min-height: 30px; padding: 0 8px; font-size: 10.5px; left: 6px; top: 6px; }
  .rv-box video { max-height: 72vh; margin: 0 auto; }
  .rv-info { padding: 18px; }
  .rv-info h2 { font-size: 24px; }

  .cat-page { padding-top: 24px; }
  .cat-page h1 { margin-bottom: 16px; }
  .cat-layout { gap: 16px; }
  .cat-nav { position: static; max-width: none; flex-basis: 100%; min-width: 0; }
  .cat-nav .eyebrow { display: none; }
  .cat-nav ul { display: flex; gap: 6px; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); padding-bottom: 4px; }
  .cat-nav button { white-space: nowrap; border: 1px solid var(--rule); min-height: 40px; width: auto; }
  .cat-nav button .n { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .card .ph { padding: 12px; }
  .card .body { padding: 10px 10px 6px; }
  .card h3 { font-size: 14px; }
  .card .foot { padding: 0 10px 10px; flex-wrap: wrap; gap: 8px; }
  .card .add { width: 100%; }
  .cart {
    position: fixed; inset: auto 0 0 0; max-width: none; max-height: 88vh; overflow-y: auto; z-index: 70; border: 0; border-top: 1px solid var(--ink);
    transform: translateY(100%); transition: transform .3s var(--ease); box-shadow: 0 -12px 40px rgba(0,0,0,.18);
  }
  .cart.open { transform: none; }
  .cart-close { display: inline-flex; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; margin: -10px -12px -10px 0; }
  .cart-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--gutter); background: var(--ink); color: var(--paper);
  }
  .cart-bar .info { font-family: var(--mono); font-size: 13px; }
  .cart-bar button { min-height: 44px; padding: 0 16px; border: 0; background: var(--rec); color: var(--white); font-weight: 700; }
  .has-bar { padding-bottom: 76px; }
  .summary { position: static; max-width: none; }
  .featured .info { border-left: 0; border-top: 1px solid var(--night-rule); padding: 22px; }
  .featured .play { left: 16px; bottom: 16px; width: 60px; height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
