/*
Theme Name:   Guía de La Palma
Theme URI:    https://guiadelapalma.com
Author:       Atlantis Nesos
Author URI:   https://atlantisnesos.com
Description:  Tema del directorio Guía de La Palma. Portada con buscador, municipios y mapa; fichas de negocio. Necesita el plugin AN Directorio.
Version:      1.0.0
Requires PHP: 8.1
Requires at least: 6.4
Text Domain:  guiadelapalma
License:      Uso privado
*/

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
	--gdp-acento: #245A40;
	--gdp-oscuro: #1A2B22;
	--gdp-texto: #1A2B22;
	--gdp-texto-2: #4E6156;
	--gdp-fondo: #FFFFFF;
	--gdp-banda: #F4F7F5;
	--gdp-borde: #DCE4DF;
	--gdp-borde-2: #C9D6CE;
	--gdp-icono-bg: #E3EFE8;
	--gdp-chip: #EAF0EC;
	--gdp-mar: #CFE3EC;
	--gdp-abierto: #1E6B3A;
	--gdp-cerrado: #A3342B;
	--gdp-radio: 18px;
	--gdp-sombra: 0 6px 18px rgba(26, 43, 34, 0.08);
	--gdp-ancho: 1240px;
	--gdp-fuente: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--gdp-fuente);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gdp-texto);
	background: var(--gdp-fondo);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gdp-acento); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gdp-oscuro); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gdp-acento); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text, .gdp-sr {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.gdp-saltar:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	position: fixed !important; top: 8px; left: 8px; z-index: 100000;
	background: #fff; color: var(--gdp-texto); padding: 12px 18px; border-radius: 10px; box-shadow: var(--gdp-sombra);
}
.gdp-ico { flex: 0 0 auto; }

.gdp-contenedor { max-width: var(--gdp-ancho); margin: 0 auto; padding: 0 24px; }
.gdp-seccion { padding: 72px 0 24px; }
.gdp-seccion--banda { background: var(--gdp-banda); padding: 72px 0; margin-top: 64px; }
.gdp-cabecera-seccion { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.gdp-cabecera-seccion h2 { font-size: 34px; margin: 0; }
.gdp-cabecera-seccion p { margin: 8px 0 0; color: var(--gdp-texto-2); }
.gdp-enlace-mas { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.gdp-enlace-mas:hover { text-decoration: underline; }

/* ---------- Botones ---------- */
.gdp-boton {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--gdp-acento);
	background: var(--gdp-acento); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer;
}
.gdp-boton:hover { background: var(--gdp-oscuro); border-color: var(--gdp-oscuro); color: #fff; }
.gdp-boton--claro { background: #fff; color: var(--gdp-texto); border-color: var(--gdp-borde-2); }
.gdp-boton--claro:hover { background: var(--gdp-chip); color: var(--gdp-texto); border-color: var(--gdp-borde-2); }

/* ---------- Cabecera ---------- */
.gdp-cabecera { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--gdp-borde); }
.admin-bar .gdp-cabecera { top: 32px; }
@media (max-width: 782px) { .admin-bar .gdp-cabecera { top: 46px; } }
@media (max-width: 600px) { .admin-bar .gdp-cabecera { top: 0; } }
.gdp-cabecera__fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.gdp-marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gdp-texto); }
.gdp-marca img { height: 48px; width: auto; }
.gdp-marca__texto { display: flex; flex-direction: column; line-height: 1.15; }
.gdp-marca__nombre { font-size: 20px; font-weight: 800; }
.gdp-marca__lema { font-size: 13px; color: var(--gdp-texto-2); }
.gdp-menu-boton { display: none; }
.gdp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gdp-nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--gdp-texto); font-weight: 600; font-size: 15px; }
.gdp-nav a:hover { background: var(--gdp-chip); color: var(--gdp-texto); }
.gdp-nav .current-menu-item > a, .gdp-nav .current_page_item > a, .gdp-nav .current-menu-ancestor > a { background: var(--gdp-acento); color: #fff; }
.gdp-nav .sub-menu { display: none; }

@media (max-width: 860px) {
	.gdp-menu-boton {
		display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
		border-radius: 12px; border: 1px solid var(--gdp-borde-2); background: #fff; cursor: pointer; color: var(--gdp-texto);
	}
	.gdp-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--gdp-borde); box-shadow: 0 12px 24px rgba(26,43,34,.12); display: none; }
	.gdp-nav.esta-abierto { display: block; }
	.gdp-nav ul { flex-direction: column; padding: 12px 16px 18px; gap: 2px; }
	.gdp-nav a { padding: 12px 14px; border-radius: 12px; }
	.gdp-marca img { height: 40px; }
}

