/* Golf Municipal de Llanes — estilos de las plantillas.
   Todo cuelga de .gm. El script de compilación antepone ".gm " a los selectores .gm-*
   para que ganen siempre al CSS de Hello Elementor y de Elementor. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

.gm {
	--mar: #0e3142;
	--verde: #ade166;
	--verde-osc: #2d6a2a;
	--niebla: #eef3ee;
	--papel: #ffffff;
	--tinta: #10212a;
	--negro: #111111;
	--linea: rgba(14, 49, 66, 0.2);
	--radio: 0.4rem;
	--titulos: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--texto: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ancho: 75rem;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--seccion: clamp(3.75rem, 8vw, 7.5rem);

	font-family: var(--texto);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--tinta);
	background: var(--papel);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.gm *, .gm *::before, .gm *::after { box-sizing: border-box; }
.gm img { display: block; max-width: 100%; height: auto; border: 0; }
.gm a { color: inherit; background: transparent; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
.gm a:hover { color: inherit; text-decoration-thickness: 0.16em; }
.gm :focus-visible { outline: 3px solid var(--mar); outline-offset: 3px; }
.gm h1, .gm h2, .gm h3, .gm p.gm-h1 { font-family: var(--titulos); color: inherit; margin: 0; font-weight: 700; text-wrap: balance; }
.gm p { margin: 0 0 1em; text-wrap: pretty; }
.gm ul, .gm ol, .gm dl, .gm dd, .gm figure { margin: 0; padding: 0; }
.gm li { list-style: none; }
.gm table { margin: 0; }
.gm h1, .gm p.gm-h1 { font-size: clamp(2.8rem, 1.4rem + 5.4vw, 6rem); line-height: 0.96; letter-spacing: -0.035em; }
.gm h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem); line-height: 1.06; letter-spacing: -0.025em; }
.gm h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 650; }

.gm .gm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gm .gm-nw { white-space: nowrap; }
.gm .gm-wrap { width: 100%; max-width: calc(var(--ancho) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.gm .gm-lead { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem); line-height: 1.45; max-width: 36ch; margin: 1.5rem 0 0; }
.gm .gm-tel { white-space: nowrap; }
.gm .gm-pila { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.gm .gm-mail { overflow-wrap: anywhere; }

/* Secciones */
.gm-sec { padding-block: var(--seccion); }
.gm .gm-sec--niebla { background: var(--niebla); }
.gm .gm-sec--mar { background: var(--mar); color: #fff; }
.gm .gm-sec--mar :focus-visible, .gm .gm-hero :focus-visible, .gm .gm-hoyo :focus-visible, .gm .gm-pano :focus-visible, .gm .gm-tile :focus-visible { outline-color: var(--verde); }
.gm .gm-sec__cab { max-width: 42rem; margin-bottom: clamp(2rem, 4.5vw, 3.25rem); }
.gm .gm-sec__cab p { margin: 1.1rem 0 0; font-size: 1.15rem; }
.gm .gm-nota { font-size: 0.92rem; line-height: 1.5; color: rgba(16, 33, 42, 0.76); margin: 0.9rem 0 0; padding-inline: 0.25rem; max-width: 62ch; }
.gm .gm-sec--mar .gm-nota { color: rgba(255, 255, 255, 0.8); }

/* Botones: borde y texto negros, fondo blanco; el verde aparece al pasar por encima */
.gm .gm-btn {
	display: inline-flex; align-items: center; justify-content: center; text-align: center;
	min-height: 3rem; padding: 0.65rem 1.5rem;
	font: 600 1rem/1.2 var(--texto);
	color: var(--negro); background: #fff;
	border: 2px solid var(--negro); border-radius: 0.25rem;
	text-decoration: none !important; cursor: pointer;
	transition: background-color 0.2s, transform 0.2s;
}
.gm .gm-btn:hover, .gm .gm-btn:focus-visible { background: var(--verde); color: var(--negro); }
.gm .gm-btn:active { transform: translateY(1px); }
.gm .gm-btn--claro { background: transparent; color: #fff; border-color: #fff; }
.gm .gm-btn--claro:hover, .gm .gm-btn--claro:focus-visible { background: var(--verde); color: var(--negro); border-color: var(--verde); }
.gm .gm-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.9rem; }
@media (max-width: 30rem) { .gm .gm-btns { flex-direction: column; align-items: stretch; } }

/* Aparición al entrar y salir de pantalla (solo si hay JavaScript) */
.gm.gm-js .gm-rv { opacity: 0; transform: translateY(2.4rem) scale(0.97); transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.gm.gm-js .gm-rv.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Portada */
.gm-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(36rem, 92svh, 58rem); color: #fff; background: var(--mar); isolation: isolate; overflow: hidden; }
.gm .gm-hero__fotos { position: absolute; inset: 0; z-index: -2; }
.gm .gm-hero__foto { position: absolute; inset: 0; opacity: 0; animation: gm-fundido 28s linear infinite both; animation-delay: calc(var(--n) * 7s - 1.1s); }
.gm .gm-hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.gm .gm-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 49, 66, 0.94) 0%, rgba(14, 49, 66, 0.66) 42%, rgba(14, 49, 66, 0.12) 80%); }
.gm .gm-hero__in { padding-block: clamp(3rem, 7vw, 6rem) clamp(6rem, 10vw, 8.5rem); position: relative; }
.gm .gm-hero h1 { font-size: clamp(3.2rem, 1rem + 10vw, 9rem); line-height: 0.92; letter-spacing: -0.045em; max-width: 10ch; }
.gm .gm-linea { display: block; overflow: hidden; padding-bottom: 0.08em; }
.gm .gm-linea > span { display: block; animation: gm-sube 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.15s + var(--l, 0) * 0.14s); }
.gm .gm-hero__lead { max-width: 36ch; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.4; margin: 1.5rem 0 0; animation: gm-entra 1s ease both 0.6s; }
.gm .gm-hero .gm-btns { animation: gm-entra 1s ease both 0.8s; }
.gm .gm-hero__lado { position: absolute; right: var(--gutter); bottom: clamp(5rem, 9vw, 7.5rem); display: flex; align-items: flex-end; gap: 1rem; }
.gm .gm-bandera { width: clamp(4.5rem, 9vw, 7.5rem); height: auto; overflow: visible; }
.gm .gm-bandera__tela { transform-origin: 40px 36px; animation: gm-ondea var(--viento, 2.6s) ease-in-out infinite alternate; }
.gm .gm-clima { margin: 0 0 0.6rem; padding: 0.7rem 0.95rem; background: rgba(14, 49, 66, 0.78); border-radius: var(--radio); font-size: 0.92rem; line-height: 1.4; }
.gm .gm-viento__flecha { display: inline-block; }
.gm .gm-aviso { background: var(--verde); color: var(--negro); text-align: center; padding: 0.8rem var(--gutter); font-weight: 600; }
.gm .gm-aviso p { margin: 0; }

