/* yagodelasotilla.com
   Sistema visual: el de Glassy Films (negro #070707 y blanco, Modern Gothic 400 y 700, sin esquinas redondas ni sombras).
   El movimiento pone lo tecnológico: vídeo, máscaras, scroll y cursor. Todo se apaga con prefers-reduced-motion.
   Los colores de cada estudio solo aparecen en su propia fila (Tasty, KONTENT, IDEM) y el dorado solo en WildTracks. */

@font-face { font-family: "Modern Gothic"; src: url("/fonts/ModernGothic-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Modern Gothic"; src: url("/fonts/ModernGothic-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--negro: #070707;
	--negro-2: #101010;
	--negro-3: #1a1a1a;
	--linea: #262626;
	--gris: #8a8a8a;
	--gris-claro: #b9b9b9;
	--blanco: #ffffff;
	--oro: #c8a45a;
	--fuente: "Modern Gothic", "Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
	--margen: clamp(16px, 4.2vw, 64px);
	--ancho: 1440px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--hover: 0.5s var(--ease);
	--cab: 72px;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--cab); }
body {
	margin: 0; background: var(--negro); color: var(--blanco);
	font-family: var(--fuente); font-size: 17px; line-height: 1.55; font-weight: 400;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blanco); color: var(--negro); }
:focus-visible { outline: 2px solid var(--blanco); outline-offset: 3px; }
.oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--blanco); color: var(--negro); padding: 10px 14px; font-weight: 700; transition: top .2s; }
.saltar:focus { top: 12px; }

/* Grano de película: una textura muy suave sobre todo, para que el negro no sea plano. */
body::after {
	content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: grano 1s steps(4) infinite;
}
@keyframes grano { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(1%,3%); } }

/* ---------- Tipografía ---------- */
.etq { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.etq b { color: var(--blanco); font-weight: 400; }
.titulo-xl { font-weight: 700; font-size: clamp(44px, 9.4vw, 168px); line-height: .88; letter-spacing: -.035em; text-transform: uppercase; }
.titulo-l { font-weight: 700; font-size: clamp(36px, 5.6vw, 96px); line-height: .94; letter-spacing: -.03em; }
.titulo-m { font-weight: 700; font-size: clamp(26px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -.02em; }
.entradilla { font-size: clamp(19px, 1.7vw, 26px); line-height: 1.35; color: var(--gris-claro); max-width: 46ch; }
.texto { color: var(--gris-claro); max-width: 62ch; }
.texto p + p { margin-top: 1em; }
.texto strong { color: var(--blanco); font-weight: 700; }
.texto a, .enlace { color: var(--blanco); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size var(--hover); }
.texto a:hover, .enlace:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Cursor (solo con ratón) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor__punto { width: 8px; height: 8px; background: var(--blanco); transform: translate(-50%, -50%); }
.cursor__aro { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border: 1px solid var(--blanco); border-radius: 50%; transform: translate(-50%, -50%) scale(var(--s, 1)); transition: transform .35s var(--ease-out), opacity .3s; display: grid; place-items: center; }
.cursor__aro span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--blanco); opacity: 0; transition: opacity .2s; }
.cursor.es-enlace .cursor__aro { --s: 1.6; }
.cursor.es-video .cursor__aro { --s: 2.2; }
.cursor.es-video .cursor__aro span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- Cabecera ---------- */
.cab {
	position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--cab);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 0 var(--margen); mix-blend-mode: difference; color: var(--blanco);
	transition: transform .5s var(--ease);
}
.cab.oculta { transform: translateY(-100%); }
.cab__marca { font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; display: flex; gap: .4em; align-items: center; }
.cab__marca i { font-style: normal; display: inline-block; width: 9px; height: 9px; background: currentColor; animation: latido 2.4s var(--ease) infinite; }
@keyframes latido { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
.cab__nav { display: flex; gap: clamp(14px, 2vw, 34px); font-size: 14px; }
.cab__nav a { position: relative; padding: 6px 0; }
.cab__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--hover); }
.cab__nav a:hover::after, .cab__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.cab__menu { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 899px) {
	.cab__nav { display: none; }
	.cab__menu { display: block; }
}
.menu {
	position: fixed; inset: 0; z-index: 99; background: var(--negro); display: flex; flex-direction: column; justify-content: center;
	padding: calc(var(--cab) + 20px) var(--margen) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out); visibility: hidden;
}
.menu.abierto { clip-path: inset(0 0 0 0); visibility: visible; }
.menu a { font-weight: 700; font-size: clamp(40px, 11vw, 72px); line-height: 1.02; letter-spacing: -.03em; text-transform: uppercase; display: block; }
.menu .etq { margin-top: 32px; }

