/*
Theme Name: GTEC
Theme URI: https://gtec.es
Author: Rubén Gómez Fernández · Gestión Desarrollo Tecnológico SL
Author URI: https://gtec.es
Description: Desarrollado por Gestión Desarrollo Tecnológico SL (GTEC) · Soporte 671 570 922 · soporte@gtec.es. Tema de bloques a medida para GTEC (Seseña, Toledo y Madrid): soporte IT y mantenimiento informático, GesGaraj, ERP y CRM y diseño web. Diseño animado propio sin jQuery, SEO técnico avanzado con schema, Analytics con Consent Mode v2, reCAPTCHA solo en formularios, reseñas de Google y hardening de seguridad (bloqueo de XML-RPC y de la enumeración de usuarios).
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Version: 2.6.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gtec
Tags: block-patterns, full-site-editing, custom-colors, editor-style, accessibility-ready
*/

/* ==========================================================================
   0. Variables y base
   ========================================================================== */

body {
	--gtec-primary: var(--wp--preset--color--primary);
	--gtec-navy: var(--wp--preset--color--navy);
	--gtec-night: var(--wp--preset--color--night);
	--gtec-shadow: 0 4px 35px rgba(57, 57, 57, 0.16);
	--gtec-shadow-hover: 0 18px 45px rgba(22, 33, 113, 0.18);
	--gtec-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
	--gtec-icons: url("assets/icons/");
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

html {
	scroll-padding-top: 7rem;
}

:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--gtec-primary);
	outline-offset: 3px;
}

.skip-link.screen-reader-text:focus {
	background: #fff;
	color: var(--gtec-navy);
	z-index: 1000;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

:where(figure.wp-block-image, figure.wp-block-embed, figure.wp-block-table) {
	margin-inline: 0;
}

/* Secciones a ancho completo: fondo a sangre y margen lateral global */
:is(.wp-block-post-content, .wp-block-template-part, .wp-site-blocks) > .alignfull.has-global-padding {
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}

.gtec-measure {
	max-width: 62ch;
}

.gtec-plain-list {
	list-style: none;
	padding-left: 0;
}

/* Iconos por máscara (heredan el color del texto) */
.gtec-ico {
	position: relative;
	padding-left: 1.65em;
}

.gtec-ico::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.28em;
	width: 1.05em;
	height: 1.05em;
	background: currentColor;
	-webkit-mask: var(--m) center / contain no-repeat;
	mask: var(--m) center / contain no-repeat;
}

.gtec-ico--mail { --m: url("assets/icons/c-mail.svg"); }
.gtec-ico--pin { --m: url("assets/icons/c-pin.svg"); }
.gtec-ico--phone { --m: url("assets/icons/phone.svg"); }

/* ==========================================================================
   1. Cabecera: barra superior + barra principal con bloques inclinados
   ========================================================================== */

.gtec-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	transition: box-shadow 0.3s var(--gtec-ease);
}

.admin-bar .gtec-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .gtec-header {
		top: 46px;
	}
}

.gtec-header.is-scrolled {
	box-shadow: 0 10px 30px rgba(14, 20, 34, 0.12);
}

/* Barra superior */
.gtec-topbar {
	position: relative;
	background: var(--gtec-primary);
	color: #fff;
	font-size: 0.92rem;
	overflow: hidden;
	max-height: 60px;
	transition: max-height 0.35s var(--gtec-ease);
}

.gtec-header.is-scrolled .gtec-topbar {
	max-height: 0;
}

.gtec-topbar::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: calc((100% - min(100%, 1320px)) / 2 + 230px);
	background: #fff;
	clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
}

.gtec-topbar__inner {
	position: relative;
	min-height: 44px;
}

.gtec-topbar p {
	margin: 0;
	color: #fff;
}

.gtec-topbar a {
	color: #fff;
}

.gtec-topbar a:hover {
	color: var(--gtec-navy);
}

.gtec-topbar__info {
	gap: 1.6rem !important;
}

.gtec-social.wp-block-social-links {
	gap: 6px;
	margin: 0;
}

.gtec-social .wp-social-link {
	border-radius: 0 !important;
	transition: transform 0.25s var(--gtec-ease), background-color 0.25s;
}

.gtec-social .wp-social-link a {
	padding: 0.42em;
}

.gtec-social .wp-social-link:hover {
	transform: translateY(-3px);
	background-color: var(--gtec-navy) !important;
}

@media (max-width: 999px) {
	.gtec-topbar {
		display: none;
	}
}

/* Barra principal */
.gtec-mainbar {
	position: relative;
	background: #fff;
}

.gtec-mainbar::before,
.gtec-mainbar::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	background: var(--gtec-navy);
	pointer-events: none;
}

.gtec-mainbar::before {
	left: 0;
	width: calc((100% - min(100%, 1320px)) / 2 + 150px);
	clip-path: polygon(0 0, 100% 0, calc(100% - 38px) 100%, 0 100%);
}

.gtec-mainbar::after {
	right: 0;
	width: calc((100% - min(100%, 1320px)) / 2 + 330px);
	clip-path: polygon(38px 0, 100% 0, 100% 100%, 0 100%);
}

.gtec-mainbar__inner {
	position: relative;
	z-index: 1;
	min-height: 92px;
	gap: 1rem !important;
	transition: min-height 0.3s var(--gtec-ease);
}

.gtec-header.is-scrolled .gtec-mainbar__inner {
	min-height: 74px;
}

.gtec-logo {
	margin: 0;
	flex: none;
}

.gtec-logo img {
	display: block;
	border-radius: 50%;
	transition: transform 0.4s var(--gtec-ease);
}

.gtec-logo a:hover img {
	transform: rotate(-8deg) scale(1.05);
}

.gtec-header.is-scrolled .gtec-logo img {
	width: 62px !important;
	height: 62px !important;
}

/* Menú escritorio */
.gtec-nav {
	flex: 1;
}

.gtec-nav .wp-block-navigation__container {
	gap: 0.3rem 1.6rem;
}

.gtec-nav .wp-block-navigation-item__content {
	position: relative;
	color: var(--gtec-navy);
	padding-block: 0.6rem;
}

.gtec-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after,
.gtec-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.1rem;
	width: 100%;
	height: 2px;
	background: var(--gtec-primary);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s var(--gtec-ease);
}

.gtec-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.gtec-nav .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
	transform-origin: left;
}

.gtec-nav .wp-block-navigation-item__content:hover,
.gtec-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--gtec-primary);
}

/* Desplegables */
.gtec-nav .wp-block-navigation__submenu-container {
	min-width: 250px !important;
	padding: 0.6rem 0 !important;
	border: 0 !important;
	border-top: 3px solid var(--gtec-primary) !important;
	box-shadow: 0 20px 45px rgba(14, 20, 34, 0.16);
	background: #fff !important;
	transform: translateY(14px);
	transition: opacity 0.25s, transform 0.3s var(--gtec-ease), visibility 0.25s !important;
}

.gtec-nav .has-child:hover > .wp-block-navigation__submenu-container,
.gtec-nav .has-child:focus-within > .wp-block-navigation__submenu-container {
	transform: translateY(0);
}

.gtec-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container,
.gtec-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--gtec-navy) !important;
}

.gtec-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	color: var(--gtec-primary) !important;
}

.gtec-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.55rem 1.3rem !important;
	font-weight: 500;
	transition: color 0.2s, padding 0.25s var(--gtec-ease), background 0.2s;
}

.gtec-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	padding-left: 1.7rem !important;
	background: var(--wp--preset--color--sky-soft);
}

.gtec-nav .wp-block-navigation__submenu-icon {
	color: currentColor;
}

/* Acciones: buscar + teléfono */
.gtec-actions {
	flex: none;
	gap: 0.9rem !important;
}

.gtec-search.wp-block-search {
	margin: 0;
}

.gtec-search .wp-block-search__button {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50% !important;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	background: transparent !important;
	color: #fff !important;
	padding: 0 !important;
	display: grid;
	place-items: center;
	transition: background 0.25s;
}

.gtec-search .wp-block-search__button:hover {
	background: var(--gtec-primary) !important;
}

.gtec-search .wp-block-search__button svg {
	fill: currentColor;
	width: 22px;
	height: 22px;
}

.gtec-search .wp-block-search__inside-wrapper {
	border: 0 !important;
	padding: 0 !important;
}

.gtec-search .wp-block-search__input {
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--line);
	padding: 0.55rem 1rem;
	font: inherit;
}

.gtec-search.wp-block-search__searchfield-hidden .wp-block-search__input {
	padding: 0;
	border: 0;
}

.gtec-phone-button .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 0.55em;
	vertical-align: -0.13em;
	background: currentColor;
	-webkit-mask: url("assets/icons/phone.svg") center / contain no-repeat;
	mask: url("assets/icons/phone.svg") center / contain no-repeat;
}

.gtec-actions .gtec-phone-button .wp-block-button__link {
	padding: 0.95rem 1.5rem;
	position: relative;
	overflow: hidden;
}

/* Brillo que recorre los botones principales */
.wp-block-button__link {
	position: relative;
	overflow: hidden;
	transition: background-color 0.3s var(--gtec-ease), color 0.3s, transform 0.3s var(--gtec-ease);
}

.wp-block-button__link::after {
	content: "";
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-20deg);
	pointer-events: none;
}

.wp-block-button__link:hover::after {
	animation: gtec-shine 0.8s ease;
}

@keyframes gtec-shine {
	to {
		left: 130%;
	}
}

.wp-block-button__link:hover {
	transform: translateY(-2px);
}

.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--gtec-navy);
}

.gtec-btn-light.is-style-outline > .wp-block-button__link,
.gtec-slide .is-style-outline > .wp-block-button__link {
	color: #fff;
	border-color: #fff;
}

.gtec-btn-light.is-style-outline > .wp-block-button__link:hover,
.gtec-slide .is-style-outline > .wp-block-button__link:hover {
	background: #fff;
	color: var(--gtec-navy);
}

.gtec-btn-white > .wp-block-button__link {
	background: #fff;
	color: var(--gtec-navy);
}

.gtec-btn-navy > .wp-block-button__link {
	background: var(--gtec-navy);
	color: #fff;
}

.gtec-btn-white > .wp-block-button__link:hover,
.gtec-btn-navy > .wp-block-button__link:hover {
	background: var(--gtec-night);
	color: #fff;
}

/* Menú en móvil y tableta: hamburguesa hasta 1100px */
@media (max-width: 1099px) {
	.gtec-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
		width: 46px;
		height: 46px;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: var(--gtec-navy);
		color: #fff;
	}

	.gtec-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none !important;
	}

	.gtec-nav {
		flex: none;
		order: 3;
	}

	.gtec-mainbar::before {
		width: calc((100% - min(100%, 1320px)) / 2 + 130px);
	}

	.gtec-mainbar::after {
		display: none;
	}

	.gtec-actions .gtec-search {
		display: none;
	}

	.gtec-mainbar__inner {
		min-height: 78px;
	}
}

@media (max-width: 600px) {
	.gtec-logo img {
		width: 60px !important;
		height: 60px !important;
	}

	.gtec-mainbar::before {
		width: 112px;
	}

	.gtec-actions .gtec-phone-button .wp-block-button__link {
		width: 46px;
		height: 46px;
		padding: 0;
		font-size: 0;
		border-radius: 50%;
		display: grid;
		place-items: center;
	}

	.gtec-actions .gtec-phone-button .wp-block-button__link::before {
		margin: 0;
		width: 20px;
		height: 20px;
	}
}

/* Panel del menú móvil */
.gtec-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem clamp(1.25rem, 6vw, 3rem) 2rem;
	background: var(--gtec-navy) !important;
	animation: gtec-menu-in 0.35s var(--gtec-ease);
}

@keyframes gtec-menu-in {
	from {
		opacity: 0;
		transform: translateX(8%);
	}
}

.gtec-nav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 3.5rem !important;
	align-items: stretch !important;
}

.gtec-nav .is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0 !important;
	align-items: stretch !important;
}

.gtec-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	align-items: flex-start !important;
}

.gtec-nav .is-menu-open .wp-block-navigation-item__content {
	color: #fff !important;
	font-size: 1.25rem;
	font-weight: 700;
	padding: 0.85rem 0 !important;
	width: 100%;
}

.gtec-nav .is-menu-open .wp-block-navigation__submenu-container {
	padding: 0 0 0.8rem 0.9rem !important;
	border: 0 !important;
	border-left: 2px solid var(--gtec-primary) !important;
	box-shadow: none;
	background: transparent !important;
	transform: none;
	margin-bottom: 0.6rem;
}

.gtec-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
	border: 0;
}

.gtec-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	font-size: 1.05rem;
	font-weight: 500;
	padding: 0.45rem 0.6rem !important;
	color: #cfe9fa !important;
	background: transparent;
}

.gtec-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--gtec-primary);
	color: #fff;
	display: grid;
	place-items: center;
	top: 1rem;
	right: 1rem;
}

.gtec-menu-extra {
	display: none;
}

.is-menu-open .gtec-menu-extra {
	display: grid;
	gap: 0.75rem;
	margin-top: 1.75rem;
	width: 100%;
}

.gtec-menu-extra a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.95rem 1rem;
	font-weight: 700;
	color: #fff !important;
	background: var(--gtec-primary);
}

.gtec-menu-extra a.is-wa {
	background: #1fa855;
}

.gtec-menu-extra p {
	margin: 0.5rem 0 0;
	color: #cfe9fa;
	font-size: 0.95rem;
	text-align: center;
}

/* ==========================================================================
   2. Slider principal
   ========================================================================== */

.gtec-slider {
	position: relative;
	display: grid;
	overflow: hidden;
	background: var(--gtec-night);
}

.gtec-slider > .gtec-slide {
	grid-area: 1 / 1;
	margin: 0 !important;
	min-height: clamp(560px, 78vh, 720px) !important;
	padding-bottom: 7rem;
	padding-top: 4rem;
	transition: opacity 0.9s ease, visibility 0.9s;
}

.gtec-slider:not(.is-ready) > .gtec-slide:not(:first-child),
.gtec-slider.is-ready > .gtec-slide:not(.is-active) {
	opacity: 0;
	visibility: hidden;
}

.gtec-slide .wp-block-cover__image-background {
	transform: scale(1);
	transform-origin: center;
}

.gtec-slide.is-active .wp-block-cover__image-background,
.gtec-slider:not(.is-ready) > .gtec-slide:first-child .wp-block-cover__image-background {
	animation: gtec-kenburns 9s ease-out forwards;
}

@keyframes gtec-kenburns {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.14);
	}
}

.gtec-slide .wp-block-cover__inner-container {
	text-align: center;
}

.gtec-chip {
	display: inline-block;
	margin: 0 auto 1rem !important;
	padding: 0.45rem 1.1rem;
	background: var(--gtec-navy);
	color: #fff;
	font-weight: 600;
	font-size: 1.02rem;
	border-left: 3px solid var(--gtec-primary);
}

