/* Dirtland Factory - tema oscuro, acento rojo, titulares condensados en cursiva, radios de 4px. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--bg: #0b0b0c;
	--surface: #141416;
	--surface-2: #1c1c1f;
	--line: rgba(240, 240, 242, .10);
	--line-strong: rgba(240, 240, 242, .22);
	--text: #f0f0f2;
	--muted: #a9a9b0;
	--accent: #d81e27;
	--accent-hover: #b8141c;
	--accent-ink: #ffffff;
	--danger: #ff7a70;
	--radius: 4px;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1.05; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--text); }

/* Logotipo tipográfico (hasta tener el logo oficial) ----------------------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: .86; font-family: var(--font-display); font-style: italic; font-weight: 900; text-transform: uppercase; }
.wm-top { font-stretch: 80%; letter-spacing: -.01em; color: var(--text); }
.wm-bottom { font-stretch: 112%; letter-spacing: .18em; color: var(--accent); padding-left: .18em; }
.wordmark-header .wm-top { font-size: 26px; }
.wordmark-header .wm-bottom { font-size: 11px; margin-top: 3px; }
.wordmark-footer .wm-top { font-size: 20px; }
.wordmark-footer .wm-bottom { font-size: 9px; margin-top: 2px; }
.wordmark-intro .wm-top { font-size: clamp(64px, 13vw, 168px); text-shadow: 0 10px 40px rgba(0, 0, 0, .6); }
.wordmark-intro .wm-bottom { font-size: clamp(22px, 4.4vw, 58px); margin-top: .3em; }

/* Botones ----------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: 0 24px;
	font-family: var(--font-display); font-weight: 700; font-stretch: 100%;
	font-size: 14px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	border: 1.5px solid transparent; border-radius: var(--radius);
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
	cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn .ph { font-size: 1.1em; transition: transform .3s var(--ease); }
.btn:hover .ph-caret-right, .btn:hover .ph-arrow-right { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--text); background: rgba(216, 30, 39, .12); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12.5px; }

/* Titulares de sección: barra roja + condensada en cursiva */
.section-title {
	display: flex; align-items: baseline; gap: .35em;
	font-size: clamp(36px, 5vw, 60px); font-style: italic; font-weight: 900; font-stretch: 72%;
	text-transform: uppercase; letter-spacing: -.005em; line-height: 1;
	margin-bottom: 22px;
}
.section-title::before { content: "/"; color: var(--accent); font-stretch: 100%; }
.section-title-center { justify-content: center; }
.section-title-center::before { display: none; }
.section-title .ph { color: var(--accent); font-size: .8em; align-self: center; }
.section-head-center { text-align: center; margin-bottom: 44px; }
.section-head-center .section-lead { margin-inline: auto; }
.section-lead { max-width: 62ch; color: var(--muted); font-size: 18px; margin: 0; }
.section { padding-block: clamp(80px, 11vw, 140px); }

/* Cabecera ---------------------------------------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	transition: background-color .3s var(--ease), border-color .3s var(--ease);
	border-bottom: 1px solid transparent;
	background: linear-gradient(180deg, rgba(11, 11, 12, .75), rgba(11, 11, 12, 0));
}
.site-header.is-solid { background: rgba(11, 11, 12, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 42px; max-height: none; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.site-footer .brand-logo { height: 30px; filter: none; opacity: .85; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
	text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase;
	color: #d4d4d8; transition: color .2s; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 44px; height: 44px; border-radius: var(--radius); font-size: 22px; cursor: pointer; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { html #wpadminbar { position: fixed; } }

/* Selector de idioma (GTranslate) */
.lang-switch { display: flex; align-items: center; font-size: 14px; position: relative; }
.lang-switch .gt_switcher { width: 140px !important; font-family: var(--font-body) !important; font-size: 14px !important; line-height: 1.2 !important; }
.lang-switch .gt_switcher .gt_selected,
.lang-switch .gt_switcher .gt_option { background: var(--surface) !important; border: 1px solid var(--line-strong) !important; border-radius: var(--radius) !important; }
.lang-switch .gt_switcher .gt_selected a,
.lang-switch .gt_switcher .gt_option a { color: var(--text) !important; border: 0 !important; width: auto !important; padding: 7px 10px !important; }
.lang-switch .gt_switcher .gt_selected a:hover,
.lang-switch .gt_switcher .gt_option a:hover { background: var(--surface-2) !important; }
.lang-switch .gt_switcher .gt_option { position: absolute !important; z-index: 60; width: 140px !important; max-height: none !important; }
.lang-switch .gt_switcher .gt_selected a::after { filter: invert(1) brightness(.8); }
.nav .lang-switch a { font-family: var(--font-body) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; }
.nav .lang-switch a::after { display: none; }
.lang-switch img { width: 18px !important; height: 18px !important; border-radius: 50%; object-fit: cover; }