/* ---------- Precarga ---------- */
.precarga { position: fixed; inset: 0; z-index: 180; background: var(--negro); display: flex; align-items: flex-end; justify-content: space-between; padding: var(--margen); transition: clip-path 1s var(--ease-out); clip-path: inset(0 0 0 0); }
.precarga.fuera { clip-path: inset(0 0 100% 0); }
.precarga__num { font-weight: 700; font-size: clamp(64px, 16vw, 220px); line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
html.sin-precarga .precarga { display: none; }

/* ---------- Hero de la portada ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--negro); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.06)); }
/* Capa que pasa el vídeo a blanco y negro. Con ratón, una ventana circular sigue al cursor y deja ver el color. */
.hero__bn {
	position: absolute; inset: 0; pointer-events: none;
	-webkit-backdrop-filter: grayscale(1) contrast(1.12) brightness(.72); backdrop-filter: grayscale(1) contrast(1.12) brightness(.72);
	--x: 70%; --y: 40%; --r: 0px;
	-webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 96%, #000 100%);
	mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 96%, #000 100%);
}
.hero__velo { position: absolute; inset: 0; background: rgba(7,7,7,.28); pointer-events: none; }
.hero__velo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(to top, rgba(7,7,7,.92), rgba(7,7,7,0)); }
.hero__dentro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--cab) + 20px) var(--margen) clamp(22px, 4vh, 44px); pointer-events: none; }
.hero__dentro a, .hero__dentro button { pointer-events: auto; }
.hero__arriba { display: flex; justify-content: space-between; gap: 24px; margin-bottom: auto; padding-top: 6vh; }
.hero__nombre { font-weight: 700; font-size: clamp(56px, 15.4vw, 250px); line-height: .82; letter-spacing: -.045em; text-transform: uppercase; margin-left: -.04em; }
.hero__deco { display: block; }
.hero__nombre .linea { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__nombre .letra { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 28ms + 120ms); }
.listo .hero__nombre .letra { transform: none; }
.hero__pie { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px 40px; align-items: end; margin-top: clamp(18px, 3vh, 34px); }
.hero__bandera { font-size: clamp(16px, 1.35vw, 21px); line-height: 1.38; max-width: 40ch; color: #e6e6e6; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hero__scroll { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-claro); display: flex; align-items: center; gap: 10px; }
.hero__scroll i { display: block; width: 1px; height: 38px; background: var(--gris); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blanco); animation: bajar 1.8s var(--ease) infinite; }
@keyframes bajar { to { top: 100%; } }
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, .6s); }
.listo .fade-in { opacity: 1; transform: none; }
@media (max-width: 899px) {
	.hero__pie { grid-template-columns: 1fr; }
	.hero__ctas { justify-content: flex-start; }
	.hero__scroll { display: none; }
	.hero__arriba .etq:last-child { display: none; }
}

/* ---------- Botones ---------- */
.btn {
	position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 22px;
	border: 1px solid var(--blanco); background: transparent; color: var(--blanco); cursor: pointer; overflow: hidden; isolation: isolate;
	font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
	transition: color var(--hover), border-color var(--hover);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blanco); transform: scaleY(0); transform-origin: bottom; transition: transform var(--hover); }
