/* ANÁLOGA — estilos del sitio.
   Concepto: sala de proyección. Negro profundo, encuadres de visor de cámara y el rosa mexicano solo donde hay “señal”: ondas, botones y REC. */

:root {
	--negro: #000000;
	--carbon: #0b0a0b;
	--grafito: #1a1719;
	--linea: #2b2629;
	--niebla: #948c90;
	--claro: #d8d2d5;
	--blanco: #ffffff;
	--rosa: #DF1E70;
	--rosa-hover: #c4155f;
	--rosa-tenue: rgba(223, 30, 112, .14);
	--f-display: "Archivo", "Arial Narrow", Helvetica, sans-serif;
	--f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
	--gutter: clamp(16px, 4vw, 56px);
	--max: 1320px;
	--hdr: 76px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--negro); color: var(--blanco); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--negro); }
img, video, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a:hover { color: var(--blanco); }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; }
::selection { background: var(--rosa); color: var(--blanco); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--rosa); color: var(--blanco); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--niebla); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin: 0; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--rosa); }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
.sec h2, .h2, .page-title, .cta-band h2, .sec-head h2 { font-size: clamp(30px, 4.6vw, 60px); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.page-title { font-size: clamp(36px, 6vw, 84px); line-height: .95; font-weight: 900; font-stretch: 116%; }
.page-title--sm { font-size: clamp(30px, 4.4vw, 56px); }
.lead { color: #cfc9cc; font-size: clamp(16px, 1.4vw, 19px); max-width: 58ch; margin: 0; }
.note { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--niebla); line-height: 1.6; margin: 0; }
.admin-note { border: 1px dashed var(--linea); padding: 16px; }
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec--tight { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }

/* Botones */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 26px; font-family: var(--f-display); font-weight: 700; font-stretch: 110%; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.btn-primary { background: var(--rosa); color: var(--blanco); }
.btn-primary:hover { background: var(--rosa-hover); color: var(--blanco); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--blanco); background: transparent; }
.btn-ghost:hover { border-color: var(--blanco); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.eq { display: inline-flex; gap: 2px; align-items: center; height: 14px; }
.eq i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.btn:hover .eq i, .btn:focus-visible .eq i, .btn.is-loading .eq i { animation: eq .9s ease-in-out infinite; }
.btn .eq i:nth-child(2) { animation-delay: -.3s; }
.btn .eq i:nth-child(3) { animation-delay: -.6s; }
.btn .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Encabezado */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.admin-bar .hdr { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .hdr { top: 0; } }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.hdr .logo { flex: none; display: block; }
.hdr .logo img { height: 54px; width: auto; display: block; }
.nav { display: flex; align-items: center; margin-left: auto; }
.nav-list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-list a { font-family: var(--f-display); font-size: 12px; font-weight: 600; font-stretch: 108%; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--claro); position: relative; padding-block: 6px; white-space: nowrap; display: block; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rosa); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list a[aria-current] { color: var(--blanco); }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after, .nav-list a[aria-current]::after { transform: scaleX(1); }
.nav-cta { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .25); color: var(--blanco); width: 46px; height: 46px; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; }
@media (max-width: 1140px) {
	.nav { position: fixed; inset: calc(var(--hdr) + env(safe-area-inset-top, 0px)) 0 0 0; flex-direction: column; align-items: stretch; background: var(--negro); padding: 16px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; overflow-y: auto; }
	.admin-bar .nav { top: calc(var(--hdr) + 46px); }
	.nav.open { opacity: 1; transform: none; visibility: visible; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { font-size: 22px; padding-block: 16px; border-bottom: 1px solid var(--grafito); }
	.nav-list a::after { display: none; }
	.nav-cta { display: inline-flex; margin-top: 28px; }
	.menu-btn { display: block; }
	.hdr .cta-hdr { display: none; }
	.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
	.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 480px) { .hdr .logo img { height: 46px; } }

/* Portada */
.hero { position: relative; min-height: clamp(600px, 86vh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-img, .hero-video, .hero-yt, .hero-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.hero-yt { overflow: hidden; pointer-events: none; }
.hero-yt iframe { width: max(100%, 177.78vh); height: max(100%, 56.25vw); left: 50%; top: 50%; inset: auto; transform: translate(-50%, -50%); opacity: 0; transition: opacity 1s; }
.hero-yt.is-ready iframe { opacity: 1; }
.hero[data-mode="video"] .hero-img { z-index: -1; }
.hero-ph { position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 40%, #2a2226 0%, #120f11 55%, #000 100%); }
.hero-admin { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 110px; z-index: 5; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--claro); border: 1px dashed #4a4246; padding: 10px 12px; text-decoration: none; background: rgba(0, 0, 0, .5); }
.waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero[data-mode="foto"] .waves, .hero[data-mode="video"] .waves { opacity: .5; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 65%, #000 100%), linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, 0) 68%); }
.viewfinder { position: absolute; inset: 24px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px)); pointer-events: none; z-index: -1; }
.viewfinder i { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .4); }
.viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.rec { position: absolute; top: 40px; left: calc(max(var(--gutter), env(safe-area-inset-left, 0px)) + 20px); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; display: flex; gap: 18px; color: #e9e3e6; font-variant-numeric: tabular-nums; }
.rec .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rosa); margin-right: 8px; animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.hero-copy { padding-block: 140px 80px; width: 100%; }
.hero h1 { font-size: clamp(38px, 7.2vw, 104px); font-weight: 900; font-stretch: 118%; line-height: .92; letter-spacing: -.015em; text-transform: uppercase; max-width: 14ch; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--blanco); }
.hero h1 .pk, .page-title .pk { color: var(--rosa); }
.hero .sub { margin: 28px 0 36px; color: #ddd6da; font-size: clamp(16px, 1.5vw, 20px); max-width: 48ch; }
@media (max-width: 720px) {
	.hero-copy { padding-block: 120px 64px; }
	.rec { gap: 10px; font-size: 11px; }
	.rec-x { display: none; }
	.hero-admin { left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: auto; top: 76px; }
}

/* Divisor de onda */
.wave-div { display: block; width: 100%; height: 60px; }
.wave-div path { fill: none; stroke: var(--rosa); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 2000; stroke-dashoffset: 0; }
.js .wave-div path { stroke-dashoffset: 2000; }
.js .wave-div.is-in path { animation: draw 3.5s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Encabezados de sección */
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head > div { display: flex; flex-direction: column; gap: 18px; }
.sec-head--single { grid-template-columns: minmax(0, 1fr); max-width: 1000px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Servicios */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--grafito); border: 1px solid var(--grafito); }
.svc { background: var(--negro); display: flex; flex-direction: column; min-width: 0; }
.svc .img { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: linear-gradient(160deg, #151214, #070607); }
.svc .img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.25); transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.svc:hover .img img { transform: scale(1.04); filter: none; }
.svc .img svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; transition: opacity .4s; }
.svc:hover .img svg { opacity: .95; }
.svc .body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc .num { font-family: var(--f-mono); font-size: 11px; color: var(--rosa); letter-spacing: .12em; }
.svc h3 { font-size: 22px; font-weight: 700; font-stretch: 108%; line-height: 1.15; text-transform: uppercase; }
.svc p { margin: 0; color: var(--niebla); flex: 1; }
.svc .link { align-self: flex-start; margin-top: 10px; font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid var(--rosa); }
.svc .link:hover { color: var(--rosa); }
.svc-grid--otros .svc h3 { font-size: 20px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* Memoria audiovisual */
.memoria { background: var(--carbon); border-block: 1px solid var(--grafito); position: relative; overflow: hidden; }
.memoria::before { content: ""; position: absolute; inset: 0; 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: 56px 56px; -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%); pointer-events: none; }
.memoria .wrap { position: relative; }
.timeline { position: relative; margin-block: 20px 64px; overflow-x: auto; padding-bottom: 8px; }
.tl-track { position: relative; min-width: 860px; padding-top: 58px; }
.tl-line, .tl-fill { position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--linea); }
.tl-fill { background: var(--rosa); transform-origin: left; }
.js .tl-fill { transform: scaleX(0); transition: transform 2.8s cubic-bezier(.4, 0, .2, 1); }
.js .timeline.is-in .tl-fill { transform: scaleX(1); }
.tl-scale { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 10px; color: #6a6266; letter-spacing: .08em; text-transform: uppercase; }
.tl-items { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.tl-item { position: relative; padding-top: 6px; }
.tl-item::before { content: ""; position: absolute; top: -36px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--carbon); border: 2px solid var(--rosa); }
.tl-item:first-child::before { background: var(--rosa); }
.tl-item .when { font-family: var(--f-mono); font-size: 11px; color: var(--rosa); letter-spacing: .12em; text-transform: uppercase; }
.tl-item h3 { font-size: 16px; font-weight: 700; font-stretch: 106%; text-transform: uppercase; margin: 6px 0; }
.tl-item p { margin: 0; font-size: 14px; color: var(--niebla); line-height: 1.5; }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--grafito); border: 1px solid var(--grafito); margin: 0 0 40px; padding: 0; list-style: none; }
.benefits li { background: var(--carbon); padding: 20px 20px 22px; font-size: 15px; line-height: 1.45; color: #e2dce0; min-width: 0; display: flex; gap: 12px; }
.benefits li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; background: var(--rosa); }
@media (max-width: 980px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.row-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.row-cta--end { justify-content: flex-end; margin-top: 40px; }

/* Portafolio */
.pf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.pf { grid-column: span 6; position: relative; min-width: 0; text-decoration: none; display: block; background: var(--carbon); }
.pf-grid--home.count-3 .pf:nth-child(1) { grid-column: 1 / -1; }
.pf-grid--home.count-4 .pf:nth-child(1), .pf-grid--home.count-4 .pf:nth-child(4) { grid-column: span 7; }
.pf-grid--home.count-4 .pf:nth-child(2), .pf-grid--home.count-4 .pf:nth-child(3) { grid-column: span 5; }
.pf-grid--home.count-1 .pf { grid-column: 1 / -1; }
.pf-grid--archive .pf { grid-column: span 4; }
.pf-grid--home .pf { display: flex; }
.pf-grid--home .frame { flex: 1; aspect-ratio: auto; min-height: clamp(260px, 30vw, 440px); }
.pf .frame { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: radial-gradient(70% 90% at 30% 30%, #231c20, #060506); }
.pf-grid--home.count-3 .pf:nth-child(1) .frame, .pf-grid--home.count-1 .pf .frame { min-height: clamp(280px, 38vw, 560px); }
.pf .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.pf:hover .frame img { transform: scale(1.04); }
.pf .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .88)); }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); display: grid; place-items: center; z-index: 2; transition: .35s; background: rgba(0, 0, 0, .3); }
.play::before { content: ""; border-left: 16px solid var(--blanco); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.pf:hover .play, .yt-play:hover .play, .yt-play:focus-visible .play { background: var(--rosa); border-color: var(--rosa); transform: translate(-50%, -50%) scale(1.06); }
.pf .meta { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.pf .cat { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosa); }
.pf h3 { font-size: clamp(18px, 2vw, 26px); font-weight: 800; font-stretch: 110%; text-transform: uppercase; line-height: 1.05; }
.pf .cli { font-size: 14px; color: #c8c1c5; }
.pf-grid--archive .pf h3 { font-size: clamp(17px, 1.6vw, 21px); }
.pf-grid--archive .play { width: 58px; height: 58px; }
@media (max-width: 980px) { .pf-grid--archive .pf { grid-column: span 6; } }
@media (max-width: 820px) { .pf-grid .pf, .pf-grid--home .pf:nth-child(n) { grid-column: 1 / -1; } .pf-grid--home .frame, .pf-grid--home.count-3 .pf:nth-child(1) .frame, .pf-grid--home.count-1 .pf .frame { min-height: 0; aspect-ratio: 16 / 9; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--claro); border: 1px solid var(--linea); padding: 9px 14px; display: inline-flex; gap: 8px; }
.filters a span { color: var(--niebla); }
.filters a:hover { border-color: var(--blanco); }
.filters a[aria-current] { background: var(--rosa); border-color: var(--rosa); color: var(--blanco); }
.filters a[aria-current] span { color: rgba(255, 255, 255, .75); }
.empty { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-block: 40px; }

/* Paginación */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { font-family: var(--f-mono); font-size: 13px; text-decoration: none; padding: 10px 14px; border: 1px solid var(--linea); }
.pagination .current { background: var(--rosa); border-color: var(--rosa); }

/* Clientes */
.clients { padding-block: clamp(56px, 7vw, 90px); border-top: 1px solid var(--grafito); }
.clients-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.clients-head h2 { font-size: clamp(20px, 2.4vw, 30px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.pause { background: none; border: 1px solid #3a3337; color: #cfc9cc; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; cursor: pointer; }
.pause:hover { border-color: var(--blanco); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); width: max-content; list-style: none; margin: 0; padding: 0 0 0 clamp(48px, 6vw, 88px); animation: scroll var(--marquee-dur, 40s) linear infinite; }
.marquee:hover .marquee-track, .marquee[data-paused] .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.logo-item { flex: none; height: 56px; display: flex; align-items: center; }
.logo-item img { max-height: 56px; max-width: 170px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: opacity .3s; }
.logo-item a:hover img, .logo-item a:focus-visible img { opacity: 1; }

/* Por qué */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.why { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 24px; border-top: 1px solid var(--linea); position: relative; }
.why::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--rosa); transition: width .5s; }
.why:hover::before { width: 100%; }
.why svg { width: 100%; height: 40px; }
.why svg path { fill: none; stroke: var(--rosa); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.why h3 { font-size: 20px; font-weight: 700; font-stretch: 108%; text-transform: uppercase; line-height: 1.15; }
.why p { margin: 0; color: var(--niebla); }
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* Contacto y formulario */
.contact { background: var(--carbon); border-top: 1px solid var(--grafito); padding-block: clamp(72px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
.contact-side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.wa { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--linea); padding: 16px 20px; margin-top: 10px; text-decoration: none; transition: border-color .3s; }
.wa:hover { border-color: var(--rosa); }
.wa b { font-family: var(--f-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.wa span { color: var(--niebla); font-size: 14px; }
.contact-data { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-data li { display: flex; flex-direction: column; }
.contact-data span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--niebla); }
.contact-data a { text-decoration: none; font-size: 17px; }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.quote-form label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #bfb8bc; }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-size: 16px; color: var(--blanco); background: transparent; border: 0; border-bottom: 1px solid #3a3337; padding: 10px 0; border-radius: 0; width: 100%; }
.quote-form select option { background: var(--carbon); color: var(--blanco); }
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-bottom-color: var(--rosa); box-shadow: 0 1px 0 0 var(--rosa); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #ff6b9b; }
.err { font-size: 13px; color: #ff8db3; }
.err:empty { display: none; }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--rosa); padding: 0; }
.check label { font-family: var(--f-body); font-size: 14px; letter-spacing: 0; text-transform: none; color: #cfc9cc; }
.check .err { grid-column: 2; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.status { grid-column: 1 / -1; font-size: 15px; padding: 14px 16px; border-left: 2px solid var(--rosa); background: var(--rosa-tenue); }
.status.is-error { border-left-color: #ff6b9b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .quote-form { grid-template-columns: 1fr; } }

/* Páginas interiores */
.page-hero { position: relative; padding-top: clamp(72px, 10vw, 140px); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero--compact { padding-top: clamp(56px, 8vw, 110px); }
.memoria-hero .page-title { max-width: 16ch; }
.not-found { min-height: 60vh; }
.cta-band { border-top: 1px solid var(--grafito); background: var(--carbon); padding-block: clamp(56px, 7vw, 96px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta-band .wrap > div { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 44px); max-width: 22ch; }
.cta-band--quiet { background: var(--negro); }
.cta-band--quiet h2 { font-size: clamp(22px, 2.6vw, 32px); }

/* Proyecto individual */
.project-hero { position: relative; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.project-cover { position: absolute; inset: 0; z-index: -1; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.project-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .4), #000); }
.project-hero .wrap { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.back { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--niebla); text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 12px 48px; margin: 12px 0 0; }
.facts div { min-width: 0; }
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa); }
.facts dd { margin: 4px 0 0; font-size: 17px; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project-video { margin-bottom: clamp(48px, 6vw, 80px); }
.project-body { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 720px); gap: 24px 64px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) { .project-body { grid-template-columns: 1fr; } }
.project-gallery, .project-extra { margin-bottom: clamp(56px, 7vw, 96px); }
.gal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery li:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery a { display: block; height: 100%; position: relative; overflow: hidden; background: var(--carbon); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .gallery li:nth-child(7n + 1) { grid-column: 1 / -1; grid-row: auto; } }
.extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
@media (max-width: 720px) { .extra-grid { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: space-between; gap: 16px; padding-block: 40px 72px; border-top: 1px solid var(--grafito); }
.pager a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-stretch: 108%; text-transform: uppercase; font-size: clamp(16px, 2vw, 22px); max-width: 48%; }
.pager span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--niebla); font-weight: 400; }
.pager-next { margin-left: auto; text-align: right; }

/* Reproductor de YouTube con carga diferida */
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--carbon); overflow: hidden; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .5)); border: 0; cursor: pointer; padding: 0; }
.yt-fallback { position: absolute; right: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--claro); letter-spacing: .08em; }
.yt.is-playing .yt-play, .yt.is-playing .yt-fallback, .yt.is-playing img { display: none; }

/* Visor ampliado de fotos */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .96); display: grid; grid-template-rows: auto 1fr auto; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
.lb[hidden] { display: none; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--niebla); font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { text-align: center; padding: 12px 16px 18px; color: var(--claro); font-size: 14px; min-height: 48px; }
.lb button { background: none; border: 1px solid rgba(255, 255, 255, .25); color: var(--blanco); width: 46px; height: 46px; cursor: pointer; font-size: 20px; line-height: 1; }
.lb button:hover { border-color: var(--rosa); color: var(--rosa); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
@media (max-width: 600px) { .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -56px; transform: none; } }