/* ---------- Hero ---------- */
.gdp-hero { position: relative; display: flex; align-items: center; min-height: 640px; background: var(--gdp-oscuro); color: #fff; overflow: hidden; }
.gdp-hero__fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gdp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 15, 0.45), rgba(10, 20, 15, 0.55)); }
.gdp-hero__contenido { position: relative; z-index: 1; width: 100%; padding: 88px 24px 72px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gdp-hero h1 { font-size: 56px; margin: 0; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.gdp-hero__sub { font-size: 20px; margin: 14px 0 32px; color: #EEF4F0; }
.gdp-hero__rotulo { margin: 44px 0 18px; font-size: 18px; font-weight: 700; }
.gdp-hero__cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; width: 100%; max-width: 900px; }
.gdp-cat-tarjeta {
	display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px;
	background: rgba(255,255,255,.97); border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
	color: var(--gdp-texto); font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .15s ease;
}
.gdp-cat-tarjeta:hover { transform: translateY(-2px); color: var(--gdp-texto); }
.gdp-cat-tarjeta__ico, .gdp-circulo {
	width: 48px; height: 48px; border-radius: 999px; background: var(--gdp-icono-bg); color: var(--gdp-acento);
	display: flex; align-items: center; justify-content: center;
}

/* ---------- Buscador ---------- */
.gdp-buscador {
	display: flex; flex-wrap: wrap; background: #fff; border-radius: 16px; padding: 8px; width: 100%; max-width: 860px;
	text-align: left; box-shadow: 0 18px 40px rgba(0,0,0,.25); color: var(--gdp-texto);
}
.gdp-buscador__campo { flex: 1 1 260px; display: flex; flex-direction: column; padding: 8px 16px; min-width: 0; }
.gdp-buscador__campo + .gdp-buscador__campo { border-left: 1px solid var(--gdp-borde); flex-basis: 200px; }
.gdp-buscador__campo span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gdp-texto-2); }
.gdp-buscador__campo input, .gdp-buscador__campo select { border: 0; outline: 0; font-size: 16px; padding: 6px 0; background: transparent; width: 100%; color: var(--gdp-texto); }
.gdp-buscador__campo:focus-within { box-shadow: inset 0 -2px 0 var(--gdp-acento); }
.gdp-buscador .gdp-boton { min-height: 56px; padding: 0 26px; }
.gdp-buscador--compacto { box-shadow: none; border: 1px solid var(--gdp-borde); max-width: none; }
@media (max-width: 640px) {
	.gdp-buscador__campo + .gdp-buscador__campo { border-left: 0; border-top: 1px solid var(--gdp-borde); }
	.gdp-buscador .gdp-boton { width: 100%; margin-top: 4px; }
}