/* 1. Intro ---------------------------------------------------------------- */
.intro { position: relative; min-height: 100dvh; display: grid; place-items: center; isolation: isolate; overflow: hidden; text-align: center; }
.intro-media { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(55% 45% at 50% 52%, rgba(216, 30, 39, .22) 0%, rgba(216, 30, 39, 0) 70%),
		radial-gradient(120% 70% at 50% 110%, #2a1d14 0%, rgba(42, 29, 20, 0) 60%),
		var(--bg);
}
.intro-media img, .intro-media video { width: 100%; height: 100%; object-fit: cover; }
.intro-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, rgba(11, 11, 12, .35) 0%, rgba(11, 11, 12, .85) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0) 30%); }
.intro-inner { padding: calc(var(--header-h) + 24px) var(--gutter) 120px; display: flex; flex-direction: column; align-items: center; }
.intro-logo { margin: 0; line-height: 1; }
.intro-logo-img { width: min(66vw, 340px); height: auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6)); }
.intro-tagline { margin: 34px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(12px, 1.4vw, 15px); letter-spacing: .42em; text-transform: uppercase; color: #d4d4d8; padding-left: .42em; }
.intro-down { position: absolute; bottom: 36px; left: 50%; translate: -50% 0; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(240, 240, 242, .5); display: grid; place-items: center; font-size: 22px; text-decoration: none; transition: border-color .2s, background-color .2s; }
.intro-down:hover { border-color: var(--accent); background: rgba(216, 30, 39, .15); }

/* 2. Accesos rápidos ------------------------------------------------------ */
.quicknav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.quicknav-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.quicknav a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 12px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-align: center; transition: background-color .25s, color .25s; }
.quicknav a + a { border-left: 1px solid var(--line); }
.quicknav .ph { font-size: 40px; color: var(--text); transition: color .25s, transform .3s var(--ease); }
.quicknav a:hover { background: var(--surface-2); }
.quicknav a:hover .ph { color: var(--accent); transform: translateY(-3px); }

