/* ==========================================================================
   Uruguay Soccer · main.css
   Basado en la maqueta v2 (1440px, corte a 860px).
   ========================================================================== */

:root {
	--accent: #38B6FF;
	--ink: #04121c;
	--black: #000;
	--night: #00000f;
	--gray: #3c3c3c;
	--card: #111;
	--text-soft: #e6e6e6;
	--muted: #aab4be;
	--line: rgba(255, 255, 255, .12);
	--radius: 16px;
	--gutter: 6vw;
	--max: 1200px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--topbar-h: 44px;
	--admin-h: var(--wp-admin--admin-bar--height, 0px);
	--font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--black);
	color: #fff;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
main { display: block; outline: none; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; top: -100px; left: 16px; z-index: 1000;
	padding: 12px 20px; border-radius: 6px; background: var(--accent); color: var(--ink);
	font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: calc(var(--admin-h) + 12px); }

.container { max-width: var(--max); margin: 0 auto; }
.container-narrow { max-width: 820px; }
.acc { color: var(--accent); }

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
	margin: 0 0 20px;
	font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--accent);
}
.eyebrow-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eyebrow-bar::before, .bar {
	content: ""; display: block; width: 40px; height: 3px; background: var(--accent); flex: none;
}
.bar { margin-bottom: 20px; }
.lead { font-size: 18px; line-height: 1.65; color: var(--text-soft); }

/* ---------- Botones ---------- */
.btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 32px; border-radius: 6px;
	font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
	border: 2px solid transparent; cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-solid { background: var(--accent); color: var(--ink); }
.btn-solid:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(56, 182, 255, .6); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: #000; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #fff; color: var(--ink); }
.btn-arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar { background: var(--night); position: relative; z-index: 60; }
.topbar-in {
	display: flex; justify-content: flex-end; align-items: center; gap: 8px;
	min-height: var(--topbar-h); padding: 0 var(--gutter);
}
.socials { display: flex; align-items: center; }
.soc {
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	color: #fff; opacity: .85; transition: opacity .2s, color .2s, transform .2s var(--ease);
}
.soc:hover { opacity: 1; color: var(--accent); transform: translateY(-2px); }

.lang-switch ul { display: flex; align-items: center; gap: 2px; }
.topbar .lang-switch { margin-left: 8px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18); }
.lang-switch a {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 36px; min-height: 32px; padding: 0 8px; border-radius: 4px;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; color: rgba(255, 255, 255, .7);
	transition: color .2s, background-color .2s;
}
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-switch a.is-active { color: var(--accent); }
.lang-switch-lg a { min-width: 52px; min-height: 44px; font-size: 15px; border: 1px solid rgba(255, 255, 255, .2); }
.lang-switch-lg ul { gap: 8px; }
.lang-switch-lg a.is-active { border-color: var(--accent); }
.lang-switch-dark a { color: rgba(4, 18, 28, .7); }
.lang-switch-dark a:hover { color: var(--ink); background: rgba(4, 18, 28, .08); }
.lang-switch-dark a.is-active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Header (transparente sobre el hero, fijo al hacer scroll)
   ========================================================================== */
.site-header {
	position: absolute; top: calc(var(--topbar-h) + var(--admin-h)); left: 0; right: 0; z-index: 50;
	transition: background-color .3s, box-shadow .3s, padding .3s;
}
.site-header-in {
	display: flex; align-items: center; justify-content: space-between; gap: 0 24px;
	padding: 12px var(--gutter) 0;
	transition: padding .3s var(--ease);
}
.brand { display: inline-block; padding: 12px 0; flex: none; }
.brand-logo { display: block; height: 44px; width: auto; transition: height .3s var(--ease); }
.brand-logo-lg { height: 52px; }