@keyframes gm-fundido { 0% { opacity: 0; transform: scale(1.09); } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes gm-sube { from { transform: translateY(105%); } to { transform: none; } }
@keyframes gm-entra { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes gm-ondea { from { transform: skewY(-7deg) scaleX(1); } to { transform: skewY(8deg) scaleX(0.84); } }

/* Tarjeta de datos, como una tarjeta de golf */
.gm-tarjeta { position: relative; z-index: 2; margin-top: -3.5rem; }
.gm .gm-tarjeta__rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--mar); border: 1px solid var(--mar); border-radius: var(--radio); overflow: hidden; box-shadow: 0 1.2rem 2.4rem -1.2rem rgba(14, 49, 66, 0.55); }
@media (min-width: 40rem) { .gm .gm-tarjeta__rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 75rem) { .gm .gm-tarjeta__rejilla { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gm .gm-tarjeta__celda { background: #fff; padding: 0.95rem 1rem 1rem; }
.gm .gm-tarjeta__celda strong { display: block; font: 700 clamp(1.3rem, 1rem + 1.1vw, 1.7rem)/1.05 var(--titulos); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.gm .gm-tarjeta__celda span { display: block; margin-top: 0.4rem; font-size: 0.8rem; line-height: 1.3; color: rgba(16, 33, 42, 0.8); }
@media (min-width: 40rem) { .gm .gm-tarjeta__celda { padding: 1.1rem 1.2rem 1.15rem; } .gm .gm-tarjeta__celda span { font-size: 0.86rem; } }

/* Texto + foto */
.gm-dos { display: grid; gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 56rem) {
	.gm .gm-dos { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.gm .gm-dos--inv { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
	.gm .gm-dos--inv > :first-child { order: 2; }
}
.gm .gm-dos p { max-width: 58ch; }
.gm .gm-dos h2 { margin-bottom: 1.4rem; }
.gm .gm-foto { border-radius: var(--radio); overflow: hidden; }
.gm .gm-foto img { width: 100%; height: auto; }
.gm .gm-foto--par { position: relative; aspect-ratio: 4 / 3; }

/* Parallax suave */
.gm-par { position: relative; overflow: hidden; }
.gm .gm-par img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* Hoyo destacado: el panel azul ocupa toda la mitad */
.gm-hoyo { display: grid; background: var(--mar); color: #fff; }
.gm .gm-hoyo__foto { min-height: 22rem; }
.gm .gm-hoyo__texto { display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; padding: clamp(2.25rem, 5vw, 4.5rem); }
.gm .gm-hoyo__num { font: 700 clamp(6rem, 17vw, 14rem)/0.78 var(--titulos); letter-spacing: -0.06em; color: var(--verde); font-variant-numeric: tabular-nums; }
.gm .gm-hoyo h2 { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.6rem); line-height: 1; margin-bottom: 1.25rem; }
.gm .gm-hoyo p { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); line-height: 1.45; max-width: none; margin: 0; }
@media (min-width: 56rem) { .gm .gm-hoyo { grid-template-columns: 1fr 1fr; min-height: 40rem; } }

/* Franja de un hoyo con nombre de homenaje y sin foto */
.gm-solo { background: var(--verde); color: var(--negro); }
.gm .gm-solo__in { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.gm .gm-solo__num { flex: none; font: 700 clamp(6rem, 15vw, 11rem)/0.78 var(--titulos); letter-spacing: -0.06em; color: var(--mar); font-variant-numeric: tabular-nums; }
.gm .gm-solo h2 { font-size: clamp(2.1rem, 1rem + 3.4vw, 4rem); line-height: 1.02; margin: 0; }
.gm .gm-solo h2 small { display: block; margin-bottom: 0.7rem; font: 600 0.95rem/1 var(--texto); letter-spacing: 0.14em; text-transform: uppercase; }
.gm .gm-solo p { margin: 1rem 0 0; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.45; max-width: 46rem; }

/* Servicios en mosaico con foto */
.gm-servicios { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .gm .gm-servicios { grid-template-columns: 1fr 1fr; } .gm .gm-tile--ancha { grid-column: span 2; } }
@media (min-width: 64rem) { .gm .gm-servicios { grid-template-columns: repeat(4, 1fr); } }
.gm .gm-tile { position: relative; overflow: hidden; min-height: 18rem; background: var(--mar); color: #fff; border-radius: var(--radio); isolation: isolate; }
.gm .gm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gm .gm-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 49, 66, 0.9) 0%, rgba(14, 49, 66, 0.15) 62%); }
.gm .gm-tile:hover img { transform: scale(1.07); }
.gm .gm-tile__texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.35rem 1.4rem 1.5rem; }
.gm .gm-tile h3 { font-size: 1.4rem; }
.gm .gm-tile p { margin: 0.35rem 0 0; font-size: 0.98rem; }
.gm .gm-icono { display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0.7rem; margin-bottom: 0.9rem; border-radius: 50%; background: var(--verde); color: var(--mar); box-sizing: border-box; }
.gm .gm-tile--ancha { min-height: 18rem; }

/* Cinta de fotos */
.gm-cinta-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; }
.gm .gm-cinta-cab h2 { max-width: 16ch; }
.gm .gm-cinta-mando { display: flex; gap: 0.6rem; }
.gm .gm-cinta-mando button { display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; font: 600 1.4rem/1 var(--texto); color: var(--negro); background: #fff; border: 2px solid var(--negro); border-radius: 50%; cursor: pointer; transition: background-color 0.2s; }
.gm .gm-cinta-mando button:hover { background: var(--verde); color: var(--negro); }
.gm .gm-cinta { display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 1.5rem; scrollbar-width: thin; }
.gm .gm-cinta li { flex: 0 0 min(80vw, 24rem); scroll-snap-align: start; }
.gm .gm-cinta img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); }
@media (min-width: 40rem) { .gm .gm-cinta li:nth-child(even) { margin-top: 2.5rem; } }

/* Panorámica */
.gm-pano { position: relative; color: #fff; isolation: isolate; background: var(--mar); min-height: clamp(20rem, 44vw, 34rem); display: flex; align-items: center; }
.gm .gm-pano .gm-par { position: absolute; inset: 0; z-index: -2; }
.gm .gm-pano::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 49, 66, 0.85), rgba(14, 49, 66, 0) 70%); }
.gm .gm-pano__texto { padding-block: 3rem; }
.gm .gm-pano h2 { max-width: 13ch; }