/* Marcos de imagen y placeholders */
.media-frame { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.is-empty, .hire-hero.is-empty, .event-hero.is-empty {
	background:
		repeating-linear-gradient(135deg, rgba(240, 240, 242, .025) 0 2px, transparent 2px 18px),
		radial-gradient(80% 80% at 70% 30%, #262628 0%, var(--surface) 70%);
}
.placeholder-label { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: rgba(240, 240, 242, .35); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.placeholder-label .ph { font-size: 34px; }
.admin-hint { margin-top: 16px; font-size: 14px; color: #f2a0a4; }
.empty-note { text-align: center; color: var(--muted); }

/* 3. Quiénes somos -------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.prose { color: #d4d4d8; max-width: 60ch; }
.about-copy .btn { margin-top: 10px; }
.values { list-style: none; margin: clamp(56px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.values li { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 12px 0; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.values li + li { border-left: 1px solid var(--line); }
.values .ph { font-size: 38px; color: var(--accent); }

/* 4. Eventos -------------------------------------------------------------- */
.events { background: var(--surface); }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.event-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.event-card:hover { border-color: rgba(216, 30, 39, .6); transform: translateY(-3px); }
.event-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(90% 90% at 30% 20%, #2b2b2e 0%, #121214 70%); text-decoration: none; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.04); }
.event-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 72%; font-size: clamp(34px, 4.6vw, 58px); text-transform: uppercase; text-align: center; line-height: .95; color: var(--text); text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.event-status { display: inline-block; padding: 5px 10px; border-radius: var(--radius); font-size: 12px; font-weight: 600; letter-spacing: .02em; background: rgba(11, 11, 12, .82); border: 1px solid var(--line-strong); color: var(--text); }
.event-media .event-status { position: absolute; top: 14px; left: 14px; }
.event-status.status-open { background: var(--accent); border-color: var(--accent); }
.event-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.event-body h3 { font-size: 26px; font-style: italic; font-weight: 900; font-stretch: 78%; text-transform: uppercase; }
.event-body h3 a { text-decoration: none; }
.event-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.event-meta li { display: flex; align-items: center; gap: 8px; }
.event-meta .ph { color: var(--accent); font-size: 18px; }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

/* 5. Sponsors ------------------------------------------------------------- */
.sponsors-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.sponsors-copy .btn { margin-top: 8px; }
.logos-title { margin: clamp(56px, 7vw, 88px) 0 22px; font-size: 20px; font-style: italic; font-weight: 900; font-stretch: 80%; text-transform: uppercase; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logos li { background: #f4f4f5; border-radius: var(--radius); aspect-ratio: 5 / 2; display: grid; place-items: center; padding: 14px 18px; }
.logos img { max-height: 100%; width: auto; object-fit: contain; }

/* 6. Contrataciones ------------------------------------------------------- */
.hire { padding-top: 0; }
.hire-hero { position: relative; isolation: isolate; min-height: min(78vh, 680px); display: flex; align-items: center; overflow: hidden; }
.hire-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hire-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .75) 45%, rgba(11, 11, 12, .2) 100%); }
.hire-copy { padding-block: 100px; }
.hire-copy > * { max-width: 560px; }
.gallery-strip { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g-item { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-placeholder { display: grid; place-items: center; color: rgba(240, 240, 242, .2); font-size: 30px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }

/* 7. Contacto ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 18px; }
.contact-list .ph { color: var(--accent); font-size: 24px; flex: none; }
.contact-list a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.socials { display: flex; gap: 10px; margin-top: 30px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 22px; text-decoration: none; transition: border-color .2s, color .2s; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }

/* Tarjeta de evento con banner + logo */
.event-media .event-banner { position: absolute; inset: 0; filter: brightness(.55) saturate(.9); }
.event-card-logo { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; }
.event-card-logo img { width: auto; height: auto; max-width: 62%; max-height: 82%; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)); transition: transform .6s var(--ease); }
.event-card:hover .event-card-logo img { transform: scale(1.04); }

/* Página de evento -------------------------------------------------------- */
.event-hero { position: relative; isolation: isolate; min-height: min(80vh, 720px); display: flex; align-items: flex-end; overflow: hidden; }
.event-hero > img.event-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.event-hero { align-items: center; text-align: center; }
.event-hero .event-hero-inner { display: flex; flex-direction: column; align-items: center; }
.event-hero .back-link { align-self: flex-start; }
.event-hero .event-meta-lg { justify-items: center; }
.event-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.event-logo { margin: 0 0 22px; }
.event-logo img { width: min(70vw, 420px); height: auto; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6)); }
.event-about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.event-video { margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.event-video video { width: 100%; height: auto; }
.event-about-grid.has-poster { grid-template-columns: 7fr 5fr; align-items: start; }
.has-poster .event-video { margin-top: 32px; }
.event-poster .g-item { display: block; aspect-ratio: auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.event-poster img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.event-poster .g-item:hover img { transform: scale(1.02); }
.event-about .entry-content h2 { font-size: clamp(26px, 3vw, 36px); font-style: italic; font-weight: 900; font-stretch: 78%; text-transform: uppercase; margin-top: 1.4em; }
.event-about .entry-content h2:first-child { margin-top: 0; }
.event-gallery { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); grid-auto-flow: dense; gap: 10px; }
.gallery-grid .g-item { aspect-ratio: auto; }
.gallery-grid .g-item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item:nth-child(6n + 4) { grid-column: span 2; }
.reg-notice { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius); color: #e4e4e7; max-width: 900px; }
.reg-notice .ph { color: var(--accent); font-size: 22px; flex: none; margin-top: 2px; }
.cat-tickets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 32px; }
.cat-tickets .g-item { aspect-ratio: 4 / 5; background: #fff; }
.cat-tickets .g-item img { object-fit: contain; }
.event-contact { padding-top: 0; }
.contact-inline { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 10px; }
.event-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, .55) 55%, rgba(11, 11, 12, .35) 100%); }
.event-hero-inner { padding-top: calc(var(--header-h) + 60px); padding-bottom: 64px; }
/* Banner con el logo ya integrado: se muestra entero, sin oscurecer, y la info debajo. */
.event-hero.has-banner { display: block; min-height: 0; padding-top: var(--header-h); }
.event-hero.has-banner > img.event-hero-bg { position: relative; inset: auto; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 1695 / 928; max-height: calc(88vh - var(--header-h)); object-fit: cover; }
.event-hero.has-banner::after { display: none; }
.event-hero.has-banner .event-hero-inner { position: relative; padding-top: 28px; padding-bottom: 56px; }
.event-hero.has-banner .back-link { position: absolute; top: -52px; left: 0; margin: 0; padding: 7px 12px; border-radius: var(--radius); background: rgba(11, 11, 12, .72); color: var(--text); }
.event-hero.has-banner .event-status { margin-bottom: 18px; }
.event-card .event-media img.event-banner { filter: none; }
.back-link { display: flex; width: fit-content; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 26px; }
.back-link:hover { color: var(--text); }
.event-title { font-size: clamp(44px, 8vw, 104px); margin: 14px 0 18px; }
.event-meta-lg { font-size: 18px; margin-bottom: 30px; color: #d4d4d8; }
.event-about { padding-bottom: 40px; }
.entry-content > * + * { margin-top: 1em; }
.event-registration .section-title { margin-bottom: 0; }

.steps { list-style: none; padding: 0; margin: 40px 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 26px 26px 0 0; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.step-num { font-family: var(--font-display); font-weight: 900; font-style: italic; font-stretch: 80%; font-size: 44px; line-height: 1; color: var(--accent); }
.steps h3 { margin: 12px 0 6px; font-size: 20px; font-style: italic; font-stretch: 80%; text-transform: uppercase; }
.steps p { color: var(--muted); margin: 0; }
.reg-panel { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: clamp(22px, 4vw, 52px); }

/* Bloque del plugin */
.dli-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 30px; }
.dli-badge { padding: 6px 12px; font-size: 13px; font-weight: 600; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line-strong); }
.dli-status-open .dli-badge { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.dli-dates { font-size: 14px; color: var(--muted); }
.dli-categories h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.dli-categories ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dli-categories li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 14px; font-weight: 500; }
.dli-price { margin: 18px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--text); }
.dli-form-title { margin: 44px 0 8px; padding-top: 36px; border-top: 1px solid var(--line); font-size: clamp(26px, 3vw, 34px); font-style: italic; font-weight: 900; font-stretch: 78%; text-transform: uppercase; }
.dli-closed { margin-top: 36px; padding: 26px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 18px; }
.dli-closed p { margin: 0; }
.dli-refund { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 15px; }
.dli-refund summary { cursor: pointer; color: var(--text); font-weight: 600; }
.dli-refund[open] summary { margin-bottom: 12px; }

/* Pie */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.footer-inner p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--text); }