.btn:hover { color: var(--negro); }
.btn:hover::before { transform: scaleY(1); }
.btn--lleno { background: var(--blanco); color: var(--negro); }
.btn--lleno::before { background: var(--negro); }
.btn--lleno:hover { color: var(--blanco); }
.btn svg { width: 14px; height: 14px; flex: none; transition: transform var(--hover); }
.btn:hover svg { transform: translateX(4px); }
.btn--oro { border-color: var(--oro); color: var(--oro); }
.btn--oro::before { background: var(--oro); }

/* ---------- Cinta ---------- */
.cinta { border-block: 1px solid var(--linea); overflow: hidden; padding: 18px 0; white-space: nowrap; background: var(--negro); position: relative; z-index: 2; }
.cinta__pista { display: inline-flex; animation: cinta 38s linear infinite; }
.cinta:hover .cinta__pista { animation-play-state: paused; }
.cinta span { font-weight: 700; font-size: clamp(20px, 2.4vw, 34px); letter-spacing: -.01em; text-transform: uppercase; padding-right: .9em; }
.cinta span::after { content: "/"; color: var(--gris); padding-left: .9em; font-weight: 400; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.sec { position: relative; padding: clamp(80px, 13vh, 160px) var(--margen); max-width: var(--ancho); margin: 0 auto; }
.sec--ancha { max-width: none; }
.sec__cab { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 24px 40px; margin-bottom: clamp(40px, 7vh, 80px); align-items: start; }
.sec__cab .etq { padding-top: .9em; }
@media (max-width: 899px) { .sec__cab { grid-template-columns: 1fr; } .sec__cab .etq { padding-top: 0; } }
.linea-sup { border-top: 1px solid var(--linea); }

/* Aparecer al hacer scroll */
[data-aparece] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-aparece].dentro { opacity: 1; transform: none; }
.mascara { display: block; overflow: hidden; }
.mascara > span { display: block; transform: translateY(102%); transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.dentro .mascara > span, .mascara.dentro > span { transform: none; }

/* ---------- Manifiesto: las palabras se encienden con el scroll ---------- */
.manifiesto { font-weight: 700; font-size: clamp(30px, 4.6vw, 76px); line-height: 1.04; letter-spacing: -.03em; max-width: 22ch; }
.manifiesto .p { color: #2f2f2f; transition: color .25s linear; }
.manifiesto .p.on { color: var(--blanco); }
.manifiesto__firma { margin-top: 40px; }

/* ---------- Bento: quién soy ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(150px, auto); gap: 12px; }
.bento > * { background: var(--negro-2); border: 1px solid var(--linea); padding: clamp(20px, 2.2vw, 32px); position: relative; overflow: hidden; }
.b-foto { grid-column: span 4; grid-row: span 3; padding: 0 !important; min-height: 520px; }
.b-foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter 1.2s var(--ease), transform 1.6s var(--ease-out); transform: scale(1.04); }
.b-foto:hover img { filter: grayscale(0); transform: scale(1); }
.b-foto figcaption { position: absolute; left: 20px; bottom: 18px; right: 20px; display: flex; justify-content: space-between; }
.b-texto { grid-column: span 8; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.b-texto .texto { font-size: clamp(17px, 1.3vw, 20px); max-width: 60ch; }
.b-dato { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.b-dato__num { font-weight: 700; font-size: clamp(54px, 6vw, 104px); line-height: .85; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.b-hitos { grid-column: span 8; }
.b-hitos ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.b-hitos li { border-top: 1px solid var(--linea); padding-top: 14px; color: var(--gris-claro); font-size: 15px; line-height: 1.4; }
.b-hitos li b { display: block; color: var(--blanco); font-size: 26px; letter-spacing: -.02em; margin-bottom: 6px; }
.b-cita { grid-column: span 4; background: var(--blanco) !important; color: var(--negro); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.b-cita blockquote { font-weight: 700; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.02; letter-spacing: -.02em; }
.b-cita .etq { color: #555; }
@media (max-width: 1099px) {
	.b-foto { grid-column: span 12; min-height: 0; aspect-ratio: 4 / 4.2; grid-row: auto; }
	.b-texto, .b-hitos { grid-column: span 12; }
	.b-dato, .b-cita { grid-column: span 6; }
	.b-hitos ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) { .b-dato, .b-cita { grid-column: span 12; } .b-hitos ol { grid-template-columns: 1fr; } }

/* ---------- Control, craft y eficiencia ---------- */
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--linea); }
.pilar { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3vw, 44px) clamp(18px, 2.4vw, 36px) clamp(30px, 4vw, 56px); border-right: 1px solid var(--linea); border-bottom: 1px solid var(--linea); isolation: isolate; overflow: hidden; transition: color .6s var(--ease); }
.pilar:first-child { border-left: 1px solid var(--linea); }
.pilar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blanco); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.pilar:hover { color: var(--negro); }
.pilar:hover::before { transform: scaleY(1); }
.pilar__n { font-family: var(--mono); font-size: 13px; color: var(--gris); }
.pilar__t { font-weight: 700; font-size: clamp(44px, 5.4vw, 96px); line-height: .9; letter-spacing: -.04em; margin-top: clamp(30px, 6vh, 90px); }
.pilar__sub { font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; }
.pilar__p { color: var(--gris-claro); transition: color .6s var(--ease); }
.pilar:hover .pilar__p, .pilar:hover .pilar__n { color: #333; }
@media (max-width: 999px) { .pilares { grid-template-columns: 1fr; } .pilar { border-left: 1px solid var(--linea); } .pilar__t { margin-top: 10px; } }

/* ---------- Método: tarjetas en horizontal con el scroll (escritorio) ---------- */
.metodo { position: relative; }
.metodo__fijo { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.metodo__pista { display: flex; gap: 16px; padding: 0 var(--margen); will-change: transform; }
.principio { flex: 0 0 min(76vw, 560px); min-height: min(62vh, 520px); border: 1px solid var(--linea); background: var(--negro-2); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.principio__num { font-family: var(--mono); font-size: 13px; color: var(--gris); }
.principio h3 { font-weight: 700; font-size: clamp(34px, 4vw, 64px); line-height: .95; letter-spacing: -.03em; }
.principio p { color: var(--gris-claro); max-width: 36ch; }
.principio::after { content: ""; position: absolute; inset: 0; background: var(--blanco); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); z-index: 0; mix-blend-mode: difference; }
.principio:hover::after { transform: scaleY(1); }
.principio--intro { background: transparent; border: 0; padding-left: 0; flex-basis: min(80vw, 520px); }
.principio--intro::after { display: none; }
.metodo__progreso { position: absolute; left: var(--margen); right: var(--margen); bottom: 6vh; height: 1px; background: var(--linea); }
.metodo__progreso i { display: block; height: 100%; width: 100%; background: var(--blanco); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
	.metodo { height: auto !important; }
	.metodo__fijo { position: static; height: auto; padding: 0; }
	.metodo__pista { flex-direction: column; transform: none !important; }
	.principio { flex-basis: auto; min-height: 0; }
	.metodo__progreso { display: none; }
}

/* ---------- Estudios ---------- */
.estudios { border-top: 1px solid var(--linea); }
.estudio { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.4fr) 54px; gap: 24px; align-items: center; padding: clamp(24px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--linea); isolation: isolate; overflow: hidden; }
.estudio::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--blanco)); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-out); }
.estudio:hover::before, .estudio:focus-within::before { transform: scaleY(1); }
.estudio__num { font-family: var(--mono); font-size: 13px; color: var(--gris); transition: color var(--hover); padding-left: 4px; }
.estudio__nombre { font-weight: 700; font-size: clamp(32px, 4.6vw, 76px); line-height: .95; letter-spacing: -.03em; transition: color var(--hover), transform .6s var(--ease-out); }
.estudio__texto { color: var(--gris-claro); font-size: 16px; transition: color var(--hover); }
.estudio__flecha { width: 44px; height: 44px; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .6s var(--ease-out), color var(--hover); }
.estudio__flecha svg { width: 16px; height: 16px; }
.estudio:hover .estudio__flecha { transform: rotate(-45deg); }
.estudio:hover .estudio__nombre { transform: translateX(14px); }
.estudio__marca { display: block; color: var(--c, var(--blanco)); transition: color var(--hover); line-height: 0; }
.estudio__svg { display: block; height: clamp(34px, 4.4vw, 68px); width: auto; max-width: 100%; }
.estudio:hover .estudio__marca, .estudio:focus-within .estudio__marca { color: var(--tc, var(--negro)); }
.estudio:hover .estudio__num, .estudio:hover .estudio__texto, .estudio:hover .estudio__nombre, .estudio:hover .estudio__flecha { color: var(--tc, var(--negro)); }
.estudio a.estudio__cubre { position: absolute; inset: 0; z-index: 2; }
.estudio--sin-enlace .estudio__flecha { opacity: .35; }
@media (max-width: 899px) {
	.estudio { grid-template-columns: 1fr 44px; gap: 10px 16px; }
	.estudio__num { grid-column: 1 / -1; }
	.estudio__texto { grid-column: 1 / -1; }
	.estudio__flecha { grid-row: 2; grid-column: 2; }
}