/* ------------------------------------------------------------ Tablas */
.gm-tabla-bloque { margin-bottom: 2.75rem; min-width: 0; }
.gm .gm-tabla-bloque h3 { margin-bottom: 0.9rem; }
.gm .gm-tabla-scroll { overflow-x: auto; background: #fff; color: var(--tinta); border: 1px solid var(--linea); border-radius: 0.55rem; box-shadow: 0 1rem 2rem -1.4rem rgba(14, 49, 66, 0.5); }
.gm .gm-tabla { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; background: transparent; }
.gm .gm-tabla th, .gm .gm-tabla td { padding: 1rem 1.5rem; border: 0; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: middle; color: inherit; background: #fff; }
.gm .gm-tabla thead th { background: var(--mar); color: #fff; border-bottom: 0; font-weight: 600; font-size: 0.92rem; line-height: 1.3; vertical-align: bottom; }
.gm .gm-tabla tbody th { font-weight: 600; position: sticky; left: 0; min-width: 8rem; }
.gm .gm-tabla thead th:first-child { position: sticky; left: 0; }
.gm .gm-tabla tbody tr:nth-child(even) > * { background: #f4f8f2; }
.gm .gm-tabla tbody tr:hover > * { background: #e6f4cf; }
.gm .gm-tabla tbody tr:last-child > * { border-bottom: 0; }
.gm .gm-tabla thead .gm-grupo { text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.gm .gm-tabla thead tr + tr th { border-top: 0; }
.gm .gm-tabla .gm-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gm .gm-tabla tbody td { font-weight: 600; }
.gm .gm-tabla thead .gm-num { white-space: normal; min-width: 6.75rem; font-weight: 500; }

/* Pestañas */
.gm-tabs { display: flex; gap: 0.6rem; margin-bottom: 2.75rem; flex-wrap: wrap; }
.gm .gm-tabs[hidden] { display: none; }
.gm .gm-tab { font: 600 1rem/1.2 var(--texto); padding: 0.8rem 1.5rem; min-height: 3rem; color: var(--negro); background: #fff; border: 2px solid var(--negro); border-radius: 0.25rem; cursor: pointer; transition: background-color 0.2s; }
.gm .gm-tab:hover { background: var(--verde); }
.gm .gm-tab[aria-selected="true"] { background: var(--negro); color: #fff; }
.gm .gm-panel[hidden] { display: none; }
.gm .gm-panel > h2 { margin-bottom: 2rem; }
.gm .gm-tablas-rejilla { display: grid; gap: 0 clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 64rem) { .gm .gm-tablas-rejilla { grid-template-columns: 1fr 1fr; } }
.gm .gm-tablas-rejilla > .gm-tabla-bloque { min-width: 0; }

.gm .gm-temporadas { display: grid; gap: 1.25rem 3rem; }
.gm .gm-temporadas h3 { margin-bottom: 0.3rem; }
.gm .gm-temporadas p { margin: 0; }

/* ------------------------------------------------------------ Páginas interiores */
.gm-apertura { position: relative; isolation: isolate; overflow: hidden; background: var(--niebla); padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.gm .gm-apertura__fondo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gm .gm-apertura__fondo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.gm .gm-apertura__in { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .gm .gm-apertura__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.gm .gm-apertura__fotos { position: relative; padding-bottom: 3rem; }
.gm .gm-apertura__a img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radio); }
.gm .gm-apertura__b { position: absolute; left: 1rem; bottom: 0; width: 38%; }
.gm .gm-apertura__b img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 0.4rem solid var(--niebla); border-radius: var(--radio); }
@media (min-width: 56rem) { .gm .gm-apertura__b { left: -2.5rem; } }

.gm .gm-horas { display: grid; gap: 1px; background: var(--mar); border: 1px solid var(--mar); border-radius: var(--radio); overflow: hidden; max-width: 34rem; }
.gm .gm-horas > div { background: #fff; padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.25rem; flex-wrap: wrap; }
.gm .gm-horas dt { font-weight: 500; }
.gm .gm-horas dd { font: 700 1.8rem/1 var(--titulos); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }

.gm .gm-datos { display: grid; gap: 1.6rem 2.5rem; margin: 1.6rem 0 0; }
@media (min-width: 40rem) { .gm .gm-datos { grid-template-columns: 1fr 1fr; } }
.gm .gm-datos > div { min-width: 0; }
.gm .gm-datos dt { font-weight: 600; font-size: 0.95rem; color: var(--verde-osc); margin-bottom: 0.25rem; }
.gm .gm-datos dd { font-size: 1.1rem; line-height: 1.5; }
.gm .gm-sec--mar .gm-datos dt { color: var(--verde); }

.gm .gm-docs { margin-bottom: 2.25rem; }
.gm .gm-docs h3 { margin-bottom: 0.6rem; }
.gm .gm-docs li { border-top: 1px solid var(--linea); }
.gm .gm-docs a { display: block; padding: 0.85rem 0.25rem; text-decoration: none; font-weight: 500; transition: padding 0.2s, background-color 0.2s; }
.gm .gm-docs a:hover { background: var(--verde); padding-inline: 0.9rem; }
.gm .gm-docs a::after { content: " ↗"; }
.gm .gm-docs-rejilla { display: grid; gap: 0 clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 56rem) { .gm .gm-docs-rejilla { grid-template-columns: repeat(3, 1fr); } }
.gm .gm-docs-rejilla--2 { }
@media (min-width: 56rem) { .gm .gm-docs-rejilla--2 { grid-template-columns: repeat(2, 1fr); } }

.gm .gm-ficha { display: grid; border-top: 2px solid var(--mar); }
.gm .gm-ficha > div { display: grid; gap: 0.2rem 2rem; padding: 1rem 0.25rem; border-bottom: 1px solid var(--linea); }
@media (min-width: 40rem) { .gm .gm-ficha > div { grid-template-columns: 10.5rem 1fr; } }
.gm .gm-ficha dt { font-weight: 600; }

/* ------------------------------------------------------------ Tarjeta de hoyos */
.gm .gm-hoyos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; min-width: 0; }
.gm .gm-hoyos__ctl[hidden], .gm .gm-calc[hidden] { display: none; }
.gm .gm-hoyos__lbl { font-weight: 600; margin: 0 0 0.65rem; }
.gm .gm-barras { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gm .gm-barra-btn { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0.6rem 1.1rem; font: 600 1rem/1.2 var(--texto); color: var(--negro); background: #fff; border: 2px solid var(--negro); border-radius: 0.25rem; cursor: pointer; transition: background-color 0.2s; }
.gm .gm-barra-btn small { font: 500 0.85rem/1 var(--texto); opacity: 0.75; font-variant-numeric: tabular-nums; }
.gm .gm-barra-btn:hover, .gm .gm-barra-btn:focus-visible { background: var(--verde); color: var(--negro); }
.gm .gm-barra-btn[aria-pressed="true"] { background: var(--negro); color: #fff; }
.gm .gm-barra-btn[aria-pressed="true"] .gm-dot { border-color: #fff; }

.gm .gm-dot { display: inline-block; flex: none; width: 0.8rem; height: 0.8rem; margin-right: 0.4rem; border-radius: 50%; border: 1.5px solid var(--negro); vertical-align: -0.05em; }
.gm .gm-barra-btn .gm-dot { margin-right: 0; }
.gm .gm-dot--0 { background: #fff; }
.gm .gm-dot--1 { background: #f4cf3d; }
.gm .gm-dot--2 { background: #4f86d6; }
.gm .gm-dot--3 { background: #e0523c; }

.gm .gm-tarj-rejilla { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 64rem) { .gm .gm-tarj-rejilla { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.gm .gm-tarj { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.98rem; font-variant-numeric: tabular-nums; }
.gm .gm-tarj caption { text-align: left; font: 700 1.2rem/1.2 var(--titulos); padding: 1rem 0.85rem 0.8rem; color: var(--tinta); background: #fff; }
.gm .gm-tarj th, .gm .gm-tarj td { padding: 0.62rem 0.75rem; border: 0; border-bottom: 1px solid var(--linea); text-align: left; vertical-align: middle; color: inherit; background: #fff; }
.gm .gm-tarj thead th { background: var(--mar); color: #fff; border-bottom: 0; font-weight: 600; font-size: 0.85rem; line-height: 1.2; white-space: nowrap; }
.gm .gm-tarj thead .gm-dot { border-color: #fff; }
.gm .gm-tarj .gm-num { text-align: right; white-space: nowrap; }
.gm .gm-tarj-rejilla > .gm-tabla-scroll { position: relative; min-width: 0; }
@media (max-width: 30rem) {
	.gm .gm-tarj th, .gm .gm-tarj td { padding: 0.55rem 0.4rem; }
	.gm .gm-tarj thead th { font-size: 0.78rem; }
	.gm .gm-tarj caption { padding-inline: 0.5rem; }
	.gm .gm-tarj tbody th.gm-hn { width: 2.4rem; }
}
.gm .gm-tarj tbody th.gm-hn { font: 700 1.1rem/1 var(--titulos); width: 3.25rem; }
.gm .gm-tarj tbody tr:nth-child(even) > * { background: #f4f8f2; }
.gm .gm-tarj tbody tr:hover > * { background: #e6f4cf; }
.gm .gm-tarj tbody tr.gm-tarj--dest > * { background: var(--verde); }
.gm .gm-tarj tfoot th, .gm .gm-tarj tfoot td { background: var(--niebla); font-weight: 700; border-top: 2px solid var(--mar); border-bottom: 0; }
.gm .gm-bar { display: block; height: 3px; margin: 0.3rem 0 0 auto; border-radius: 2px; background: var(--mar); opacity: 0.5; width: var(--w, 0%); }

.gm.gm-js .gm-hoyos[data-tee="0"] .gm-mt:not(.gm-mt0),
.gm.gm-js .gm-hoyos[data-tee="1"] .gm-mt:not(.gm-mt1),
.gm.gm-js .gm-hoyos[data-tee="2"] .gm-mt:not(.gm-mt2),
.gm.gm-js .gm-hoyos[data-tee="3"] .gm-mt:not(.gm-mt3) { display: none; }

.gm .gm-hoyos:not(.gm-hoyos--gol) .gm-gol { display: none; }
.gm .gm-pts { display: inline-flex; align-items: center; justify-content: flex-end; gap: 0.22rem; min-height: 1.2rem; font-weight: 700; }
.gm .gm-pt { display: inline-block; width: 0.62rem; height: 0.62rem; border-radius: 50%; background: var(--mar); }

.gm .gm-hoyos__total { margin: 0; font-size: 1.05rem; }
.gm .gm-hoyos__total .gm-mt { white-space: nowrap; }
.gm .gm-hoyos .gm-nota { margin-top: -0.9rem; }

.gm .gm-calc { background: #fff; border: 1px solid var(--linea); border-radius: 0.55rem; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 1rem 2rem -1.4rem rgba(14, 49, 66, 0.5); }
.gm .gm-calc h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.gm .gm-calc > p:first-of-type { margin: 0; }
.gm .gm-calc__campos { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); align-items: end; margin-top: 1.25rem; }
.gm .gm-calc label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.gm .gm-calc input[type="text"], .gm .gm-calc select { width: 100%; min-height: 3rem; padding: 0.6rem 0.8rem; font: 500 1rem/1.2 var(--texto); color: var(--negro); background: #fff; border: 2px solid var(--negro); border-radius: 0.25rem; box-shadow: none; }
.gm .gm-calc label.gm-calc__plus { display: flex; align-items: center; gap: 0.6rem; min-height: 3rem; font-weight: 500; }
.gm .gm-calc__plus input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--negro); }
.gm .gm-calc__res { margin: 1.25rem 0 0; font-size: 1.05rem; }
.gm .gm-calc__res strong { font: 700 1.6rem/1.1 var(--titulos); letter-spacing: -0.02em; }
.gm .gm-calc__res:empty { display: none; }
.gm .gm-calc .gm-nota { margin-top: 1rem; }

.gm .gm-mosaico { display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .gm .gm-mosaico { grid-template-columns: repeat(12, minmax(0, 1fr)); } .gm .gm-m7 { grid-column: span 7; } .gm .gm-m5 { grid-column: span 5; } }
.gm .gm-mosaico figure { overflow: hidden; border-radius: var(--radio); }
.gm .gm-mosaico img { width: 100%; height: 100%; object-fit: cover; }
.gm .gm-m7 img { aspect-ratio: 21 / 10; }
.gm .gm-m5 img { aspect-ratio: 3 / 2; }


/* Galería */
.gm-galeria { columns: 3 17rem; column-gap: 0.9rem; }
.gm .gm-galeria li { break-inside: avoid; margin-bottom: 0.9rem; }
.gm .gm-galeria button { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: var(--niebla); cursor: zoom-in; line-height: 0; border-radius: var(--radio); overflow: hidden; }
.gm .gm-galeria img { width: 100%; height: auto; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gm .gm-galeria button:hover img { transform: scale(1.04); }
.gm .gm-lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
.gm .gm-lb::backdrop { background: rgba(8, 24, 33, 0.94); }
.gm .gm-lb__in { position: relative; display: grid; grid-template-rows: 1fr auto; height: 100%; padding: 1rem; gap: 0.75rem; }
.gm .gm-lb__img { display: grid; place-items: center; min-height: 0; }
.gm .gm-lb__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gm .gm-lb__cap { text-align: center; font-size: 0.95rem; max-width: 60ch; margin: 0 auto; }
.gm .gm-lb__btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.gm .gm-lb__btn:hover { background: var(--verde); color: var(--negro); }
.gm .gm-lb__cerrar { top: 1rem; right: 1rem; }
.gm .gm-lb__ant { left: 1rem; top: 50%; transform: translateY(-50%); }
.gm .gm-lb__sig { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Banda final */
.gm-banda { background: var(--verde); color: var(--negro); padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.gm .gm-banda__in { display: grid; gap: 1.25rem 2.5rem; align-items: center; }
@media (min-width: 56rem) { .gm .gm-banda__in { grid-template-columns: auto 1fr auto; } }
.gm .gm-banda h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); }
.gm .gm-banda p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
	.gm .gm-hero__foto { animation: none; }
	.gm .gm-hero__foto:not(:first-child) { display: none; }
	.gm .gm-hero__foto:first-child { opacity: 1; }
	.gm .gm-linea > span, .gm .gm-hero__lead, .gm .gm-hero .gm-btns { animation: none; }
	.gm .gm-bandera__tela { animation: none; }
	.gm.gm-js .gm-rv { opacity: 1; transform: none; transition: none; }
	.gm * { transition-duration: 0.01ms !important; }
}

/* Móvil: bandera arriba a la derecha y tablas más compactas */
@media (max-width: 47.99rem) {
	.gm .gm-hero__lado { top: 1.25rem; bottom: auto; }
	.gm .gm-bandera { width: 3.75rem; }
	.gm .gm-clima { display: none; }
	.gm .gm-tabla th, .gm .gm-tabla td { padding: 0.85rem 0.9rem; }
	.gm .gm-tabla tbody th { min-width: 6.5rem; }
	.gm .gm-tabla thead .gm-num { min-width: 5.5rem; }
}

/* Cabecera de Elementor sobre fondo oscuro: el menú de Golforia es claro y se pierde sobre blanco. Solo en páginas con plantilla Golf. */
body.golf-llanes .elementor-location-header { background-color: #0e3142; }


/* Alojamientos con convenio */
.gm .gm-aloj-grupo { margin-top: 2.75rem; }
.gm .gm-aloj-grupo h3 { margin-bottom: 1.1rem; }
.gm .gm-aloj { display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .gm .gm-aloj { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .gm .gm-aloj { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gm .gm-aloj li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; padding: 1.35rem 1.4rem 1.45rem; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); transition: border-color 0.2s, background-color 0.2s; }
.gm .gm-aloj li:hover, .gm .gm-aloj li:focus-within { border-color: var(--mar); background: var(--niebla); }
.gm .gm-aloj__tipo { font: 600 0.78rem/1 var(--texto); letter-spacing: 0.12em; text-transform: uppercase; color: var(--verde-osc); }
.gm .gm-aloj__nombre { font: 700 1.2rem/1.2 var(--titulos); color: inherit; text-decoration: none; text-wrap: balance; }
.gm .gm-aloj__nombre::after { content: ""; position: absolute; inset: 0; border-radius: var(--radio); }
.gm .gm-aloj li:hover .gm-aloj__nombre { text-decoration: underline; text-decoration-thickness: 0.12em; text-underline-offset: 0.2em; }
.gm .gm-aloj__nombre:focus-visible { outline: none; }
.gm .gm-aloj li:focus-within { outline: 3px solid var(--mar); outline-offset: 3px; }
.gm .gm-aloj__lugar { font-size: 0.95rem; color: rgba(16, 33, 42, 0.76); }

/* Próximos eventos (portada) */
.gm .gm-evs-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.gm .gm-evs { display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .gm .gm-evs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .gm .gm-evs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gm .gm-ev { display: flex; flex-direction: column; height: 100%; overflow: hidden; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); transition: border-color 0.2s, background-color 0.2s; }
.gm .gm-ev:hover, .gm .gm-ev:focus-visible { border-color: var(--mar); background: var(--niebla); }
.gm .gm-ev__foto { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--niebla); }
.gm .gm-ev__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gm .gm-ev__cuerpo { display: block; padding: 1.2rem 1.4rem 1.45rem; }
.gm .gm-ev__fecha { display: block; font: 600 0.82rem/1.3 var(--texto); letter-spacing: 0.1em; text-transform: uppercase; color: var(--verde-osc); }
.gm .gm-ev__titulo { margin-top: 0.55rem; font-size: 1.35rem; }
.gm .gm-ev:hover .gm-ev__titulo { text-decoration: underline; text-decoration-thickness: 0.12em; text-underline-offset: 0.2em; }

/* Mosaico de fotos que vuelan (portada) */
.gm .gm-vv { display: grid; gap: clamp(0.6rem, 1.4vw, 1rem); overflow: hidden; padding: 0.35rem; margin: -0.35rem; aspect-ratio: 5 / 7; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1.45fr 1fr 1fr; grid-template-areas: "a a" "b c" "b d"; }
@media (min-width: 40rem) { .gm .gm-vv { aspect-ratio: 16 / 10; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: 1.4fr 1fr; grid-template-areas: "a a b" "c d b"; } }
.gm .gm-vv__hueco { position: relative; min-width: 0; min-height: 0; }
.gm .gm-vv__hueco--a { grid-area: a; }
.gm .gm-vv__hueco--b { grid-area: b; }
.gm .gm-vv__hueco--c { grid-area: c; }
.gm .gm-vv__hueco--d { grid-area: d; }
.gm .gm-vv__carta { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radio); background: var(--niebla); box-shadow: 0 0.6rem 1.6rem rgba(14, 49, 66, 0.24); will-change: transform, opacity; }
.gm .gm-vv__carta img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gm .gm-vv + .gm-btns { margin-top: 1.75rem; }
.gm.gm-js .gm-vv__carta:not(.is-on) { opacity: 0; }
.gm .gm-vv.is-fijo .gm-vv__carta { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .gm .gm-vv__carta { opacity: 1 !important; } }
body.elementor-editor-active .gm-vv__carta, body.elementor-editor-preview .gm-vv__carta { opacity: 1 !important; }

/* Correspondencias con otros campos */
.gm .gm-corr__aviso { max-width: 48rem; margin: 0 0 1.75rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--linea); border-left: 0.3rem solid var(--verde-osc); border-radius: var(--radio); font-size: 1rem; }
.gm .gm-corr__filtro { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.25rem; margin-bottom: 0.5rem; }
.gm .gm-corr__filtro[hidden] { display: none; }
.gm .gm-corr__campo { display: flex; flex-direction: column; gap: 0.35rem; flex: 1 1 14rem; max-width: 22rem; }
.gm .gm-corr__campo label { font: 600 0.85rem/1.2 var(--texto); }
.gm .gm-corr__campo input, .gm .gm-corr__campo select { width: 100%; min-height: 2.9rem; padding: 0.55rem 0.8rem; font: 400 1rem/1.3 var(--texto); color: inherit; background: #fff; border: 1px solid var(--mar); border-radius: var(--radio); }
.gm .gm-corr__campo input:focus-visible, .gm .gm-corr__campo select:focus-visible { outline: 3px solid var(--mar); outline-offset: 2px; }
.gm .gm-corr__cuenta { margin: 0; flex: 1 1 100%; font-size: 0.95rem; color: rgba(16, 33, 42, 0.76); }
.gm .gm-corr__grupo { margin-top: 2.5rem; }
.gm .gm-corr__grupo h3 { margin-bottom: 1.1rem; }
.gm .gm-corr__grupo[hidden], .gm .gm-corr__campo-ficha[hidden], .gm .gm-corr__vacio[hidden] { display: none; }
.gm .gm-corr__lista { display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .gm .gm-corr__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .gm .gm-corr__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gm .gm-corr__campo-ficha { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 1.35rem 1.35rem; background: #fff; border: 1px solid var(--linea); border-radius: var(--radio); }
.gm .gm-corr__campo-ficha h4 { margin: 0; font: 700 1.15rem/1.2 var(--titulos); text-wrap: balance; }
.gm .gm-corr__lugar { margin: 0; font-size: 0.92rem; color: rgba(16, 33, 42, 0.76); }
.gm .gm-corr__precios { display: grid; gap: 0.3rem; margin: 0.25rem 0 0; }
.gm .gm-corr__precios div { display: flex; justify-content: space-between; gap: 0.9rem; padding-top: 0.3rem; border-top: 1px solid var(--linea); font-size: 0.95rem; }
.gm .gm-corr__precios dt { margin: 0; }
.gm .gm-corr__precios dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.gm .gm-corr__nota { margin: 0; font-size: 0.88rem; color: rgba(16, 33, 42, 0.8); }
.gm .gm-corr__tel { margin: auto 0 0; padding-top: 0.5rem; font-size: 0.95rem; }
.gm .gm-corr__tel a { color: var(--mar); font-weight: 600; text-underline-offset: 0.2em; }
.gm .gm-corr__vacio { margin-top: 2rem; font-weight: 600; }

/* Orden de mérito */
.gm .gm-om__torneos { margin: 0 0 2rem; }
.gm .gm-om__torneos h3 { margin-bottom: 0.7rem; }
.gm .gm-om__torneos ul { display: grid; gap: 0.35rem 2rem; margin: 0; padding: 0; list-style: none; font-size: 0.98rem; }
@media (min-width: 48rem) { .gm .gm-om__torneos ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gm .gm-om__scroll { position: relative; }
.gm .gm-om__titulo { margin-bottom: 1rem; }
.gm .gm-om__filtro { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
.gm .gm-om__filtro[hidden] { display: none; }
.gm .gm-om__filtro .gm-corr__cuenta { flex: 0 1 auto; margin-bottom: 0.7rem; }
.gm .gm-om__tabla thead th, .gm .gm-om__tabla td, .gm .gm-om__tabla tbody th { padding: 0.7rem 0.9rem; }
.gm .gm-om__tabla thead th small { display: block; font-weight: 400; font-size: 0.78rem; opacity: 0.85; white-space: nowrap; }
.gm .gm-om__tabla thead .gm-num { min-width: 5.2rem; text-align: right; }
.gm .gm-om__tabla tbody th { min-width: 14rem; font-weight: 600; }
.gm .gm-om__pos { display: inline-block; min-width: 2.1rem; font-weight: 400; font-variant-numeric: tabular-nums; color: rgba(16, 33, 42, 0.62); }
.gm .gm-om__vacio { color: rgba(16, 33, 42, 0.35); font-weight: 400; }
.gm .gm-om__total { font-weight: 800; }
.gm .gm-om__tabla tr[hidden] { display: none; }
@media (max-width: 40rem) { .gm .gm-om__tabla tbody th { min-width: 11rem; } }

/* Cómo se juega cada hoyo */
.gm .gm-vueltas { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 48rem) { .gm .gm-vueltas { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.gm .gm-vuelta { border-top: 3px solid var(--verde); padding-top: 1rem; }
.gm .gm-vuelta h3 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.gm .gm-vuelta p { margin: 0; max-width: 60ch; }
.gm .gm-vueltas__fin { margin: 0 0 2rem; font-weight: 600; max-width: 60ch; }
.gm .gm-desc { display: grid; gap: 0.5rem; }
@media (min-width: 56rem) { .gm .gm-desc { grid-template-columns: 1fr 1fr; align-items: start; gap: 0.75rem 1.5rem; } }
.gm .gm-desc__h { border: 1px solid var(--linea); border-radius: var(--radio); background: #fff; }
.gm .gm-desc__h summary { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1rem; cursor: pointer; list-style: none; min-height: 3.5rem; }
.gm .gm-desc__h summary::-webkit-details-marker { display: none; }
.gm .gm-desc__h summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; line-height: 1; color: var(--verde-osc); }
.gm .gm-desc__h[open] summary::after { content: "\2212"; }
.gm .gm-desc__n { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--mar); color: var(--verde); font: 700 1.05rem/1 var(--titulos); font-variant-numeric: tabular-nums; }
.gm .gm-desc__t { display: grid; gap: 0.1rem; }
.gm .gm-desc__t small { color: var(--texto); opacity: 0.75; font-size: 0.9rem; }
.gm .gm-desc__h summary:focus-visible { outline: 3px solid var(--verde-osc); outline-offset: 2px; }
.gm .gm-desc__c { padding: 0 1rem 1.1rem 4.4rem; }
.gm .gm-desc__c p { margin: 0 0 0.75rem; }
.gm .gm-desc__c ol { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.gm .gm-desc__c li { margin-bottom: 0.4rem; }
.gm .gm-desc__m { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gm .gm-desc__m span { white-space: nowrap; }
@media (max-width: 36rem) { .gm .gm-desc__c { padding-left: 1rem; } }

/* Página general: texto cuando el contenido no está hecho con Elementor */
.gm-texto { max-width: 46rem; }
.gm .gm-texto > * + * { margin-top: 1.1rem; }
.gm .gm-texto h2 { margin-top: 2.4rem; }
.gm .gm-texto h3 { margin-top: 1.8rem; }
.gm .gm-texto ul, .gm .gm-texto ol { padding-left: 1.3rem; }
.gm .gm-texto ul li { list-style: disc; }
.gm .gm-texto ol li { list-style: decimal; }
.gm .gm-texto li { display: list-item; }
.gm .gm-texto li + li { margin-top: 0.35rem; }
.gm .gm-texto a { text-decoration: underline; text-underline-offset: 0.18em; }
.gm .gm-texto img { max-width: 100%; height: auto; border-radius: var(--radio); }

/* Foto que acompaña a una columna de texto y se ajusta a su altura */
.gm-dos--estira { align-items: stretch; }
.gm .gm-col-foto { display: flex; flex-direction: column; }
.gm .gm-col-foto .gm-foto--alto { margin-top: 2rem; }
.gm .gm-foto--alto { min-height: 16rem; position: relative; }
.gm .gm-foto--alto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 56rem) { .gm .gm-col-foto .gm-foto--alto { flex: 1; min-height: 14rem; } .gm .gm-dos--estira > .gm-foto--alto { min-height: 100%; } }

/* Dentro del editor de Elementor, nada queda oculto esperando la animación de entrada */
body.elementor-editor-active .gm-rv, body.elementor-editor-preview .gm-rv { opacity: 1 !important; transform: none !important; }

/* Foto grande a todo el ancho del contenido, con parallax */
.gm-sec--foto { padding-block: 0 var(--seccion); }
.gm .gm-foto--grande { position: relative; aspect-ratio: 4 / 3; }
@media (min-width: 40rem) { .gm .gm-foto--grande { aspect-ratio: 16 / 9; } }

/* Títulos equilibrados: sin palabras sueltas en la última línea */
.gm-dos h2, .gm .gm-sec__cab h2, .gm .gm-apertura h1 { text-wrap: balance; }

/* Banda de contacto: el botón se pone negro al pasar por encima (en verde se confundiría con la banda) */
.gm-banda .gm-btn:hover, .gm .gm-banda .gm-btn:focus-visible { background: var(--negro); color: #fff; }
.gm .gm-banda :focus-visible { outline-color: var(--negro); }