.gtec-slide__title {
	font-size: clamp(2.3rem, 6vw, 5rem) !important;
	font-weight: 800 !important;
	line-height: 1.04 !important;
	letter-spacing: -0.015em;
	margin: 0 auto !important;
	max-width: 18ch;
	text-wrap: balance;
	color: #fff;
}

.gtec-slide__text {
	max-width: 62ch;
	margin: 1.25rem auto 0 !important;
	color: #e8eef7;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.gtec-slide .wp-block-buttons {
	margin-top: 2rem;
}

/* Entrada escalonada del texto de cada diapositiva */
.gtec-anim .gtec-slider.is-ready .gtec-slide .wp-block-cover__inner-container > * {
	opacity: 0;
	transform: translateY(38px);
}

.gtec-anim .gtec-slider.is-ready .gtec-slide.is-active .wp-block-cover__inner-container > * {
	opacity: 1;
	transform: none;
	transition: opacity 0.8s ease, transform 0.9s var(--gtec-ease);
}

.gtec-anim .gtec-slide.is-active .wp-block-cover__inner-container > :nth-child(1) { transition-delay: 0.25s; }
.gtec-anim .gtec-slide.is-active .wp-block-cover__inner-container > :nth-child(2) { transition-delay: 0.45s; }
.gtec-anim .gtec-slide.is-active .wp-block-cover__inner-container > :nth-child(3) { transition-delay: 0.65s; }
.gtec-anim .gtec-slide.is-active .wp-block-cover__inner-container > :nth-child(4) { transition-delay: 0.85s; }

/* Controles del slider (los crea assets/js/gtec.js) */
.gtec-slider__arrow {
	position: absolute;
	top: 45%;
	z-index: 5;
	width: 54px;
	height: 54px;
	border: 0;
	border-radius: 50%;
	background: var(--gtec-primary);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.25s, transform 0.25s var(--gtec-ease);
}

.gtec-slider__arrow:hover {
	background: #fff;
	color: var(--gtec-navy);
	transform: scale(1.08);
}

.gtec-slider__arrow svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.gtec-slider__arrow--prev {
	left: clamp(0.75rem, 3vw, 3rem);
}

.gtec-slider__arrow--prev svg {
	transform: rotate(180deg);
}

.gtec-slider__arrow--next {
	right: clamp(0.75rem, 3vw, 3rem);
}

.gtec-slider__dots {
	position: absolute;
	left: 50%;
	bottom: 8.5rem;
	z-index: 5;
	display: flex;
	gap: 0.6rem;
	transform: translateX(-50%);
}

.gtec-slider__dots button {
	width: 40px;
	height: 5px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.gtec-slider__dots button span {
	position: absolute;
	inset: 0;
	background: var(--gtec-primary);
	transform: scaleX(0);
	transform-origin: left;
}

.gtec-slider__dots button[aria-current="true"] span {
	animation: gtec-progress var(--gtec-slide-time, 7s) linear forwards;
}

.gtec-slider.is-paused .gtec-slider__dots button[aria-current="true"] span {
	animation-play-state: paused;
}

@keyframes gtec-progress {
	to {
		transform: scaleX(1);
	}
}

@media (max-width: 781px) {
	/* En móvil se pasa de diapositiva deslizando o con los puntos */
	.gtec-slider__arrow {
		display: none;
	}

	.gtec-slider__dots {
		bottom: 6.6rem;
		height: 44px;
		align-items: center;
	}

	.gtec-slider > .gtec-slide {
		min-height: 0 !important;
		padding: 3rem max(20px, env(safe-area-inset-left, 0px)) 9.5rem !important;
	}

	.gtec-slide .gtec-chip {
		font-size: 0.86rem;
		line-height: 1.4;
		padding: 0.4rem 0.8rem;
	}

	.gtec-slide__title {
		font-size: clamp(1.9rem, 8.6vw, 2.5rem) !important;
	}

	.gtec-slide__text {
		font-size: 0.98rem;
		line-height: 1.6;
	}

	.gtec-slide .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.gtec-slide .wp-block-button {
		width: 100%;
	}

	.gtec-slide .wp-block-button__link {
		width: 100%;
	}
}

/* ==========================================================================
   3. Tarjetas de servicios con icono orbitando
   ========================================================================== */

.gtec-services {
	position: relative;
	z-index: 3;
	background: linear-gradient(var(--gtec-navy) 0 90px, transparent 90px);
	padding-bottom: var(--wp--preset--spacing--60) !important;
}

.gtec-cards {
	margin-top: -110px !important;
	gap: 1.6rem !important;
}

.gtec-card {
	position: relative;
	background: #fff;
	box-shadow: var(--gtec-shadow);
	padding: 2.4rem 1.6rem 2rem;
	text-align: center;
	transition: transform 0.4s var(--gtec-ease), box-shadow 0.4s var(--gtec-ease);
	isolation: isolate;
}

.gtec-card::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 55%;
	height: 45%;
	background-image: radial-gradient(rgba(22, 33, 113, 0.14) 1.2px, transparent 1.3px);
	background-size: 9px 9px;
	z-index: -1;
	-webkit-mask: linear-gradient(135deg, #000 30%, transparent 70%);
	mask: linear-gradient(135deg, #000 30%, transparent 70%);
}

.gtec-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--gtec-shadow-hover);
}

.gtec-card:nth-child(even) {
	margin-top: 1.75rem;
}

@media (max-width: 781px) {
	.gtec-card:nth-child(even) {
		margin-top: 0;
	}

	.gtec-cards {
		margin-top: -70px !important;
	}
}

.gtec-orb {
	--orb: var(--gtec-primary);
	position: relative;
	width: 112px;
	height: 112px;
	margin: 0 auto 1.4rem;
	border-radius: 50%;
	background: #eef1f7;
	display: grid;
	place-items: center;
}

.gtec-orb--blue { --orb: #00A0E8; }
.gtec-orb--orange { --orb: #FF5B11; }
.gtec-orb--navy { --orb: #162171; }
.gtec-orb--green { --orb: #0E8161; }

.gtec-orb::before {
	content: "";
	position: absolute;
	inset: 22px;
	border-radius: 50%;
	background: var(--orb);
	box-shadow: 0 10px 25px color-mix(in srgb, var(--orb) 40%, transparent);
	transition: transform 0.5s var(--gtec-ease);
}

.gtec-orb::after {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 50% 0, var(--orb) 0 5px, transparent 5.5px),
		radial-gradient(circle at 50% 100%, var(--orb) 0 5px, transparent 5.5px);
	animation: gtec-orbit 9s linear infinite;
}

@keyframes gtec-orbit {
	to {
		transform: rotate(360deg);
	}
}

.gtec-card:hover .gtec-orb::before {
	transform: scale(1.1) rotate(-12deg);
}

.gtec-orb .gtec-orb__icon {
	position: relative;
	z-index: 1;
	margin: 0;
	transition: transform 0.5s var(--gtec-ease);
}

.gtec-card:hover .gtec-orb__icon {
	transform: rotateY(360deg);
}

.gtec-card__title {
	font-size: 1.3rem;
	margin: 0 0 0.6rem;
}

.gtec-card__title a {
	color: var(--gtec-navy);
}

.gtec-card__title a:hover {
	color: var(--gtec-primary);
}

.gtec-card__text {
	font-size: 0.98rem;
}

.gtec-more a {
	position: relative;
	font-weight: 700;
	color: var(--gtec-navy);
	padding-right: 1.6em;
}

.gtec-more a::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 1.05em;
	height: 1.05em;
	background: var(--gtec-primary);
	-webkit-mask: url("assets/icons/c-arrow.svg") center / contain no-repeat;
	mask: url("assets/icons/c-arrow.svg") center / contain no-repeat;
	transform: translateY(-50%);
	transition: transform 0.3s var(--gtec-ease);
}

.gtec-more a:hover::after {
	transform: translate(5px, -50%);
}

/* ==========================================================================
   4. Títulos de sección
   ========================================================================== */

.gtec-subtitle {
	position: relative;
	display: inline-block;
	margin-bottom: 0.4rem !important;
	padding-left: 1.4rem;
	color: var(--gtec-primary);
	font-weight: 700;
	font-size: 1.02rem;
	letter-spacing: 0.04em;
}

.gtec-subtitle::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0.85rem;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
	transform: translateY(-50%) scaleX(0.75);
	transform-origin: left;
}

.is-layout-constrained > .gtec-subtitle {
	display: block;
}

.gtec-subtitle.has-text-align-center {
	display: block;
	padding-left: 0;
}

.gtec-subtitle.has-text-align-center::before {
	display: none;
}

.gtec-subtitle--light {
	color: #8fd6f7;
}

.gtec-title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 800;
	line-height: 1.12;
	margin-top: 0 !important;
	text-wrap: balance;
}

/* Subrayado curvo bajo una parte del título */
.gtec-swoosh {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}

.gtec-swoosh::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -0.32em;
	width: 100%;
	height: 0.36em;
	background: url("assets/images/shape_line.svg") center / 100% 100% no-repeat;
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1.1s var(--gtec-ease) 0.3s;
}

.gtec-swoosh.is-in::after,
html:not(.gtec-anim) .gtec-swoosh::after {
	clip-path: inset(0 0 0 0);
}

/* Títulos de las páginas de servicio (patrones con "pista") */
.is-style-gtec-trace {
	position: relative;
	padding-bottom: 0.9rem;
}

.is-style-gtec-trace::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 3px;
	background: linear-gradient(90deg, var(--gtec-primary) 0 70%, transparent 70% 78%, var(--gtec-primary) 78%);
}

.has-text-align-center.is-style-gtec-trace::after {
	left: 50%;
	transform: translateX(-50%);
}

/* ==========================================================================
   5. Gestión tecnológica: imagen orgánica, anillo y accesos
   ========================================================================== */

.gtec-circuit {
	position: relative;
	overflow: hidden;
}

.gtec-circuit::before,
.gtec-circuit::after {
	content: "";
	position: absolute;
	width: 340px;
	height: 340px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%2300A0E8' stroke-width='1'%3E%3Cpath d='M0 40h60l20 20h60M0 80h40l20 20h90M0 120h70l20-20h40M0 160h50l20 20h60'/%3E%3Ccircle cx='140' cy='60' r='4'/%3E%3Ccircle cx='150' cy='100' r='4'/%3E%3Ccircle cx='130' cy='100' r='3'/%3E%3Ccircle cx='130' cy='180' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.22;
	pointer-events: none;
}

.gtec-circuit::before {
	top: 2rem;
	left: -60px;
}

.gtec-circuit::after {
	right: -60px;
	bottom: 1rem;
	transform: scaleX(-1);
}

.gtec-protect .wp-block-columns {
	position: relative;
	z-index: 1;
	gap: clamp(2rem, 6vw, 5rem);
}

.gtec-protect .wp-block-column:first-child {
	position: relative;
}

.gtec-blob-wrap {
	position: absolute;
	inset: -6%;
	pointer-events: none;
}

.gtec-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px dashed rgba(0, 160, 232, 0.45);
	animation: gtec-orbit 40s linear infinite;
}

.gtec-dot {
	position: absolute;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--gtec-primary);
	animation: gtec-float 4s ease-in-out infinite;
}

.gtec-dot--a {
	top: 8%;
	right: 12%;
}

.gtec-dot--b {
	bottom: 12%;
	left: 4%;
	width: 10px;
	height: 10px;
	background: #FF5B11;
	animation-delay: -2s;
}

@keyframes gtec-float {
	50% {
		transform: translateY(-14px);
	}
}

.gtec-blob {
	position: relative;
	margin: 0;
}

.gtec-blob img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%;
	box-shadow: 0 30px 60px rgba(22, 33, 113, 0.22);
	animation: gtec-morph 12s ease-in-out infinite;
}

@keyframes gtec-morph {
	0%,
	100% {
		border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%;
	}
	33% {
		border-radius: 45% 55% 40% 60% / 60% 40% 60% 40%;
	}
	66% {
		border-radius: 52% 48% 62% 38% / 42% 58% 42% 58%;
	}
}

/* Subtítulo con palabras que se escriben */
.gtec-rotate .gtec-rotate__word {
	display: inline-block;
	min-width: 1ch;
}

.gtec-rotate .gtec-rotate__word i {
	font-style: normal;
	display: inline-block;
	opacity: 0;
	transform: translateY(0.6em) rotateX(-90deg);
	transition: opacity 0.25s, transform 0.35s var(--gtec-ease);
}

.gtec-rotate .gtec-rotate__word i.is-on {
	opacity: 1;
	transform: none;
}

.gtec-rotate .gtec-rotate__caret {
	display: inline-block;
	width: 2px;
	height: 1em;
	margin-left: 2px;
	vertical-align: -0.12em;
	background: currentColor;
	animation: gtec-blink 0.9s steps(1) infinite;
}

@keyframes gtec-blink {
	50% {
		opacity: 0;
	}
}

/* Accesos con icono */
.gtec-chips {
	list-style: none;
	padding: 0;
	margin: 1.8rem 0 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem 1.1rem;
}

@media (max-width: 600px) {
	.gtec-chips {
		grid-template-columns: 1fr;
	}
}

.gtec-chip-item {
	--m: url("assets/icons/c-tv.svg");
	position: relative;
	background: #fff;
	box-shadow: 0 6px 22px rgba(22, 33, 113, 0.1);
	transition: background 0.3s var(--gtec-ease), transform 0.3s var(--gtec-ease);
}

.gtec-chip-item a {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	min-height: 58px;
	padding: 0.55rem 0.9rem 0.55rem 4.3rem;
	color: var(--gtec-navy);
	font-weight: 700;
	line-height: 1.25;
}

.gtec-chip-item::before {
	content: "";
	position: absolute;
	left: 0.65rem;
	top: 50%;
	width: 42px;
	height: 42px;
	transform: translateY(-50%);
	background: var(--gtec-primary);
	transition: background 0.3s;
}

.gtec-chip-item::after {
	content: "";
	position: absolute;
	left: calc(0.65rem + 11px);
	top: 50%;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	background: #fff;
	-webkit-mask: var(--m) center / contain no-repeat;
	mask: var(--m) center / contain no-repeat;
	transition: background 0.3s;
}

.gtec-chip-item:hover {
	background: var(--gtec-primary);
	transform: translateX(6px);
}

.gtec-chip-item:hover a {
	color: #fff;
}

.gtec-chip-item:hover::before {
	background: #fff;
}

.gtec-chip-item:hover::after {
	background: var(--gtec-primary);
}

.gtec-c-tv { --m: url("assets/icons/c-tv.svg"); }
.gtec-c-wrench { --m: url("assets/icons/c-wrench.svg"); }
.gtec-c-lock { --m: url("assets/icons/c-lock.svg"); }
.gtec-c-chat { --m: url("assets/icons/c-chat.svg"); }
.gtec-c-mega { --m: url("assets/icons/c-mega.svg"); }
.gtec-c-code { --m: url("assets/icons/c-code.svg"); }
.gtec-c-cart { --m: url("assets/icons/c-cart.svg"); }
.gtec-c-web { --m: url("assets/icons/c-web.svg"); }