/* ---------- WildTracks (adelanto en portada) ---------- */
.wt { background: #000; border-block: 1px solid var(--linea); position: relative; overflow: hidden; }
.wt__dentro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.wt__titulo { font-weight: 700; font-size: clamp(56px, 10vw, 180px); line-height: .82; letter-spacing: -.04em; text-transform: uppercase; }
.wt__titulo span { color: var(--oro); }
.ondas { display: flex; align-items: center; gap: 3px; height: 120px; margin: 34px 0; }
.ondas i { flex: 1; background: var(--blanco); height: calc(var(--h) * 100%); min-height: 2px; transform-origin: center; animation: onda 1.4s var(--ease) infinite alternate; animation-delay: calc(var(--i) * -70ms); opacity: .85; }
.ondas.parado i { animation-play-state: paused; }
@keyframes onda { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.ep-mini { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--linea); }
.ep-mini:last-child { border-bottom: 1px solid var(--linea); }
.ep-mini__n { font-family: var(--mono); color: var(--gris); font-size: 13px; }
.ep-mini__t { font-weight: 700; font-size: 18px; line-height: 1.2; }
.ep-mini__f { font-family: var(--mono); font-size: 12px; color: var(--gris); margin-top: 4px; }
@media (max-width: 899px) { .wt__dentro { grid-template-columns: 1fr; } }

/* Botón de reproducir (cuadrado, como todo) */
.play { width: 48px; height: 48px; border: 1px solid var(--blanco); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background var(--hover), color var(--hover); color: var(--blanco); flex: none; }
.play:hover, .play[aria-pressed="true"] { background: var(--blanco); color: var(--negro); }
.play svg { width: 16px; height: 16px; }
.play .i-pausa { display: none; }
.play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pausa { display: block; }
.wtp .play { border-color: var(--oro); color: var(--oro); }
.wtp .play:hover, .wtp .play[aria-pressed="true"] { background: var(--oro); color: #000; }

/* ---------- Servicios ---------- */
.servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.servicio { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 60px; min-height: 420px; padding: clamp(24px, 2.4vw, 36px); border: 1px solid var(--linea); background: var(--negro-2); overflow: hidden; isolation: isolate; transition: color .5s var(--ease); }
.servicio::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blanco); clip-path: circle(0 at var(--mx, 50%) var(--my, 100%)); transition: clip-path .8s var(--ease-out); }
.servicio:hover { color: var(--negro); }
.servicio:hover::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 100%)); }
.servicio h3 { font-weight: 700; font-size: clamp(34px, 3.4vw, 54px); line-height: .95; letter-spacing: -.03em; }
.servicio p { color: inherit; opacity: .78; max-width: 34ch; }
.servicio .etq { color: inherit; opacity: .7; }
.servicio__mas { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; border-top: 1px solid currentColor; padding-top: 16px; }
.servicio__mas svg { width: 16px; height: 16px; transition: transform .6s var(--ease-out); }
.servicio:hover .servicio__mas svg { transform: rotate(-45deg); }
@media (max-width: 999px) { .servicios { grid-template-columns: 1fr; } .servicio { min-height: 300px; } }