/* Páginas genéricas */
.page-default { padding: calc(var(--header-h) + 64px) 0 96px; }
.entry-title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 32px; text-transform: uppercase; font-style: italic; font-stretch: 80%; }
.page-default .entry-content { color: #d4d4d8; }
.page-default .entry-content mark { background: rgba(216, 30, 39, .25); color: var(--text); }

/* Ninja Forms ------------------------------------------------------------- */
.dl-nf .nf-form-title { display: none; }
.dl-nf .nf-form-fields-required { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.dl-nf nf-fields-wrap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 20px; align-items: end; }
.dl-nf nf-field { grid-column: 1 / -1; display: block; min-width: 0; }
.dl-nf .nf-field-container, .dl-nf .nf-field-element { min-width: 0; max-width: 100%; }
.dl-nf nf-field:has(.dl-half) { grid-column: span 3; }
.dl-nf nf-field:has(.dl-cat) { grid-column: span 3; }
.dl-nf nf-field:has(.dl-transponder) { grid-column: span 3; }
.dl-nf .nf-field-container { margin-bottom: 20px; }
.dl-nf .nf-field-label { margin-bottom: 8px; }
.dl-nf .nf-field-label label { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.35; }
.dl-nf .ninja-forms-req-symbol { color: #ff5a62; }
.dl-nf .ninja-forms-field:not(hr):not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
	width: 100%; min-height: 48px; padding: 11px 14px;
	background: var(--bg); color: var(--text);
	border: 1px solid var(--line-strong); border-radius: var(--radius);
	font: 16px/1.4 var(--font-body);
	transition: border-color .2s, box-shadow .2s;
	appearance: none;
}
.dl-nf select.ninja-forms-field {
	padding-right: 40px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a9a9b0' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important; background-position: right 14px center !important;
}
.dl-nf select.ninja-forms-field option { background: var(--surface); color: var(--text); }
.dl-nf textarea.ninja-forms-field { min-height: 140px; resize: vertical; }
.dl-nf .ninja-forms-field::placeholder { color: #85858c; opacity: 1; }
.dl-nf .ninja-forms-field:hover { border-color: rgba(240, 240, 242, .4); }
.dl-nf .ninja-forms-field:focus { outline: none; border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(216, 30, 39, .25); }
.dl-nf .nf-error .ninja-forms-field { border-color: var(--danger) !important; }
.dl-nf .nf-error-msg, .dl-nf .nf-form-errors .nf-error-msg { color: var(--danger); font-size: 13px; margin-top: 6px; }
.dl-nf .nf-pass.field-wrap .nf-field-element::after, .dl-nf .nf-error.field-wrap .nf-field-element::after { display: none; }
.dl-nf .hr-container hr, .dl-nf hr.ninja-forms-field { display: block; width: 100%; height: 0; min-height: 0; padding: 0; background: none; border: 0; border-top: 1px solid var(--line); margin: 14px 0 6px; }
.dl-nf .hr-container { margin-bottom: 22px; }
.dl-nf .submit-container { margin-top: 8px; margin-bottom: 0; }
.dl-nf input[type="submit"], .dl-nf input[type="button"].ninja-forms-field {
	min-height: 52px; max-width: 100%; padding: 14px 32px; line-height: 1.25; white-space: normal; height: auto;
	border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
	font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
	cursor: pointer; transition: background-color .25s var(--ease), transform .2s var(--ease);
}
.dl-nf-contacto input[type="submit"] { width: 100%; }
.dl-nf input[type="submit"]:hover { background: var(--accent-hover); }
.dl-nf input[type="submit"]:active { transform: translateY(1px); }
.dl-nf input[type="submit"]:disabled { opacity: .6; cursor: progress; }
.dl-nf .nf-response-msg { padding: 22px; border: 1px solid var(--accent); border-radius: var(--radius); background: rgba(216, 30, 39, .08); }
.dl-nf .nf-response-msg p:last-child { margin: 0; }
.dl-nf .nf-response-msg strong { font-family: var(--font-display); font-size: 20px; }
.dl-nf .dl-consent .field-wrap, .dl-nf .checkbox-container .field-wrap { display: flex; align-items: flex-start; gap: 12px; }
.dl-nf .checkbox-container .nf-field-element { order: -1; flex: none; }
.dl-nf .checkbox-container input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.dl-nf .checkbox-container .nf-field-label { margin: 0; }
.dl-nf .checkbox-container label { font-weight: 400 !important; color: var(--muted) !important; }
.dl-nf .checkbox-container label a { color: var(--text); }
.dl-nf .checkbox-container label::before, .dl-nf .checkbox-container label::after { display: none !important; }

/* Lightbox ---------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6, 6, 7, .96); display: grid; place-items: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox button { position: absolute; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 48px; height: 48px; border-radius: var(--radius); font-size: 22px; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Movimiento -------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
	.intro-logo { animation: introIn 1.6s var(--ease) both .15s; }
	.intro-tagline { animation: fadeUp 1.2s var(--ease) both .8s; }
	.intro-down { animation: fadeUp 1s var(--ease) both 1.2s, bob 2.4s ease-in-out 2.4s infinite; }
	@keyframes introIn { from { opacity: 0; transform: scale(.92); filter: blur(8px); } }
	@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
	@keyframes bob { 50% { transform: translateY(6px); } }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* Quiénes somos: collage de fotos del equipo */
.about-collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; }
.about-collage .g-item { position: relative; display: block; overflow: hidden; aspect-ratio: auto; height: 100%; min-height: 0; border-radius: var(--radius); background: var(--surface); }
.about-collage .g-item:first-child { grid-row: span 2; }
.about-collage-2 .g-item { grid-row: span 2; }
.about-collage img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .8s var(--ease); }
.about-collage .g-item:hover img { transform: scale(1.04); }