/* ==========================================================================
   6. Cifras
   ========================================================================== */

.gtec-stats-band {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding-top: var(--wp--preset--spacing--50) !important;
	padding-bottom: var(--wp--preset--spacing--50) !important;
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 22px);
}

.gtec-stats {
	gap: 1.5rem !important;
}

.gtec-stat {
	position: relative;
	text-align: center;
}

.gtec-stat + .gtec-stat::before {
	content: "";
	position: absolute;
	left: -0.75rem;
	top: 15%;
	height: 70%;
	width: 1px;
	background: rgba(255, 255, 255, 0.35);
}

.gtec-stat__num {
	margin: 0 !important;
	font-size: clamp(2.6rem, 5vw, 3.6rem);
	font-weight: 800;
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.gtec-stat__label {
	margin-top: 0.5rem !important;
	color: #e8f6fd;
	font-weight: 500;
}

@media (max-width: 781px) {
	.gtec-stat + .gtec-stat::before {
		display: none;
	}
}

/* ==========================================================================
   7. Secciones oscuras, fondo hexagonal y GesGaraj
   ========================================================================== */

.gtec-dark {
	color: #dfe6f3;
}

.gtec-dark :is(h2, h3, h4) {
	color: #fff;
}

.gtec-dark a:not(.wp-block-button__link) {
	color: #8fd6f7;
}

.gtec-hex {
	background-image: url("assets/images/fondo-hex.webp");
	background-size: cover;
	background-position: center;
	background-blend-mode: multiply;
}

.gtec-tilt {
	position: relative;
	perspective: 1200px;
}

.gtec-screen {
	margin: 0;
}

.gtec-screen img {
	display: block;
	width: 100%;
	border-radius: 10px;
	border: 6px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
	transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg));
	transition: transform 0.4s ease-out;
}

.gtec-badge-float {
	position: absolute;
	right: -10px;
	top: -30px;
	margin: 0;
	filter: drop-shadow(0 14px 25px rgba(0, 0, 0, 0.45));
	animation: gtec-float 4.5s ease-in-out infinite;
}

.gtec-ticks {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.gtec-ticks li {
	position: relative;
	padding-left: 2rem;
}

.gtec-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--gtec-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.gtec-ticks strong {
	color: #fff;
}

.gtec-ticks--dark strong {
	color: var(--gtec-navy);
}

/* ==========================================================================
   8. Seguridad: tarjetas escalonadas
   ========================================================================== */

.gtec-feature .wp-block-columns:first-child {
	margin-bottom: 3rem;
}

.gtec-quote {
	position: relative;
	padding-left: 1.5rem;
	border-left: 3px solid var(--gtec-primary);
	color: #dfe6f3 !important;
	font-size: 1.08rem;
}

.gtec-feats {
	gap: 1.4rem !important;
}

.gtec-feat {
	background: #fff;
	padding: 2.2rem 1.3rem 1.8rem;
	text-align: center;
	box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
	transition: transform 0.4s var(--gtec-ease);
}

.gtec-feat:nth-child(even) {
	margin-top: 3rem;
}

.gtec-feat:hover {
	transform: translateY(-10px);
}

@media (max-width: 781px) {
	.gtec-feat:nth-child(even) {
		margin-top: 0;
	}
}

.gtec-feat__circle {
	position: relative;
	width: 86px;
	height: 86px;
	margin: 0 auto 1.2rem;
	display: grid;
	place-items: center;
}

.gtec-feat__circle::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 66px;
	height: 66px;
	border-radius: 50%;
	background: #e9ecf3;
	transition: transform 0.4s var(--gtec-ease);
}

.gtec-feat:hover .gtec-feat__circle::before {
	transform: translateX(20px);
}

.gtec-feat__icon {
	position: relative;
	margin: 0;
}

.gtec-feature .gtec-feat__title {
	color: var(--gtec-navy);
	font-size: 1.15rem;
	margin: 0 0 0.6rem;
}

.gtec-feat__text {
	color: var(--wp--preset--color--copy);
	font-size: 0.95rem;
	margin: 0;
}

/* ==========================================================================
   9. Tarjetas genéricas, imágenes, pasos y listas (páginas de servicio)
   ========================================================================== */

.is-style-gtec-board,
.gtec-imgcard {
	position: relative;
	background: #fff;
	box-shadow: var(--gtec-shadow);
	transition: transform 0.4s var(--gtec-ease), box-shadow 0.4s var(--gtec-ease);
}

.is-style-gtec-board::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 4px;
	background: var(--gtec-primary);
	transform: scaleX(0.25);
	transform-origin: left;
	transition: transform 0.5s var(--gtec-ease);
}

.is-style-gtec-board:hover,
.gtec-imgcard:hover {
	transform: translateY(-8px);
	box-shadow: var(--gtec-shadow-hover);
}

.is-style-gtec-board:hover::before {
	transform: scaleX(1);
}

.is-style-gtec-board > .wp-block-image,
.is-style-gtec-board > .wp-block-image img {
	width: 100%;
	margin: 0;
}

.gtec-imgcards {
	gap: 1.6rem !important;
	margin-top: 2.5rem !important;
}

.gtec-imgcard {
	padding-bottom: 1.6rem;
	overflow: hidden;
}

.gtec-imgcard__img {
	margin: 0 0 1.3rem !important;
	overflow: hidden;
}

.gtec-imgcard__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.8s var(--gtec-ease);
}

.gtec-imgcard:hover .gtec-imgcard__img img {
	transform: scale(1.08);
}

.gtec-imgcard__title,
.gtec-imgcard__text {
	padding-inline: 1.4rem;
}

.gtec-imgcard__title {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}

.gtec-imgcard__text {
	font-size: 0.97rem;
	margin: 0;
}

/* Pasos numerados */
.gtec-steps {
	counter-reset: gtec-step;
	margin-top: 2.5rem !important;
	gap: 1.6rem !important;
}

.gtec-steps > .wp-block-column {
	counter-increment: gtec-step;
	position: relative;
	padding-top: 4.4rem;
}

.gtec-steps > .wp-block-column::before {
	content: counter(gtec-step, decimal-leading-zero);
	position: absolute;
	top: 0;
	left: 0;
	width: 3.4rem;
	height: 3.4rem;
	display: grid;
	place-items: center;
	background: var(--gtec-primary);
	color: #fff;
	font-weight: 800;
	font-size: 1.25rem;
	box-shadow: 8px 8px 0 rgba(0, 160, 232, 0.18);
}

.gtec-steps > .wp-block-column::after {
	content: "";
	position: absolute;
	top: 1.7rem;
	left: 4.2rem;
	right: -1.6rem;
	border-top: 2px dashed rgba(0, 160, 232, 0.4);
}

.gtec-steps > .wp-block-column:last-child::after {
	display: none;
}

@media (max-width: 781px) {
	.gtec-steps > .wp-block-column::after {
		display: none;
	}
}

.gtec-steps h3 {
	margin: 0 0 0.4rem;
	font-size: 1.2rem;
}

/* Lista con nodos (páginas de servicio) */
.is-style-gtec-nodes {
	list-style: none;
	padding-left: 0;
}

.is-style-gtec-nodes li {
	position: relative;
	padding-left: 1.7rem;
	margin-block: 0.5em;
}

.is-style-gtec-nodes li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.38em;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background: var(--gtec-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.gtec-dark .is-style-gtec-nodes li,
.has-night-background-color .is-style-gtec-nodes li,
.has-navy-background-color .is-style-gtec-nodes li {
	color: #e6f1f8;
}

/* Tablas */
.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	font-size: var(--wp--preset--font-size--small);
	box-shadow: var(--gtec-shadow);
	background: #fff;
}

.wp-block-table :is(th, td) {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0.9rem 1rem;
	text-align: left;
}

.wp-block-table thead th {
	background: var(--gtec-navy);
	color: #fff;
	font-size: 1.02rem;
}

/* Logos de fabricantes */
.gtec-brands {
	gap: 2.5rem !important;
}

.gtec-brands img {
	max-height: 40px;
	width: auto;
	object-fit: contain;
	opacity: 0.8;
	transition: opacity 0.3s, transform 0.3s;
}

.gtec-brands img:hover {
	opacity: 1;
	transform: translateY(-3px);
}

/* Sin hueco blanco entre la llamada final y el pie */
.wp-site-blocks > footer,
.wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0;
}

/* ==========================================================================
   10. Preguntas frecuentes
   ========================================================================== */

.wp-block-details {
	background: #fff;
	box-shadow: 0 6px 24px rgba(22, 33, 113, 0.08);
	padding: 1.1rem 1.4rem;
	margin-top: 0.9rem !important;
	border-left: 3px solid transparent;
	transition: border-color 0.3s;
}

.wp-block-details[open] {
	border-left-color: var(--gtec-primary);
}

.wp-block-details summary {
	cursor: pointer;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--gtec-navy);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	flex: none;
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--gtec-primary);
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
	transition: transform 0.3s var(--gtec-ease), background 0.3s;
}

.wp-block-details[open] summary::after {
	transform: rotate(135deg);
	background: var(--gtec-navy);
}

.wp-block-details > :not(summary) {
	margin-top: 0.8rem;
}

/* ==========================================================================
   11. Banner de páginas interiores
   ========================================================================== */

.gtec-banner {
	position: relative;
	padding-top: var(--wp--preset--spacing--60) !important;
	padding-bottom: var(--wp--preset--spacing--60) !important;
	overflow: hidden;
}

.gtec-banner .wp-block-cover__image-background {
	animation: gtec-kenburns 14s ease-out forwards;
}

.gtec-banner::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 45px solid rgba(0, 160, 232, 0.18);
	pointer-events: none;
	animation: gtec-float 6s ease-in-out infinite;
}

.gtec-banner .wp-block-cover__inner-container > * {
	max-width: 760px;
}

.gtec-banner__title {
	color: #fff !important;
	font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
	font-weight: 800;
	line-height: 1.08;
	margin: 0.4rem 0 0 !important;
	text-wrap: balance;
}

.gtec-banner--sm .gtec-banner__title {
	font-size: clamp(2rem, 4vw, 3rem) !important;
}

.gtec-banner__lead {
	color: #e3ebf7 !important;
	font-size: 1.15rem;
	margin-top: 1rem !important;
}

.gtec-banner .wp-block-buttons {
	margin-top: 1.8rem;
}

.gtec-banner .yoast-breadcrumbs,
.gtec-banner .wp-block-yoast-seo-breadcrumbs {
	color: #cfe9fa;
	font-size: 0.95rem;
}

.gtec-banner .yoast-breadcrumbs a {
	color: #fff;
}

/* ==========================================================================
   12. Reseñas de Google
   ========================================================================== */

.gtec-reviews {
	display: grid;
	gap: 1.4rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	margin-top: 2rem;
}

.gtec-review {
	position: relative;
	margin: 0;
	padding: 2rem 1.6rem 1.5rem;
	background: #fff;
	box-shadow: var(--gtec-shadow);
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.gtec-review::before {
	content: "\201C";
	position: absolute;
	right: 1.2rem;
	top: 0.2rem;
	font-size: 5rem;
	line-height: 1;
	color: rgba(0, 160, 232, 0.18);
	font-weight: 800;
}

.gtec-review__stars {
	color: #f5a623;
	letter-spacing: 0.12em;
	font-size: 1.1rem;
}

.gtec-review blockquote {
	margin: 0;
	font-size: 0.98rem;
}

.gtec-review figcaption {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.9rem;
}

.gtec-review figcaption img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
}

.gtec-review figcaption strong {
	color: var(--gtec-navy);
}

.gtec-reviews-summary {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.6rem 1.4rem;
	margin-top: 1.5rem;
}

.gtec-reviews-summary strong {
	font-size: 2.4rem;
	font-weight: 800;
	line-height: 1;
	color: var(--gtec-navy);
}

.gtec-reviews-fallback {
	max-width: 640px;
	margin: 2rem auto 0;
	padding: 2rem;
	text-align: center;
	background: #fff;
	box-shadow: var(--gtec-shadow);
}

.gtec-reviews-fallback a {
	font-weight: 700;
}

/* ==========================================================================
   13. Llamada a la acción
   ========================================================================== */

.gtec-cta {
	color: #fff;
}

.gtec-cta__title {
	color: #fff !important;
	margin: 0 0 0.6rem;
}

.gtec-cta p {
	color: #f0f9fe !important;
}

/* ==========================================================================
   14. Formularios (Contact Form 7, WPForms, Gravity Forms) + reCAPTCHA
   ========================================================================== */

:where(.wpcf7, .wpforms-container, .gform_wrapper) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--mist);
	font: inherit;
	color: var(--gtec-navy);
	transition: border-color 0.25s, background 0.25s;
}

:where(.wpcf7, .wpforms-container, .gform_wrapper) :is(input, select, textarea):focus {
	border-color: var(--gtec-primary);
	background: #fff;
	outline: none;
}

:where(.wpcf7, .wpforms-container, .gform_wrapper) label {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--gtec-navy);
}

:where(.wpcf7, .wpforms-container, .gform_wrapper) :is(input[type="submit"], button[type="submit"]) {
	appearance: none;
	border: 0;
	padding: 1rem 2.2rem;
	background: var(--gtec-primary);
	color: #fff;
	font: 700 1rem/1 var(--wp--preset--font-family--catamaran);
	cursor: pointer;
	transition: background 0.3s;
}

:where(.wpcf7, .wpforms-container, .gform_wrapper) :is(input[type="submit"], button[type="submit"]):hover {
	background: var(--gtec-navy);
}

.wpcf7-not-valid-tip {
	font-size: 0.85rem;
	color: #c62828;
}

.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
}

/* La insignia se oculta: el aviso obligatorio va junto al formulario */
.grecaptcha-badge {
	visibility: hidden;
}

.gtec-recaptcha-note {
	font-size: 0.8rem;
	color: var(--wp--preset--color--copy);
	margin-top: 0.8rem !important;
}

/* ==========================================================================
   15. Pie de página
   ========================================================================== */

.gtec-footer {
	position: relative;
	background: var(--gtec-night);
	color: #aeb8cc;
	overflow: hidden;
}

.gtec-footer::before {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 380px;
	height: 380px;
	border-radius: 50%;
	border: 60px solid rgba(0, 160, 232, 0.07);
	pointer-events: none;
}

.gtec-footer__top {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--50);
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}

.gtec-footer__intro {
	padding-bottom: 2.5rem;
	margin-bottom: 2.5rem !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gtec-footer__logo {
	margin: 0 0 1rem;
}

.gtec-footer__muted,
.gtec-footer p {
	color: #aeb8cc;
	font-size: 0.97rem;
}

.gtec-footer__contact {
	text-align: right;
}

.gtec-footer__contact .gtec-social {
	justify-content: flex-end;
	margin-top: 1rem;
}

.gtec-footer .gtec-footer__phone {
	margin: 0 !important;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	line-height: 1.1;
}

.gtec-footer .gtec-footer__phone a {
	color: #fff;
}

.gtec-footer__phone a:hover {
	color: var(--gtec-primary);
}

@media (max-width: 781px) {
	.gtec-footer__contact {
		text-align: left;
	}

	.gtec-footer__contact .gtec-social {
		justify-content: flex-start;
	}
}

.gtec-footer__title {
	position: relative;
	color: #fff !important;
	font-size: 1.2rem;
	padding-bottom: 0.9rem;
	margin-bottom: 1.2rem !important;
}

.gtec-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	background: var(--gtec-primary);
	transition: width 0.4s var(--gtec-ease);
}