/* ---------- Newsletter ---------- */
.nl { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 90px); }
.nl__lista li { border-top: 1px solid var(--linea); }
.nl__lista li:last-child { border-bottom: 1px solid var(--linea); }
.nl__lista a { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 20px 0; transition: padding var(--hover); }
.nl__lista a:hover { padding-left: 14px; }
.nl__lista strong { font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.2; }
.nl__lista span { color: var(--gris); font-size: 15px; grid-column: 1; }
.nl__lista time { font-family: var(--mono); font-size: 12px; color: var(--gris); grid-row: 1; grid-column: 2; padding-top: 4px; }
@media (max-width: 899px) { .nl { grid-template-columns: 1fr; } }

/* Formularios */
.form { display: grid; gap: 14px; }
.form--fila { grid-template-columns: 1fr auto; gap: 0; border: 1px solid var(--blanco); }
.form--fila input { border: 0 !important; }
.campo { display: grid; gap: 8px; }
.campo label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.campo input, .campo select, .campo textarea, .form--fila input {
	width: 100%; min-height: 54px; padding: 14px 16px; background: transparent; border: 1px solid var(--linea); border-radius: 0; color: var(--blanco); font-size: 17px; transition: border-color var(--hover), background var(--hover);
}
.campo textarea { min-height: 150px; resize: vertical; }
.campo select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23fff'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
.campo select option { background: var(--negro); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--blanco); background: var(--negro-2); }
.form .dos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 699px) { .form .dos { grid-template-columns: 1fr; } }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 13px; color: var(--gris); max-width: 60ch; }
.form__legal a { color: var(--gris-claro); text-decoration: underline; text-underline-offset: 3px; }
.form__estado { font-size: 15px; min-height: 1.5em; }
.form__estado.ok { color: var(--blanco); }
.form__estado.error { color: #ff6b6b; }

/* ---------- Canales ---------- */
.canales li { border-top: 1px solid var(--linea); }
.canales li:last-child { border-bottom: 1px solid var(--linea); }
.canal { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: clamp(14px, 2vw, 26px) 0; position: relative; overflow: hidden; }
.canal__nombre { font-weight: 700; font-size: clamp(30px, 5.4vw, 92px); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; transition: transform .6s var(--ease-out); }
.canal__dato { font-family: var(--mono); font-size: 13px; color: var(--gris); text-align: right; }
.canal svg { width: clamp(22px, 2.4vw, 36px); height: clamp(22px, 2.4vw, 36px); transition: transform .6s var(--ease-out); }
.canal:hover .canal__nombre { transform: translateX(clamp(10px, 2vw, 30px)); }
.canal:hover svg { transform: rotate(-45deg); }
@media (max-width: 699px) { .canal { grid-template-columns: 1fr auto; } .canal__dato { display: none; } }

/* ---------- Contacto ---------- */
.contacto { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 90px); }
.contacto__otros { display: grid; gap: 22px; margin-top: 40px; }
.contacto__otros a { display: block; font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); }
@media (max-width: 899px) { .contacto { grid-template-columns: 1fr; } }

