/* 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 { max-height: 56px; width: auto; }
.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(78vw, 620px); 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); }

/* 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 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.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; }
.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; }
}

/* 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); }
	.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) {
	.quicknav-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: 0; }
	.quicknav-grid::-webkit-scrollbar { display: none; }
	.quicknav a { flex: 0 0 auto; min-width: 118px; padding: 20px 14px; font-size: 11px; gap: 8px; scroll-snap-align: start; }
	.quicknav .ph { font-size: 28px; }
	.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; }
	.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; }
	.footer-inner { flex-direction: column; align-items: flex-start; }
}