.gtec-footer .wp-block-column:hover .gtec-footer__title::after {
	width: 64px;
}

.gtec-footer-links {
	margin: 0;
	display: grid;
	gap: 0.55rem;
}

.gtec-footer a {
	color: #aeb8cc;
	transition: color 0.25s, padding 0.25s var(--gtec-ease);
}

.gtec-footer-links a:hover {
	color: var(--gtec-primary);
	padding-left: 6px;
}

.gtec-footer .gtec-ico::before {
	background: var(--gtec-primary);
}

.gtec-footer .gtec-ico a:hover {
	color: #fff;
}

.gtec-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.3rem var(--wp--style--root--padding-right) 1.3rem var(--wp--style--root--padding-left);
}

.gtec-footer__copy {
	margin: 0;
	text-align: center;
	font-size: 0.9rem;
}

/* ==========================================================================
   16. Botones flotantes: volver arriba y WhatsApp
   ========================================================================== */

.gtec-totop {
	position: fixed;
	right: calc(1rem + env(safe-area-inset-right, 0px));
	bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--gtec-navy);
	box-shadow: 0 8px 22px rgba(14, 20, 34, 0.2);
	cursor: pointer;
	display: grid;
	place-items: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.3s, transform 0.3s var(--gtec-ease), visibility 0.3s;
}

.gtec-totop.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.gtec-totop svg {
	position: absolute;
	inset: 0;
	transform: rotate(-90deg);
}

.gtec-totop circle {
	fill: none;
	stroke: var(--gtec-primary);
	stroke-width: 3;
	stroke-dasharray: 144.5;
	stroke-dashoffset: calc(144.5 - 144.5 * var(--p, 0));
}

.gtec-totop i {
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("assets/icons/c-up.svg") center / contain no-repeat;
	mask: url("assets/icons/c-up.svg") center / contain no-repeat;
}

.gtec-whatsapp {
	position: fixed;
	right: calc(1rem + env(safe-area-inset-right, 0px));
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #25d366;
	box-shadow: 0 8px 22px rgba(14, 20, 34, 0.25);
}

.gtec-whatsapp::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #25d366;
	animation: gtec-pulse 2.4s ease-out infinite;
	z-index: -1;
}

@keyframes gtec-pulse {
	from {
		transform: scale(1);
		opacity: 0.6;
	}
	to {
		transform: scale(1.7);
		opacity: 0;
	}
}

.gtec-whatsapp img {
	width: 30px;
	height: 30px;
}

/* ==========================================================================
   17. Animaciones al hacer scroll (solo con JavaScript activo)
   ========================================================================== */

.gtec-anim .gtec-reveal {
	opacity: 0;
	transform: translateY(46px);
	transition: opacity 0.9s ease, transform 1s var(--gtec-ease);
	transition-delay: var(--d, 0s);
}

.gtec-anim .gtec-reveal--left {
	transform: translateX(-60px);
}

.gtec-anim .gtec-reveal--right {
	transform: translateX(60px);
}

.gtec-anim .gtec-reveal--zoom {
	transform: scale(0.88);
}

.gtec-anim .gtec-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Blog */
.gtec-post-card {
	background: #fff;
	box-shadow: var(--gtec-shadow);
	height: 100%;
	transition: transform 0.4s var(--gtec-ease);
}

.gtec-post-card:hover {
	transform: translateY(-8px);
}

.gtec-post-card .wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
}

.gtec-post-card__body {
	padding: 1.2rem 1.4rem 1.6rem;
}

.gtec-post-meta {
	color: var(--wp--preset--color--copy);
	font-size: 0.92rem;
	gap: 0.4rem 1rem !important;
}

.gtec-post-nav {
	margin-top: 3rem !important;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--line);
}

/* Fachada de YouTube */
.gtec-yt {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--gtec-night);
	box-shadow: var(--gtec-shadow);
}

.gtec-yt img,
.gtec-yt iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.gtec-yt button {
	position: absolute;
	inset: 0;
	width: 100%;
	border: 0;
	padding: 0;
	cursor: pointer;
	background: linear-gradient(180deg, rgba(14, 20, 34, 0.1), rgba(14, 20, 34, 0.7));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 1rem;
	font: 700 1.1rem/1.3 var(--wp--preset--font-family--catamaran);
}

.gtec-yt button span {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.gtec-yt button span::before {
	content: "";
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--gtec-primary) url("assets/icons/play.svg") 56% 50% / 34% no-repeat;
	box-shadow: 0 0 0 0 rgba(0, 160, 232, 0.6);
	animation: gtec-ring 2s infinite;
}

@keyframes gtec-ring {
	to {
		box-shadow: 0 0 0 22px rgba(0, 160, 232, 0);
	}
}

.gtec-videos:not(:has(.gtec-yt, iframe)) {
	display: none;
}

@media print {
	.gtec-header,
	.gtec-whatsapp,
	.gtec-totop,
	.gtec-slider__arrow,
	.gtec-slider__dots {
		display: none !important;
	}
}

/* =========================================================
   Planes de mantenimiento (GesGaraj)
   ========================================================= */
.gtec-plans {
	gap: 2rem !important;
	align-items: stretch !important;
	margin-block: 2rem;
}

.gtec-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 2.25rem 2rem 2rem;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-top: 5px solid var(--gtec-primary);
	box-shadow: 0 18px 40px -24px rgba(22, 33, 113, 0.35);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gtec-plan:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 50px -24px rgba(22, 33, 113, 0.45);
}

.gtec-plan > * {
	margin-block: 0 !important;
}

.gtec-plan__tag {
	align-self: flex-start;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gtec-primary);
	background: var(--wp--preset--color--sky-soft);
	padding: 0.3rem 0.75rem;
}

.gtec-plan__title {
	font-size: clamp(1.5rem, 2.4vw, 1.9rem) !important;
}

.gtec-plan .gtec-ticks {
	flex: 1;
	align-content: start;
	margin: 0;
}

.gtec-plan .gtec-ticks li {
	color: var(--wp--preset--color--copy);
}

.gtec-plan .wp-block-buttons {
	margin-top: 0.5rem !important;
}

.gtec-plan--oro {
	background: var(--gtec-navy);
	border-color: var(--gtec-navy);
	border-top-color: #E8B931;
	color: #fff;
}

.gtec-plan--oro .gtec-plan__title {
	color: #fff;
}

.gtec-plan--oro .gtec-plan__tag {
	color: #1B1B1B;
	background: #E8B931;
}

.gtec-plan--oro .gtec-ticks li {
	color: rgba(255, 255, 255, 0.88);
}

.gtec-plan--oro .gtec-ticks li::before {
	background-color: #E8B931;
}

/* =========================================================
   Declaración responsable VERI*FACTU
   ========================================================= */
.gtec-decl {
	display: grid;
	gap: 2rem;
}

.gtec-decl .declaracion-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	padding: clamp(1.25rem, 4vw, 2.5rem);
	display: grid;
	gap: 1.5rem;
}

.gtec-decl .declaracion-intro {
	font-size: 1.05rem;
	margin: 0;
}

.gtec-decl .marco-legal {
	margin: 0;
	padding-left: 1.2rem;
	display: grid;
	gap: 0.6rem;
}

.gtec-decl .clausula {
	display: grid;
	gap: 0.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.gtec-decl .clausula:last-of-type {
	border-bottom: 0;
}

.gtec-decl .clausula-letra {
	display: inline-block;
	font-weight: 800;
	color: #fff;
	background: var(--gtec-navy);
	padding: 0.15rem 0.6rem;
}

.gtec-decl .clausula-pregunta {
	margin: 0;
	font-weight: 700;
	color: var(--gtec-navy);
}

.gtec-decl .clausula-respuesta {
	background: var(--wp--preset--color--mist);
	border-left: 4px solid var(--gtec-primary);
	padding: 0.9rem 1.1rem;
}

.gtec-decl .clausula-respuesta > * {
	margin-block: 0.4rem;
}

.gtec-decl .clausula-subtitulo {
	margin: 1rem 0 0.25rem;
	font-size: 1rem;
	color: var(--gtec-navy);
}

.gtec-decl .badge-respuesta {
	display: inline-block;
	font-weight: 800;
	color: #fff;
	background: var(--wp--preset--color--green, #0E8161);
	padding: 0.1rem 0.6rem;
}

.gtec-decl .publicacion-nota {
	font-size: 0.95rem;
	background: var(--wp--preset--color--sky-soft);
	padding: 1rem 1.2rem;
	overflow-wrap: anywhere;
}

.gtec-decl .declaracion-actualizado {
	font-size: 0.9rem;
	color: var(--wp--preset--color--copy);
	margin: 0;
}

@media print {
	.gtec-header,
	header.wp-block-template-part,
	.wp-site-blocks > div:first-child,
	footer,
	.gtec-whatsapp,
	.gtec-totop,
	.gtec-banner .wp-block-buttons,
	.cmplz-cookiebanner {
		display: none !important;
	}

	.gtec-banner {
		min-height: 0 !important;
		padding: 0 !important;
		background: none !important;
	}

	.gtec-banner .wp-block-cover__background,
	.gtec-banner img {
		display: none !important;
	}

	.gtec-banner * {
		color: #000 !important;
	}

	.gtec-decl .declaracion-card {
		border: 0;
		padding: 0;
	}

	.gtec-decl .clausula {
		break-inside: avoid;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.gtec-anim .gtec-reveal {
		opacity: 1;
		transform: none;
	}
}

/* Textos legales */
.gtec-legal-container .highlight-box,
.gtec-legal-container .contact-info,
.gtec-policy .policy-card {
	background: var(--wp--preset--color--mist);
	border-left: 4px solid var(--gtec-primary);
	padding: 1.1rem 1.3rem;
	margin-block: 1.5rem;
}

.gtec-legal-container .last-update {
	font-size: 0.9rem;
	font-style: italic;
	color: var(--wp--preset--color--copy);
	border-top: 1px solid var(--wp--preset--color--line);
	padding-top: 1rem;
	margin-top: 2.5rem;
}

/* ==========================================================================
   2.2 · Cabeceras de producto, vídeo de portada, reseñas manuales,
   GesGaraj (lector de matrículas, pasos, galería, comparativa) y web
   (constructor animado, dispositivos, qué incluye)
   ========================================================================== */

/* Cabecera de producto a dos columnas */
.gtec-banner--product .wp-block-cover__inner-container > .gtec-hero-cols {
	max-width: none;
	gap: clamp(2rem, 5vw, 4rem);
}

.gtec-banner--product .gtec-hero-cols > .wp-block-column > * {
	max-width: 680px;
}

.gtec-chip-hero {
	display: inline-block;
	margin: 0.6rem 0 0 !important;
	padding: 0.35rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: #cfe9fa;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: rgba(0, 160, 232, 0.14);
	backdrop-filter: blur(4px);
}

.gtec-hero-visual {
	position: relative;
}

@media (max-width: 781px) {
	.gtec-hero-visual {
		max-width: 460px;
		margin-inline: auto;
		width: 100%;
	}
}

/* Vídeo de la portada (gestión tecnológica) */
.gtec-video-frame {
	position: relative;
	padding: 18px 0 0 18px;
}

.gtec-video-frame::before {
	content: "";
	position: absolute;
	inset: 0 18px 18px 0;
	border: 2px solid var(--gtec-primary);
	transform: translate(-0px, -0px);
	opacity: 0.55;
}

.gtec-video-frame .wp-block-embed {
	position: relative;
	margin: 0;
}

.gtec-video-frame .gtec-yt {
	box-shadow: 0 30px 60px rgba(22, 33, 113, 0.25);
}

.gtec-video-frame .wp-element-caption {
	margin-top: 0.8rem;
	font-size: 0.92rem;
	color: var(--wp--preset--color--copy);
}

.gtec-video-frame__deco {
	position: absolute;
	inset: -6% -4%;
	pointer-events: none;
}

/* Reseñas: cuatro cajas */
.gtec-reviews--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.gtec-reviews--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.gtec-reviews--4 {
		grid-template-columns: 1fr;
	}
}

.gtec-review {
	transition: transform 0.4s var(--gtec-ease), box-shadow 0.4s var(--gtec-ease);
	border-top: 3px solid transparent;
}

.gtec-review:hover {
	transform: translateY(-6px);
	border-top-color: var(--gtec-primary);
	box-shadow: 0 18px 40px rgba(22, 33, 113, 0.16);
}

.gtec-review__avatar {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--gtec-navy);
	color: #fff;
	font-weight: 800;
	font-size: 0.85rem;
}

.gtec-reviews-summary__g {
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	box-shadow: var(--gtec-shadow);
	font-weight: 800;
	font-size: 1.3rem;
	color: #4285f4;
}

.gtec-reviews-note {
	margin-top: 1.4rem;
	text-align: center;
	font-size: 0.85rem;
	color: var(--wp--preset--color--copy);
}

/* Lector de matrículas animado (GesGaraj) */
.gtec-lpr {
	position: relative;
	padding: 0 0 2.2rem 0;
}

.gtec-lpr__screen {
	position: relative;
	background: #0b1220;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.04);
	transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
	animation: gtec-lpr-float 7s ease-in-out infinite;
}

@keyframes gtec-lpr-float {
	50% { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg) translateY(-8px); }
}

.gtec-lpr__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.55rem 0.9rem;
	font-size: 0.78rem;
	color: #9fb3c8;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gtec-lpr__live {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #ff6b6b;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.7rem;
}

.gtec-lpr__live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	animation: gtec-blink 1.2s steps(2, start) infinite;
}

@keyframes gtec-blink {
	to { visibility: hidden; }
}

.gtec-lpr__cam {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.gtec-lpr__cam img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 62%;
	filter: saturate(0.85) contrast(1.05);
}

.gtec-lpr__box {
	position: absolute;
	left: 50%;
	top: 70%;
	width: 34%;
	aspect-ratio: 3.4 / 1;
	transform: translate(-50%, -50%);
	border: 2px solid #3ddc84;
	box-shadow: 0 0 0 9999px rgba(11, 18, 32, 0.25), 0 0 18px rgba(61, 220, 132, 0.6);
	display: grid;
	place-items: center;
	animation: gtec-lpr-box 9s ease-in-out infinite;
}

.gtec-lpr__box::before,
.gtec-lpr__box::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	border: 3px solid #3ddc84;
}

.gtec-lpr__box::before {
	top: -7px;
	left: -7px;
	border-right: 0;
	border-bottom: 0;
}

.gtec-lpr__box::after {
	bottom: -7px;
	right: -7px;
	border-left: 0;
	border-top: 0;
}