/* Contacto: redes de cada evento */
.event-socials { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.event-socials h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.event-socials ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.event-socials li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.es-name { font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .02em; }
.es-links { display: flex; gap: 6px; }
.es-links a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 20px; text-decoration: none; transition: border-color .2s, color .2s; }
.es-links a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 560px) { .about-collage { gap: 8px; } }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1120px) {
	.nav-toggle { display: grid; place-items: center; }
	.nav {
		position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
		background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
		max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
		transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 32px); }
	.nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
	.nav a:not(.btn)::after { display: none; }
	.nav .btn { margin-top: 18px; min-height: 50px; }
	.nav .lang-switch { padding: 16px 0 0; }
	.lang-switch .gt_switcher .gt_option { position: static !important; }
	.site-header.menu-open { background: var(--bg); }
}
@media (max-width: 900px) {
	.about-grid, .sponsors-grid, .contact-grid { grid-template-columns: 1fr; }
	.events-grid { grid-template-columns: 1fr; }
	.gallery-strip { grid-template-columns: repeat(2, 1fr); }
	.event-about-grid, .event-about-grid.has-poster { grid-template-columns: 1fr; }
	.event-poster { order: -1; max-width: 520px; width: 100%; margin-inline: auto; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
	.gallery-grid .g-item:nth-child(6n + 1), .gallery-grid .g-item:nth-child(6n + 4) { grid-column: span 2; grid-row: span 1; }
	.cat-tickets { grid-template-columns: repeat(3, 1fr); }
	.steps { grid-template-columns: 1fr; margin: 32px 0 40px; }
	.steps li, .steps li + li { padding: 22px 0; border-left: 0; }
	.steps li + li { border-top: 1px solid var(--line); }
	.hire-hero::after { background: linear-gradient(0deg, rgba(11, 11, 12, .96) 25%, rgba(11, 11, 12, .6) 100%); }
	.dl-nf nf-field:has(.dl-half), .dl-nf nf-field:has(.dl-cat), .dl-nf nf-field:has(.dl-transponder) { grid-column: 1 / -1; }
	.lightbox { padding: 64px 12px; }
	.lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}
@media (max-width: 782px) { .admin-bar .nav { top: calc(var(--header-h) + 46px); } }
@media (max-width: 700px) {
	.values { grid-template-columns: repeat(2, 1fr); }
	.values li:nth-child(3) { border-left: 0; }
	.values li:nth-child(n + 3) { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	:root { --header-h: 68px; }
	.wordmark-header .wm-top { font-size: 22px; }
	.brand-logo { height: 34px; }
	.reg-panel, .contact-form { padding: 22px 18px; }
	.dl-nf input[type="submit"] { width: 100%; padding: 14px 18px; }
	.dli-categories li { font-size: 13px; padding: 7px 11px; }
	.event-actions .btn { flex: 1 1 0; }
	.gallery-strip { grid-template-columns: 1fr 1fr; gap: 8px; }
	.cat-tickets { grid-template-columns: repeat(2, 1fr); }
	.footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Inscripciones: botones grandes, página con todos los eventos y formulario a pantalla completa */
.btn-xl { min-height: 64px; padding: 0 34px; font-size: 18px; }
.btn-off { border-color: var(--line-strong); color: var(--muted); background: transparent; cursor: default; }
.btn-off:active { transform: none; }
.intro-cta { margin-top: 36px; }
.header-reg { display: none; }
.quicknav-grid { grid-template-columns: repeat(6, 1fr); }
.quicknav a.is-accent { background: var(--accent); color: var(--accent-ink); }
.quicknav a.is-accent .ph { color: var(--accent-ink); }
.quicknav a.is-accent:hover { background: var(--accent-hover); }
.quicknav a.is-accent:hover .ph { color: var(--accent-ink); }

.reg-cta { margin-top: 32px; padding: clamp(22px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); display: grid; gap: 24px; justify-items: start; }
.reg-cta-status { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); }
.status-open .reg-cta-status { color: #4ade80; }

.reg-hub, .reg-page { padding: calc(var(--header-h) + 48px) 0 96px; }
.reg-wrap-hub { max-width: 1000px; }
.reg-hub-lead { font-size: clamp(19px, 2vw, 23px); margin-bottom: 32px; }
.reg-hub-lead p { margin: 0; }
.reg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.reg-item { display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--line-strong); border-radius: var(--radius); }
.reg-item.status-open { border-left-color: var(--accent); }
.reg-item-logo { display: grid; place-items: center; height: 110px; text-decoration: none; font-family: var(--font-display); font-weight: 900; font-style: italic; text-transform: uppercase; }
.reg-item-logo img { max-width: 100%; max-height: 110px; width: auto; height: auto; object-fit: contain; }
.reg-item h2 { font-size: clamp(26px, 3vw, 34px); font-style: italic; font-stretch: 78%; text-transform: uppercase; }
.reg-item-meta { margin: 8px 0 0; color: var(--muted); }
.reg-item-status { margin: 8px 0 0; font-weight: 600; color: var(--muted); }
.status-open .reg-item-status { color: #4ade80; }
.reg-item-action { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.reg-item-action .btn { min-width: 220px; }
.reg-item-more { font-size: 14px; color: var(--muted); }
.reg-item-more:hover { color: var(--text); }
.reg-help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0 0; color: var(--muted); font-size: 16px; }
.reg-help .ph { color: var(--accent); font-size: 22px; }
.reg-help a { color: var(--text); }

.reg-wrap { max-width: 780px; }
.reg-head { text-align: center; margin-bottom: 24px; }
.reg-logo { width: auto; max-width: min(70vw, 300px); max-height: 180px; height: auto; margin: 0 auto 18px; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5)); }
.reg-head h1 { font-size: clamp(34px, 6vw, 58px); font-style: italic; font-weight: 900; font-stretch: 74%; text-transform: uppercase; }
.reg-head h1 span { color: var(--accent); }
.reg-meta { margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.reg-lead { margin: 0 auto 24px; max-width: 36ch; text-align: center; font-size: clamp(19px, 2.2vw, 22px); }
.reg-page .reg-notice { margin: 0 0 20px; }
.reg-price { margin: 0 0 20px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.reg-form-box { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); }
.reg-closed { padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; display: grid; gap: 22px; justify-items: center; }
.reg-closed p { margin: 0; font-size: 22px; font-weight: 600; }
.reg-page .back-link { margin-bottom: 18px; }

/* Formulario grande y por pasos (página de inscripción) */
.reg-step-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 18px 0 20px; font-size: clamp(22px, 2.6vw, 28px); font-style: italic; font-stretch: 80%; text-transform: uppercase; }
.reg-step-title:first-child { margin-top: 0; }
.reg-step-title span { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-style: normal; font-stretch: 100%; font-size: 22px; }
.dl-enhanced nf-field:has(.hr-container) { display: none; }
.dl-enhanced nf-field:has(.dl-n2), .dl-enhanced nf-field:has(.dl-n3), .dl-enhanced nf-field:has(.dl-n4) { display: none; }
.dl-enhanced.show-2 nf-field:has(.dl-n2), .dl-enhanced.show-3 nf-field:has(.dl-n3), .dl-enhanced.show-4 nf-field:has(.dl-n4) { display: block; }
.reg-add-cat { grid-column: 1 / -1; width: 100%; margin: 0 0 26px; border-style: dashed; border-color: var(--line-strong); white-space: normal; }
.reg-add-cat[hidden] { display: none; }
.reg-email-hint { margin: 8px 0 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(250, 204, 21, .12); color: #fde68a; font-size: 15px; }
.reg-email-hint button { background: none; border: 0; padding: 0; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.reg-page .dl-nf nf-field:has(.dl-half) { grid-column: 1 / -1; }
.reg-page .dl-nf .nf-field-label label { font-size: 18px; }
.reg-page .dl-nf .ninja-forms-field:not(hr):not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]) { min-height: 58px; font-size: 18px; padding: 14px 16px; }
.reg-page .dl-nf input[type="submit"] { width: 100%; min-height: 70px; font-size: 22px; }
.reg-page .dl-nf .checkbox-container label { font-size: 16px; }
.reg-page .dl-nf .checkbox-container input[type="checkbox"] { width: 26px; height: 26px; }
.reg-page .dl-nf .nf-response-msg { font-size: 19px; }
.reg-page .dl-nf .nf-response-msg strong { font-size: 24px; }
.reg-page .dl-nf .nf-form-errors .nf-error-msg { font-size: 17px; padding: 14px 16px; border: 1px solid var(--danger); border-radius: var(--radius); margin-top: 14px; }

@media (max-width: 1120px) {
	.header-reg { display: inline-flex; margin-left: auto; }
	.nav .nav-reg { display: none; }
	.header-inner { gap: 12px; }
}
@media (max-width: 700px) {
	.reg-item { grid-template-columns: 1fr; text-align: center; gap: 14px; padding: 22px 18px; }
	.reg-item-logo { height: 90px; }
	.reg-item-logo img { max-height: 90px; }
	.reg-item-action .btn { width: 100%; min-width: 0; }
	.reg-cta, .reg-cta .btn { width: 100%; }
	.btn-xl { white-space: normal; flex-wrap: wrap; row-gap: 2px; padding: 12px 18px; font-size: 16px; line-height: 1.2; text-align: center; }
	.reg-help { justify-content: center; text-align: center; }
	.intro-cta { width: min(100%, 320px); }
	.reg-form-box { padding: 20px 16px; }
}
@media (max-width: 560px) {
	.header-reg { padding: 0 12px; font-size: 12px; }
	.reg-page .dl-nf nf-field:has(.dl-cat), .reg-page .dl-nf nf-field:has(.dl-transponder) { grid-column: 1 / -1; }
}

/* Cartel del evento en las inscripciones */
.reg-wrap.has-poster { max-width: 1180px; }
.reg-wrap.has-poster .reg-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.reg-poster { position: sticky; top: calc(var(--header-h) + 20px); }
.reg-poster .g-item { display: block; aspect-ratio: auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.reg-poster img { display: block; width: 100%; height: auto; }
.reg-wrap.has-poster .reg-lead { max-width: none; }
.reg-item-logo img.is-poster { max-height: 220px; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.reg-item:has(.is-poster) .reg-item-logo { height: auto; }
.reg-item-mini-logo { width: auto; height: auto; max-width: 120px; max-height: 56px; margin-bottom: 10px; }
@media (max-width: 900px) {
	.reg-wrap.has-poster .reg-layout { grid-template-columns: 1fr; }
	.reg-poster { position: static; max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (max-width: 700px) {
	.reg-item-mini-logo { margin-inline: auto; }
	.reg-item-logo img.is-poster { max-height: none; max-width: min(100%, 360px); }
}

/* Tarjeta de evento: toda la tarjeta lleva a la landing */
.event-card { position: relative; }
.event-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.event-actions { position: relative; z-index: 2; }

/* Landing: aviso flotante «Regístrate aquí» mientras la inscripción está abierta */
.reg-popup { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: min(360px, calc(100vw - 32px)); padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line-strong); border-top: 3px solid var(--accent); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); display: grid; gap: 14px; }
.reg-popup[hidden] { display: none; }
.reg-popup .btn { width: 100%; }
.reg-popup-text { margin: 0; padding-right: 28px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.reg-popup-dot { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; flex: none; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.reg-popup-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
.reg-popup-close:hover { color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .reg-popup:not([hidden]) { animation: fadeUp .5s var(--ease) both; } }
@media (max-width: 700px) {
	.reg-popup { left: 0; right: 0; bottom: 0; width: auto; border-radius: 0; border-inline: 0; border-bottom: 0; padding: 14px 16px 16px; gap: 10px; }
	.reg-popup .btn-xl { min-height: 56px; font-size: 17px; }
	.reg-popup-text { font-size: 14px; }
}

/* Accesos rápidos en móvil: rejilla 3x2, sin desplazamiento lateral */
@media (max-width: 900px) {
	.quicknav-grid { grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); padding-inline: 0; }
	.quicknav a { background: var(--surface); min-width: 0; padding: 18px 4px; gap: 8px; font-size: 10.5px; letter-spacing: .03em; }
	.quicknav a + a { border-left: 0; }
	.quicknav .ph { font-size: 26px; }
}

/* Doble idioma: español + inglés (el 95 % del público es extranjero) */
.bi { font-size: .78em; font-weight: 500; opacity: .62; letter-spacing: .02em; }
.bi::before { content: "/ "; }
p > .bi, .reg-help .bi, .footer-inner p .bi { display: block; margin-top: 4px; font-size: .9em; }
p > .bi::before, .reg-help .bi::before, .footer-inner p .bi::before { content: none; }
.section-title .bi { display: block; margin-top: 6px; font-size: .36em; font-style: normal; font-stretch: 100%; letter-spacing: .22em; }
.section-title .bi::before { content: none; }
.section-title-center .bi { width: 100%; }
.nav a:not(.btn) .bi, .quicknav span .bi { display: block; margin-top: 2px; font-size: 9.5px; letter-spacing: .14em; }
.nav a:not(.btn) .bi::before, .quicknav span .bi::before { content: none; }
.btn .bi { opacity: .78; }
.reg-step-title .bi { font-size: .62em; font-style: normal; font-stretch: 100%; }
.reg-sub-en { margin: 6px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.dl-nf .nf-response-msg .dl-en { opacity: .75; }
.dl-nf .nf-response-msg .dl-en:first-of-type { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.values li .bi { display: block; margin-top: 2px; font-size: 11px; }
.values li .bi::before { content: none; }
html.translated-ltr .bi, html.translated-rtl .bi, html.translated-ltr .dl-en, html.translated-rtl .dl-en, html.translated-ltr .reg-sub-en { display: none !important; }

/* Material por categoría: coche, motor, ruedas, gasolina (marcas) */
.dl-nf nf-field:has(.dl-brand) { grid-column: span 3; }
.reg-brand-head { grid-column: 1 / -1; display: grid; gap: 2px; margin: 0 0 14px; padding: 12px 14px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .03); border-radius: 0 var(--radius) var(--radius) 0; font-size: 13px; color: var(--muted); }
.reg-brand-head strong { font-family: var(--font-display); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.reg-brand-head .bi { display: inline; font-size: .92em; }
.dl-enhanced .reg-brand-head.dl-n2, .dl-enhanced .reg-brand-head.dl-n3, .dl-enhanced .reg-brand-head.dl-n4 { display: none; }
.dl-enhanced.show-2 .reg-brand-head.dl-n2, .dl-enhanced.show-3 .reg-brand-head.dl-n3, .dl-enhanced.show-4 .reg-brand-head.dl-n4 { display: grid; }
.reg-page .dl-nf nf-field:has(.dl-brand) .nf-field-label label { font-size: 16px; }
@media (max-width: 900px) {
	.nav a:not(.btn) .bi { display: inline; font-size: .78em; letter-spacing: .02em; }
	.nav a:not(.btn) .bi::before { content: "/ "; }
}
@media (max-width: 560px) {
	.dl-nf nf-field:has(.dl-brand) { grid-column: 1 / -1; }
}
.nav a:not(.btn) { white-space: nowrap; }
p.reg-meta > .bi, p.reg-item-meta > .bi { display: inline; font-size: .85em; margin: 0; }
p.reg-meta > .bi::before, p.reg-item-meta > .bi::before { content: "/ "; }
.reg-page .dl-nf nf-field:has(.dl-cat), .reg-page .dl-nf nf-field:has(.dl-transponder) { grid-column: 1 / -1; }
.section-title-center { flex-wrap: wrap; }
.section-title-center .bi { flex: 0 0 100%; text-align: center; }

/* Categorías extra: bloque propio con cabecera (26/11) */
.reg-cat-head { grid-column: 1 / -1; display: none; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; padding: 22px 0 0; border-top: 1px solid var(--line-strong); }
.dl-enhanced.show-2 .reg-cat-head.dl-n2, .dl-enhanced.show-3 .reg-cat-head.dl-n3, .dl-enhanced.show-4 .reg-cat-head.dl-n4 { display: flex; }
.reg-cat-head strong { font-family: var(--font-display); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.reg-cat-head strong .bi { display: inline; margin-left: 6px; font-size: .7em; color: var(--muted); }
.reg-cat-num { color: var(--accent); margin-right: 4px; }
.reg-cat-remove { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--muted); font-size: 13px; cursor: pointer; }
.reg-cat-remove:hover, .reg-cat-remove:focus-visible { color: var(--text); border-color: var(--accent); }
.reg-cat-remove .bi { display: inline; font-size: .9em; }
.reg-cat-remove[hidden] { display: none; }
.reg-add-cat { margin-top: 10px; }
.reg-add-cat.btn-accent { border-style: solid; border-color: var(--accent); margin: 6px 0 30px; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 0 0 4px rgba(227, 6, 19, .18); }
.reg-add-cat.btn-accent .bi { text-transform: none; }
.reg-add-cat.btn-accent { flex-direction: column; gap: 4px; min-height: 96px; padding: 16px 22px; font-size: 20px; font-weight: 800; animation: dl-add-pulse 1.8s ease-in-out infinite; }
.reg-add-cat .reg-add-tag { display: inline-block; background: #ffd400; color: #111; font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; }
.reg-add-cat .reg-add-main { display: inline-flex; align-items: center; gap: 8px; }
.reg-add-cat .reg-add-main i { font-size: 1.3em; }
.reg-add-cat.btn-accent .bi { font-size: 14px; font-weight: 600; opacity: .9; }
@keyframes dl-add-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(227, 6, 19, .22); } 50% { box-shadow: 0 0 0 12px rgba(227, 6, 19, .06); } }
@media (prefers-reduced-motion: reduce) { .reg-add-cat.btn-accent { animation: none; } }
@media (max-width: 640px) { .reg-add-cat.btn-accent { font-size: 17px; } }
.reg-add-cat .reg-add-plus { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--accent); font-size: 24px; line-height: 1; font-weight: 900; }
.reg-add-cat.btn-accent { font-size: 26px; min-height: 110px; }
.reg-add-cat .reg-add-main { flex-wrap: wrap; justify-content: center; gap: 10px; }
.reg-add-cat .reg-add-en { font-size: .62em; font-weight: 700; text-transform: uppercase; opacity: .9; padding-left: 10px; border-left: 2px solid rgba(255,255,255,.5); }
.reg-add-cat .reg-add-tag { font-size: 13px; animation: dl-add-tag 1s ease-in-out infinite; }
.reg-add-cat .reg-add-arrow { color: #ffd400; font-size: 1.1em; line-height: 1; display: inline-block; }
.reg-add-cat .reg-add-arrow-l { animation: dl-add-l .8s ease-in-out infinite; }
.reg-add-cat .reg-add-arrow-r { transform: scaleX(-1); animation: dl-add-r .8s ease-in-out infinite; }
@keyframes dl-add-l { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(4px); } }
@keyframes dl-add-r { 0%, 100% { transform: scaleX(-1) translateX(-6px); } 50% { transform: scaleX(-1) translateX(4px); } }
@keyframes dl-add-tag { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .reg-add-cat .reg-add-arrow, .reg-add-cat .reg-add-tag { animation: none; } }
@media (max-width: 640px) { .reg-add-cat.btn-accent { font-size: 21px; } .reg-add-cat .reg-add-tag { font-size: 11px; } .reg-add-cat .reg-add-en { border-left: 0; padding-left: 0; flex-basis: 100%; text-align: center; } }
.reg-add-cat .reg-add-main { flex-wrap: nowrap; }
.reg-add-cat .reg-add-en { font-size: 15px; border-left: 0; padding-left: 0; letter-spacing: .06em; }
@media (max-width: 640px) { .reg-add-cat .reg-add-en { font-size: 13px; } .reg-add-cat .reg-add-main { gap: 6px; } }
.reg-count { grid-column: 1 / -1; margin: 8px 0 26px; padding: 18px 18px 14px; border: 3px solid var(--accent); border-radius: 10px; background: rgba(227, 6, 19, .10); text-align: center; box-shadow: 0 0 0 4px rgba(227, 6, 19, .18); }
.reg-count-q { margin: 0 0 12px; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; color: #fff; line-height: 1.2; }
.reg-count-q .bi { display: block; font-size: 14px; font-weight: 600; text-transform: none; opacity: .8; }
.reg-count-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.reg-count-n { min-height: 64px; border: 2px solid var(--line-strong, #555); border-radius: 8px; background: #111; color: #fff; font-size: 30px; font-weight: 900; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.reg-count-n:hover { border-color: var(--accent); }
.reg-count-n.is-on { background: var(--accent); border-color: #ffd400; box-shadow: 0 0 0 3px #ffd400; transform: scale(1.05); }
.reg-count-n:focus-visible { outline: 3px solid #ffd400; outline-offset: 2px; }
.reg-count-hint { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: #ffd400; }
.reg-count-hint .bi { display: block; font-weight: 500; opacity: .85; color: #fff; }
@media (max-width: 640px) { .reg-count-q { font-size: 18px; } .reg-count-n { min-height: 56px; font-size: 26px; } }
.reg-count-q { font-size: 20px; }
.reg-count-n { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.reg-count-n small { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.reg-count-n small .bi { display: block; font-weight: 500; opacity: .8; text-transform: none; }
.reg-count.is-done { border-color: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .18); background: rgba(47, 191, 113, .07); }
.reg-count-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 6px; background: #ffd400; color: #111; font-weight: 800; font-size: 15px; }
.reg-count-err .bi { display: block; font-weight: 600; font-size: 13px; }
.reg-count.is-error { animation: dl-shake .45s ease-in-out 2; }
@keyframes dl-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .reg-count.is-error { animation: none; } }
.dl-tel-box { display: flex; gap: 8px; align-items: stretch; }
.dl-tel-box .dl-tel-pre { flex: 0 0 auto; width: 118px; min-height: 48px; padding: 0 8px; background: #111; color: #fff; border: 1px solid var(--line-strong, #555); border-radius: 6px; font-size: 15px; font-weight: 700; }
.dl-tel-box input[type="tel"] { flex: 1 1 auto; min-width: 0; }
.dl-tel-hint { margin: 6px 0 0; font-size: 12px; color: #2fbf71; font-weight: 700; line-height: 1.35; }
.dl-tel-hint .bi { display: block; font-weight: 500; opacity: .85; }
.dl-tel-err { margin: 8px 0 0; padding: 8px 10px; border-radius: 6px; background: #ffd400; color: #111; font-weight: 800; font-size: 13px; line-height: 1.35; }
.dl-tel-err .bi { display: block; font-weight: 600; }