/* Texto editable (contenido de WordPress) */
.prose { font-size: 17px; line-height: 1.7; color: #e2dce0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; font-stretch: 110%; text-transform: uppercase; margin-top: 2em; line-height: 1.1; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 1.6em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose a { color: var(--blanco); text-decoration-color: var(--rosa); text-underline-offset: 3px; }
.prose ul li::marker { color: var(--rosa); }
.prose img { height: auto; }
.prose blockquote { border-left: 2px solid var(--rosa); margin-left: 0; padding-left: 20px; font-style: italic; }
.post-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 32px; }
.post-list a { text-decoration: none; }
.post-list h2 { font-size: 24px; text-transform: uppercase; }

/* Pie de página */
.ftr { border-top: 1px solid var(--grafito); padding-block: 72px calc(32px + env(safe-area-inset-bottom, 0px)); }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft-logo { height: 96px; width: auto; display: block; }
.ft-brand p { color: var(--niebla); margin: 18px 0 0; max-width: 36ch; font-size: 15px; }
.ft-h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosa); margin: 0 0 14px; font-weight: 500; }
.ft-list, .ft-social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ft-list a, .ft-social a { text-decoration: none; color: #cfc9cc; font-size: 15px; }
.ft-list a:hover, .ft-social a:hover { color: var(--blanco); }
.ft-muted { color: var(--niebla); font-size: 15px; }
.ft-social { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.ft-social a { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--rosa); padding-bottom: 2px; }
.ft-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--grafito); font-size: 13px; color: #78707a; }
.ft-bottom a { text-decoration: none; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; } }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; background: var(--rosa); color: var(--blanco); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: transform .3s; }
.wa-float:hover { transform: scale(1.06); color: var(--blanco); }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	html { scroll-behavior: auto; }
	.marquee-track { animation: none !important; }
	.marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.js .wave-div path { stroke-dashoffset: 0; }
	.js .tl-fill { transform: none; }
}