.gtec-lpr__plate {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	padding: 0.15rem 0.55rem 0.15rem 1.4rem;
	background: #fff linear-gradient(90deg, #1f4bb3 0 1rem, transparent 1rem);
	border-radius: 4px;
	color: #111;
	font: 800 0.95rem/1.3 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	letter-spacing: 0.08em;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
	animation: gtec-lpr-plate 9s ease-in-out infinite;
}

.gtec-lpr__scan {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, #3ddc84, transparent);
	box-shadow: 0 0 18px 4px rgba(61, 220, 132, 0.5);
	animation: gtec-lpr-scan 2.4s linear infinite;
}

@keyframes gtec-lpr-scan {
	from { top: 0; opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	to { top: 100%; opacity: 0; }
}

@keyframes gtec-lpr-box {
	0%, 8% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
	16%, 92% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
	100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

@keyframes gtec-lpr-plate {
	0%, 16% { opacity: 0; transform: translate(-50%, 6px); }
	22%, 92% { opacity: 1; transform: translate(-50%, 0); }
	100% { opacity: 0; }
}

.gtec-lpr__log {
	list-style: none;
	margin: 0;
	padding: 0.7rem;
	display: grid;
	gap: 0.4rem;
}

.gtec-lpr__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.45rem 0.7rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.05);
	color: #c9d6e3;
	font-size: 0.8rem;
	animation: gtec-lpr-row 9s ease-in-out infinite;
}

.gtec-lpr__row b {
	color: #fff;
}

.gtec-lpr__row span::before {
	content: "✓ ";
	color: #3ddc84;
	font-weight: 800;
}

.gtec-lpr__row.is-ok {
	background: rgba(61, 220, 132, 0.16);
	color: #bff3d4;
}

.gtec-lpr__row--2 { animation-name: gtec-lpr-row2; }
.gtec-lpr__row--3 { animation-name: gtec-lpr-row3; }
.gtec-lpr__row--4 { animation-name: gtec-lpr-row4; }

@keyframes gtec-lpr-row {
	0%, 24% { opacity: 0; transform: translateX(14px); }
	30%, 92% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-lpr-row2 {
	0%, 36% { opacity: 0; transform: translateX(14px); }
	42%, 92% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-lpr-row3 {
	0%, 48% { opacity: 0; transform: translateX(14px); }
	54%, 92% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-lpr-row4 {
	0%, 60% { opacity: 0; transform: translateX(14px); }
	66%, 92% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

.gtec-lpr__gate {
	position: absolute;
	left: -6%;
	bottom: 0;
	width: 62%;
	height: 4.2rem;
	pointer-events: none;
}

.gtec-lpr__post {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2rem;
	height: 3.6rem;
	border-radius: 6px 6px 2px 2px;
	background: linear-gradient(#f5c518, #d9a400);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.gtec-lpr__arm {
	position: absolute;
	left: 1rem;
	bottom: 2.6rem;
	width: 100%;
	height: 0.6rem;
	border-radius: 4px;
	background: repeating-linear-gradient(90deg, #fff 0 22px, #e53935 22px 44px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
	transform-origin: 0 50%;
	transform: rotate(-78deg);
	animation: gtec-lpr-arm 9s ease-in-out infinite;
}

@keyframes gtec-lpr-arm {
	0%, 64% { transform: rotate(0deg); }
	72%, 90% { transform: rotate(-78deg); }
	98%, 100% { transform: rotate(0deg); }
}

@media (max-width: 781px) {
	.gtec-lpr__screen {
		transform: none;
		animation: none;
	}

	.gtec-lpr__gate {
		display: none;
	}

	.gtec-lpr {
		padding-bottom: 0;
	}
}

/* Franja de sellos */
.gtec-badges-band {
	padding-block: 1.1rem !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gtec-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem 2.2rem;
	color: #9fb3c8;
	font-size: 0.92rem;
}

.gtec-badges li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.gtec-badges li::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gtec-primary);
	box-shadow: 0 0 0 4px rgba(0, 160, 232, 0.2);
}

.gtec-badges strong {
	color: #fff;
}

/* Bloques a dos columnas con imagen */
.gtec-split {
	gap: clamp(2rem, 5vw, 4.5rem) !important;
}

.gtec-float-img img {
	width: 100%;
	height: auto;
	animation: gtec-float 6s ease-in-out infinite;
	filter: drop-shadow(0 24px 40px rgba(22, 33, 113, 0.18));
}

/* Tarjetas de módulos */
.gtec-modules {
	gap: 1.4rem !important;
	margin-top: 1.4rem !important;
}

.gtec-modules:first-of-type {
	margin-top: 2.4rem !important;
}

.gtec-module {
	position: relative;
	padding: 2rem 1.7rem 1.8rem;
	background: #fff;
	box-shadow: var(--gtec-shadow);
	overflow: hidden;
	transition: transform 0.45s var(--gtec-ease), box-shadow 0.45s var(--gtec-ease);
}

.gtec-module::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--gtec-primary), var(--gtec-navy));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--gtec-ease);
}

.gtec-module::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -40px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: rgba(0, 160, 232, 0.07);
	transition: transform 0.6s var(--gtec-ease);
}

.gtec-module:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 50px rgba(22, 33, 113, 0.16);
}

.gtec-module:hover::before {
	transform: scaleX(1);
}

.gtec-module:hover::after {
	transform: scale(2.4);
}

.gtec-module__icon {
	margin: 0 0 1rem !important;
	transition: transform 0.5s var(--gtec-ease);
}

.gtec-module:hover .gtec-module__icon {
	transform: rotate(-8deg) scale(1.1);
}

.gtec-module__title {
	font-size: 1.2rem !important;
	margin: 0 0 0.5rem !important;
}

.gtec-module__text {
	margin: 0 !important;
	font-size: 0.97rem;
	color: var(--wp--preset--color--copy);
}

/* Cómo funciona: pasos con imagen */
.gtec-flow {
	counter-reset: gtec-flow;
	gap: 1.4rem !important;
	margin-top: 2.6rem !important;
}

.gtec-flow__step {
	position: relative;
	background: #fff;
	box-shadow: var(--gtec-shadow);
	padding-bottom: 1.4rem;
}

.gtec-flow__img {
	margin: 0 !important;
	overflow: hidden;
}

.gtec-flow__img img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.8s var(--gtec-ease);
}

.gtec-flow__step:hover .gtec-flow__img img {
	transform: scale(1.07);
}

.gtec-flow__num {
	position: relative;
	z-index: 1;
	width: 3rem;
	height: 3rem;
	margin: -1.5rem 0 0 1.4rem !important;
	display: grid;
	place-items: center;
	background: var(--gtec-primary);
	color: #fff;
	font-weight: 800;
	font-size: 1.2rem;
	box-shadow: 6px 6px 0 rgba(0, 160, 232, 0.2);
}

.gtec-flow__title {
	font-size: 1.15rem !important;
	margin: 0.9rem 1.4rem 0.4rem !important;
}

.gtec-flow__text {
	margin: 0 1.4rem !important;
	font-size: 0.95rem;
	color: var(--wp--preset--color--copy);
}

@media (min-width: 782px) {
	.gtec-flow__step:not(:last-child)::after {
		content: "";
		position: absolute;
		z-index: 2;
		top: calc(50% - 14px);
		right: -1.15rem;
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background: var(--gtec-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / 60% no-repeat;
	}
}

/* Galería con zoom al pasar y lightbox */
.gtec-gallery {
	margin-top: 2rem !important;
	gap: 0.9rem !important;
}

.gtec-gallery.wp-block-gallery figure.wp-block-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--gtec-shadow);
}

.gtec-gallery.wp-block-gallery figure.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--gtec-ease), filter 0.5s;
}

.gtec-gallery.wp-block-gallery figure.wp-block-image:hover img {
	transform: scale(1.08);
}

.gtec-gallery.wp-block-gallery figure.wp-block-image figcaption {
	padding: 2.4rem 0.9rem 0.75rem;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	background: linear-gradient(0deg, rgba(14, 20, 34, 0.9) 10%, transparent);
}

@media (max-width: 781px) {
	.gtec-gallery.wp-block-gallery.columns-4 figure.wp-block-image {
		width: calc(50% - 0.45rem) !important;
	}
}

/* Comparativa */
.gtec-compare table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	box-shadow: var(--gtec-shadow);
	background: #fff;
}

.gtec-compare th {
	background: var(--gtec-navy);
	color: #fff;
	text-align: left;
	padding: 1rem 1.2rem;
	border: 0;
}

.gtec-compare td {
	padding: 0.95rem 1.2rem;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	vertical-align: top;
}

.gtec-compare tbody tr {
	transition: background 0.3s;
}

.gtec-compare tbody tr:hover {
	background: var(--wp--preset--color--sky-soft);
}

.gtec-compare td:last-child {
	font-weight: 700;
	color: var(--gtec-navy);
}

.gtec-yes {
	display: inline-grid;
	place-items: center;
	width: 1.4rem;
	height: 1.4rem;
	margin-right: 0.35rem;
	border-radius: 50%;
	background: var(--wp--preset--color--green);
	color: #fff;
	font-size: 0.8rem;
}

/* Diseño web: cabecera con código de fondo */
.gtec-banner--code .wp-block-cover__image-background {
	filter: blur(1px);
}

/* Constructor de webs animado */
.gtec-builder {
	position: relative;
	padding: 1rem 2.5rem 3rem 0;
}

.gtec-builder__win {
	position: relative;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
	transform: perspective(1400px) rotateY(-10deg) rotateX(4deg);
	animation: gtec-lpr-float 8s ease-in-out infinite;
}

.gtec-builder__bar {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.6rem 0.8rem;
	background: #eef1f6;
	border-bottom: 1px solid #dde3ec;
}

.gtec-builder__bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ff5f57;
}