/* ---------- Páginas interiores ---------- */
.phero { position: relative; padding: calc(var(--cab) + clamp(60px, 14vh, 160px)) var(--margen) clamp(50px, 9vh, 100px); max-width: var(--ancho); margin: 0 auto; }
.phero .titulo-xl { margin: 22px 0 34px; }
.phero__pie { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.phero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 899px) { .phero__pie { grid-template-columns: 1fr; } }
.migas { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); }
.migas a:hover { color: var(--blanco); }
.migas span { padding: 0 .6em; }

.rejilla-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rejilla-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 999px) { .rejilla-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) { .rejilla-2, .rejilla-3 { grid-template-columns: 1fr; } }
.caja { border: 1px solid var(--linea); background: var(--negro-2); padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; gap: 14px; transition: border-color var(--hover); }
.caja:hover { border-color: #555; }
.caja h3 { font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.08; letter-spacing: -.015em; }
.caja p { color: var(--gris-claro); }
.caja .etq { margin-bottom: 6px; }

.tema { display: grid; grid-template-columns: 70px 1fr 1.1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--linea); }
.tema:last-child { border-bottom: 1px solid var(--linea); }
.tema__n { font-family: var(--mono); font-size: 13px; color: var(--gris); padding-top: 8px; }
.tema h3 { font-weight: 700; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -.02em; }
.tema p { color: var(--gris-claro); }
@media (max-width: 899px) { .tema { grid-template-columns: 1fr; gap: 8px; } }

