/* ==========================================================================
   Global Digital Signage — estilos principales
   Concepto: la web se lee como una pantalla. Paneles azul noche con retícula
   de píxeles, un único acento ámbar "LED" para la acción principal.
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo.woff2") format("woff2-variations");
	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-variations");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: italic;
	font-display: swap;
}

:root {
	--ink: #14202d;
	--ink-2: #4a5a6c;
	--navy: #0c2440;
	--navy-2: #12325a;
	--blue: #1e6eb4;
	--blue-2: #4b97dc;
	--amber: #ffb020;
	--amber-2: #ffc95c;
	--paper: #f2f5f9;
	--line: #d9e1eb;
	--white: #ffffff;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
	--text: 46rem;
	--gutter: clamp(16px, 4vw, 40px);
	--r: 6px;
	--pixels: radial-gradient(rgba(255, 255, 255, .075) 1px, transparent 1.5px) 0 0 / 6px 6px;

	--fs-0: .875rem;
	--fs-1: 1.0625rem;
	--fs-2: 1.25rem;
	--fs-3: clamp(1.35rem, 1.1rem + .9vw, 1.6rem);
	--fs-4: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
	--fs-5: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-1);
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	line-height: 1.12;
	font-weight: 700;
	font-stretch: 108%;
	letter-spacing: -.01em;
	color: var(--navy);
	text-wrap: balance;
}
h1 { font-size: var(--fs-5); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-2); }
h5, h6 { font-size: var(--fs-1); }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { flex: none; }

/* ---------- Botones ---------- */
.btn, .wp-block-button__link, .wpcf7-submit, input[type="submit"], button.super-form-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.4em;
	font: 700 1rem/1.1 var(--font); font-stretch: 105%;
	border-radius: var(--r); border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover { background: var(--amber-2); color: var(--navy); }
.btn--blue, .wp-block-button__link, .wpcf7-submit, input[type="submit"] { background: var(--blue); color: var(--white); }
.btn--blue:hover, .wp-block-button__link:hover, .wpcf7-submit:hover, input[type="submit"]:hover { background: var(--navy); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--lg { min-height: 56px; padding-inline: 1.8em; font-size: 1.0625rem; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--blue); border-color: var(--blue); }
.is-style-outline .wp-block-button__link:hover { background: var(--blue); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy); color: #b9c8da; font-size: var(--fs-0); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.topbar__in { display: flex; align-items: center; gap: 1.5rem; min-height: 38px; }
.topbar__claim { margin-right: auto; }
.topbar a { color: #dfe8f3; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: var(--amber); }
.topbar .ico { width: 15px; height: 15px; }
@media (max-width: 760px) {
	.topbar__claim, .topbar a:nth-of-type(2) { display: none; }
	.topbar__in { justify-content: space-between; gap: .75rem; }
}

/* ---------- Cabecera y navegación ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); background-image: var(--pixels); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.admin-bar .site-header { top: 32px; }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; position: relative; }
.brand { display: block; flex: none; }
.brand img { width: 140px; height: auto; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav .menu > li > a {
	display: flex; align-items: center; gap: .35em; min-height: 78px; padding: 0 .85rem;
	color: var(--white); font-weight: 600; text-decoration: none; position: relative;
}
.site-nav .menu > li > a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 18px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav .menu > li:hover > a::after,
.site-nav .menu > li.current-menu-item > a::after,
.site-nav .menu > li.current-menu-ancestor > a::after,
.site-nav .menu > li.current-page-ancestor > a::after { transform: scaleX(1); }
.site-nav .menu > li.menu-item-has-children > a::before {
	content: ""; order: 2; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); margin-left: .2em; opacity: .7;
}
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.sub-toggle { display: none; }
.nav-toggle { display: none; }

@media (min-width: 1100px) {
	.site-nav .menu > li { position: static; }
	.site-nav .menu > li:not(.has-mega) { position: relative; }
	.site-nav .menu > li > .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 260px;
		background: var(--white); color: var(--ink); border-radius: 0 0 var(--r) var(--r);
		box-shadow: 0 24px 48px -16px rgba(12, 36, 64, .35);
		padding: .75rem; opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity .15s, transform .15s, visibility 0s .15s;
	}
	.site-nav .menu > li:hover > .sub-menu,
	.site-nav .menu > li:focus-within > .sub-menu,
	.site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.site-nav .sub-menu a { display: block; padding: .45rem .75rem; color: var(--ink); text-decoration: none; border-radius: 4px; line-height: 1.35; }
	.site-nav .sub-menu a:hover, .site-nav .sub-menu .current-menu-item > a { background: var(--paper); color: var(--blue); }

	/* Megamenú */
	.site-nav .menu > li.has-mega > .sub-menu {
		left: var(--gutter); right: var(--gutter);
		display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; grid-template-rows: min-content min-content 1fr; gap: .75rem 2rem;
		padding: 1.75rem 2rem 2rem;
		border-top: 3px solid var(--amber);
	}
	.site-nav .has-mega > .sub-menu > li > a {
		font-weight: 700; font-stretch: 108%; color: var(--navy); font-size: 1.0625rem;
		padding: .25rem 0 .6rem; border-bottom: 1px solid var(--line); margin-bottom: .4rem; border-radius: 0;
	}
	.site-nav .has-mega > .sub-menu > li > a:hover { background: none; color: var(--blue); }
	.site-nav .has-mega > .sub-menu > li:not(.menu-item-has-children) { grid-column: 4; }
	.site-nav .has-mega > .sub-menu > li:not(.menu-item-has-children) > a { border-bottom: 0; margin-bottom: 0; padding: .55rem .9rem; background: var(--paper); border-radius: 4px; font-size: 1rem; }
	.site-nav .has-mega > .sub-menu > li:not(.menu-item-has-children) > a:hover { background: var(--navy); color: var(--white); }
	.site-nav .has-mega > .sub-menu > li.menu-item-has-children { grid-row: 1 / -1; }
	.site-nav .has-mega .sub-menu .sub-menu a { padding: .3rem 0; color: var(--ink-2); }
	.site-nav .has-mega .sub-menu .sub-menu a:hover { background: none; color: var(--blue); }
}
@media (min-width: 1100px) and (max-width: 1240px) {
	.site-nav .menu > li > a { padding: 0 .6rem; }
	.site-nav__cta { padding-inline: 1em; }
}