.gtec-builder__bar i:nth-child(2) { background: #febc2e; }
.gtec-builder__bar i:nth-child(3) { background: #28c840; }

.gtec-builder__bar span {
	flex: 1;
	margin-left: 0.6rem;
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	background: #fff;
	color: #6b7686;
	font-size: 0.72rem;
}

.gtec-builder__body {
	padding: 0.9rem;
	display: grid;
	gap: 0.8rem;
	min-height: 290px;
}

.gtec-builder__nav {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	animation: gtec-b-in 10s ease-in-out infinite;
}

.gtec-builder__nav b {
	width: 3.4rem;
	height: 0.9rem;
	border-radius: 4px;
	background: var(--gtec-navy);
	margin-right: auto;
}

.gtec-builder__nav span {
	width: 2.2rem;
	height: 0.45rem;
	border-radius: 3px;
	background: #c9d2df;
}

.gtec-builder__nav em {
	width: 3.4rem;
	height: 1.2rem;
	border-radius: 4px;
	background: var(--gtec-primary);
}

.gtec-builder__hero {
	display: grid;
	gap: 0.55rem;
	padding: 1.3rem 1rem;
	border-radius: 8px;
	background: linear-gradient(120deg, var(--gtec-navy), #1d3a9e 60%, var(--gtec-primary));
}

.gtec-builder__hero span {
	display: block;
	height: 0.9rem;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.9);
	transform-origin: left;
}

.gtec-builder__t1 { width: 78%; height: 1.2rem !important; animation: gtec-b-grow1 10s ease-in-out infinite; }
.gtec-builder__t2 { width: 55%; opacity: 0.6; animation: gtec-b-grow2 10s ease-in-out infinite; }
.gtec-builder__btn { width: 6rem; height: 1.6rem !important; margin-top: 0.4rem; background: #ffb21e !important; animation: gtec-b-pop 10s ease-in-out infinite; }

.gtec-builder__cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
}

.gtec-builder__cards span {
	height: 4.2rem;
	border-radius: 6px;
	background: #f1f4f9;
	border-top: 3px solid var(--gtec-primary);
	animation: gtec-b-card 10s ease-in-out infinite;
}

.gtec-builder__cards span:nth-child(2) { animation-name: gtec-b-card2; }
.gtec-builder__cards span:nth-child(3) { animation-name: gtec-b-card3; }

@keyframes gtec-b-in {
	0%, 4% { opacity: 0; transform: translateY(-8px); }
	10%, 94% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-b-grow1 {
	0%, 12% { transform: scaleX(0); }
	22%, 94% { transform: scaleX(1); }
	100% { transform: scaleX(0); }
}

@keyframes gtec-b-grow2 {
	0%, 20% { transform: scaleX(0); }
	30%, 94% { transform: scaleX(1); }
	100% { transform: scaleX(0); }
}

@keyframes gtec-b-pop {
	0%, 30% { transform: scale(0); }
	36% { transform: scale(1.15); }
	40%, 94% { transform: scale(1); }
	100% { transform: scale(0); }
}

@keyframes gtec-b-card {
	0%, 40% { opacity: 0; transform: translateY(16px); }
	48%, 94% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-b-card2 {
	0%, 46% { opacity: 0; transform: translateY(16px); }
	54%, 94% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-b-card3 {
	0%, 52% { opacity: 0; transform: translateY(16px); }
	60%, 94% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

.gtec-builder__code {
	position: absolute;
	left: -1.5rem;
	bottom: 0;
	display: grid;
	gap: 0.15rem;
	padding: 0.8rem 1rem;
	border-radius: 10px;
	background: #0b1220;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
	font: 600 0.74rem/1.5 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	color: #7dd3fc;
	white-space: pre;
}

.gtec-builder__code span {
	overflow: hidden;
	width: 0;
	animation: gtec-type 10s steps(24, end) infinite;
	border-right: 2px solid transparent;
}

.gtec-builder__code .c2 { color: #fde68a; animation-name: gtec-type2; }
.gtec-builder__code .c3 { color: #86efac; animation-name: gtec-type3; }
.gtec-builder__code .c4 { animation-name: gtec-type4; }

@keyframes gtec-type {
	0% { width: 0; }
	12%, 94% { width: 22ch; }
	100% { width: 0; }
}

@keyframes gtec-type2 {
	0%, 12% { width: 0; }
	24%, 94% { width: 22ch; }
	100% { width: 0; }
}

@keyframes gtec-type3 {
	0%, 24% { width: 0; }
	36%, 94% { width: 26ch; }
	100% { width: 0; }
}

@keyframes gtec-type4 {
	0%, 36% { width: 0; }
	42%, 94% { width: 10ch; }
	100% { width: 0; }
}

.gtec-builder__phone {
	position: absolute;
	right: 0;
	bottom: 0.5rem;
	width: 28%;
	aspect-ratio: 9 / 18;
	padding: 6px;
	border-radius: 22px;
	background: #111827;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	animation: gtec-float 6s ease-in-out infinite;
}

.gtec-builder__phone img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	border-radius: 16px;
}

.gtec-builder__chip {
	position: absolute;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #fff;
	color: var(--gtec-navy);
	font-weight: 800;
	font-size: 0.78rem;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
	animation: gtec-chip 10s ease-in-out infinite;
}

.gtec-builder__chip--1 { top: -0.4rem; right: 18%; }
.gtec-builder__chip--2 { top: 38%; left: -1.6rem; animation-name: gtec-chip2; }
.gtec-builder__chip--3 { bottom: 34%; right: 24%; animation-name: gtec-chip3; }

@keyframes gtec-chip {
	0%, 58% { opacity: 0; transform: scale(0.6); }
	64%, 94% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-chip2 {
	0%, 64% { opacity: 0; transform: scale(0.6); }
	70%, 94% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@keyframes gtec-chip3 {
	0%, 70% { opacity: 0; transform: scale(0.6); }
	76%, 94% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

@media (max-width: 781px) {
	.gtec-builder {
		padding: 0.5rem 1.5rem 2.5rem 0;
	}

	.gtec-builder__win {
		transform: none;
		animation: none;
	}

	.gtec-builder__code {
		left: 0;
	}

	.gtec-builder__chip--2 {
		left: 0;
	}
}

/* Escaparate en dispositivos */
.gtec-devices {
	position: relative;
	padding: 0 12% 2rem 0;
}

.gtec-devices__laptop {
	position: relative;
}

.gtec-devices__screen {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 12px solid #1f2937;
	border-bottom-width: 16px;
	border-radius: 14px 14px 0 0;
	background: #fff;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.gtec-devices__screen img,
.gtec-devices__phone img {
	width: 100%;
	height: auto;
	display: block;
	animation: gtec-scroll-shot 18s ease-in-out infinite alternate;
}

@keyframes gtec-scroll-shot {
	0%, 8% { transform: translateY(0); }
	92%, 100% { transform: translateY(calc(-100% + var(--gtec-view, 260px))); }
}

.gtec-devices__screen img {
	--gtec-view: 100%;
	animation-name: gtec-scroll-laptop;
}

@keyframes gtec-scroll-laptop {
	0%, 8% { transform: translateY(0); }
	92%, 100% { transform: translateY(-62%); }
}

.gtec-devices__base {
	height: 14px;
	margin: 0 -7%;
	border-radius: 0 0 14px 14px;
	background: linear-gradient(#d1d5db, #9ca3af);
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.gtec-devices__phone {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 26%;
	aspect-ratio: 9 / 19;
	padding: 7px;
	overflow: hidden;
	border-radius: 24px;
	background: #111827;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.gtec-devices__phone img {
	border-radius: 16px;
	animation-name: gtec-scroll-phone;
	animation-duration: 14s;
}

@keyframes gtec-scroll-phone {
	0%, 8% { transform: translateY(0); }
	92%, 100% { transform: translateY(-70%); }
}

/* Qué incluye tu web */
.gtec-include {
	list-style: none;
	margin: 2.4rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 1rem;
}

.gtec-include__item {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 1.1rem 1.2rem;
	background: #fff;
	box-shadow: var(--gtec-shadow);
	font-weight: 700;
	color: var(--gtec-navy);
	transition: transform 0.4s var(--gtec-ease), box-shadow 0.4s var(--gtec-ease);
}

.gtec-include__item:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 36px rgba(22, 33, 113, 0.14);
}

.gtec-include__ico {
	flex: 0 0 2.8rem;
	height: 2.8rem;
	position: relative;
	border-radius: 50%;
	background: var(--wp--preset--color--sky-soft);
	transition: transform 0.5s var(--gtec-ease);
}

.gtec-include__ico::before {
	content: "";
	position: absolute;
	inset: 24%;
	background: var(--gtec-primary);
	-webkit-mask: var(--ico) center / contain no-repeat;
	mask: var(--ico) center / contain no-repeat;
}

.gtec-include__item:hover .gtec-include__ico {
	transform: rotate(360deg);
}

.gtec-anim .gtec-include__item {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--gtec-ease), transform 0.6s var(--gtec-ease), box-shadow 0.4s;
}

.gtec-anim .gtec-include.is-in .gtec-include__item {
	opacity: 1;
	transform: none;
}

.gtec-include.is-in .gtec-include__item:nth-child(2) { transition-delay: 0.08s; }
.gtec-include.is-in .gtec-include__item:nth-child(3) { transition-delay: 0.16s; }
.gtec-include.is-in .gtec-include__item:nth-child(4) { transition-delay: 0.24s; }
.gtec-include.is-in .gtec-include__item:nth-child(5) { transition-delay: 0.32s; }
.gtec-include.is-in .gtec-include__item:nth-child(6) { transition-delay: 0.4s; }
.gtec-include.is-in .gtec-include__item:nth-child(7) { transition-delay: 0.48s; }
.gtec-include.is-in .gtec-include__item:nth-child(8) { transition-delay: 0.56s; }

.gtec-include.is-in .gtec-include__item:hover {
	transition-delay: 0s;
	transform: translateY(-5px);
}

/* Pasos: la línea se dibuja al aparecer */
.gtec-anim .gtec-steps--line > .wp-block-column::after {
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.9s var(--gtec-ease) 0.3s;
}

.gtec-anim .gtec-steps--line > .wp-block-column.is-in::after {
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.gtec-lpr__arm {
		transform: rotate(-78deg);
	}

	.gtec-builder__code span {
		width: auto;
	}

	.gtec-devices img {
		transform: none !important;
	}

	.gtec-anim .gtec-include__item {
		opacity: 1;
		transform: none;
	}
}

/* Elevación al pasar el ratón también tras la animación de entrada */
.gtec-anim .gtec-reveal.is-in.gtec-imgcard:hover,
.gtec-anim .gtec-reveal.is-in.gtec-module:hover,
.gtec-anim .gtec-reveal.is-in.gtec-flow__step:hover,
.gtec-anim .gtec-reveal.is-in.gtec-plan:hover {
	transform: translateY(-8px);
	transition-delay: 0s;
}

/* ==========================================================================
   2.3 · Mantenimiento animado, pasos GesGaraj, planes y formulario
   ========================================================================== */

@property --gtec-a {
	syntax: "<angle>";
	inherits: false;
	initial-value: 0deg;
}

@keyframes gtec-spin-a {
	to {
		--gtec-a: 360deg;
	}
}

/* --- Qué incluye el mantenimiento: tarjetas "en línea" ------------------- */
.gtec-svc-grid {
	gap: 1.4rem !important;
}

.gtec-svc {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 2rem 1.6rem 1.8rem;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: 0 18px 40px -30px rgba(22, 33, 113, 0.45);
	transition: box-shadow 0.4s var(--gtec-ease), border-color 0.4s;
}

/* Fondo azul que crece desde el icono */
.gtec-svc::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: calc(1.6rem + 12px);
	top: calc(2rem + 12px);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--gtec-navy) 0%, var(--gtec-night) 100%);
	transform: scale(0);
	transition: transform 0.75s var(--gtec-ease);
}

/* Línea de escaneo */
.gtec-svc::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: -30%;
	height: 30%;
	background: linear-gradient(180deg, transparent, rgba(0, 160, 232, 0.16) 70%, rgba(0, 160, 232, 0.55));
	border-bottom: 1px solid rgba(0, 160, 232, 0.8);
	opacity: 0;
}

.gtec-svc:hover {
	border-color: transparent;
	box-shadow: 0 30px 60px -30px rgba(14, 20, 34, 0.7);
}

.gtec-svc:hover::before {
	transform: scale(22);
}

.gtec-svc:hover::after {
	opacity: 1;
	animation: gtec-svc-scan 1.6s linear infinite;
}

@keyframes gtec-svc-scan {
	from {
		top: -30%;
	}
	to {
		top: 100%;
	}
}

.gtec-svc :is(h3, p) {
	transition: color 0.45s ease 0.1s;
}

.gtec-svc:hover :is(h3, p) {
	color: #fff !important;
}

/* Icono dentro de un hexágono con radar */
.gtec-svc__icon {
	position: relative;
	width: 64px;
	height: 64px;
	margin: 0 0 0.6rem !important;
	display: grid !important;
	place-items: center;
}

.gtec-svc__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--wp--preset--color--sky-soft);
	clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
	transition: background-color 0.4s, transform 0.8s var(--gtec-ease);
}

.gtec-svc__icon::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 2px solid var(--gtec-primary);
	opacity: 0;
}

.gtec-svc__icon img {
	position: relative;
	width: 34px !important;
	height: 34px !important;
	transition: transform 0.6s var(--gtec-ease), filter 0.4s;
}

.gtec-svc:hover .gtec-svc__icon::before {
	background: var(--gtec-primary);
	transform: rotate(180deg);
}

.gtec-svc:hover .gtec-svc__icon::after {
	animation: gtec-svc-ping 1.4s ease-out infinite;
}

.gtec-svc:hover .gtec-svc__icon img {
	transform: scale(1.12) rotate(-8deg);
	filter: brightness(0) invert(1);
}

@keyframes gtec-svc-ping {
	from {
		transform: scale(0.8);
		opacity: 0.9;
	}
	to {
		transform: scale(1.6);
		opacity: 0;
	}
}

/* Esquina con "LED" de estado que parpadea */
.gtec-svc > h3::after {
	content: "";
	position: absolute;
	top: 1.2rem;
	right: 1.2rem;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #2ecc71;
	box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
	animation: gtec-led 2.4s ease-in-out infinite;
	animation-delay: var(--d, 0s);
}

@keyframes gtec-led {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.25;
	}
}

/* Entrada: las tarjetas se levantan como pantallas que se encienden */
.gtec-anim .gtec-reveal.gtec-svc {
	transform: perspective(900px) rotateX(-28deg) translateY(40px);
	transform-origin: 50% 0;
	filter: brightness(1.6) saturate(0);
	transition: opacity 0.8s ease, transform 1s var(--gtec-ease), filter 1.2s ease;
	transition-delay: var(--d, 0s);
}

.gtec-anim .gtec-reveal.gtec-svc.is-in {
	transform: none;
	filter: none;
}

.gtec-anim .gtec-reveal.is-in.gtec-svc:hover {
	transform: translateY(-6px);
	transition-delay: 0s;
}

/* --- GesGaraj: pasos "Cómo funciona" -------------------------------------- */
.gtec-flow__img img {
	aspect-ratio: 16 / 10;
	object-position: center;
}

.gtec-flow__img {
	cursor: zoom-in;
}

/* --- Planes de mantenimiento (estilo EasyTech) ---------------------------- */
.gtec-plan {
	isolation: isolate;
	overflow: hidden;
	transition: transform 0.45s var(--gtec-ease), box-shadow 0.45s var(--gtec-ease), color 0.45s;
}

.gtec-plan > * {
	position: relative;
	z-index: 1;
}

/* Forma que rellena la tarjeta desde la esquina */
.gtec-plan::after {
	content: "";
	position: absolute;
	z-index: 0;
	right: -70px;
	top: -70px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: var(--wp--preset--color--sky-soft);
	transition: transform 0.8s var(--gtec-ease), background-color 0.6s;
}

/* Brillo que cruza la tarjeta */
.gtec-plan::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-18deg);
	pointer-events: none;
}

.gtec-plan:hover::before {
	animation: gtec-plan-shine 0.9s ease;
}

@keyframes gtec-plan-shine {
	to {
		left: 130%;
	}
}

.gtec-plan:not(.gtec-plan--oro):hover {
	color: #fff;
	border-top-color: var(--gtec-primary);
}

.gtec-plan:not(.gtec-plan--oro):hover::after {
	background: var(--gtec-navy);
	transform: scale(9);
}

.gtec-plan:not(.gtec-plan--oro):hover :is(.gtec-plan__title, .gtec-ticks li) {
	color: #fff;
}

.gtec-plan:not(.gtec-plan--oro):hover .gtec-plan__tag {
	background: var(--gtec-primary);
	color: #fff;
}

.gtec-plan:not(.gtec-plan--oro):hover .is-style-outline .wp-block-button__link {
	color: #fff;
	border-color: #fff;
}

.gtec-plan :is(.gtec-plan__title, .gtec-ticks li, .gtec-plan__tag) {
	transition: color 0.4s ease 0.1s, background-color 0.4s ease;
}

/* Plan Oro: borde dorado que gira y título con brillo */
.gtec-plan--oro {
	border: 2px solid transparent;
	background:
		linear-gradient(var(--gtec-navy), var(--gtec-navy)) padding-box,
		conic-gradient(from var(--gtec-a), #e8b931, rgba(232, 185, 49, 0.1) 25%, #fff4c7 45%, rgba(232, 185, 49, 0.1) 70%, #e8b931) border-box;
	animation: gtec-spin-a 5s linear infinite;
}

.gtec-plan--oro::after {
	background: rgba(232, 185, 49, 0.12);
}

.gtec-plan--oro:hover::after {
	transform: scale(2.4);
}

.gtec-plan--oro .gtec-plan__title {
	background: linear-gradient(90deg, #fff 0%, #fff 40%, #f6d76b 50%, #fff 60%, #fff 100%);
	background-size: 250% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gtec-gold-text 4s linear infinite;
}

@keyframes gtec-gold-text {
	from {
		background-position: 100% 0;
	}
	to {
		background-position: -150% 0;
	}
}

.gtec-plan--oro .gtec-plan__tag {
	animation: gtec-tag-pulse 2.6s ease-in-out infinite;
}

@keyframes gtec-tag-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(232, 185, 49, 0.55);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(232, 185, 49, 0);
	}
}

/* Las ventajas aparecen una a una */
.gtec-anim .gtec-plan.gtec-reveal .gtec-ticks li {
	opacity: 0;
	transform: translateX(-14px);
	transition: opacity 0.5s ease, transform 0.6s var(--gtec-ease), color 0.4s;
}

.gtec-anim .gtec-plan.gtec-reveal.is-in .gtec-ticks li {
	opacity: 1;
	transform: none;
}

.gtec-anim .gtec-plan.is-in .gtec-ticks li:nth-child(1) { transition-delay: 0.35s, 0.35s, 0s; }
.gtec-anim .gtec-plan.is-in .gtec-ticks li:nth-child(2) { transition-delay: 0.45s, 0.45s, 0s; }
.gtec-anim .gtec-plan.is-in .gtec-ticks li:nth-child(3) { transition-delay: 0.55s, 0.55s, 0s; }
.gtec-anim .gtec-plan.is-in .gtec-ticks li:nth-child(4) { transition-delay: 0.65s, 0.65s, 0s; }
.gtec-anim .gtec-plan.is-in .gtec-ticks li:nth-child(5) { transition-delay: 0.75s, 0.75s, 0s; }
.gtec-anim .gtec-plan.is-in .gtec-ticks li:nth-child(6) { transition-delay: 0.85s, 0.85s, 0s; }
.gtec-anim .gtec-plan.is-in .gtec-ticks li:nth-child(7) { transition-delay: 0.95s, 0.95s, 0s; }

/* --- Formulario: consola de solicitud ------------------------------------- */
.gtec-formbox {
	position: relative;
	isolation: isolate;
	margin-top: 1.4rem;
	color: #fff;
	border: 1px solid transparent;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(0, 160, 232, 0.22), transparent 55%) padding-box,
		linear-gradient(160deg, #18267f 0%, var(--gtec-night) 70%) padding-box,
		conic-gradient(from var(--gtec-a), rgba(0, 160, 232, 0.9), rgba(0, 160, 232, 0.05) 30%, rgba(127, 211, 247, 0.9) 50%, rgba(0, 160, 232, 0.05) 75%, rgba(0, 160, 232, 0.9)) border-box;
	box-shadow: 0 34px 70px -36px rgba(14, 20, 34, 0.85);
	animation: gtec-spin-a 8s linear infinite;
}

.gtec-formbox::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image:
		linear-gradient(rgba(0, 160, 232, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 160, 232, 0.09) 1px, transparent 1px);
	background-size: 28px 28px;
	mask-image: linear-gradient(180deg, #000, transparent 85%);
	pointer-events: none;
}

.gtec-formbox__glow {
	position: absolute;
	z-index: -1;
	width: 220px;
	height: 220px;
	right: -60px;
	bottom: -80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 160, 232, 0.35), transparent 70%);
	animation: gtec-glow-float 9s ease-in-out infinite alternate;
	pointer-events: none;
}