.destacado { border: 1px solid var(--blanco); padding: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: end; }
.destacado .titulo-m { margin: 14px 0 16px; }
@media (max-width: 899px) { .destacado { grid-template-columns: 1fr; } }

/* Preguntas frecuentes */
.faq details { border-top: 1px solid var(--linea); }
.faq details:last-child { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-weight: 700; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 18px; height: 18px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .resp { color: var(--gris-claro); padding: 0 0 26px; max-width: 70ch; }

/* ---------- WildTracks: página ---------- */
.wtp { --acento: var(--oro); }
.wtp .phero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; max-width: var(--ancho); }
.wtp .phero .titulo-xl span { color: var(--oro); }
.wtp__portada { aspect-ratio: 1; background: #000; border: 1px solid var(--linea); display: grid; place-items: center; overflow: hidden; position: relative; }
.wtp__portada img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.6s var(--ease-out); }
.wtp__portada:hover img { transform: scale(1.04); }
@media (max-width: 899px) { .wtp .phero { grid-template-columns: 1fr; } .wtp__portada { max-width: 420px; } }
.plataformas { display: flex; flex-wrap: wrap; gap: 10px; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 999px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 649px) { .videos { grid-template-columns: 1fr; } }
.video { border: 1px solid var(--linea); background: var(--negro-2); display: flex; flex-direction: column; }
.video__marco { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video__marco button { position: absolute; inset: 0; border: 0; padding: 0; background: #000; cursor: pointer; width: 100%; }
.video__marco img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.8); transition: filter .8s var(--ease), transform 1.2s var(--ease-out); }
.video__marco button:hover img, .video__marco button:focus-visible img { filter: none; transform: scale(1.04); }
.video__marco .boton { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 10px; align-items: center; background: var(--oro); color: #000; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; }
.video__marco .boton svg { width: 12px; height: 12px; }
.video__marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__info { padding: 18px 20px 22px; display: grid; gap: 8px; }
.video__info h3 { font-weight: 700; font-size: 19px; line-height: 1.2; }
.video__info p { color: var(--gris); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.episodios li { border-top: 1px solid var(--linea); }
.episodios li:last-child { border-bottom: 1px solid var(--linea); }
.episodio { display: grid; grid-template-columns: 60px 1fr auto auto; gap: 20px; align-items: center; padding: 18px 0; }
.episodio__n { font-family: var(--mono); font-size: 13px; color: var(--gris); }
.episodio__t { font-weight: 700; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.22; }
.episodio__m { font-family: var(--mono); font-size: 12px; color: var(--gris); margin-top: 4px; }
.episodio__enlaces { display: flex; gap: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--gris-claro); }
.episodio__enlaces a:hover { color: var(--oro); }
@media (max-width: 799px) { .episodio { grid-template-columns: 1fr auto; } .episodio__n { grid-column: 1 / -1; } .episodio__enlaces { grid-column: 1 / -1; grid-row: 3; } }

/* Reproductor flotante */
.repro { position: fixed; left: 50%; bottom: 16px; z-index: 95; width: min(560px, calc(100vw - 24px)); transform: translate(-50%, 140%); transition: transform .6s var(--ease-out); background: rgba(16,16,16,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #333; display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; }
.repro:not(.visible) { visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; }
.repro.visible { transform: translate(-50%, 0); visibility: visible; }
.repro__t { font-weight: 700; font-size: 14px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repro__barra { position: relative; height: 3px; background: #333; margin-top: 8px; cursor: pointer; }
.repro__barra i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--oro); transform-origin: left; transform: scaleX(var(--p, 0)); }
.repro__tiempo { font-family: var(--mono); font-size: 11px; color: var(--gris); margin-top: 6px; display: flex; justify-content: space-between; }
.repro__cerrar { background: none; border: 0; color: var(--gris); cursor: pointer; padding: 8px; font-size: 20px; line-height: 1; }
.repro__cerrar:hover { color: var(--blanco); }

/* ---------- Legal ---------- */
.legal { max-width: 860px; }
.legal h2 { font-weight: 700; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.02em; margin: 70px 0 18px; padding-top: 20px; border-top: 1px solid var(--linea); }
.legal h3 { font-weight: 700; font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--gris-claro); }
.legal p + p { margin-top: .8em; }
.legal ul { list-style: square; padding-left: 1.2em; margin: .6em 0; }
.legal li + li { margin-top: .35em; }
.legal a { color: var(--blanco); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linea); color: var(--gris-claro); }
.legal th { color: var(--blanco); font-weight: 700; }
.legal__indice { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--linea); padding: clamp(60px, 10vh, 120px) var(--margen) 28px; position: relative; overflow: hidden; }
.pie__grande { font-weight: 700; font-size: clamp(56px, 15vw, 260px); line-height: .8; letter-spacing: -.05em; text-transform: uppercase; display: block; margin-bottom: clamp(40px, 7vh, 80px); transition: color var(--hover); }
.pie__grande:hover { color: transparent; -webkit-text-stroke: 1px var(--blanco); }
.pie__fila { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; font-size: 15px; color: var(--gris-claro); }
.pie__fila p { display: grid; gap: 6px; align-content: start; }
.pie__fila a:hover { color: var(--blanco); }
.pie__marcas { display: flex; flex-wrap: wrap; gap: 26px 36px; align-items: center; margin-top: 50px; padding-top: 28px; border-top: 1px solid var(--linea); }
.pie__marca { display: block; color: #6a6a6a; line-height: 0; transition: color var(--hover); }
.pie__svg { display: block; height: 22px; width: auto; }
.pie__marca:hover { color: var(--c, var(--blanco)); }
.pie__legal { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 13px; color: var(--gris); }
.pie__legal a:hover, .pie__legal button:hover { color: var(--blanco); }
.pie__legal button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
@media (max-width: 899px) { .pie__fila { grid-template-columns: 1fr 1fr; } }

/* Aviso de cookies (solo si hay ID de GA4) */
.cookies { position: fixed; right: 16px; bottom: 16px; z-index: 120; width: min(380px, calc(100vw - 32px)); background: var(--negro-2); border: 1px solid #3a3a3a; padding: 20px; font-size: 14px; color: var(--gris-claro); }
.cookies p a { color: var(--blanco); text-decoration: underline; }
.cookies__botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cookies .btn { min-height: 44px; justify-content: center; }

/* Transiciones entre páginas (navegadores que lo soportan) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s var(--ease) both salir; }
::view-transition-new(root) { animation: .55s var(--ease-out) both entrar; }
@keyframes salir { to { opacity: 0; transform: translateY(-12px); } }
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	[data-aparece], .fade-in, .mascara > span, .hero__nombre .letra { opacity: 1 !important; transform: none !important; }
	.manifiesto .p { color: var(--blanco); }
	body::after { display: none; }
	.precarga { display: none; }
}