@media (max-width: 1099.98px) {
	.nav-toggle {
		display: inline-flex; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center;
		background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r); cursor: pointer;
	}
	.nav-toggle .ico { width: 24px; height: 24px; }
	.nav-toggle__close { display: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--nav-top, 116px) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--navy); background-image: var(--pixels);
		padding: 1rem var(--gutter) 2rem; overflow-y: auto; overscroll-behavior: contain;
		visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
	}
	.nav-open .site-nav { visibility: visible; opacity: 1; transition-delay: 0s; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu li { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.site-nav .menu a { display: block; min-height: 0; padding: .9rem 3.5rem .9rem 0; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.125rem; }
	.site-nav .menu > li > a::after, .site-nav .menu > li.menu-item-has-children > a::before { display: none; }
	.site-nav .sub-menu { display: none; padding-left: 1rem; border-left: 2px solid var(--amber); margin: 0 0 .75rem; }
	.site-nav .sub-menu li { border-bottom: 0; }
	.site-nav .sub-menu a { font-size: 1rem; font-weight: 500; padding-block: .55rem; color: #d5e1ee; }
	.site-nav li.is-open > .sub-menu { display: block; }
	.sub-toggle {
		display: flex; position: absolute; right: 0; top: .35rem; width: 44px; height: 44px; align-items: center; justify-content: center;
		background: rgba(255, 255, 255, .06); border: 0; border-radius: var(--r); color: var(--white); cursor: pointer;
	}
	.sub-toggle::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
	.is-open > .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
	.sub-menu .sub-toggle { top: .1rem; width: 40px; height: 40px; }
	.site-nav__cta { margin-top: 1.5rem; }
}

/* ---------- Héroe de páginas interiores ---------- */
.hero { background: var(--navy); background-image: var(--pixels); color: var(--white); padding: clamp(2rem, 5vw, 3.75rem) 0 clamp(2.25rem, 6vw, 4.25rem); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--amber) 0 120px, transparent 120px); }
.hero__in { display: grid; gap: 2rem; }
.hero--media .hero__in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.hero__title { color: var(--white); font-size: var(--fs-5); font-stretch: 112%; font-weight: 750; max-width: 22ch; margin-bottom: .35em; }
.hero__lead { font-size: var(--fs-2); line-height: 1.5; color: #c9d6e6; max-width: 60ch; margin: 0; }
.hero__meta { color: #b9c8da; margin: 0 0 .5rem; }
.hero__meta a { color: var(--amber); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__media img { border-radius: var(--r); }

.crumbs ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: var(--fs-0); color: #9fb3ca; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { color: #d5e1ee; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* ---------- Secciones ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.section--soft { background: var(--paper); }
.section--panel { background: var(--navy); background-image: var(--pixels); color: #d5e1ee; }
.section--panel h2, .section--panel h3 { color: var(--white); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.section__head h2, .section__title { margin: 0; }
.section__title { margin-bottom: 2rem; }

/* ---------- Portada ---------- */
.home-hero { background: var(--navy); background-image: var(--pixels); color: var(--white); padding-top: clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.home-hero__in { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.home-hero__title { color: var(--white); font-size: clamp(2rem, 1rem + 4.6vw, 4.4rem); font-weight: 760; font-stretch: 115%; overflow-wrap: break-word; hyphens: auto; line-height: 1.02; letter-spacing: -.02em; max-width: 17ch; margin: 0; }

/* El elemento memorable: un rótulo LED de matriz de puntos */
.ticker { margin-top: clamp(2rem, 4vw, 3rem); width: 100%; }
.ticker__screen {
	position: relative; overflow: hidden;
	background: #050f1c;
	border-block: 1px solid rgba(255, 255, 255, .08);
	padding: clamp(.8rem, 2vw, 1.25rem) 0;
	filter: drop-shadow(0 0 10px rgba(255, 176, 32, .35));
}
.ticker__screen::before, .ticker__screen::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.ticker__screen::before { left: 0; background: linear-gradient(90deg, #050f1c, transparent); }
.ticker__screen::after { right: 0; background: linear-gradient(-90deg, #050f1c, transparent); }
.ticker__track {
	display: flex; width: max-content; white-space: nowrap;
	font-size: clamp(3rem, 2rem + 5vw, 6.5rem); line-height: 1; font-weight: 900; font-stretch: 125%;
	color: var(--amber); text-transform: uppercase; letter-spacing: .02em;
	-webkit-mask-image: radial-gradient(circle, #000 1.7px, transparent 2.1px);
	mask-image: radial-gradient(circle, #000 1.7px, transparent 2.1px);
	-webkit-mask-size: 5px 5px; mask-size: 5px 5px;
	animation: ticker 38s linear infinite;
}
.ticker__track span { display: flex; }
.ticker__track b { font-weight: inherit; padding-right: .9em; }
.ticker__track b::after { content: ""; display: inline-block; width: .32em; height: .32em; background: currentColor; margin-left: .9em; vertical-align: .22em; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

.home-hero__quick { display: flex; flex-wrap: wrap; gap: 0; padding-block: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.home-hero__quick a {
	flex: 1 1 auto; padding: 1.1rem 1rem; color: #d5e1ee; text-decoration: none; font-weight: 600; text-align: center;
	border-right: 1px solid rgba(255, 255, 255, .1);
}
.home-hero__quick a:last-child { border-right: 0; }
.home-hero__quick a:hover { color: var(--navy); background: var(--amber); }
@media (max-width: 760px) {
	.home-hero__quick { display: grid; grid-template-columns: 1fr 1fr; }
	.home-hero__quick a { border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.home-hero__quick a:nth-child(2n) { border-right: 0; }
}

.offers { padding-bottom: 0; }
.offers__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1rem; }
.offer { display: block; border-radius: var(--r); overflow: hidden; outline-offset: 3px; }
.offer img { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; transition: transform .3s; }
.offer:hover img { transform: scale(1.02); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--home { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tile { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--navy); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.tile img { width: 100%; aspect-ratio: 800 / 389; object-fit: cover; }
.tile__label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem 1.15rem; font-weight: 700; font-stretch: 106%; font-size: 1.125rem; line-height: 1.3; border-top: 3px solid var(--blue); flex: 1; }
.tile:hover .tile__label { border-top-color: var(--amber); color: var(--blue); }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2rem; }
.service { display: flex; align-items: center; gap: 1.25rem; }
.service img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .15); flex: none; }
.service h3 { margin: 0; font-size: var(--fs-2); }

.calc-band { background: var(--amber); color: var(--navy); background-image: radial-gradient(rgba(12, 36, 64, .09) 1px, transparent 1.5px); background-size: 6px 6px; }
.calc-band__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem 3rem; }
.calc-band h2 { margin-bottom: .4em; }
.calc-band p { font-size: var(--fs-2); line-height: 1.5; max-width: 52ch; margin: 0; }
@media (max-width: 760px) { .calc-band__in { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split__main .lead { margin-bottom: 1.75rem; }
.lead, .is-style-lead { font-size: var(--fs-2); line-height: 1.55; color: var(--ink-2); }
.renting { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.renting h2 { font-size: var(--fs-3); }
.renting img { margin-top: 1.25rem; max-width: 220px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.media-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.media-row figure { margin: 0; }
.media-row img { border-radius: var(--r); }
@media (max-width: 760px) { .media-row { grid-template-columns: 1fr; } }

/* ---------- Tarjetas ---------- */
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid--cards[data-count="2"] { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.card:hover { border-color: var(--blue); }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.15rem 1.25rem; }
.card__title { font-weight: 700; font-stretch: 106%; font-size: 1.125rem; color: var(--navy); line-height: 1.25; }
.card:hover .card__title { color: var(--blue); }
.card__text { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.card--compact .card__text { display: none; }
.card--compact .card__media { aspect-ratio: 16 / 10; }

.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.post-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 1.1rem 1.25rem 1.4rem; }
.post-card time { font-size: var(--fs-0); color: var(--ink-2); }
.post-card__title { font-size: 1.2rem; margin: .35rem 0 .5rem; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.grid--posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.related { background: var(--paper); }

/* ---------- Contenido de páginas (bloques) ---------- */
.entry { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.entry-content > * { margin-block: 0 1.25rem; }
.entry-content > :is(p, ul, ol, h2, h3, h4, h5, h6, .wp-block-quote, .wp-block-table, .wp-block-details, .gds-accordion, .wp-block-embed, .wp-block-shortcode, .entry-thumb) { max-width: var(--text); margin-inline: auto; }
.entry-content > :is(h2, h3, h4) { margin-top: 2.5rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > .wp-block-image { max-width: var(--text); margin-inline: auto; }
.entry-content > .wp-block-image img { border-radius: var(--r); margin-inline: auto; }
.entry-content .has-text-align-center { text-align: center; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; max-width: var(--text); margin-inline: auto; margin-bottom: 2rem; }
.entry-content .wp-block-buttons.is-content-justification-center { justify-content: center; }
.entry-content ul:not([class*="gds-"]):not(.wp-block-gallery), .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--blue); }
.entry-content strong { color: var(--navy); }
.entry-content .wp-block-image figcaption { font-size: var(--fs-0); color: var(--ink-2); text-align: center; }

/* Columnas: aire y alternancia */
.entry-content > .wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); margin-block: clamp(2rem, 5vw, 4rem); }
.wp-block-columns { display: flex; gap: 2rem; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.wp-block-column > * { margin-block: 0 1rem; }
.wp-block-column > :last-child { margin-bottom: 0; }
.wp-block-column .wp-block-image img { border-radius: var(--r); margin-inline: auto; }
.wp-block-column h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); }
@media (max-width: 781px) {
	.wp-block-columns { flex-direction: column; }
	.wp-block-column { flex-basis: 100% !important; width: 100%; }
}

/* Acordeones (antes acordeones/pestañas de SiteOrigin) */
.gds-accordion { border-top: 1px solid var(--line); }
.wp-block-details { border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.wp-block-details summary {
	list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; position: relative;
	font-weight: 700; font-stretch: 105%; color: var(--navy); font-size: 1.0625rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: .5rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background: linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 14px no-repeat;
	transition: transform .2s;
}
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details summary:hover { color: var(--blue); }
.wp-block-details > :not(summary) { margin: 0 0 1rem; color: var(--ink-2); }
.wp-block-column .gds-accordion { margin-top: .5rem; }

/* Filas de iconos (sectores, ventajas) */
.entry-content > .gds-iconrow { gap: 1rem; margin-block: 1.5rem; }
.gds-iconrow > .wp-block-column {
	background: var(--paper); border-radius: var(--r); padding: 1.1rem 1.1rem 1.1rem 3rem; position: relative;
	font-weight: 600; color: var(--navy); flex: 1 1 180px;
}
.gds-iconrow > .wp-block-column::before {
	content: ""; position: absolute; left: 1.1rem; top: 1.35rem; width: 12px; height: 12px; border-radius: 2px;
	background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 176, 32, .25);
}
.gds-iconrow p { margin: 0; text-align: left !important; }
@media (max-width: 781px) { .gds-iconrow { flex-direction: row !important; flex-wrap: wrap; } .gds-iconrow > .wp-block-column { flex: 1 1 calc(50% - 1rem) !important; } }

/* Servicios / características con imagen redonda */
.gds-features { text-align: center; }
.gds-features .gds-feature-img img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; margin-inline: auto; }
.gds-features h3 { font-size: var(--fs-2); margin-top: 1rem; }

/* Galerías (antes sliders) */
.entry-content > .gds-gallery, .wp-block-column .gds-gallery {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 1rem;
	overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; list-style: none; margin-inline: 0; padding-left: 0;
}
.gds-gallery .wp-block-image { margin: 0; scroll-snap-align: start; }
.gds-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.wp-block-column .gds-gallery { grid-auto-columns: 85%; }

/* Tablas de precios */
.gds-pricing { align-items: stretch !important; }
.gds-price-card { height: 100%; border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; display: flex; flex-direction: column; }
.gds-price-card.is-featured { background: var(--navy); background-image: var(--pixels); border-color: var(--navy); color: #d5e1ee; }
.gds-price-card.is-featured h3 { color: var(--white); }
.gds-price-card .wp-block-buttons { margin-top: auto; }
.gds-checklist { list-style: none; padding: 0 !important; margin: 0 0 1.5rem; }
.gds-checklist li { padding-left: 1.6em; position: relative; margin-bottom: .55em; }
.gds-checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7em; height: .4em; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.is-featured .gds-checklist li::before { border-color: var(--amber); }

/* Opiniones */
.gds-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; }
.gds-reviews .wp-block-quote { margin: 0; padding: 1.5rem; background: var(--paper); border-radius: var(--r); border: 0; }
.gds-reviews .wp-block-quote p { font-size: 1rem; color: var(--ink); }
.gds-reviews cite { font-style: normal; font-weight: 700; color: var(--navy); }
.gds-reviews .wp-block-quote::before { content: "★★★★★"; display: block; color: var(--amber); letter-spacing: .15em; margin-bottom: .5rem; }

/* Tarjetas de productos relacionados (antes carrusel) */
.gds-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1rem; }
.gds-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--navy); font-weight: 700; }
.gds-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gds-card__title { padding: .8rem 1rem 1rem; line-height: 1.3; }
.gds-card:hover { border-color: var(--blue); color: var(--blue); }

/* Caja de llamada a la acción */
.gds-cta-box { background: var(--navy); background-image: var(--pixels); color: #d5e1ee; border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.5rem); }
.gds-cta-box h2 { color: var(--white); font-size: var(--fs-3); }
.gds-note { font-size: var(--fs-0); opacity: .8; }
.is-style-panel { background: var(--navy); background-image: var(--pixels); color: #d5e1ee; padding: 2rem; border-radius: var(--r); }
.is-style-panel :is(h2, h3, h4, strong) { color: var(--white); }

/* Citas, tablas, vídeos */
.wp-block-quote { border-left: 3px solid var(--amber); padding: .25rem 0 .25rem 1.25rem; margin-left: 0; }
.wp-block-table { overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.wp-block-table :is(td, th) { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.wp-block-table tr:nth-child(odd) td { background: var(--paper); }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r); }
.entry-content iframe[src*="google.com/maps"] { width: 100%; height: 360px; border-radius: var(--r); }
.entry-thumb { margin: 0 auto 2rem; }
.entry-thumb img { border-radius: var(--r); }

/* ---------- Formularios (Contact Form 7, Super Forms, búsqueda) ---------- */
.entry-content :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], select, textarea) {
	width: 100%; min-height: 48px; padding: .65rem .85rem; font: inherit; font-size: 1rem; color: var(--ink);
	background: var(--white); border: 1px solid #b8c5d4; border-radius: var(--r);
}
.entry-content textarea { min-height: 140px; }
.entry-content :is(input, select, textarea):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 110, 180, .2); }
.wpcf7 label { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; }
.wpcf7 p { margin-bottom: 1rem; }
.wpcf7-not-valid-tip { color: #b42318; font-size: .875rem; }
.wpcf7-response-output { border-radius: var(--r); padding: .75rem 1rem; margin: 1rem 0 0 !important; }
.wp-block-shortcode { margin-inline: auto; }
.wp-block-column .wp-block-shortcode { max-width: none; }
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: .6rem .8rem; border: 1px solid #b8c5d4; border-radius: var(--r); font: inherit; }

.empty { max-width: var(--text); }
.pagination, .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Banda de contacto y pie ---------- */
.contact-strip { background: var(--blue); color: #e6f0fa; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.contact-strip__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.contact-strip h2 { color: var(--white); font-size: var(--fs-4); margin-bottom: .35em; }
.contact-strip p { margin: 0; max-width: 56ch; }
.contact-strip__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.contact-strip__tel { display: inline-flex; align-items: center; gap: .45em; color: var(--white); font-weight: 700; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.contact-strip__tel:hover { color: var(--amber); }
@media (max-width: 900px) { .contact-strip__in { grid-template-columns: 1fr; } }

.site-footer { background: var(--navy); background-image: var(--pixels); color: #b9c8da; font-size: .95rem; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: #dfe8f3; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 2.5rem; }
.site-footer__brand img { width: 150px; height: auto; margin-bottom: 1.25rem; }
.site-footer address { font-style: normal; display: flex; gap: .6rem; align-items: flex-start; line-height: 1.55; }
.site-footer address .ico { margin-top: .15em; color: var(--amber); }
.site-footer__hours { margin-top: 1rem; max-width: 30ch; }
.site-footer__title { color: var(--white); font-size: 1rem; font-stretch: 110%; margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer__contact a { display: inline-flex; gap: .5rem; align-items: center; }
.site-footer__contact .ico { width: 16px; height: 16px; color: var(--amber); }
.site-footer__kit { margin-top: 3rem; }
.site-footer__kit img { background: var(--white); border-radius: var(--r); padding: .6rem 1rem; max-width: 720px; width: 100%; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--fs-0); }
.site-footer__bottom p { margin: 0; }
.legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

@media print {
	.topbar, .site-header, .contact-strip, .site-footer, .ticker { display: none; }
	.hero, .home-hero { background: none; color: #000; }
	.hero__title, .home-hero__title { color: #000; }
}

/* Listas de sectores/usos (antes filas de iconos) */
.entry-content > .gds-chips, .gds-chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .6rem; max-width: var(--wrap); justify-content: center; margin-block: 1.25rem 2.5rem; }
.gds-chips li { margin: 0; display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--navy); font-size: .975rem; }
.gds-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); flex: none; }
.gds-chips li::marker { content: none; }
.gds-chips li :is(p, span) { margin: 0; }
.wp-block-column .gds-gallery { grid-auto-columns: 100%; }

/* Titulares enlazados (rejillas de producto del contenido original) */
.entry-content :is(h2, h3, h4) a { color: var(--navy); text-decoration: none; }
.entry-content :is(h2, h3, h4) a:hover { color: var(--blue); }
.wp-block-column > .wp-block-image + .wp-block-heading:has(a) { font-size: var(--fs-2); margin-top: .9rem; padding-top: .8rem; border-top: 3px solid var(--blue); }
.wp-block-column > .wp-block-image:has(a) img { border-radius: var(--r) var(--r) 0 0; }
.entry-content > :is(.wp-block-columns, .wp-block-group, .gds-chips):first-child { margin-top: 0; }
.wp-block-column .has-text-align-center { text-align: left; }
.wp-block-column > p { margin-bottom: .5rem; }
.hero__title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 480px) { .home-hero__title, .hero__title { font-stretch: 104%; } .hero__actions .btn { flex: 1 1 auto; } }
.entry-content > :is(.wpcf7, form, .super-form, .super-form-wrapper) { max-width: var(--text); margin-inline: auto; }