@keyframes gtec-glow-float {
	to {
		transform: translate(-120px, -160px);
	}
}

.gtec-formbox:focus-within {
	animation-duration: 2.5s;
}

.gtec-formbox__bar {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	padding: 0.65rem 1rem;
	font-size: 0.82rem;
	background: rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gtec-formbox__dots {
	display: flex;
	gap: 6px;
}

.gtec-formbox__dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ff5f57;
}

.gtec-formbox__dots i:nth-child(2) {
	background: #febc2e;
}

.gtec-formbox__dots i:nth-child(3) {
	background: #28c840;
}

.gtec-formbox__path {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0.2rem 0.7rem;
	color: rgba(255, 255, 255, 0.65);
	background: rgba(0, 0, 0, 0.25);
	border-radius: 20px;
}

.gtec-formbox__path::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 11px;
	margin-right: 0.45rem;
	vertical-align: -1px;
	background: #28c840;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M3 9V6a6 6 0 0 1 12 0v3h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2zm3 0h6V6a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 22'%3E%3Cpath d='M3 9V6a6 6 0 0 1 12 0v3h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2zm3 0h6V6a3 3 0 0 0-6 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gtec-formbox__live {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	color: #7ff0a9;
	font-weight: 700;
	white-space: nowrap;
}

.gtec-formbox__live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #28c840;
	animation: gtec-led 1.8s ease-in-out infinite;
}

.gtec-formbox__body {
	padding: clamp(1.2rem, 3vw, 2rem);
}

.gtec-formbox .wpcf7 form > p:empty,
.gtec-formbox .gtec-cf p:empty {
	display: none;
}

.gtec-cf {
	display: grid;
	gap: 1.15rem;
}

.gtec-cf p {
	margin: 0;
}

/* Contact Form 7 envuelve los campos en <p> y <br>: no deben romper la rejilla */
.gtec-cf__grid > p,
.gtec-cf > p {
	display: contents;
}

.gtec-cf .wpcf7-form-control-wrap {
	display: block;
}

.gtec-formbox :is(input, textarea, select) {
	box-sizing: border-box;
	max-width: 100%;
}

.gtec-cf__field :is(input, textarea) {
	width: 100%;
}

.gtec-cf br {
	display: none;
}

.gtec-cf__grid {
	display: grid;
	gap: 1.15rem;
}

@media (min-width: 700px) {
	.gtec-cf__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.15rem 1.2rem;
	}
}

.gtec-formbox label,
.gtec-cf__label {
	color: #fff;
}

.gtec-cf__field {
	position: relative;
	display: grid !important;
	align-content: start;
	gap: 0.45rem;
	font-weight: 600 !important;
}

.gtec-cf__label {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.8);
}

.gtec-formbox :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) {
	color: #fff;
	background: rgba(255, 255, 255, 0.06) linear-gradient(90deg, var(--gtec-primary), #7fd3f7) no-repeat left bottom / 0 2px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 0;
	transition: border-color 0.3s, background-color 0.3s, background-size 0.5s var(--gtec-ease), box-shadow 0.3s;
}

.gtec-formbox :is(input, textarea)::placeholder {
	color: rgba(255, 255, 255, 0.38);
}

.gtec-formbox :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea):focus {
	border-color: rgba(0, 160, 232, 0.9);
	background-color: rgba(0, 160, 232, 0.1);
	background-size: 100% 2px;
	box-shadow: 0 0 0 4px rgba(0, 160, 232, 0.16), 0 12px 30px -16px rgba(0, 160, 232, 0.9);
}

.gtec-cf__field :is(input[type="text"], input[type="email"], input[type="tel"]) {
	padding-left: 2.9rem;
}

/* Iconos de cada campo */
.gtec-cf__field--user::after,
.gtec-cf__field--company::after,
.gtec-cf__field--mail::after,
.gtec-cf__field--phone::after {
	content: "";
	position: absolute;
	left: 1rem;
	top: calc(0.85rem * 1.5 + 0.45rem + 0.95rem);
	width: 18px;
	height: 18px;
	background: #7fd3f7;
	-webkit-mask: var(--gtec-i) center / contain no-repeat;
	mask: var(--gtec-i) center / contain no-repeat;
	pointer-events: none;
	transition: background-color 0.3s, transform 0.3s var(--gtec-ease);
}

.gtec-cf__field--user { --gtec-i: url("assets/icons/i-users.svg"); }
.gtec-cf__field--company { --gtec-i: url("assets/icons/edificios.svg"); }
.gtec-cf__field--mail { --gtec-i: url("assets/icons/c-mail.svg"); }
.gtec-cf__field--phone { --gtec-i: url("assets/icons/phone.svg"); }

.gtec-cf__field:focus-within::after {
	background: #fff;
	transform: scale(1.15);
}

.gtec-cf__field:focus-within .gtec-cf__label {
	color: #7fd3f7;
}

/* Servicio: fichas seleccionables */
.gtec-cf__topics .wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.gtec-cf__topics .wpcf7-list-item {
	margin: 0;
}

.gtec-cf__topics .wpcf7-list-item label {
	position: relative;
	display: block;
	cursor: pointer;
	font-weight: 600;
}

.gtec-cf__topics input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.gtec-cf__topics .wpcf7-list-item-label {
	display: block;
	padding: 0.5rem 0.95rem;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 40px;
	transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
}

.gtec-cf__topics label:hover .wpcf7-list-item-label {
	border-color: var(--gtec-primary);
	transform: translateY(-2px);
}

.gtec-cf__topics label:has(input:checked) .wpcf7-list-item-label {
	color: #fff;
	background: linear-gradient(90deg, var(--gtec-primary), #2b5be0);
	border-color: transparent;
	box-shadow: 0 8px 20px -10px rgba(0, 160, 232, 0.9);
}

.gtec-cf__topics input:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Privacidad */
.gtec-cf__legal {
	font-size: 0.88rem;
	color: rgba(255, 255, 255, 0.75);
}

.gtec-cf__legal label {
	display: flex !important;
	gap: 0.6rem;
	align-items: flex-start;
	font-weight: 400 !important;
	font-size: 0.88rem !important;
	color: rgba(255, 255, 255, 0.78) !important;
	cursor: pointer;
}

.gtec-cf__legal .wpcf7-list-item {
	margin: 0;
}

.gtec-cf__legal input[type="checkbox"] {
	flex: none;
	appearance: none;
	width: 20px;
	height: 20px;
	margin: 0.1rem 0 0;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.06);
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color 0.25s, border-color 0.25s;
}

.gtec-cf__legal input[type="checkbox"]::after {
	content: "";
	width: 10px;
	height: 6px;
	margin-top: -3px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) scale(0);
	transition: transform 0.25s var(--gtec-ease);
}

.gtec-cf__legal input[type="checkbox"]:checked {
	background: var(--gtec-primary);
	border-color: var(--gtec-primary);
}

.gtec-cf__legal input[type="checkbox"]:checked::after {
	transform: rotate(-45deg) scale(1);
}

.gtec-cf__legal input[type="checkbox"]:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.gtec-formbox a {
	color: #7fd3f7;
}

/* Envío */
.gtec-cf__send {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem 1.2rem;
}

.gtec-formbox input[type="submit"] {
	position: relative;
	padding: 1.05rem 2.4rem 1.05rem 2.2rem;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.02em;
	background: linear-gradient(90deg, var(--gtec-primary) 0%, #2b5be0 35%, var(--gtec-primary) 70%, #7fd3f7 100%);
	background-size: 250% 100%;
	box-shadow: 0 14px 30px -14px rgba(0, 160, 232, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
	animation: gtec-btn-flow 5s linear infinite;
	transition: transform 0.25s var(--gtec-ease), box-shadow 0.25s;
}

.gtec-formbox input[type="submit"]:hover,
.gtec-formbox input[type="submit"]:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 20px 36px -14px rgba(0, 160, 232, 1), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
	background-color: transparent;
	outline: none;
}

@keyframes gtec-btn-flow {
	to {
		background-position: -250% 0;
	}
}

.gtec-cf__secure {
	flex: 1 1 14rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.6);
}

.gtec-cf__secure::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: #28c840;
}

.gtec-formbox .wpcf7-spinner {
	background-color: rgba(255, 255, 255, 0.6);
}

.gtec-formbox .wpcf7-not-valid-tip {
	margin-top: 0.3rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: #ff9b8a;
}

.gtec-formbox .wpcf7-not-valid {
	border-color: #ff6b57 !important;
	animation: gtec-shake 0.4s ease;
}

@keyframes gtec-shake {
	25% { transform: translateX(-5px); }
	75% { transform: translateX(5px); }
}

.gtec-formbox .wpcf7 form .wpcf7-response-output {
	margin: 1.2rem 0 0;
	padding: 0.8rem 1rem;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.06);
}

.gtec-formbox .wpcf7 form.sent .wpcf7-response-output {
	border-color: #28c840;
	background: rgba(40, 200, 64, 0.12);
}

.gtec-formbox .wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .spam) .wpcf7-response-output {
	border-color: #ffb900;
	background: rgba(255, 185, 0, 0.1);
}

/* Formularios de CF7 propios (no del tema) dentro del marco */
.gtec-formbox .wpcf7 label {
	color: #fff;
}

.gtec-formbox .gtec-form-fallback,
.gtec-formbox .gtec-form-fallback a {
	color: #fff;
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
	.gtec-svc::after,
	.gtec-svc > h3::after,
	.gtec-svc__icon::after,
	.gtec-plan--oro,
	.gtec-plan--oro .gtec-plan__title,
	.gtec-plan--oro .gtec-plan__tag,
	.gtec-formbox,
	.gtec-formbox__glow,
	.gtec-formbox__live::before,
	.gtec-formbox input[type="submit"] {
		animation: none !important;
	}

	.gtec-anim .gtec-reveal.gtec-svc,
	.gtec-anim .gtec-plan.gtec-reveal .gtec-ticks li {
		opacity: 1;
		transform: none;
		filter: none;
	}
}

/* ==========================================================================
   2.4 · Cabecera como la web original, "Lo que ofrecemos", ERP y contacto
   ========================================================================== */

/* --- Cabecera: franja clara y bloque azul con la misma diagonal ----------- */
.gtec-header {
	--gtec-side: calc((100% - min(100%, 1320px)) / 2);
	--gtec-brand: 250px;
}

/* El logo: círculo dibujado por el navegador (nítido en cualquier pantalla) */
.gtec-logo a {
	display: grid;
	place-items: center;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18), 0 8px 18px -8px rgba(0, 0, 0, 0.55);
	transition: width 0.3s var(--gtec-ease), height 0.3s var(--gtec-ease), transform 0.4s var(--gtec-ease);
}

.gtec-logo img {
	width: 78% !important;
	height: auto !important;
	border-radius: 0;
}

.gtec-logo a:hover img {
	transform: none;
}

.gtec-logo a:hover {
	transform: rotate(-6deg) scale(1.04);
}

.gtec-header.is-scrolled .gtec-logo a {
	width: 64px;
	height: 64px;
}

.gtec-header.is-scrolled .gtec-logo img {
	width: 78% !important;
	height: auto !important;
}

@media (min-width: 1000px) {
	/* Bloque azul oscuro: diagonal de 0,75 (69 px en 92 px de alto) */
	.gtec-mainbar::before {
		width: calc(var(--gtec-side) + var(--gtec-brand) + 69px);
		clip-path: polygon(0 0, 100% 0, calc(100% - 69px) 100%, 0 100%);
	}

	/* Zona blanca de la franja superior: continúa la misma diagonal */
	.gtec-topbar::before {
		width: calc(var(--gtec-side) + var(--gtec-brand) + 102px);
		clip-path: polygon(0 0, 100% 0, calc(100% - 33px) 100%, 0 100%);
	}

	.gtec-header.is-scrolled .gtec-mainbar::before {
		width: calc(var(--gtec-side) + var(--gtec-brand) + 56px);
		clip-path: polygon(0 0, 100% 0, calc(100% - 56px) 100%, 0 100%);
	}

	/* Logo y redes centrados en la misma columna */
	.gtec-logo {
		width: var(--gtec-brand);
		display: flex;
		justify-content: center;
	}

	.gtec-topbar .gtec-social.wp-block-social-links {
		width: var(--gtec-brand);
		justify-content: center;
		flex-wrap: nowrap;
	}

	.gtec-topbar__info {
		padding-left: 120px;
	}
}

.gtec-topbar .gtec-social .wp-social-link {
	font-size: 18px;
}

.gtec-topbar .gtec-social .wp-social-link a {
	padding: 7px;
}

.gtec-topbar .gtec-social .wp-social-link svg {
	width: 18px;
	height: 18px;
}

.gtec-topbar p strong {
	font-weight: 800;
}

@media (max-width: 999px) {
	.gtec-logo a {
		width: 66px;
		height: 66px;
	}
}

@media (max-width: 600px) {
	.gtec-logo a {
		width: 58px;
		height: 58px;
	}

	.gtec-logo img {
		width: 78% !important;
		height: auto !important;
	}
}

/* --- "Lo que ofrecemos": misma animación que "Qué incluye el mantenimiento" */
.gtec-feat {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

/* Fondo azul que crece desde el círculo del icono */
.gtec-feat::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: calc(50% - 30px);
	top: calc(2.2rem + 23px);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: radial-gradient(circle, var(--gtec-navy) 0%, var(--gtec-night) 100%);
	transform: scale(0);
	transition: transform 0.75s var(--gtec-ease);
}

/* Línea de escaneo */
.gtec-feat::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: -30%;
	height: 30%;
	background: linear-gradient(180deg, transparent, rgba(0, 160, 232, 0.16) 70%, rgba(0, 160, 232, 0.55));
	border-bottom: 1px solid rgba(0, 160, 232, 0.8);
	opacity: 0;
}

.gtec-feat:hover::before {
	transform: scale(22);
}

.gtec-feat:hover::after {
	opacity: 1;
	animation: gtec-svc-scan 1.6s linear infinite;
}

