/* TheCreator · base de toda la web: la marca (la de thecreator.es, compartido/estilos/marca.css),
   la maquetación, la cabecera, el pie y los componentes comunes. Cada plantilla añade su CSS. */

@font-face { font-family: "Space Grotesk"; src: url("../fuentes/SpaceGrotesk-VF.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fuentes/Inter-VF.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fuentes/SpaceMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fuentes/SpaceMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--negro: #000;
	--claro: #f4f4f4;
	--rosa: #ff4191;
	--magenta: #e90074;
	--amarillo: #fff078;
	--gris: #a9a9b2;
	--grad: linear-gradient(92deg, var(--rosa), var(--magenta));
	--titulos: "Space Grotesk", system-ui, sans-serif;
	--texto: "Inter", system-ui, sans-serif;
	--mono: "Space Mono", ui-monospace, monospace;
	--superficie: #0c0c10;
	--superficie-2: #141419;
	--borde: #26262d;
	--texto-suave: #c9c9d1;
	--texto-tenue: #8a8a93;
	--ancho: 1240px;
	--margen: clamp(16px, 5vw, 64px);
	--radio: 22px;
	--sombra-rosa: 0 30px 80px -30px rgba(255, 65, 145, 0.45);
	--alto-cabecera: 72px;
}

/* ---------- Marca ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-cabecera) + 16px); }
body { margin: 0; background: var(--negro); color: #fff; font-family: var(--texto); line-height: 1.6; overflow-x: clip; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--titulos); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; }
::selection { background: var(--rosa); color: #000; }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; border-radius: 4px; }

.contenedor { width: min(100% - 2 * var(--margen), var(--ancho)); margin-inline: auto; }
.etiqueta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rosa); }
.mono { font-family: var(--mono); }
.rosa { color: var(--rosa); }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: var(--rosa); color: #000; font-weight: 700; text-decoration: none; }
.saltar:focus { top: 12px; }

@view-transition { navigation: auto; }

/* ---------- Cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.admin-bar .cabecera { top: 32px; }
.cabecera .fila { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--alto-cabecera); }
/* La marca: el logo en SVG (inc/marca.php). El texto toma el color del enlace; el asterisco lleva su rosa. */
.marca { display: inline-flex; align-items: center; color: #fff; text-decoration: none; line-height: 0; }
.marca svg { display: block; height: 26px; width: auto; }
/* El truco de la marca: el asterisco gira, 2 s por vuelta como en la web anterior.
   Dos vueltas al cargar (menos de 5 s: WCAG 2.2.2) y sin parar mientras el ratón o el foco están encima. */
.asterisco { transform-box: fill-box; transform-origin: center; }
@keyframes tc-giro { to { transform: rotate(360deg); } }
.marca .asterisco { animation: tc-giro 2s linear 2; }
.marca:hover .asterisco, .marca:focus-visible .asterisco { animation: tc-giro 2s linear infinite; }
.asterisco-marca { display: inline-block; line-height: 0; color: var(--rosa); }
.asterisco-marca svg { display: block; width: 100%; height: auto; }
/* En el cierre de cada página, gira al bajar hasta él, al ritmo del scroll */
.asterisco-cierre { width: clamp(44px, 5vw, 64px); margin-bottom: 28px; }
@supports (animation-timeline: view()) {
	.asterisco-cierre svg { animation: tc-giro linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
}

.escritorio { display: flex; align-items: center; gap: 16px; }
.menu-principal { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.menu-principal > li > a, .abre-desplegable {
	display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; border-radius: 999px; background: none;
	font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--texto-suave); cursor: pointer;
	transition: color 0.2s ease, background 0.2s ease;
}
.menu-principal > li > a:hover, .abre-desplegable:hover, .abre-desplegable[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.menu-principal a[aria-current="page"] { color: var(--rosa); }
.abre-desplegable::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease; }
.abre-desplegable[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.desplegable { position: relative; }
.submenu {
	position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 320px; list-style: none; padding: 8px;
	background: var(--superficie-2); border: 1px solid var(--borde); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
}
.submenu a { display: block; border-radius: 12px; padding: 11px 14px; text-decoration: none; transition: background 0.2s ease; }
.submenu a:hover { background: rgba(255, 255, 255, 0.05); }
.submenu strong { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.submenu span { display: block; font-size: 13px; color: var(--texto-tenue); margin-top: 2px; }
.submenu a:hover strong, .submenu a[aria-current="page"] strong { color: var(--rosa); }
.soporte-clientes { font-size: 13px; color: var(--texto-tenue); text-decoration: none; white-space: nowrap; }
.soporte-clientes:hover { color: var(--rosa); }
.cta { display: inline-flex; justify-content: center; padding: 11px 22px; border-radius: 999px; background: var(--grad); color: #000; font-family: var(--titulos); font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform 0.2s ease; }
.cta:hover { transform: translateY(-1px); }

.abrir, .cerrar { display: none; background: none; border: 0; color: #fff; cursor: pointer; }
.abrir { width: 44px; height: 44px; padding: 12px 10px; flex-direction: column; justify-content: center; gap: 7px; }
.abrir span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
.abrir span:last-child { width: 65%; margin-left: auto; background: var(--rosa); }
.menu-movil { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: #000; padding-bottom: 40px; }
.menu-movil > .fila { display: flex; align-items: center; justify-content: space-between; min-height: var(--alto-cabecera); }
.menu-movil .cerrar { display: block; font-size: 40px; line-height: 1; width: 44px; height: 44px; }
.prioridades { list-style: none; padding: 0; margin: 20px 0 12px; }
.prioridades a { display: block; padding: 10px 0; font-family: var(--titulos); font-weight: 700; font-size: 38px; letter-spacing: -0.03em; text-decoration: none; border-bottom: 1px solid var(--borde); }
.prioridades a:hover { color: var(--rosa); }
.grupo-movil { border-bottom: 1px solid var(--borde); }
.grupo-movil summary { list-style: none; padding: 14px 0; font-family: var(--titulos); font-weight: 700; font-size: 22px; cursor: pointer; display: flex; justify-content: space-between; color: var(--texto-suave); }
.grupo-movil summary::-webkit-details-marker { display: none; }
.grupo-movil summary::after { content: "+"; color: var(--rosa); }
.grupo-movil[open] summary::after { content: "–"; }
.grupo-movil ul { list-style: none; padding: 0 0 14px; display: grid; gap: 6px; }
.enlace-movil { display: block; padding: 14px 0; border-bottom: 1px solid var(--borde); font-family: var(--titulos); font-weight: 700; font-size: 22px; color: var(--texto-suave); text-decoration: none; }
.enlace-movil:hover { color: var(--rosa); }
.grupo-movil a { text-decoration: none; color: var(--texto-suave); font-size: 17px; }
.grupo-movil a:hover { color: var(--rosa); }
.cta.grande { width: 100%; padding: 18px; font-size: 18px; margin-top: 28px; }
.soporte-movil { display: block; text-align: center; margin-top: 16px; color: var(--texto-tenue); text-decoration: none; }
body.menu-abierto { overflow: hidden; }

@media (max-width: 1320px) { .soporte-clientes { display: none; } }
@media (max-width: 1100px) {
	.escritorio { display: none; }
	.abrir { display: flex; }
}

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--borde); padding: clamp(56px, 8vw, 88px) 0 28px; background: var(--superficie); }
.pie-arriba { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 28px; }
.pie .marca svg { height: 48px; }
.fases-pie { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--texto-tenue); margin-top: 10px; }
.pie .correo { display: inline-block; margin-top: 24px; font-size: 17px; text-decoration-color: var(--rosa); text-underline-offset: 4px; }
.telefono-pie { margin-top: 6px; color: var(--texto-suave); font-size: 15px; }
.telefono-pie a { text-decoration: none; }
.telefono-pie a:hover { color: var(--rosa); }
.lugar { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-tenue); margin-top: 10px; }
.titulo-columna { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rosa); margin-bottom: 14px; }
.pie nav ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.pie nav a { color: var(--texto-suave); text-decoration: none; font-size: 15px; }
.pie nav a:hover { color: var(--rosa); }
.pie-empresa { margin-top: 48px; font-size: 13px; color: var(--texto-tenue); }
.pie-abajo { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--borde); font-size: 11px; letter-spacing: 0.08em; color: var(--texto-tenue); }
.pie-abajo nav { display: flex; flex-wrap: wrap; gap: 20px; }
.pie-abajo nav a { font-size: 11px; }
@media (max-width: 980px) {
	.pie-arriba { grid-template-columns: 1fr 1fr; }
	.firma { grid-column: 1 / -1; }
}

/* ---------- Componentes ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: var(--titulos); font-weight: 700; font-size: 17px; line-height: 1.2; padding: 16px 28px; border-radius: 999px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.boton.principal { background: var(--grad); color: #000; box-shadow: 0 10px 40px -10px rgba(255, 65, 145, 0.65); }
.boton.principal:hover { transform: translateY(-2px); box-shadow: 0 16px 48px -12px rgba(255, 65, 145, 0.8); }
.boton.secundario { border: 1.5px solid #fff; color: #fff; }
.boton.secundario:hover { border-color: var(--rosa); color: var(--rosa); }
.botones { display: flex; gap: 14px; flex-wrap: wrap; }
.enlace-flecha { font-family: var(--titulos); font-weight: 700; font-size: 18px; color: var(--rosa); text-decoration: none; }
.enlace-flecha:hover { text-decoration: underline; text-underline-offset: 4px; }

.seccion { position: relative; padding-block: clamp(72px, 11vw, 140px); }
.seccion.oscura { background: var(--superficie); border-block: 1px solid var(--borde); }
.cabeza { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.cabeza .etiqueta { margin-bottom: 18px; }
.cabeza h2 { font-size: clamp(36px, 5.6vw, 68px); }
.cabeza .intro { font-size: clamp(17px, 1.6vw, 19px); color: var(--texto-suave); margin-top: 20px; max-width: 660px; }
.cabeza .intro a, .texto-largo a { text-decoration-color: var(--rosa); text-underline-offset: 3px; }

/* Cabecera de las páginas interiores */
.cabecera-pagina { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.cabecera-pagina .dentro { position: relative; }
.cabecera-pagina .etiqueta { margin-bottom: 18px; }
.cabecera-pagina h1 { font-size: clamp(44px, 7vw, 100px); line-height: 0.95; letter-spacing: -0.05em; max-width: 1000px; }
.cabecera-pagina .sub { font-size: clamp(18px, 1.8vw, 21px); color: var(--texto-suave); max-width: 680px; margin-top: 26px; }
.cabecera-pagina .botones { margin-top: 32px; }
.cabecera-pagina .actualizado { margin-top: 22px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--texto-tenue); }

/* El hilo */
.hilo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hilo path { fill: none; stroke: var(--rosa); stroke-linecap: round; }
.hilo .halo { stroke-width: 22; stroke-opacity: 0.13; }
.hilo .linea { stroke-width: 1.8; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hilo.al-cargar .linea { animation: tc-dibuja 2.6s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards; }
@supports (animation-timeline: view()) {
	.hilo:not(.al-cargar) .linea { animation: tc-dibuja linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
}
@supports not (animation-timeline: view()) {
	.hilo:not(.al-cargar) .linea { stroke-dashoffset: 0; }
}
@keyframes tc-dibuja { to { stroke-dashoffset: 0; } }

/* Migas de pan */
.migas { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--texto-tenue); margin-bottom: 26px; }
.migas ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.migas li + li::before { content: "/"; margin-right: 6px; color: #4a4a52; }
.migas a { text-decoration: none; }
.migas a:hover { color: var(--rosa); }
.migas [aria-current] { color: var(--texto-suave); }

/* Preguntas frecuentes */
.preguntas { border-top: 1px solid var(--borde); }
.preguntas details { border-bottom: 1px solid var(--borde); }
.preguntas summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--titulos); font-weight: 700; font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.02em; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary:hover, .preguntas details[open] summary { color: var(--rosa); }
.signo { position: relative; flex: none; width: 18px; height: 18px; }
.signo::before, .signo::after { content: ""; position: absolute; inset: 8px 0 auto; height: 2px; background: currentColor; transition: transform 0.25s ease; }
.signo::after { transform: rotate(90deg); }
details[open] .signo::after { transform: rotate(0deg); }
.respuesta { color: var(--texto-suave); padding: 0 48px 26px 0; max-width: 780px; }
.respuesta a { text-decoration-color: var(--rosa); text-underline-offset: 3px; }

/* Las cuatro fases */
.fases-envoltorio { position: relative; }
.hilo-fases { inset: -20px 0 auto; height: 180px; }
.fases { position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.fases li { padding-top: 120px; }
.fases .numero { font-family: var(--titulos); font-weight: 700; font-size: 64px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px #5c5c66; display: block; margin-bottom: 18px; }
.fases h3 { font-size: 26px; margin-bottom: 10px; }
.fases p { color: var(--texto-suave); }
.fases .lanza .numero { color: #000; -webkit-text-stroke: 0; background: var(--amarillo); display: inline-block; padding: 4px 14px; border-radius: 12px; }
@media (max-width: 1000px) {
	.fases { grid-template-columns: repeat(2, 1fr); row-gap: 8px; }
	.hilo-fases { display: none; }
	.fases li { padding-top: 24px; }
}
@media (max-width: 560px) { .fases { grid-template-columns: 1fr; } }

/* Cierre */
.cierre { position: relative; overflow: hidden; padding-block: clamp(96px, 14vw, 180px); background: radial-gradient(70% 90% at 50% 100%, rgba(233, 0, 116, 0.22), transparent 70%); text-align: center; }
.cierre .dentro { position: relative; display: flex; flex-direction: column; align-items: center; }
.cierre h2 { font-size: clamp(48px, 9vw, 120px); line-height: 0.95; letter-spacing: -0.045em; }
.cierre p { font-size: clamp(17px, 1.8vw, 20px); color: var(--texto-suave); max-width: 560px; margin: 24px 0 36px; }
.cierre .botones { justify-content: center; }
.cierre .cierre-extra { margin: 26px 0 0; font-size: 15px; }
.cierre .cierre-extra a { color: var(--texto-suave); text-decoration-color: var(--rosa); text-underline-offset: 3px; }

/* Móvil y vídeo */
.telefono { aspect-ratio: 9 / 19; border-radius: 34px; padding: 9px; background: #0f0f12; border: 1px solid #2c2c33; box-shadow: var(--sombra-rosa); }
.telefono .pantalla { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: radial-gradient(120% 70% at 50% 0%, #2a0f1d 0%, #000 62%); }
.telefono .pantalla > * { width: 100%; height: 100%; }
.telefono .pantalla img, .telefono .pantalla video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.video { position: relative; }
.video video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.sonido { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px); color: #fff; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.sonido:hover, .sonido[aria-pressed="true"] { border-color: var(--rosa); color: var(--rosa); }

/* Tarjetas de servicios */
.tarjetas-servicios { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarjetas-servicios a { display: flex; flex-direction: column; height: 100%; padding: 28px 24px 24px; border-radius: var(--radio); background: var(--superficie); border: 1px solid var(--borde); text-decoration: none; transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease; }
.tarjetas-servicios a:hover { border-color: var(--rosa); transform: translateY(-4px); background-color: var(--superficie-2); }
.tarjetas-servicios .especialidad { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rosa); margin-bottom: 14px; }
.tarjetas-servicios h3 { font-size: 22px; margin-bottom: 12px; }
.tarjetas-servicios .texto { color: var(--texto-suave); font-size: 15px; }
.tarjetas-servicios .precio { margin-top: auto; padding-top: 20px; font-size: 11.5px; letter-spacing: 0.06em; color: #fff; }
.tarjetas-servicios .ver { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--rosa); }
@media (max-width: 1000px) { .tarjetas-servicios { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tarjetas-servicios { grid-template-columns: 1fr; } }

/* Tarjetas de proyecto */
.proyectos-rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; align-items: start; }
.proyecto { display: flex; flex-direction: column; }
.proyecto .dentro { display: flex; flex-direction: column; width: 100%; text-decoration: none; }
.proyecto .imagen { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radio); overflow: hidden; background: radial-gradient(90% 90% at 30% 20%, #3a0f25, #0c0c10 70%); border: 1px solid var(--borde); margin-bottom: 18px; display: grid; place-items: center; transition: border-color 0.25s ease; }
.proyecto .imagen img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proyecto .imagen img.vertical { object-position: 50% 45%; }
/* Un vídeo en bucle en lugar de la imagen (el spot, TestMap) */
.proyecto .imagen .video { width: 100%; height: 100%; }
.proyecto .imagen video { width: 100%; height: 100%; object-fit: cover; }
.proyecto .imagen:has(video) { aspect-ratio: 16 / 9; }
.proyecto.enlazada:hover .imagen { border-color: var(--rosa); }
.proyecto.enlazada:hover .imagen img { transform: scale(1.03); }
.proyecto .inicial { font-family: var(--titulos); font-weight: 700; font-size: 110px; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--rosa); }
.proyecto .estado { position: absolute; top: 14px; left: 14px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.7); border: 1px solid var(--borde); }
.proyecto .sector { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rosa); margin-bottom: 8px; }
.proyecto h3 { font-size: 24px; }
.proyecto .hecho { color: var(--texto-suave); margin-top: 8px; }
.proyecto .ver { margin-top: 14px; font-weight: 600; color: var(--rosa); }
.proyecto .estado.amarillo { background: var(--amarillo); color: #000; border-color: transparent; font-weight: 700; }
.proyecto .tipos { margin-top: 12px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texto-tenue); }
.proyecto .externo { margin-top: 10px; }
.enlace-externo { font-size: 14px; font-weight: 600; color: var(--texto-suave); text-decoration: underline; text-decoration-color: var(--rosa); text-underline-offset: 4px; }
.enlace-externo:hover { color: var(--rosa); }
.proyecto.ancha .imagen { aspect-ratio: 16 / 10; }
@media (max-width: 860px) { .proyectos-rejilla { grid-template-columns: 1fr; } }
/* Cuatro proyectos: en una fila; en tableta, de dos en dos */
.proyectos-rejilla.cuatro { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .proyectos-rejilla.cuatro { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .proyectos-rejilla.cuatro { grid-template-columns: minmax(0, 1fr); } }

/* Texto largo (páginas legales y de texto) */
.texto-largo { max-width: 780px; color: var(--texto-suave); font-size: 17px; }
.texto-largo h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin: 48px 0 16px; }
.texto-largo h3 { color: #fff; font-size: 21px; margin: 32px 0 12px; }
.texto-largo p + p, .texto-largo p + ul, .texto-largo ul + p { margin-top: 14px; }
.texto-largo ul { padding-left: 22px; display: grid; gap: 8px; }
.texto-largo strong { color: #fff; }
.texto-largo table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 16px; }
.texto-largo th, .texto-largo td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--borde); vertical-align: top; }
.texto-largo th { color: #fff; font-family: var(--titulos); }
.tabla { overflow-x: auto; }
.seccion-texto { padding-bottom: clamp(72px, 10vw, 120px); }

/* Avisos solo para administradores */
.pendiente { margin: 16px 0; padding: 12px 16px; border: 1px dashed var(--amarillo); border-radius: 12px; color: var(--amarillo); font-family: var(--mono); font-size: 13px; }

@media (max-width: 560px) {
	.botones .boton { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.hilo .linea { animation: none !important; stroke-dashoffset: 0; }
	.asterisco, .asterisco-marca svg, .enviar[aria-busy="true"]::before { animation: none !important; }
	@view-transition { navigation: none; }
}