.site-header.is-stuck {
	position: fixed; top: var(--admin-h);
	background: rgba(0, 0, 15, .82);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -24px rgba(0, 0, 0, .8);
	animation: header-in .35s var(--ease);
}
.site-header.is-stuck .site-header-in { padding-top: 0; }
.site-header.is-stuck .brand { padding: 10px 0; }
.site-header.is-stuck .brand-logo { height: 36px; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

.nav-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 4px; }
.nav-list a {
	position: relative; display: block; padding: 14px 12px;
	font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.nav-list a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list a.is-active::after { transform: scaleX(1); }
/* Con scroll spy activo, el ítem "Home" solo se marca arriba de todo. */
.nav-list.spy-on .current-menu-item > a:not(.is-active)::after { transform: scaleX(0); }
.nav-list.spy-on .current-menu-item > a:not(.is-active):hover::after { transform: scaleX(1); }

/* Burger */
.burger {
	display: none; position: relative; z-index: 130;
	width: 48px; height: 48px; margin-right: -10px; padding: 0;
	background: none; border: 0; cursor: pointer;
}
.burger-lines { position: relative; display: block; width: 26px; height: 18px; margin: 0 auto; }
.burger-lines span {
	position: absolute; left: 0; width: 100%; height: 2px; background: #fff; border-radius: 2px;
	transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 8px; }
.burger-lines span:nth-child(3) { top: 16px; }
.menu-open .burger-lines span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-open .burger-lines span:nth-child(2) { opacity: 0; }
.menu-open .burger-lines span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Menú mobile */
.mobile-menu {
	position: fixed; inset: var(--admin-h) 0 0 0; z-index: 120;
	display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
	padding: 110px var(--gutter) 40px;
	background:
		radial-gradient(120% 60% at 100% 0%, rgba(56, 182, 255, .18), transparent 60%),
		var(--night);
	overflow-y: auto;
	opacity: 0; visibility: hidden;
	transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu[hidden] { display: none; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.mobile-list li { overflow: hidden; }
.mobile-list a {
	display: block; padding: 10px 0;
	font-size: clamp(26px, 7vw, 40px); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase;
	transform: translateY(100%); transition: transform .5s var(--ease), color .2s;
}
.menu-open .mobile-list a { transform: none; }
.menu-open .mobile-list li:nth-child(2) a { transition-delay: .04s; }
.menu-open .mobile-list li:nth-child(3) a { transition-delay: .08s; }
.menu-open .mobile-list li:nth-child(4) a { transition-delay: .12s; }
.menu-open .mobile-list li:nth-child(5) a { transition-delay: .16s; }
.menu-open .mobile-list li:nth-child(6) a { transition-delay: .2s; }
.menu-open .mobile-list li:nth-child(7) a { transition-delay: .24s; }
.mobile-list a:hover, .mobile-list .current-menu-item > a { color: var(--accent); }
.mobile-menu-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.mobile-menu-foot .socials { margin-left: -12px; }
.menu-open { overflow: hidden; }
.menu-open .site-header { z-index: 125; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero {
	position: relative; overflow: hidden;
	min-height: clamp(680px, calc(100svh - var(--topbar-h) - var(--admin-h)), 880px);
	display: flex; flex-direction: column;
	background-color: #000;
	isolation: isolate;
}
.hero-bg {
	position: absolute; inset: -8% 0 -8% 0; z-index: -3;
	background: center 40% / cover no-repeat;
	transform: scale(1.08); animation: hero-zoom 2.4s var(--ease) both;
	will-change: translate;
}
.hero-shade {
	position: absolute; inset: 0; z-index: -2;
	background:
		linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, 0) 100%),
		linear-gradient(180deg, rgba(0, 0, 15, .6) 0%, rgba(0, 0, 0, .15) 45%, #000 100%);
}
.hero-light {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen;
	background: radial-gradient(40% 55% at calc(70% + var(--mx, 0) * 8%) calc(35% + var(--my, 0) * 8%), rgba(56, 182, 255, .22), transparent 70%);
	animation: light-in 2s var(--ease) both .4s;
}
@keyframes hero-zoom { from { transform: scale(1.18); opacity: 0; } to { transform: scale(1.08); opacity: 1; } }
@keyframes light-in { from { opacity: 0; } to { opacity: 1; } }
.hero-body {
	position: relative; flex: 1; display: flex; align-items: center;
	padding: 130px var(--gutter) 110px;
}
.hero-copy { position: relative; z-index: 3; width: 56%; max-width: 720px; }
.hero-title {
	margin: 0; font-weight: 900; font-size: clamp(44px, 7.4vw, 116px);
	line-height: .95; letter-spacing: -.01em; text-transform: uppercase;
}
.hero-title .line, .cta-title .line { display: block; }

/* Títulos con máscara: cada línea sube desde abajo, escalonada. */
.split-lines .line { display: block; overflow: hidden; padding: .08em 0 .04em; margin: -.08em 0 -.04em; }
.split-lines .line-in { display: inline-block; }
.js .split-lines .line-in { transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms + 80ms); }
.js .split-lines.is-in .line-in { transform: none; }
.js .hero-title.split-lines .line-in { transition: none; animation: line-up 1.1s var(--ease) both; animation-delay: calc(var(--i, 0) * 140ms + 220ms); }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
.js [data-reveal].split-lines { opacity: 1; transform: none; }
.hero-text {
	margin: 28px 0 36px; max-width: 480px;
	font-size: 19px; font-weight: 400; line-height: 1.55; color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .7);
}
.hero-art {
	position: absolute; right: 0; bottom: 0; top: 80px; width: 62%; pointer-events: none;
	translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -8px);
	transition: translate .6s var(--ease);
}
.player-wrap { position: absolute; inset: 0; }
.ghost {
	position: absolute; top: 4%; right: 4vw; margin: 0; text-align: right;
	font-weight: 900; font-size: clamp(56px, 9.5vw, 170px); line-height: .88; letter-spacing: -.01em;
	text-transform: uppercase; color: transparent;
	-webkit-text-stroke: 2px rgba(255, 255, 255, .17);
	animation: ghost-in 1.6s var(--ease) both .2s;
}
.player {
	position: absolute; right: 9%; bottom: 0;
	height: 100%; width: auto; max-width: 100%;
	object-fit: contain; object-position: bottom right; display: block;
	animation: player-in 1.1s var(--ease) both .15s;
}
@keyframes ghost-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes player-in { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }

/* Entrada escalonada de textos del hero */
.anim { animation: fade-up .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.scroll-cue {
	position: absolute; left: 50%; bottom: 28px; z-index: 4;
	width: 26px; height: 42px; margin-left: -13px;
	border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px;
}
.scroll-cue span {
	position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
	border-radius: 2px; background: var(--accent);
	animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   Secciones
   ========================================================================== */
.section { padding: clamp(72px, 9vw, 120px) var(--gutter); }
.section-gray { background: var(--gray); }
.section-black { background: var(--black); }
.section-title {
	margin: 0 0 64px; text-align: center;
	font-weight: 900; font-size: clamp(32px, 4vw, 56px); letter-spacing: .01em; text-transform: uppercase;
}

/* Quiénes somos */
.about { display: flex; align-items: center; gap: 72px; }
.about-copy { flex: 1 1 0; min-width: 0; }
.about-title { margin: 0; font-weight: 300; font-size: clamp(32px, 3.8vw, 56px); line-height: 1.12; }
.about-title strong { display: block; font-weight: 800; color: var(--accent); }
.about .lead { margin: 28px 0 36px; max-width: 560px; }
.stats { flex: 0 1 400px; min-width: 0; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.stat { perspective: 900px; }
.stat-in {
	position: relative; overflow: hidden;
	background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--radius); padding: 32px;
	transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transform-style: preserve-3d;
	transition: transform .5s var(--ease), border-color .3s, background-color .3s, box-shadow .4s var(--ease);
}
.stat-in::before { /* borde de luz que gira */
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
	background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--accent) 85%, transparent 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0; transition: opacity .4s;
	animation: spin-border 4s linear infinite;
}
.stat-in::after { /* foco que sigue al mouse */
	content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
	background: radial-gradient(280px circle at var(--px, 50%) var(--py, 50%), rgba(56, 182, 255, .16), transparent 60%);
	opacity: 0; transition: opacity .3s;
}
.stat-in:hover { background: rgba(0, 0, 0, .42); border-color: rgba(56, 182, 255, .25); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.stat-in:hover::before, .stat-in:hover::after { opacity: 1; }
.stat.is-in .stat-in::before { opacity: .55; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --a: 360deg; } }
.stat-value .ch { display: inline-block; }
.js .stat .ch { opacity: 0; transform: translateY(60%) rotateX(-70deg); transition: opacity .5s, transform .7s var(--ease); transition-delay: calc(var(--i) * 70ms + 250ms); }
.js .stat.is-in .ch { opacity: 1; transform: none; }
.stat-value { font-size: clamp(56px, 6vw, 80px); font-weight: 900; line-height: 1; color: var(--accent); }
.stat-label { margin-top: 12px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.stat-text { margin-top: 16px; font-size: 16px; line-height: 1.55; color: var(--text-soft); }

/* Servicios */
.svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.svc {
	position: relative; overflow: hidden;
	flex: 0 1 calc((100% - 48px) / 3); min-width: 280px;
	background: var(--accent); color: var(--ink);
	border-radius: var(--radius); padding: 36px 32px;
	display: flex; flex-direction: column; gap: 18px;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none;
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(56, 182, 255, .55); }
.svc:hover::before { transform: translateX(120%); }
.svc-icon { display: inline-flex; transition: transform .4s var(--ease); }
.svc:hover .svc-icon { transform: scale(1.08) rotate(-4deg); }
.svc-title {
	margin: 0; padding-bottom: 18px; border-bottom: 1px solid rgba(4, 18, 28, .3);
	font-size: 20px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.svc-text { font-size: 16px; font-weight: 500; line-height: 1.6; }

/* CTA "Demostrá tu talento" */
.cta { display: flex; flex-wrap: wrap; scroll-margin-top: 60px; }
.cta-photo { flex: 1 1 50%; min-height: 560px; position: relative; overflow: hidden; background: #0b1620; }
.cta-photo img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: 50% 30%;
	transform: scale(1.06); transition: transform 1.6s var(--ease);
}
.cta.is-in .cta-photo img { transform: scale(1); }
.cta-copy {
	flex: 1 1 50%; min-width: 280px; background: var(--accent); color: var(--ink);
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px;
	padding: 64px var(--gutter);
}
.cta-title { margin: 0; font-weight: 900; font-size: clamp(44px, 6vw, 96px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.cta-title .acc { color: #fff; }
.cta-text { max-width: 440px; font-size: 19px; font-weight: 500; line-height: 1.55; }
.cta-form { width: 100%; max-width: 520px; }
.cta-form input:not([type=submit]):not([type=checkbox]):not([type=radio]), .cta-form textarea, .cta-form select {
	width: 100%; padding: 14px 16px; border: 2px solid rgba(4, 18, 28, .25); border-radius: 6px;
	background: rgba(255, 255, 255, .9); color: var(--ink); font: inherit; font-weight: 500;
}
.cta-form input:focus, .cta-form textarea:focus { outline: none; border-color: var(--ink); }
.cta-form [type=submit] {
	min-height: 52px; padding: 0 32px; border: 0; border-radius: 6px; cursor: pointer;
	background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.cta-form [type=submit]:hover { background: #fff; color: var(--ink); }

/* ==========================================================================
   Cabecera de páginas internas
   ========================================================================== */
.page-hero {
	position: relative; overflow: hidden;
	background:
		linear-gradient(180deg, rgba(0, 0, 15, .75) 0%, rgba(0, 0, 0, .55) 60%, #000 100%),
		var(--hero-bg, none) center 40% / cover no-repeat;
	background-color: #000;
}
.page-hero-in { position: relative; padding: 168px var(--gutter) 80px; box-sizing: content-box; }
.page-hero .container { max-width: var(--max); }
.page-title { margin: 0; font-weight: 900; font-size: clamp(40px, 7vw, 104px); line-height: .95; text-transform: uppercase; overflow-wrap: anywhere; }
.single .page-title { font-size: clamp(32px, 5vw, 64px); line-height: 1.05; }
.page-lead { margin-top: 24px; max-width: 620px; font-size: 18px; line-height: 1.6; color: #d6dde3; }
.page-meta { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.ghost-404 {
	position: absolute; right: 0; top: 50%; transform: translateY(-50%); margin: 0;
	font-weight: 900; font-size: clamp(120px, 26vw, 360px); line-height: 1;
	color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .14); pointer-events: none;
}
.page-hero-404 .page-hero-in { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; }
.page-hero-404 .btn { margin-top: 32px; }

/* ==========================================================================
   Jugadores
   ========================================================================== */
.section-players { padding-top: 40px; }
.players-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	margin-bottom: 32px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
	min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
	background: transparent; border: 1px solid rgba(255, 255, 255, .22);
	font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff;
	transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.players-count { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: auto; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.pc {
	position: relative;
	background: var(--card); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
	overflow: hidden; display: flex; flex-direction: column;
	transition: transform .35s var(--ease), border-color .35s, box-shadow .35s var(--ease);
}
.pc.is-hidden { display: none; }
.pc-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #0b1620, #13293a); }
.pc-img::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 35%;
	background: linear-gradient(180deg, transparent, rgba(17, 17, 17, .65));
	pointer-events: none;
}
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.pc-initials {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 72px; font-weight: 900; color: rgba(255, 255, 255, .12); letter-spacing: -.02em;
}
.pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-name { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.15; }
.pc-pos { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pc-club { margin-top: 8px; font-size: 16px; font-weight: 500; color: var(--text-soft); }
.pc-note { font-size: 13px; font-style: italic; color: var(--muted); }
.lbl { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.tm {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	margin-top: auto; padding-top: 14px;
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
	border-top: 1px solid rgba(255, 255, 255, .1);
	transition: color .2s;
}
.pc-body > .tm { margin-top: auto; }
.pc-body > :nth-last-child(2) { margin-bottom: 16px; }
.tm::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); } /* card entera clickeable */
.tm .icon { transition: transform .3s var(--ease); }
.pc.has-link:hover { transform: translateY(-6px); border-color: rgba(56, 182, 255, .7); box-shadow: 0 24px 50px -24px rgba(56, 182, 255, .45); }
.pc.has-link:hover .pc-img img { transform: scale(1.05); }
.pc.has-link:hover .tm { color: #fff; }
.pc.has-link:hover .tm .icon { transform: translate(3px, -3px); }
.pc.has-link:focus-within { border-color: var(--accent); }
.pc .tm:focus-visible { outline: none; }
.pc .tm:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 2px; }

.empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 18px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--card); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); overflow: hidden;
	transition: transform .35s var(--ease), border-color .35s;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(56, 182, 255, .7); }
.post-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: #0b1620; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.post-card-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; }
.post-card-excerpt { color: var(--text-soft); line-height: 1.6; }
.post-card-more { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; font-weight: 700; font-size: 14px;
}
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--ink); }
a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

/* Contenido editorial */
.prose { font-size: 18px; line-height: 1.75; color: var(--text-soft); }
.prose > * + * { margin-top: 1.2em; }
.prose h2, .prose h3, .prose h4 { color: #fff; line-height: 1.2; margin: 2em 0 .6em; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.prose h3 { font-size: 24px; font-weight: 700; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 2em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--accent); font-size: 22px; font-weight: 500; color: #fff; }
.prose img, .prose figure { border-radius: 12px; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.prose strong { color: #fff; }
.back-link { margin-top: 56px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--gray); }
.foot-top {
	max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter);
	display: flex; justify-content: space-between; gap: 48px; box-sizing: content-box;
}
.foot-contact { display: flex; flex-direction: column; gap: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 4px; }
.contact-list a, .contact-item {
	display: flex; align-items: center; gap: 12px; padding: 6px 0;
	font-size: 15px; font-weight: 400; transition: color .2s;
}
.contact-list .icon { color: var(--accent); flex: none; }
.contact-list a:hover { color: var(--accent); }
.foot-list { columns: 2; column-gap: 56px; }
.foot-list li { break-inside: avoid; }
.foot-list a {
	display: inline-block; padding: 8px 0;
	font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #fff;
	transition: color .2s, transform .2s var(--ease);
}
.foot-list a:hover { color: var(--accent); transform: translateX(3px); }
.foot-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; text-align: center;
	background: var(--accent); color: var(--ink);
	padding: 14px var(--gutter); min-height: 56px; font-size: 14px; font-weight: 500;
}

.foot-bottom .credit { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.foot-bottom .credit:hover { color: #fff; }

/* WhatsApp flotante */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
	transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Animaciones al hacer scroll (solo con JS)
   ========================================================================== */
.js [data-reveal] {
	opacity: 0; transform: translateY(28px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .pc[data-reveal].is-in { transition: opacity .8s var(--ease), transform .35s var(--ease), border-color .35s, box-shadow .35s var(--ease); transition-delay: 0s; }
.js .svc[data-reveal].is-in, .js .post-card[data-reveal].is-in, .js .stat[data-reveal].is-in { transition-delay: 0s; transition-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.site-header .nav { display: none; }
	.burger { display: block; }
	.site-header-in { padding-top: 8px; }
}

@media (max-width: 860px) {
	html { scroll-padding-top: 76px; }
	.hero { min-height: 0; }
	.hero-body { flex-direction: column; align-items: flex-start; padding: 120px var(--gutter) 0; }
	.hero-copy { width: 100%; }
	.hero-art { position: relative; top: auto; width: 100%; height: auto; min-height: 280px; margin-top: 24px; }
	.ghost { top: 0; right: 0; font-size: 15vw; }
	.player { position: relative; right: auto; height: auto; width: min(72%, 340px); margin: 0 auto; }
	.player-wrap { position: relative; inset: auto; }
	.hero-art { translate: none; }
	.about-pitch { opacity: .5; }
	.ticker { padding: 16px 0; }
	.scroll-cue { display: none; }
	.about, .cta, .foot-top { flex-direction: column; }
	.about { align-items: stretch; gap: 48px; }
	.stats { flex: none; }
	.cta-photo { min-height: 420px; flex-basis: auto; }
	.cta-copy { flex-basis: auto; }
	.foot-top { gap: 40px; }
	.page-hero-in { padding: 140px var(--gutter) 56px; }
	.players-count { margin-left: 0; }
}

@media (max-width: 560px) {
	.topbar-in { justify-content: center; }
	.btn-row .btn { flex: 1 1 100%; }
	.svc { min-width: 0; flex-basis: 100%; padding: 30px 26px; }
	.grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
	.post-grid { grid-template-columns: 1fr; }
	.chips { overflow-x: auto; flex-wrap: nowrap; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
	.chip { flex: none; }
	.foot-list { column-gap: 32px; }
}

/* En mobile la barra de admin de WP no es fija: el header sticky va arriba de todo. */
@media (max-width: 600px) {
	.site-header.is-stuck { top: 0; }
	.mobile-menu { inset: 0; }
}

/* ==========================================================================
   Capas y animaciones extra
   ========================================================================== */
.js .is-in .split-lines .line-in { transform: none; }

/* ---------- Quiénes somos: fondo en capas ---------- */
.about-sec { position: relative; overflow: hidden; isolation: isolate; }
.about-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.about-ghost {
	position: absolute; right: -2vw; top: 50%; margin-top: -.5em;
	font-size: clamp(160px, 30vw, 440px); font-weight: 900; line-height: 1; letter-spacing: -.04em;
	color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .07);
	will-change: translate;
}
.about-pitch {
	position: absolute; left: -140px; top: 50%; width: 620px; height: 620px; margin-top: -310px;
	color: rgba(56, 182, 255, .18); stroke: currentColor; stroke-width: 1.5;
}
.about-pitch * { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.6s var(--ease); }
.about-sec.is-in .about-pitch * { stroke-dashoffset: 0; }
.about-glow {
	position: absolute; width: 640px; height: 640px; right: 8%; top: 50%; margin-top: -320px; border-radius: 50%;
	background: radial-gradient(circle, rgba(56, 182, 255, .16), transparent 65%);
	animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { from { transform: translate(0, -20px) scale(.9); } to { transform: translate(-60px, 30px) scale(1.1); } }
.about-title strong .line-in { position: relative; }
.about-title strong .line-in::after {
	content: ""; position: absolute; left: 0; bottom: -.06em; height: 4px; width: 100%;
	background: var(--accent); border-radius: 2px;
	transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .9s;
}
.about-title.is-in strong .line-in::after { transform: scaleX(1); }
.about .stats .stat:nth-child(2) { margin-left: clamp(0px, 3vw, 40px); }
.js .about .stat[data-reveal] { transform: translateX(60px) rotate(2deg); }
.js .about .stat[data-reveal].is-in { transform: none; transition-duration: 1s; }

/* ---------- Cinta de servicios ---------- */
/* El contenedor recorta la franja inclinada: nunca genera scroll horizontal. */
.ticker-wrap { position: relative; z-index: 2; overflow: hidden; padding: 40px 0; margin: -40px 0; pointer-events: none; }
.ticker {
	overflow: hidden; background: var(--accent); color: var(--ink);
	width: 104%; margin-left: -2%; padding: 22px 0;
	transform: rotate(-1.2deg);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
	pointer-events: auto;
}
.ticker-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: clamp(22px, 2.6vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker-item.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ticker-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
#servicios { padding-top: clamp(96px, 11vw, 150px); }

/* ---------- Servicios: el ícono se dibuja ---------- */
.js .svc .icon > * { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.4s var(--ease) .25s; }
.js .svc.is-in .icon > * { stroke-dashoffset: 0; }

/* ---------- CTA ---------- */
.cta-photo img { will-change: translate; }
.btn-pulse { position: relative; }
.btn-pulse::after {
	content: ""; position: absolute; inset: -2px; border-radius: 8px; border: 2px solid var(--ink);
	animation: pulse 2.4s var(--ease) infinite; pointer-events: none;
}
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18, 1.45); } }

/* ==========================================================================
   Modal de contacto
   ========================================================================== */
.cmodal {
	width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
	padding: 0; border: 0; border-radius: 20px; overflow: hidden;
	background: #0a0f15; color: #fff;
	box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
}
.cmodal::backdrop { background: rgba(0, 0, 15, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cmodal[open] { animation: modal-in .55s var(--ease) both; }
.cmodal[open]::backdrop { animation: fade .4s ease both; }
.cmodal.is-closing { animation: modal-out .3s ease both; }
.cmodal.is-closing::backdrop { animation: fade .3s ease reverse both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modal-out { to { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
html.modal-open { overflow: hidden; }

.cmodal-panel { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; max-height: calc(100dvh - 32px); }
.cmodal-close {
	position: absolute; top: 14px; right: 14px; z-index: 5;
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(0, 0, 0, .4); color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background-color .2s, transform .3s var(--ease), border-color .2s;
}
.cmodal-close:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: rotate(90deg); }

.cmodal-side { position: relative; overflow: hidden; background: var(--night); display: flex; }
.cmodal-side-bg { position: absolute; inset: 0; }
.cmodal-side-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; opacity: .45; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.cmodal[open] .cmodal-side-bg img { transform: scale(1); }
.cmodal-side-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 15, .35) 0%, rgba(0, 0, 15, .92) 70%), linear-gradient(90deg, transparent, rgba(10, 15, 21, .6)); }
.cmodal-side-in { position: relative; margin-top: auto; padding: 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.cmodal-side .eyebrow { margin: 0; }
.cmodal-title { margin: 0; font-size: clamp(30px, 3.2vw, 44px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.cmodal-title .line { display: block; }
.cmodal-text { color: var(--text-soft); line-height: 1.6; }
.cmodal-direct { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.cmodal-or { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.cmodal-direct a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; font-weight: 500; transition: color .2s; }
.cmodal-direct a .icon { color: var(--accent); }
.cmodal-direct a:hover { color: var(--accent); }

.cmodal-body { position: relative; overflow-y: auto; padding: 44px 40px 36px; overscroll-behavior: contain; }
.cmodal[open] .cmodal-form { animation: fade-up .6s var(--ease) both .2s; }

/* ---------- Formulario (Contact Form 7) ---------- */
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.cf-full { grid-column: 1 / -1; }
.cf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cf-field.is-off { display: none; }
.cf-field > label, .cf-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #c9d3dc; }
.cf-field label em { font-style: normal; color: var(--accent); }
.cf-field .wpcf7-form-control-wrap { display: block; }
.cf-grid input:not([type=checkbox]):not([type=radio]):not([type=submit]), .cf-grid select, .cf-grid textarea {
	width: 100%; min-height: 50px; padding: 13px 16px;
	background: rgba(255, 255, 255, .04); color: #fff;
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px;
	font: inherit; font-size: 16px; font-weight: 500;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.cf-grid textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.cf-grid select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2338B6FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.cf-grid select option { background: #0a0f15; color: #fff; }
.cf-grid ::placeholder { color: rgba(255, 255, 255, .35); }
.cf-grid input:hover, .cf-grid select:hover, .cf-grid textarea:hover { border-color: rgba(255, 255, 255, .3); }
.cf-grid input:focus, .cf-grid select:focus, .cf-grid textarea:focus {
	outline: none; border-color: var(--accent); background-color: rgba(56, 182, 255, .06);
	box-shadow: 0 0 0 4px rgba(56, 182, 255, .18);
}
.cf-grid .wpcf7-not-valid { border-color: #ff6b6b !important; }
.cf-grid .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; font-weight: 600; color: #ff8a8a; }

/* "Soy": chips */
.cf-roles .wpcf7-list-item { margin: 0; }
.cf-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-roles label { position: relative; display: inline-flex; cursor: pointer; }
.cf-roles input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.cf-roles .wpcf7-list-item-label {
	display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600;
	transition: background-color .2s, border-color .2s, color .2s;
}
.cf-roles label:hover .wpcf7-list-item-label { border-color: var(--accent); }
.cf-roles input:checked + .wpcf7-list-item-label { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cf-roles input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Aceptación */
.cf-accept .wpcf7-list-item { margin: 0; }
.cf-accept label { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--text-soft); cursor: pointer; }
.cf-accept input[type=checkbox] {
	flex: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; cursor: pointer;
	border: 1.5px solid rgba(255, 255, 255, .35); background: transparent; -webkit-appearance: none; appearance: none;
	display: grid; place-content: center; transition: background-color .2s, border-color .2s;
}
.cf-accept input[type=checkbox]::after { content: ""; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease); }
.cf-accept input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
.cf-accept input[type=checkbox]:checked::after { transform: rotate(-45deg) scale(1); }

/* Enviar */
.cf-actions { position: relative; display: flex; align-items: center; gap: 16px; }
.cf-submit {
	width: 100%; min-height: 56px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--accent); color: var(--ink);
	font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	transition: background-color .25s, box-shadow .25s, transform .2s var(--ease);
}
.cf-submit:hover { background: #fff; box-shadow: 0 14px 36px -12px rgba(56, 182, 255, .7); }
.cf-submit:active { transform: scale(.99); }
.cf-submit:disabled { opacity: .5; cursor: not-allowed; }
.wpcf7-form.submitting .cf-submit { color: transparent; pointer-events: none; }
.wpcf7-form.submitting .cf-actions::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
	border: 3px solid rgba(4, 18, 28, .25); border-top-color: var(--ink); border-radius: 50%;
	animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cf-actions .wpcf7-spinner { display: none; }
.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0; padding: 12px 16px; border: 0; border-radius: 10px;
	font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .06);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { background: rgba(255, 107, 107, .12); color: #ffb3b3; }
.wpcf7 form.sent .wpcf7-response-output { background: rgba(56, 182, 255, .12); color: #bfe6ff; }
.wpcf7 .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Éxito */
.cmodal-success { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 40px 0; }
.cmodal-success[hidden] { display: none; }
.cmodal-success h3 { margin: 10px 0 0; font-size: clamp(28px, 3vw, 40px); font-weight: 900; text-transform: uppercase; }
.cmodal-success p { max-width: 420px; color: var(--text-soft); line-height: 1.6; }
.cmodal-success .btn-row { justify-content: center; margin-top: 12px; }
.cmodal-check { width: 88px; height: 88px; fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.cmodal-check circle { stroke-dasharray: 230; stroke-dashoffset: 230; animation: draw .8s var(--ease) forwards; }
.cmodal-check path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .5s var(--ease) forwards .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (max-width: 860px) {
	.cmodal { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
	.cmodal-panel { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: 100dvh; height: 100%; }
	.cmodal-side-in { padding: 64px 22px 22px; gap: 10px; }
	.cmodal-text, .cmodal-direct { display: none; }
	.cmodal-body { padding: 24px 22px 32px; }
	.cf-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   404 · cancha
   ========================================================================== */
.e404 {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: calc(100svh - var(--topbar-h) - var(--admin-h));
	display: flex; align-items: center; justify-content: center; text-align: center;
	padding: 140px var(--gutter) 80px;
	background: #06180d;
}
.pitch { position: absolute; inset: 0; z-index: -1; }
.pitch::before {
	content: ""; position: absolute; inset: 0;
	background: repeating-linear-gradient(90deg, #0d3a1d 0 calc(100% / 12), #0b3319 calc(100% / 12) calc(100% / 6));
}
.pitch::after {
	content: ""; position: absolute; inset: 0; z-index: 2;
	background:
		radial-gradient(70% 60% at 50% 50%, transparent 0%, rgba(0, 0, 0, .55) 75%, #000 100%),
		linear-gradient(180deg, rgba(0, 0, 15, .85) 0%, transparent 30%, transparent 70%, #000 100%);
}
.pitch-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; color: rgba(255, 255, 255, .55); stroke: currentColor; stroke-width: 3; }
.pitch-lines * { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 2.4s var(--ease) forwards .2s; }

.e404-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.e404-score { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 56px); margin-bottom: 18px; }
.e404-digit {
	font-size: clamp(120px, 22vw, 300px); font-weight: 900; line-height: .8; letter-spacing: -.04em;
	color: #fff;
	background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .55));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 30px rgba(56, 182, 255, .35));
	animation: fade-up 1s var(--ease) both .3s;
}
.e404-digit:last-child { animation-delay: .45s; }
.e404-center { position: relative; width: clamp(110px, 18vw, 220px); aspect-ratio: 1; display: grid; place-items: center; }
.e404-center::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(56, 182, 255, .8);
	box-shadow: 0 0 40px rgba(56, 182, 255, .35), inset 0 0 40px rgba(56, 182, 255, .2);
	animation: ring 2.6s ease-in-out infinite;
}
@keyframes ring { 50% { box-shadow: 0 0 70px rgba(56, 182, 255, .55), inset 0 0 50px rgba(56, 182, 255, .3); } }
.ball {
	position: relative; z-index: 2; width: 52%; aspect-ratio: 1; padding: 0; border: 0; background: none; cursor: pointer;
	border-radius: 50%; animation: ball-in 1s cubic-bezier(.3, 1.6, .5, 1) both .6s;
}
.ball:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.ball-bounce { display: block; width: 100%; height: 100%; animation: bounce 1.6s cubic-bezier(.45, 0, .55, 1) infinite 1.6s; }
.ball-svg { display: block; width: 100%; height: 100%; animation: roll 7s linear infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.ball-shadow {
	position: absolute; z-index: 1; left: 50%; bottom: 20%; width: 40%; height: 9%; margin-left: -20%;
	border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(4px);
	animation: shadow 1.6s cubic-bezier(.45, 0, .55, 1) infinite 1.6s;
}
@keyframes ball-in { from { opacity: 0; transform: translateY(-160px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-26%); } }
@keyframes shadow { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(.6); opacity: .25; } }
@keyframes roll { to { transform: rotate(360deg); } }
.ball:hover .ball-svg { animation-duration: 2s; }
.ball.is-kicked { animation: kick 1.5s cubic-bezier(.3, .1, .3, 1) both; }
.ball.is-kicked .ball-svg { animation-duration: .5s; }
@keyframes kick {
	0% { transform: none; }
	45% { transform: translate(60vw, -30vh) scale(.5); opacity: 1; }
	46% { opacity: 0; transform: translate(-60vw, -10vh) scale(.5); }
	55% { opacity: 1; }
	100% { transform: none; }
}
.e404-eyebrow { margin: 18px 0 0; }
.e404-title { margin-top: 12px; }
.e404-text { margin: 18px auto 0; }
.e404-actions { margin-top: 36px; justify-content: center; }

/* ==========================================================================
   Entrada del blog
   Todo se alinea a la misma columna de lectura (.article-col).
   ========================================================================== */
.article { --col: 820px; background: var(--black); }
.article-col { width: min(var(--col), 100% - var(--gutter) * 2); margin-inline: auto; }

/* Cabecera */
.article-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding: 168px 0 72px;
	background:
		linear-gradient(180deg, rgba(0, 0, 15, .82) 0%, rgba(0, 0, 0, .7) 55%, #000 100%),
		var(--hero-bg, none) center 40% / cover no-repeat;
	background-color: #000;
}
.article.has-post-thumbnail .article-hero { padding-bottom: 150px; }
.crumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.crumbs li { display: inline-flex; align-items: center; color: var(--accent); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .3); }
.crumbs a { color: rgba(255, 255, 255, .75); transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs li:last-child a { color: var(--accent); }
.article-title {
	margin: 22px 0 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
	font-size: clamp(34px, 5.2vw, 68px); line-height: 1.02; overflow-wrap: anywhere;
}
.article-title .line-in { display: inline; }
.article-dek { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: #d6dde3; max-width: 680px; }
.article-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
	margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #cfd8e0;
}
.article-meta li { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { color: var(--accent); flex: none; }
.article-meta-tags { gap: 8px !important; }

/* Etiquetas */
.tag {
	display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px;
	background: rgba(56, 182, 255, .1); border: 1px solid rgba(56, 182, 255, .35); color: var(--accent);
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.tag:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Imagen destacada (se superpone a la cabecera) */
.article-cover { margin: -110px auto 48px; position: relative; z-index: 2; }
.article.has-post-thumbnail .article-main { padding-top: 0; }
.article-cover img {
	display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
	border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
}
.article-cover figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Cuerpo */
.article-main { padding: 56px 0 clamp(72px, 9vw, 110px); }
.article-body { font-size: 18px; line-height: 1.8; }
.article-body > p:first-child { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.65; color: #fff; font-weight: 500; }
.article-body h2 {
	position: relative; margin-top: 2.2em; padding-left: 20px;
	font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.2;
}
.article-body h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 2px; background: var(--accent); }
.article-body h3 { margin-top: 1.8em; font-size: 22px; font-weight: 700; }
.article-body h4 { margin-top: 1.6em; font-size: 15px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.article-body blockquote {
	position: relative; margin: 2.2em 0; padding: 28px 28px 28px 32px;
	background: rgba(56, 182, 255, .06); border: 0; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0;
	font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.5; color: #fff;
}
.article-body blockquote p { margin: 0; }
.article-body blockquote cite { display: block; margin-top: 14px; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.article-body figure, .article-body .wp-block-image { margin: 2.2em 0; }
.article-body img { border-radius: 14px; }
.article-body .alignwide { width: min(1100px, 100vw - var(--gutter) * 2); margin-left: 50%; transform: translateX(-50%); }
.article-body .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.article-body .alignfull img { border-radius: 0; }
.article-body hr { margin: 3em 0; border: 0; height: 1px; background: var(--line); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.article-body th { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.article-body code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: .9em; }
.article-body pre { padding: 20px; border-radius: 12px; background: #0b1117; overflow-x: auto; font-size: 15px; line-height: 1.6; }
.article-body pre code { padding: 0; background: none; }
.article-body iframe, .article-body video { max-width: 100%; border-radius: 14px; }
.article-body .wp-block-embed__wrapper { position: relative; }
.page-links { margin-top: 32px; display: flex; gap: 8px; }

.article-tags {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
	margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.article-tags-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.article-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }

/* Compartir (contenedor) */
.share {
	position: relative; margin-top: 32px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px;
	padding: 26px 28px; border-radius: 18px;
	background: linear-gradient(135deg, rgba(56, 182, 255, .12), rgba(56, 182, 255, .02) 60%), #0b1117;
	border: 1px solid rgba(56, 182, 255, .25);
}
.article-tags + .share { margin-top: 28px; }
.share-copy { display: flex; align-items: center; gap: 16px; min-width: 0; }
.share-icon {
	flex: none; width: 48px; height: 48px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--ink);
}
.share-title { margin: 0; font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.share-text { margin-top: 4px; font-size: 14px; color: var(--muted); }
.share-list { display: flex; flex-wrap: wrap; gap: 10px; }
.share-list li[hidden] { display: none; }
.share-btn {
	position: relative; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
	transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease);
}
.share-btn:hover { transform: translateY(-3px); }
.share-whatsapp:hover { background: #25D366; border-color: #25D366; }
.share-x:hover { background: #fff; border-color: #fff; color: #000; }
.share-facebook:hover { background: #1877F2; border-color: #1877F2; }
.share-linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.share-copy-btn:hover, .share-native:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.share-ico-default, .share-ico-done { display: flex; transition: transform .3s var(--ease), opacity .2s; }
.share-ico-done { position: absolute; opacity: 0; transform: scale(.4); }
.share-copy-btn.is-copied { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.share-copy-btn.is-copied .share-ico-default { opacity: 0; transform: scale(.4); }
.share-copy-btn.is-copied .share-ico-done { opacity: 1; transform: none; }
.share-toast {
	position: absolute; right: 24px; bottom: calc(100% + 10px);
	padding: 8px 14px; border-radius: 8px; background: var(--accent); color: var(--ink);
	font-size: 13px; font-weight: 700; pointer-events: none;
	opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease);
}
.share-toast.is-visible { opacity: 1; transform: none; }
.share-toast:empty { padding: 0; }

/* Anterior / siguiente */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.post-nav-item {
	display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; border-radius: 16px;
	background: var(--card); border: 1px solid rgba(255, 255, 255, .1);
	transition: border-color .25s, transform .3s var(--ease);
}
.post-nav-item:hover { border-color: rgba(56, 182, 255, .7); transform: translateY(-3px); }
.post-nav-item.is-next { text-align: right; align-items: flex-end; grid-column: 2; }
.post-nav-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.post-nav-title { font-size: 17px; font-weight: 700; line-height: 1.35; }

/* Más notas */
.related { --col: 820px; padding: clamp(64px, 8vw, 96px) 0 clamp(72px, 9vw, 110px); background: #05080c; border-top: 1px solid var(--line); }
.related-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 20px; margin-bottom: 32px; }
.related-title { margin: 0; text-align: left; font-size: clamp(26px, 3vw, 36px); }
.related .post-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.related .post-card-title { font-size: 18px; }
.related .post-card-body { padding: 20px; }

@media (max-width: 860px) {
	.article-hero { padding: 140px 0 56px; }
	.article.has-post-thumbnail .article-hero { padding-bottom: 110px; }
	.article-cover { margin-top: -70px; margin-bottom: 32px; }
	.article-main { padding-top: 40px; }
	.share { padding: 22px; }
	.share-list { width: 100%; justify-content: space-between; }
	.share-list li[hidden] + li, .share-list li:not([hidden]) { flex: 0 0 auto; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav-item.is-next { grid-column: auto; }
	.share-toast { right: 50%; transform: translate(50%, 6px); }
	.share-toast.is-visible { transform: translate(50%, 0); }
}

/* Movimiento reducido: sin parallax ni animaciones continuas. */
@media (prefers-reduced-motion: reduce) {
	.ticker-track, .about-glow, .ball-bounce, .ball-svg, .ball-shadow, .e404-center::before, .btn-pulse::after, .stat-in::before, .hero-bg { animation: none !important; }
	.about-pitch *, .pitch-lines *, .js .svc .icon > * { stroke-dashoffset: 0 !important; }
	.js .split-lines .line-in, .js .stat .ch { transform: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   Cursor con el isologo (solo con mouse). Se desactiva en Ajustes generales.
   ========================================================================== */
@media (pointer: fine) {
	.has-brand-cursor,
	.has-brand-cursor * {
		cursor: url("../brand/cursor.png") 16 16, auto;
		cursor: image-set(url("../brand/cursor.png") 1x, url("../brand/cursor@2x.png") 2x) 16 16, auto;
	}
	.has-brand-cursor a,
	.has-brand-cursor a *,
	.has-brand-cursor button,
	.has-brand-cursor button *,
	.has-brand-cursor [role="button"],
	.has-brand-cursor label,
	.has-brand-cursor select,
	.has-brand-cursor summary,
	.has-brand-cursor input[type="submit"],
	.has-brand-cursor input[type="checkbox"],
	.has-brand-cursor input[type="radio"],
	.has-brand-cursor [data-contact-open] {
		cursor: url("../brand/cursor-hover.png") 16 16, pointer;
		cursor: image-set(url("../brand/cursor-hover.png") 1x, url("../brand/cursor-hover@2x.png") 2x) 16 16, pointer;
	}
	.has-brand-cursor input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]),
	.has-brand-cursor textarea,
	.has-brand-cursor [contenteditable="true"] { cursor: text; }
	.has-brand-cursor :disabled { cursor: not-allowed; }
	.has-brand-cursor #wpadminbar, .has-brand-cursor #wpadminbar * { cursor: auto; }
	.has-brand-cursor #wpadminbar a { cursor: pointer; }
}