.gtec-feat :is(.gtec-feat__title, .gtec-feat__text) {
	transition: color 0.45s ease 0.1s;
}

.gtec-feature .gtec-feat:hover :is(.gtec-feat__title, .gtec-feat__text) {
	color: #fff;
}

.gtec-feat__circle::after {
	content: "";
	position: absolute;
	left: -6px;
	top: 4px;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	border: 2px solid var(--gtec-primary);
	opacity: 0;
}

.gtec-feat:hover .gtec-feat__circle::before {
	background: var(--gtec-primary);
	transform: translateX(20px);
}

.gtec-feat:hover .gtec-feat__circle::after {
	animation: gtec-svc-ping 1.4s ease-out infinite;
}

.gtec-feat__icon img {
	transition: transform 0.6s var(--gtec-ease), filter 0.4s;
}

.gtec-feat:hover .gtec-feat__icon img {
	transform: scale(1.12) rotate(-8deg);
	filter: brightness(0) invert(1);
}

/* Piloto de estado */
.gtec-feat > .gtec-feat__title::after {
	content: "";
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #2ecc71;
	box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
	animation: gtec-led 2.4s ease-in-out infinite;
}

.gtec-feat:nth-child(2) > .gtec-feat__title::after { animation-delay: 0.5s; }
.gtec-feat:nth-child(3) > .gtec-feat__title::after { animation-delay: 1s; }
.gtec-feat:nth-child(4) > .gtec-feat__title::after { animation-delay: 1.5s; }
.gtec-feat:nth-child(5) > .gtec-feat__title::after { animation-delay: 2s; }

/* Entrada: se "encienden" una tras otra */
.gtec-anim .gtec-reveal.gtec-feat {
	transform: perspective(900px) rotateX(-28deg) translateY(40px);
	transform-origin: 50% 0;
	filter: brightness(1.6) saturate(0);
	transition: opacity 0.8s ease, transform 1s var(--gtec-ease), filter 1.2s ease;
}

.gtec-anim .gtec-reveal.gtec-feat:nth-child(2) { transition-delay: 0.12s; }
.gtec-anim .gtec-reveal.gtec-feat:nth-child(3) { transition-delay: 0.24s; }
.gtec-anim .gtec-reveal.gtec-feat:nth-child(4) { transition-delay: 0.36s; }
.gtec-anim .gtec-reveal.gtec-feat:nth-child(5) { transition-delay: 0.48s; }

.gtec-anim .gtec-reveal.gtec-feat.is-in {
	transform: none;
	filter: none;
}

.gtec-anim .gtec-reveal.is-in.gtec-feat:hover {
	transform: translateY(-10px);
	transition-delay: 0s;
}

/* --- ERP: vídeo en un portátil con módulos orbitando ---------------------- */
.gtec-laptop {
	position: relative;
	padding: 2.4rem 1.2rem 0;
}

.gtec-laptop__screen {
	position: relative;
	z-index: 1;
	padding: 14px 14px 18px;
	background: linear-gradient(160deg, #2a3348, #121a2c);
	border-radius: 16px 16px 0 0;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 160, 232, 0.55);
}

.gtec-laptop__screen::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 50%;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: #3a4560;
}

.gtec-laptop__screen .wp-block-embed {
	margin: 0;
}

.gtec-laptop__screen .wp-block-embed figcaption {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 34px);
	color: #9fb6cc;
	font-size: 0.85rem;
	text-align: center;
}

.gtec-laptop__base {
	position: relative;
	z-index: 1;
	height: 16px;
	margin: 0 -6%;
	background: linear-gradient(180deg, #c9d2e0 0%, #8d99ad 70%, #5d687c 100%);
	border-radius: 0 0 14px 14px;
}

.gtec-laptop__base::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 18%;
	height: 6px;
	transform: translateX(-50%);
	background: #6f7a8e;
	border-radius: 0 0 8px 8px;
}

.gtec-laptop {
	padding-bottom: 3rem;
}

.gtec-laptop__orbit span {
	position: absolute;
	z-index: 2;
	padding: 0.45rem 0.9rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
	background: rgba(22, 33, 113, 0.92);
	border: 1px solid rgba(0, 160, 232, 0.6);
	border-radius: 30px;
	box-shadow: 0 12px 26px -12px rgba(0, 160, 232, 0.9);
	animation: gtec-orbit-float 6s ease-in-out infinite;
}

.gtec-laptop__orbit span::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: var(--gtec-primary);
	vertical-align: 1px;
}

.gtec-laptop__orbit span:nth-child(1) { top: 0; left: 4%; }
.gtec-laptop__orbit span:nth-child(2) { top: 0.6rem; right: 6%; animation-delay: 1.2s; }
.gtec-laptop__orbit span:nth-child(3) { top: 42%; left: -2%; animation-delay: 2.4s; }
.gtec-laptop__orbit span:nth-child(4) { top: 52%; right: -3%; animation-delay: 0.6s; }
.gtec-laptop__orbit span:nth-child(5) { bottom: 0.4rem; right: 2%; animation-delay: 1.8s; background: linear-gradient(90deg, var(--gtec-primary), #2b5be0); border-color: transparent; }

@keyframes gtec-orbit-float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@media (max-width: 781px) {
	.gtec-laptop__orbit span:nth-child(3),
	.gtec-laptop__orbit span:nth-child(4) {
		display: none;
	}

	.gtec-laptop__orbit span:nth-child(1) { left: 0; }
	.gtec-laptop__orbit span:nth-child(2) { right: 0; }
}

/* --- Contacto: panel junto al formulario ---------------------------------- */
.gtec-hub {
	display: grid;
	gap: 1rem;
}

.gtec-hub__photo {
	position: relative;
	margin: 0;
	overflow: hidden;
	min-height: 260px;
	display: grid;
	align-items: end;
	box-shadow: 0 24px 50px -30px rgba(14, 20, 34, 0.7);
}

.gtec-hub__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 6s ease;
}

.gtec-hub__photo:hover img {
	transform: scale(1.08);
}

.gtec-hub__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(14, 20, 34, 0.1) 20%, rgba(14, 20, 34, 0.92) 100%);
}

.gtec-hub__photo figcaption {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 0.35rem;
	padding: 1.4rem 1.4rem 1.5rem;
	color: #dfe8f3;
	text-align: center;
	font-size: 0.95rem;
}

.gtec-hub__photo figcaption strong {
	color: #fff;
	font-size: 1.35rem;
	line-height: 1.2;
}

.gtec-hub__live {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.3rem 0.8rem;
	font-size: 0.8rem;
	font-weight: 700;
	color: #fff;
	background: rgba(0, 160, 232, 0.85);
	border-radius: 30px;
}

.gtec-hub__live::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7ff0a9;
	animation: gtec-led 1.8s ease-in-out infinite;
}

.gtec-hub__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gtec-hub__grid li {
	margin: 0;
	min-width: 0;
}

.gtec-hub__card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 0.2rem;
	height: 100%;
	padding: 1.3rem 0.9rem 1.2rem;
	text-align: center;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-bottom: 3px solid var(--gtec-primary);
	box-shadow: 0 16px 34px -26px rgba(22, 33, 113, 0.5);
	transition: transform 0.35s var(--gtec-ease), box-shadow 0.35s;
}

.gtec-hub__card::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: auto 0 0;
	height: 0;
	background: linear-gradient(180deg, var(--gtec-navy), var(--gtec-night));
	transition: height 0.5s var(--gtec-ease);
}

.gtec-hub__card:hover,
.gtec-hub__card:focus-visible {
	transform: translateY(-5px);
	box-shadow: 0 26px 44px -26px rgba(14, 20, 34, 0.75);
}

.gtec-hub__card:hover::before,
.gtec-hub__card:focus-visible::before {
	height: 100%;
}

.gtec-hub__ico {
	position: relative;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 0.45rem;
	border-radius: 50%;
	background: var(--wp--preset--color--sky-soft);
	transition: background-color 0.4s;
}

.gtec-hub__ico::before {
	content: "";
	width: 24px;
	height: 24px;
	background: var(--gtec-navy);
	-webkit-mask: var(--gtec-i) center / contain no-repeat;
	mask: var(--gtec-i) center / contain no-repeat;
	transition: background-color 0.4s, transform 0.5s var(--gtec-ease);
}

.gtec-hub__card:hover .gtec-hub__ico {
	background: var(--gtec-primary);
}

.gtec-hub__card:hover .gtec-hub__ico::before {
	background: #fff;
	transform: rotate(-10deg) scale(1.1);
}

.gtec-hub__label {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--gtec-primary);
}

.gtec-hub__value {
	font-size: 1.05rem;
	line-height: 1.25;
	color: var(--gtec-navy);
	overflow-wrap: anywhere;
	transition: color 0.4s;
}

.gtec-hub__note {
	font-size: 0.82rem;
	line-height: 1.35;
	color: var(--wp--preset--color--copy);
	transition: color 0.4s;
}

.gtec-hub__card:hover :is(.gtec-hub__value, .gtec-hub__note) {
	color: #fff;
}

.gtec-hub__card:hover .gtec-hub__label {
	color: #7fd3f7;
}

/* Tarjeta del mapa */
.gtec-hub__map {
	position: relative;
	display: grid;
	grid-template-columns: 120px 1fr;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(120deg, var(--gtec-navy), var(--gtec-night));
	overflow: hidden;
}

.gtec-hub__mapart {
	position: relative;
	height: 96px;
	background:
		linear-gradient(28deg, transparent 46%, rgba(127, 211, 247, 0.55) 47%, rgba(127, 211, 247, 0.55) 50%, transparent 51%),
		linear-gradient(118deg, transparent 58%, rgba(255, 255, 255, 0.35) 59%, rgba(255, 255, 255, 0.35) 61%, transparent 62%),
		linear-gradient(rgba(0, 160, 232, 0.18) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 160, 232, 0.18) 1px, transparent 1px),
		#1b2a80;
	background-size: auto, auto, 16px 16px, 16px 16px, auto;
	border-radius: 8px;
}

.gtec-hub__pin {
	position: absolute;
	left: 50%;
	top: 46%;
	width: 18px;
	height: 18px;
	margin: -18px 0 0 -9px;
	background: #ff5b11;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	animation: gtec-pin-bounce 2.2s ease-in-out infinite;
}

.gtec-hub__pin::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: #fff;
}

.gtec-hub__mapart::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	width: 14px;
	height: 6px;
	margin: 2px 0 0 -7px;
	border-radius: 50%;
	background: rgba(255, 91, 17, 0.6);
	animation: gtec-pin-ring 2.2s ease-out infinite;
}

@keyframes gtec-pin-bounce {
	0%, 100% { transform: rotate(-45deg) translate(0, 0); }
	50% { transform: rotate(-45deg) translate(4px, -4px); }
}

@keyframes gtec-pin-ring {
	from { transform: scale(1); opacity: 0.9; }
	to { transform: scale(4); opacity: 0; }
}

.gtec-hub__mapinfo {
	display: grid;
	gap: 0.2rem;
	min-width: 0;
}

.gtec-hub__map .gtec-hub__label {
	color: #7fd3f7;
}

.gtec-hub__map strong {
	font-size: 1rem;
	line-height: 1.3;
}

.gtec-hub__go {
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gtec-hub__map:hover .gtec-hub__go,
.gtec-hub__map:focus-visible .gtec-hub__go {
	color: #7fd3f7;
}

@media (max-width: 480px) {
	.gtec-hub__card {
		padding: 1rem 0.5rem;
	}

	.gtec-hub__value {
		font-size: 0.95rem;
	}

	.gtec-hub__map {
		grid-template-columns: 90px 1fr;
	}
}

@media (max-width: 340px) {
	.gtec-hub__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gtec-feat::after,
	.gtec-feat__circle::after,
	.gtec-feat > .gtec-feat__title::after,
	.gtec-laptop__orbit span,
	.gtec-hub__live::before,
	.gtec-hub__pin,
	.gtec-hub__mapart::after {
		animation: none !important;
	}

	.gtec-anim .gtec-reveal.gtec-feat {
		transform: none;
		filter: none;
	}
}

/* Ninguna animación de entrada puede crear desplazamiento lateral */
html,
body {
	overflow-x: clip;
}

/* 2.4.1 · Contacto: el panel derecho ocupa la misma altura que el formulario */
@media (min-width: 782px) {
	.gtec-hub-col {
		display: flex;
		flex-direction: column;
		align-self: stretch;
	}

	.gtec-hub-col > .gtec-hub {
		flex: 1;
		grid-template-rows: minmax(300px, 1fr) auto auto;
		gap: 1.2rem;
	}

	.gtec-hub__photo figcaption strong {
		font-size: 1.5rem;
	}

	.gtec-hub__card {
		padding: 1.6rem 1rem 1.5rem;
	}

	.gtec-hub__map {
		padding: 1.2rem;
	}
}

/* 2.5.2 · Aviso de cookies */
.gtec-consent {
	position: fixed;
	z-index: 1000;
	left: max(16px, env(safe-area-inset-left, 0px));
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	box-sizing: border-box;
	width: min(440px, calc(100% - 32px));
	padding: 1.3rem 1.4rem 1.2rem;
	color: #dfe8f3;
	background: linear-gradient(160deg, #18267f, var(--gtec-night));
	border-top: 3px solid var(--gtec-primary);
	box-shadow: 0 30px 60px -20px rgba(14, 20, 34, 0.75);
	animation: gtec-consent-in 0.5s var(--gtec-ease) both;
}

.gtec-consent[hidden] {
	display: none;
}

@keyframes gtec-consent-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
}

.gtec-consent__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 800;
	color: #fff;
}

.gtec-consent__text {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.55;
}

.gtec-consent__text a {
	color: #7fd3f7;
	font-weight: 600;
}

.gtec-consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
}

/* Aceptar y rechazar con el mismo peso visual, como pide la AEPD */
.gtec-consent__btn {
	padding: 0.75rem 1rem;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	background: transparent;
	border: 2px solid var(--gtec-primary);
	transition: background-color 0.2s, color 0.2s;
}

.gtec-consent__btn:hover,
.gtec-consent__btn:focus-visible {
	background: var(--gtec-primary);
	outline: none;
}

.gtec-consent__btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
	.gtec-consent {
		animation: none;
	}
}

.gtec-legal-table {
	margin: 1.5rem 0;
	overflow-x: auto;
}

.gtec-legal-table table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.gtec-legal-table th,
.gtec-legal-table td {
	padding: 0.7rem 0.8rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

.gtec-legal-table th {
	color: #fff;
	background: var(--gtec-navy);
}

.gtec-legal-table tbody tr:nth-child(even) td {
	background: var(--wp--preset--color--mist);
}

/* 2.6.0 · Nota de fuentes bajo tablas normativas */
.gtec-source-note {
	margin-top: 1rem;
	color: var(--wp--preset--color--copy);
}

.gtec-source-note a {
	color: var(--gtec-navy);
	font-weight: 600;
}

.gtec-compare th:first-child:empty {
	background: transparent;
}