/* ---------- Tarjetas de municipio ---------- */
.gdp-rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gdp-lugar { display: flex; flex-direction: column; border-radius: var(--gdp-radio); overflow: hidden; border: 1px solid var(--gdp-borde); background: #fff; text-decoration: none; color: var(--gdp-texto); transition: box-shadow .15s ease, transform .15s ease; }
.gdp-lugar:hover { box-shadow: var(--gdp-sombra); transform: translateY(-2px); color: var(--gdp-texto); }
.gdp-lugar__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--gdp-chip); overflow: hidden; }
.gdp-lugar__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gdp-lugar__pie { padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gdp-lugar__nombre { font-size: 18px; font-weight: 700; }
.gdp-insignia { font-size: 13px; font-weight: 700; color: var(--gdp-texto); background: var(--gdp-chip); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- Tarjeta de ficha ---------- */
.gdp-ficha-t { display: flex; flex-direction: column; background: #fff; border-radius: var(--gdp-radio); overflow: hidden; border: 1px solid var(--gdp-borde); position: relative; transition: box-shadow .15s ease, transform .15s ease; }
.gdp-ficha-t:hover { box-shadow: var(--gdp-sombra); transform: translateY(-2px); }
.gdp-ficha-t__img { position: relative; aspect-ratio: 16 / 10; background: var(--gdp-chip); }
.gdp-ficha-t__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gdp-ficha-t__logo { position: absolute; left: 14px; bottom: -22px; width: 48px; height: 48px; border-radius: 999px; background: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); overflow: hidden; }
.gdp-ficha-t__logo img { width: 100%; height: 100%; object-fit: contain; }
.gdp-ficha-t__cuerpo { padding: 30px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.gdp-etq { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gdp-acento); }
.gdp-ficha-t__titulo { font-size: 18px; font-weight: 800; margin: 0; }
.gdp-ficha-t__titulo a { color: var(--gdp-texto); text-decoration: none; }
.gdp-ficha-t__titulo a::after { content: ""; position: absolute; inset: 0; }
.gdp-ficha-t__dato { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gdp-texto-2); }

.gdp-estado { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.gdp-estado::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.gdp-estado[hidden] { display: none; }
.gdp-estado.es-abierto { color: var(--gdp-abierto); }
.gdp-estado.es-cerrado { color: var(--gdp-cerrado); }

/* ---------- Bloque lista + mapa ---------- */
.gdp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.gdp-chip {
	display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 0 8px 0 16px; min-height: 44px;
	font-size: 14px; font-weight: 700; cursor: pointer; background: #fff; color: var(--gdp-texto); border: 1px solid var(--gdp-borde-2); text-decoration: none;
}
.gdp-chip:hover { background: var(--gdp-chip); color: var(--gdp-texto); }
.gdp-chip[aria-pressed="true"], .gdp-chip.es-actual { background: var(--gdp-acento); border-color: var(--gdp-acento); color: #fff; }
.gdp-chip__n { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 9px; background: var(--gdp-chip); color: var(--gdp-texto); }
.gdp-chip[aria-pressed="true"] .gdp-chip__n, .gdp-chip.es-actual .gdp-chip__n { background: #fff; color: var(--gdp-acento); }
.gdp-chip--sin-n { padding-right: 16px; }

.gdp-mapalista { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin-top: 20px; }
.gdp-mapalista__lista { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; max-height: 640px; overflow-y: auto; padding: 2px 6px 2px 2px; }
.gdp-mapalista__total { font-size: 14px; color: var(--gdp-texto-2); font-weight: 600; margin: 0; }
.gdp-mapalista__mapa { flex: 999 1 520px; min-width: 0; position: sticky; top: 100px; height: 640px; border-radius: 22px; overflow: hidden; background: var(--gdp-mar); border: 1px solid #BFD3DC; z-index: 0; }
.gdp-mapalista__vacio { padding: 24px; border: 1px dashed var(--gdp-borde-2); border-radius: 16px; color: var(--gdp-texto-2); text-align: center; }
@media (max-width: 960px) {
	.gdp-mapalista__mapa { position: relative; top: 0; height: 420px; order: -1; }
	.gdp-mapalista__lista { max-height: none; overflow: visible; }
}

.gdp-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 2px solid var(--gdp-borde); position: relative; transition: border-color .15s ease; }
.gdp-item.esta-activo { border-color: var(--gdp-acento); }
.gdp-item[hidden] { display: none; }
.gdp-item__img { width: 104px; height: 88px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: var(--gdp-chip); }
.gdp-item__img img { width: 100%; height: 100%; object-fit: cover; }
.gdp-item__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.gdp-item__titulo { font-size: 17px; font-weight: 800; margin: 0; }
.gdp-item__titulo a { color: var(--gdp-texto); text-decoration: none; }
.gdp-item__titulo a:hover { text-decoration: underline; }
.gdp-item__meta { font-size: 14px; color: var(--gdp-texto-2); }
.gdp-item__ver { align-self: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--gdp-borde-2); background: #fff; color: var(--gdp-acento); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gdp-item__ver:hover { background: var(--gdp-chip); }
.gdp-item__ver:disabled { opacity: .35; cursor: default; }

/* Marcadores y ventanas del mapa */
.gdp-marca-mapa { background: none; border: 0; display: flex !important; align-items: center; justify-content: center; }
.gdp-marca-mapa span {
	display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px;
	background: #fff; color: var(--gdp-acento); border: 2px solid var(--gdp-acento); box-shadow: 0 4px 12px rgba(26,43,34,.3);
	transition: all .15s ease;
}
.gdp-marca-mapa.esta-activo span { width: 48px; height: 48px; background: var(--gdp-acento); color: #fff; border: 3px solid #fff; }
.leaflet-container { font-family: var(--gdp-fuente); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content { margin: 12px 14px; }
.gdp-popup { display: flex; gap: 12px; align-items: center; min-width: 220px; }
.gdp-popup img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.gdp-popup strong { display: block; font-size: 15px; line-height: 1.2; }
.gdp-popup span { display: block; font-size: 13px; color: var(--gdp-texto-2); margin: 2px 0 6px; }
.gdp-popup a { font-weight: 800; font-size: 14px; }

/* ---------- Cabecera de archivo ---------- */
.gdp-banda-titulo { position: relative; background: var(--gdp-oscuro); color: #fff; overflow: hidden; }
.gdp-banda-titulo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.gdp-banda-titulo .gdp-contenedor { position: relative; padding-top: 56px; padding-bottom: 48px; }
.gdp-banda-titulo h1 { font-size: 44px; margin: 0; color: #fff; }
.gdp-banda-titulo p { margin: 10px 0 0; color: #E3ECE6; max-width: 720px; }
.gdp-migas { font-size: 14px; margin-bottom: 14px; color: #CFDDD4; }
.gdp-migas a { color: #fff; }
.gdp-migas--claro { color: var(--gdp-texto-2); }
.gdp-migas--claro a { color: var(--gdp-acento); }

/* ---------- Ficha ---------- */
.gdp-ficha { padding: 28px 0 72px; }
.gdp-galeria { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 10px; border-radius: 22px; overflow: hidden; margin-bottom: 28px; }
.gdp-galeria__item { position: relative; background: var(--gdp-chip); border: 0; padding: 0; cursor: zoom-in; overflow: hidden; }
.gdp-galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gdp-galeria__item:hover img { transform: scale(1.03); }
.gdp-galeria__item:first-child { grid-row: span 2; }
.gdp-galeria--1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.gdp-galeria--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 420px; }
.gdp-galeria--2 .gdp-galeria__item:first-child { grid-row: auto; }
.gdp-galeria--3 { grid-template-columns: 2fr 1fr; }
.gdp-galeria__mas { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); color: var(--gdp-texto); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 760px) {
	.gdp-galeria, .gdp-galeria--3 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
	.gdp-galeria__item:first-child { grid-column: span 2; grid-row: auto; }
	.gdp-galeria__item:nth-child(n+4) { display: none; }
	.gdp-galeria--1, .gdp-galeria--2 { grid-template-columns: 1fr; grid-template-rows: 260px; }
	.gdp-galeria--2 .gdp-galeria__item:nth-child(2) { display: none; }
}

.gdp-ficha__cab { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.gdp-ficha__id { display: flex; gap: 18px; align-items: center; min-width: 0; }
.gdp-ficha__logo { width: 84px; height: 84px; border-radius: 999px; overflow: hidden; border: 1px solid var(--gdp-borde); background: #fff; flex: 0 0 auto; }
.gdp-ficha__logo img { width: 100%; height: 100%; object-fit: contain; }
.gdp-ficha h1 { font-size: 40px; margin: 0; }
.gdp-ficha__lema { margin: 4px 0 0; font-size: 18px; color: var(--gdp-texto-2); }
.gdp-ficha__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }
.gdp-ficha__chips a, .gdp-ficha__chips span.gdp-insignia { text-decoration: none; }
.gdp-acciones { display: flex; flex-wrap: wrap; gap: 10px; }

.gdp-ficha__cuerpo { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.gdp-ficha__principal { flex: 999 1 560px; min-width: 0; }
.gdp-ficha__lateral { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
@media (max-width: 960px) { .gdp-ficha__lateral { position: static; } .gdp-ficha h1 { font-size: 32px; } }
.gdp-bloque { margin-bottom: 36px; }
.gdp-bloque h2 { font-size: 24px; margin-bottom: 14px; }
.gdp-texto { font-size: 17px; }
.gdp-texto > *:last-child { margin-bottom: 0; }
.gdp-caja { background: #fff; border: 1px solid var(--gdp-borde); border-radius: var(--gdp-radio); padding: 20px; }
.gdp-caja h2 { font-size: 18px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.gdp-lista-datos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gdp-lista-datos li { display: flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.gdp-lista-datos .gdp-ico { color: var(--gdp-acento); margin-top: 2px; }
.gdp-redes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.gdp-redes a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--gdp-borde-2); display: inline-flex; align-items: center; justify-content: center; color: var(--gdp-acento); }
.gdp-redes a:hover { background: var(--gdp-chip); }
.gdp-horario { width: 100%; border-collapse: collapse; font-size: 15px; }
.gdp-horario th, .gdp-horario td { padding: 7px 0; border-bottom: 1px solid var(--gdp-banda); text-align: left; font-weight: 500; }
.gdp-horario td { text-align: right; color: var(--gdp-texto-2); }
.gdp-horario tr.es-hoy th, .gdp-horario tr.es-hoy td { font-weight: 800; color: var(--gdp-texto); }
.gdp-minimapa { height: 240px; border-radius: 14px; overflow: hidden; background: var(--gdp-mar); margin-bottom: 12px; z-index: 0; }
.gdp-caracteristicas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; }
.gdp-caracteristicas li { display: flex; gap: 8px; align-items: center; }
.gdp-caracteristicas .gdp-ico { color: var(--gdp-acento); }
.gdp-etiquetas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gdp-etiquetas a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--gdp-chip); color: var(--gdp-texto); text-decoration: none; font-size: 14px; font-weight: 600; }
.gdp-faq details { border: 1px solid var(--gdp-borde); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.gdp-faq summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.gdp-faq summary::-webkit-details-marker { display: none; }
.gdp-faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--gdp-acento); }
.gdp-faq details[open] summary::after { content: "–"; }
.gdp-faq__r { padding: 0 18px 16px; color: var(--gdp-texto-2); white-space: pre-line; }
.gdp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.gdp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Visor de imágenes */
.gdp-visor { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.gdp-visor::backdrop { background: rgba(10, 16, 12, .92); }
.gdp-visor__marco { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.gdp-visor img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; }
.gdp-visor button { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(255,255,255,.95); color: var(--gdp-texto); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gdp-visor__cerrar { top: 16px; right: 16px; }
.gdp-visor__ant { left: 16px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.gdp-visor__sig { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .gdp-visor__marco { padding: 64px 12px; } .gdp-visor__ant, .gdp-visor__sig { top: auto; bottom: 16px; transform: none; } .gdp-visor__ant { transform: scaleX(-1); } }

/* ---------- Páginas ---------- */
.gdp-pagina { padding: 48px 0 72px; }
.gdp-pagina__cuerpo { max-width: 800px; }
.gdp-pagina h1 { font-size: 40px; }
.gdp-texto h2 { font-size: 26px; margin-top: 1.4em; }
.gdp-texto h3 { font-size: 20px; margin-top: 1.2em; }
.gdp-texto ul, .gdp-texto ol { padding-left: 1.3em; }
.gdp-texto blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 4px solid var(--gdp-acento); color: var(--gdp-texto-2); }
.gdp-aviso-vacio { padding: 20px; border-radius: 14px; background: var(--gdp-banda); color: var(--gdp-texto-2); }

.gdp-cats-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gdp-cat-bloque { border: 1px solid var(--gdp-borde); border-radius: var(--gdp-radio); padding: 20px; background: #fff; }
.gdp-cat-bloque__cab { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--gdp-texto); }
.gdp-cat-bloque__cab strong { font-size: 19px; display: block; }
.gdp-cat-bloque__cab span { font-size: 14px; color: var(--gdp-texto-2); }
.gdp-cat-bloque ul { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--gdp-banda); display: flex; flex-wrap: wrap; gap: 8px; }
.gdp-cat-bloque ul a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--gdp-chip); color: var(--gdp-texto); text-decoration: none; font-size: 14px; font-weight: 600; }

.gdp-paginacion { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.gdp-paginacion .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--gdp-borde-2); text-decoration: none; color: var(--gdp-texto); padding: 0 12px; }
.gdp-paginacion .current { background: var(--gdp-acento); color: #fff; border-color: var(--gdp-acento); }

/* ---------- Pie ---------- */
.gdp-pie { background: var(--gdp-oscuro); color: #CBD8D0; }
.gdp-pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding: 56px 0; }
.gdp-pie__marca { display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.gdp-pie__nombre { font-size: 22px; font-weight: 800; color: #fff; }
.gdp-pie ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.gdp-pie a { color: #CBD8D0; text-decoration: none; }
.gdp-pie a:hover { color: #fff; text-decoration: underline; }
.gdp-pie__contacto { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.gdp-pie__copy { border-top: 1px solid #2A4235; padding: 18px 24px; text-align: center; font-size: 13px; color: #A6B7AD; }

@media (max-width: 640px) {
	.gdp-hero { min-height: 0; }
	.gdp-hero__contenido { padding: 56px 16px 48px; }
	.gdp-hero h1 { font-size: 38px; }
	.gdp-hero__sub { font-size: 17px; }
	.gdp-hero__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gdp-contenedor { padding: 0 16px; }
	.gdp-seccion { padding-top: 48px; }
	.gdp-seccion--banda { padding: 48px 0; margin-top: 48px; }
	.gdp-cabecera-seccion h2 { font-size: 28px; }
	.gdp-banda-titulo h1 { font-size: 32px; }
	.gdp-item__img { width: 84px; height: 76px; }
}

@media (max-width: 640px) {
	.gdp-rejilla--lugares { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gdp-rejilla--lugares .gdp-lugar__pie { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; }
	.gdp-rejilla--lugares .gdp-lugar__nombre { font-size: 15px; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
