/*!
Theme Name: Close Marketing Theme
Theme URI: https://closemarketing.es
Author: Close Marketing
Author URI: https://closemarketing.es
Description: Tema corporativo de Close Marketing — agencia de marketing digital con IA. Full Site Editing (FSE) block theme.
Version: 1.1.6
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: close-marketing-theme
*/
/* =============================================================================
   CLOSE MARKETING THEME — Custom Styles
   ============================================================================= */

/* ===== FONTS ===== */

@font-face {
	font-family: 'Moga';
	src: url('assets/fonts/moga/Moga-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ===== GLOBAL ===== */

:root {
	--theme-container-padding-x: var(--wp--preset--spacing--container);
}

.wp-site-blocks>.is-layout-flex {
	gap: 0;
}

html,
body {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

@media (min-width: 1024px) {
	:root {
		--theme-container-padding-x: var(--wp--preset--spacing--containerLg);
	}
}

.wp-site-blocks {
	padding-left: 0;
	padding-right: 0;
}

/* Override WordPress default block gap between top-level sections */
.wp-site-blocks>* {
	margin-block-start: 0;
	margin-block-end: 0;
}



/* ===== HEADER ===== */

:root {
	--header-height: 90px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 0;
	}
}


.site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
}

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

.site-header>.site-header__bar.wp-block-group {
	max-width: none !important;
}

.site-header__bar {
	padding-top: 24px;
	padding-bottom: 24px;
	position: relative;
	z-index: 200;
}

.single-post .site-header__bar {
	background-color: var(--wp--preset--color--primary);
}

.site-header--hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: 880px;
	background: transparent;
	--wp--style--root--padding-left: 0px;
	--wp--style--root--padding-right: 0px;
}

.site-header--hero.has-primary-background-color,
.site-header--hero.has-background {
	background: transparent !important;
}

.home-hero__video-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 0;
	pointer-events: none;
}

.home-hero__video-bg iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100%;
	min-width: 177.78vh;
	transform: translate(-50%, -50%);
	border: 0;
}

.home-hero .site-header__hero {
	position: relative;
	z-index: 1;
	padding-top: calc(var(--header-height) + 40px);
}

.site-header__overlay {
	position: relative;
	z-index: 2;
	min-height: inherit;
	padding: 0;
}

.site-header--hero>.site-header__overlay.wp-block-group {
	max-width: none;
}

.site-header__canvas {
	position: relative;
	left: 50%;
	width: 100vw;
	min-height: inherit;
	max-width: none;
	margin: 0;
	transform: translateX(-50%);
	padding: 24px clamp(22px, 2.8vw, 40px) 120px;
	overflow: hidden;
	background: transparent;
}

.site-header__overlay>.site-header__canvas.wp-block-group {
	max-width: none;
}

.site-header__canvas::before {
	content: none;
}

.site-header__canvas::after {
	content: none;
}

.site-header__video-awb.nk-awb {
	z-index: 0;
	min-height: inherit;
	width: 100%;
	overflow: hidden;
}

.home-hero .nk-awb-controls,
.home-hero [class*="awb-play"],
.home-hero [class*="awb-pause"],
.home-hero .nk-awb-bar,
.home-hero .nk-awb-bar-wrap {
	display: none;
}

.site-header__top {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
	box-sizing: border-box;
}

.site-header__hero {
	position: relative;
	z-index: 2;
}

.site-header__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-header__logo-img {
	display: block;
	width: 115px;
	height: 42px;
}

.site-header__sections-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 39px;
	height: 23px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	position: relative;
	z-index: 50;
}

.site-header__sections-toggle:hover {
	opacity: 0.9;
}

.site-header__sections-icon {
	display: block;
	width: 39px;
	height: 23px;
}

.site-header__hero {
	width: 100%;
	max-width: 980px;
	margin: 0px auto 0;
	text-align: center;
}

.site-header__title {
	margin: 0 0 24px;
	color: #F5F5F5;
	font-size: clamp(58px, 6.2vw, 116.82px);
	line-height: 0.95;
	text-transform: uppercase;
	text-wrap: balance;
}

.site-header__description {
	margin: 0 auto 34px;
	max-width: 780px;
	color: #fff;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
}

.site-header__description strong {
	font-weight: 700;
}

.site-header__cta .wp-element-button {
	position: relative;
	isolation: isolate;
	border-radius: 1000px;
	padding: 20px 40px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header__cta .wp-element-button:hover {
	background: #FFD14D;
	color: var(--wp--preset--color--primary-dark);
	transform: translateY(-1px);
}

.site-header__cta--pulse .wp-element-button {
	animation: site-header-cta-bob 1.8s ease-in-out infinite;
}

.site-header__cta--pulse .wp-element-button::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(255, 185, 5, 0.55);
	animation: site-header-cta-ring 1.8s ease-out infinite;
	pointer-events: none;
	z-index: -1;
}

.site-header__cta--pulse .wp-element-button:hover::after,
.site-header__cta--pulse .wp-element-button:focus-visible::after {
	animation-play-state: paused;
	opacity: 0;
}

.site-header__cta--pulse .wp-element-button:hover,
.site-header__cta--pulse .wp-element-button:focus-visible {
	animation-play-state: paused;
}

@keyframes site-header-cta-bob {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-1px);
	}
}

@keyframes site-header-cta-ring {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 185, 5, 0.45);
		opacity: 1;
	}

	70% {
		box-shadow: 0 0 0 16px rgba(255, 185, 5, 0);
		opacity: 0;
	}

	100% {
		box-shadow: 0 0 0 0 rgba(255, 185, 5, 0);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.site-header__cta--pulse .wp-element-button,
	.site-header__cta--pulse .wp-element-button::after {
		animation: none !important;
	}
}

@media (max-width: 1400px) {
	.site-header--hero {
		min-height: 820px;
	}

	.site-header__canvas {
		padding-bottom: 104px;
	}

	.site-header__hero {
		margin-top: 0;
	}
}

@media (max-width: 1024px) {
	.site-header--hero {
		min-height: 740px;
	}

	.site-header__overlay {
		padding: 0;
	}

	.site-header__bar {
		padding: 20px 22px;
	}

	.site-header__canvas {
		width: 100vw;
		padding: 20px 22px 84px;
	}

	.site-header__hero {
		max-width: 840px;
		margin-top: 0;
	}

	.site-header__title {
		font-size: clamp(54px, 8.1vw, 86px);
		line-height: 0.96;
	}

	.site-header__description {
		max-width: 690px;
		margin-bottom: 30px;
		font-size: 17px;
		line-height: 30px;
	}

	.site-header__cta .wp-element-button {
		padding: 18px 34px;
		font-size: 17px;
	}
}

@media (max-width: 781px) {
	.site-header--hero {
		min-height: 660px;
		height: auto;
	}

	.home-chat.site-header--hero {
		height: auto;
	}

	.site-header__overlay {
		padding: 0;
	}

	.site-header__bar {
		padding: 16px 14px;
	}

	.site-header__canvas {
		padding: 16px 14px 62px;
	}

	.site-header__logo-img {
		width: 92px;
		height: 34px;
	}

	.site-header__sections-toggle {
		width: 33px;
		height: 19px;
	}

	.site-header__sections-icon {
		width: 33px;
		height: 19px;
	}

	.site-header__hero {
		max-width: 620px;
		margin-top: 18px;
	}

	.site-header__title {
		margin-bottom: 18px;
		font-size: clamp(40px, 11.2vw, 64px);
		line-height: 0.98;
	}

	.site-header__description {
		max-width: 100%;
		margin-bottom: 28px;
		font-size: 16px;
		line-height: 28px;
	}

	.site-header__cta .wp-element-button {
		padding: 16px 26px;
		font-size: 16px;
	}
}

.home-chat {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	min-height: 800px;
	display: grid;
	place-items: center;
}

/* ===== CHAT SECTION ===== */

.home-chat__bubbles {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: min(700px, 100%);
	position: relative;
	z-index: 2;
	background: transparent;
	border: 0;
	box-shadow: none ;
	padding: clamp(24px, 5vh, 48px) clamp(16px, 4vw, 60px);
}

/* Anular margin-block de WordPress en todos los hijos de este patrón */
.home-chat__bubbles>*,
.home-chat__bubbles * {
	margin-block-start: 0 ;
	margin-block-end: 0;
}

/* Filas de burbuja con avatar */
.chat-bubble-row {
	display: flex;
	align-items: flex-end;
	gap: 40px;
	width: min(160%, calc(100vw - 32px));
	margin-left: calc((100% - min(160%, calc(100vw - 32px))) / 2);
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}

.chat-bubble-row--user {
	justify-content: center;
}

.chat-bubble-row--bot {
	justify-content: flex-start;
}

/* Avatar via ::after / ::before en el row */
.chat-bubble-row--user::after,
.chat-bubble-row--bot::before {
	content: "";
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: block;
	align-self: flex-end;
}

.chat-bubble-row--user::after {
	background: url('assets/images/USUARIO.webp') center / contain no-repeat;
	order: 2;
}

.chat-bubble-row--user .chat-bubble--user {
	order: 1;
}

.chat-bubble-row--bot::before {
	background: url('assets/images/ROBOT CLOSE.webp') center / contain no-repeat;
	order: 1;
}

.chat-bubble-row--bot .chat-bubble--bot {
	order: 2;
}

/* Burbuja usuario */
.chat-bubble--user {
	background: var(--wp--preset--color--primary);
	color: #fff;
	padding: 16px 24px 10px;
	border-radius: 20px 20px 0 20px;
	width: 50%;
	text-align: left;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 0 22.2px rgba(24, 56, 216, 0.5);
}

/* Burbuja bot */
.chat-bubble--bot {
	background: #f5f5f5;
	border-radius: 20px;
	padding: 28px 36px;
	box-shadow: 6px 7px 30.1px rgba(136, 136, 161, 0.5);
	max-width: 500px;
	width: fit-content;
	border: 0 !important;
}

.chat-bubble__author {
	color: #16164a;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	opacity: 0.5;
	margin: 0 0 6px !important;
}

.chat-bubble__message {
	color: #16164a;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	margin: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 600px) {
	.home-chat__bubbles {
		padding: 60px 27px 19px !important;
		margin-right: 39px !important;
		gap: 32px;
	}

	.chat-bubble-row {
		max-width: 100%;
		gap: 10px;
		width: 100%;
	}

	.chat-bubble--bot {
		padding: 20px 24px;
	}

	.chat-bubble--user {
		padding: 8px 18px;
		min-height: 48px;
	}

	.chat-bubble__message,
	.chat-bubble__author,
	.chat-bubble--user {
		font-size: 15px;
		/* Fixed consistent size for readability */
		line-height: 1.5;
	}

	.chat-bubble-row--user::after,
	.chat-bubble-row--bot::before {
		width: 38px;
		height: 38px;
	}
}

/* Desktop adjustments - Reduce chat block size on large screens */
@media (min-width: 1024px) {
	.home-chat {
		max-height: 420px;
	}

	.home-chat__bubbles {
		padding: 32px clamp(16px, 3vw, 50px) !important;
		gap: 60px;
	}

}

.chat-bubble__spacer {
	display: block;
}

/* Typing */
.chat-bubble__typing-target {
	white-space: pre-wrap;
}

.chat-bubble__typing-target.is-typing::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 1em;
	background: currentcolor;
	vertical-align: -0.12em;
	margin-left: 3px;
	animation: chat-caret-blink 0.9s steps(1, end) infinite;
}

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

/* Animación de aparición */
.chat-bubble--hidden {
	opacity: 0;
	transform: translateY(14px);
	visibility: hidden;
}

.chat-bubble--visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	transition: opacity 0.32s ease, transform 0.32s ease;
}

/* ===== SERVICES HEADING — rotating word ===== */

.services-heading {
	padding-bottom: 40px;
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--70);
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.1;
	text-transform: uppercase;
}

.services-heading__static {
	color: #123BE8;
}

.services-heading__rotating-wrap {
	display: inline;
}

.services-heading__rotating {
	display: inline;
	transition: opacity 0.35s ease;
}

.services-heading__rotating.is-leaving {
	opacity: 0;
}

.services-heading__rotating.is-entering {
	opacity: 0;
}

/* ===== SERVICE CARDS ===== */

.home-services {
	position: relative;
	z-index: 10;
}

@media (max-width: 781px) {
	.home-services {
		margin-top: -200px;
	}
}

.post-type-archive-servicios .home-services {
	padding-top: 50px;
	padding-bottom: 50px;
	margin-top: 0;
}

.home-services--overlap::before {
	content: "";
	position: absolute;
	background: linear-gradient(to bottom, transparent, var(--wp--preset--color--base) 600px);
	z-index: -1;
	pointer-events: none;
}

/* Hide mobile carousel wrapper by default (desktop). */
.home-services__mobile-wrapper {
	display: none;
}

.home-services .wp-block-columns.alignwide {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	align-items: stretch;
	column-gap: 24px;
	row-gap: 24px;
}

.home-services .wp-block-column {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.service-card__link {
	display: flex;
	flex: 1;
	text-decoration: none;
	color: inherit;
}

.service-card__link:hover .service-card {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	overflow: hidden;
	border-radius: 25px;
	height: 531px;
	min-height: 531px;
	flex: 1;
	box-sizing: border-box;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
	will-change: transform, box-shadow;
}

.service-card--lavender {
	background: var(--wp--preset--color--tertiary);
}

.service-card--blue {
	background: var(--wp--preset--color--primary);
}

.service-card--yellow {
	background: #FCCB06;
}

.service-card__illustration {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	border-radius: 25px;
	pointer-events: none;
}

.service-card__illustration .wp-block-image {
	margin: 0;
	height: 100%;
}

.service-card__illustration img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

.service-card--lavender:not(.service-card--lavender-alt) .service-card__illustration img {
	object-fit: contain;
	object-position: center top;
	transform: scale(0.96);
	transform-origin: center top;
}

.service-card--blue .service-card__illustration img {
	object-fit: cover;
	object-position: 36% 6%;
	transform: scale(1.16);
	transform-origin: top left;
}

.service-card--yellow .service-card__illustration img {
	object-fit: contain;
	object-position: center top;
	transform: scale(1);
	transform-origin: center top;
}

.service-card--lavender-alt .service-card__illustration img {
	object-fit: contain;
	object-position: 110% 8%;
	transform: scale(0.96);
	transform-origin: center top;
}

.service-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 321px;
	border-radius: 0 0 25px 25px;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
}

.service-card--blue::after {
	opacity: 1;
	background: linear-gradient(180deg, rgba(24, 56, 216, 0) 0%, #1838D8 76%);
}

.service-card--yellow::after {
	opacity: 1;
	background: linear-gradient(180deg, rgba(252, 203, 6, 0) 0%, #FCCB06 76%);
}

.service-card--lavender-alt::after {
	opacity: 1;
	background: linear-gradient(180deg, rgba(194, 196, 255, 0) 0%, #C2C4FF 82%);
}

.service-card__content {
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 20px;
	min-height: 174px;
	padding: 16px 18px;
	background: #fff;
	border-radius: 20px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 51px 1fr;
	column-gap: 16px;
	row-gap: 10px;
	align-content: start;
	z-index: 3;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card__icon {
	width: 51px;
	height: 51px;
	border-radius: 11.087px;
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.service-card__icon img {
	display: block;
	width: 51px;
	height: 51px;
	max-width: none;
	object-fit: contain;
}

.service-card--lavender:not(.service-card--lavender-alt) .service-card__icon--lavender:empty {
	background-image: url('assets/images/Trompeta.webp');
	background-repeat: no-repeat;
	background-position: center;
}

.service-card--lavender-alt .service-card__icon--lavender:empty {
	background-image: url('assets/images/cohete.webp');
	background-repeat: no-repeat;
	background-position: center;
}

.service-card__icon--blue:empty {
	background-image: url('assets/images/PC.webp');
	background-repeat: no-repeat;
	background-position: center;
}

.service-card__icon--yellow:empty {
	background-image: url('assets/images/Pincel.webp');
	background-repeat: no-repeat;
	background-position: center;
}

.service-card__title {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 20px;
	font-weight: 700;
	line-height: 25px;
	color: #16164A;
}

.service-card__description {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 0;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 400;
	line-height: 28px;
	color: #16164A;
}

.service-card:hover {
	transform: translateY(-12px);
}

.service-card:hover .service-card__content {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(22, 22, 74, 0.12);
}

.service-card--lavender:hover,
.service-card--lavender-alt:hover {
	box-shadow: 0 20px 44px rgba(194, 196, 255, 0.62);
}

.service-card--blue:hover {
	box-shadow: 0 20px 44px rgba(24, 56, 216, 0.48);
}

.service-card--yellow:hover {
	box-shadow: 0 20px 44px rgba(252, 203, 6, 0.5);
}

@media (max-width: 1280px) {
	.home-services .wp-block-columns.alignwide {
		max-width: 1200px;
	}

	.service-card {
		height: 500px;
		min-height: 500px;
	}

	.service-card__description {
		font-size: 18px;
		line-height: 30px;
	}
}

@media (max-width: 1024px) {

	.wp-block-group.home-services,
	.wp-block-group.home-testimonials,
	.wp-block-group.home-contact {
		padding-left: 20px;
		padding-right: 20px;
	}

	.home-services .wp-block-columns.alignwide {
		max-width: 980px;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		flex-wrap: unset;
	}

	.home-services .wp-block-columns.alignwide>.wp-block-column {
		width: auto;
		flex-basis: auto;
		flex-grow: unset;
	}

	.service-card {
		height: 460px;
		min-height: 460px;
	}

	.service-card__content {
		left: 16px;
		right: 16px;
		bottom: 16px;
		min-height: 166px;
		padding: 14px 16px;
	}

	.service-card__description {
		font-size: 18px;
		line-height: 28px;
	}
}

.home-clients__label {
	color: var(--wp--preset--color--primary-dark);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: var(--wp--preset--spacing--40);
}

.clients-marquee {
	padding-left: 0;
	padding-right: 0;
}

/* ===== CLIENTS BAR ===== */

.home-clients {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(300px, 30vw, 430px);
	padding-top: 500px;
	padding-bottom: clamp(56px, 6vw, 92px) !important;
}

body:not(.home) .home-clients {
	padding-top: 0;
}

.clients-marquee {
	width: 100vw;
	margin-inline: calc(50% - 50vw);
	overflow: hidden;
	padding-block: clamp(16px, 2vw, 28px);
}

.clients-marquee-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: max-content !important;
	max-width: none !important;
	will-change: transform;
	backface-visibility: hidden;
	animation: clients-marquee-scroll 15s linear infinite;
}

.clients-marquee.clients-marquee--js .clients-marquee-track {
	animation: none;
}

/* Override WP block layout constraints (.is-layout-flow adds max-width to children) */
.clients-marquee .wp-block-group,
.clients-marquee .wp-block-query,
.clients-marquee .wp-block-post-template,
.clients-marquee .wp-block-post {
	max-width: none !important;
}

.clients-marquee-track .clients-marquee__set {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
	padding-right: clamp(40px, 5vw, 80px);
	white-space: nowrap;
	flex-shrink: 0;
	max-width: none !important;
	width: max-content !important;
}

/* Collapse the wp:query wrapper so the ul is the direct flex child */
.clients-marquee__set .wp-block-query {
	display: contents;
}

/* The post-template ul is the horizontal logo row */
.clients-marquee__set .wp-block-post-template {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: clamp(30px, 3.5vw, 64px);
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: max-content !important;
	max-width: none !important;
}

.clients-marquee__set .wp-block-post {
	flex: 0 0 auto;
	list-style: none;
	margin: 0;
	padding: 0;
}

.clients-marquee__set .client-logo__link {
	display: inline-flex;
	line-height: 0;
}

.clients-marquee__set .wp-block-post-featured-image {
	display: inline-flex;
	margin: 0;
}

.clients-marquee__set .wp-block-post-featured-image img,
.clients-marquee__set .wp-block-image img {
	display: block;
	width: clamp(100px, 10vw, 150px);
	height: auto;
	max-width: none;
	opacity: 0.62;
	filter: grayscale(1) saturate(0);
}

.clients-marquee__set .wp-block-image {
	display: inline-flex;
	margin: 0;
	flex: 0 0 auto;
}

/* Legacy: client-logo figures (old PHP pattern) */
.client-logo {
	margin: 0;
	flex: 0 0 auto;
	display: inline-flex;
}

.client-logo img {
	display: block;
	width: clamp(100px, 10vw, 150px);
	height: auto;
	max-width: 230px;
	opacity: 0.62;
	filter: grayscale(1) saturate(0);
}

@keyframes clients-marquee-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 781px) {
	.home-clients {
		min-height: auto;
		padding-bottom: 90px !important;
		padding-top: 0px !important;

	}

	.clients-marquee__set .wp-block-post-template {
		gap: 22px !important;
	}

	.clients-marquee-track .clients-marquee__set {
		padding-right: 22px;
	}

	.clients-marquee__set .wp-block-post-featured-image img,
	.client-logo img {
		width: 80px;
	}
}

/* ===== AI SECTION ===== */

.ai-section__content-col {
	flex-basis: 52%;
}

.ai-section__media-col {
	flex-basis: 48%;
}

.ai-section__title {
	color: var(--wp--preset--color--primary-dark);
	margin-top: 0;
	margin-bottom: 6px;
	font-size: clamp(36px, 4vw, 52px);
	line-height: 1;
	text-transform: uppercase;
}

.ai-section__subtitle {
	color: var(--wp--preset--color--primary);
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--40);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}

.ai-section__body {
	color: var(--wp--preset--color--primary-dark);
	margin-top: 0;
	margin-bottom: 0;
}

.ai-section__body--spaced {
	margin-top: var(--wp--preset--spacing--30);
}

.ai-section__note-text {
	margin-top: 0;
	margin-bottom: 0;
}

.home-ai {
	background: transparent !important;
	overflow: hidden;
}

.home-chat-services.site-header--hero {
	overflow: visible;
	--wp--style--root--padding-top: 0px;
	--wp--style--root--padding-bottom: 0px;
	margin-block-start: 0 !important;
}

.home-chat-services .home-services {
	position: relative;
	z-index: 1;
	width: 100%;
	justify-self: stretch;
}

.home-ai .wp-block-columns.ai-section {
	margin: 0 auto;
	max-width: 1200px;
	column-gap: clamp(20px, 3vw, 48px);
}

@media (min-width: 782px) {
	.home-ai .wp-block-columns.ai-section {
		gap: clamp(10px, 1.4vw, 20px) !important;
		transform: translateX(40px);
	}

	.home-ai .wp-block-columns.ai-section>.wp-block-column.ai-section__media-col {
		justify-content: flex-start;
	}

	.home-ai .wp-block-columns.ai-section>.wp-block-column.ai-section__media-col .ai-section__media-wrap {
		margin-left: -28px;
	}

	.home-ai .wp-block-columns.ai-section>.wp-block-column.ai-section__content-col .ai-section__text {
		max-width: 560px;
	}
}

.ai-section__content-col {
	max-width: 515px;
}

.ai-section__title {
	letter-spacing: 0;
}

.ai-section__subtitle {
	font-family: var(--wp--preset--font-family--inter);
}

.ai-section__text {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	max-width: 515px;
	color: #16164A;
}

.ai-section__media-col {
	display: flex;
	justify-content: flex-end;
}

.ai-section__media-wrap {
	position: relative;
	width: 100%;
	overflow: visible;
}

.ai-section__bot-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: none;
}

.ai-section__bot-video::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	border-radius: inherit;
	box-shadow: inset 0 0 0 var(--ai-bot-video-edge-mask-size) var(--ai-bot-video-edge-mask-color);
}

.ai-section__bot-video > iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}

.ai-section__bot-video iframe,
.wp-block-cover .wp-block-cover__embed-background .wp-block-embed__wrapper iframe,
.wp-block-cover .wp-block-cover__embed-background iframe,
.wp-block-cover-image .wp-block-cover__embed-background .wp-block-embed__wrapper iframe,
.wp-block-cover-image .wp-block-cover__embed-background iframe {
	position: absolute;
	width: 100%;
}

.ai-section__note {
	position: absolute;
	top: 54px;
	right: -112px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	z-index: 5;
	transform-origin: top left;
	pointer-events: none;
}

.ai-section__note-text {
	font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
	font-size: 18px;
	font-weight: 400;
	line-height: 19px;
	letter-spacing: 0;
	color: #111;
	text-align: center;
	transform: rotate(-1.5deg);
}

.ai-section__note-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: radial-gradient(circle at 35% 35%, #595959 0%, #212121 70%);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.34);
}

.ai-section__note-icon-letter {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 31px;
	font-weight: 700;
	line-height: 1;
	color: #7ecf7d;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ai-section__note::after {
	content: "";
	position: absolute;
	left: -42px;
	top: 40px;
	width: 43px;
	aspect-ratio: 43 / 51;
	background: url("assets/images/flecha.webp") center / contain no-repeat;
	transform: rotate(4deg);
	z-index: -1;
}

@media (max-width: 1200px) {
	.ai-section__note {
		top: 50px;
		right: -88px;
	}

	.ai-section__note::after {
		left: -38px;
		top: 39px;
		width: 39px;
	}
}

@media (max-width: 1024px) {
	.ai-section__content-col {
		max-width: 100%;
	}

	.ai-section__title {
		font-size: clamp(34px, 6vw, 46px) !important;
	}

	.ai-section__subtitle {
		font-size: clamp(26px, 4vw, 30px) !important;
	}

	.ai-section__media-wrap {
		width: min(400px, 100%);
	}

	.ai-section__note {
		top: 52px;
		right: -54px;
	}

	.ai-section__note-text {
		font-size: 17px;
		line-height: 18px;
	}

	.ai-section__note-icon {
		width: 42px;
		height: 42px;
	}

	.ai-section__note-icon-letter {
		font-size: 29px;
	}

	.ai-section__note::after {
		left: -34px;
		top: 37px;
		width: 35px;
	}
}

@media (max-width: 781px) {
	.home-ai {
		padding-left: var(--wp--preset--spacing--container) !important;
		padding-right: var(--wp--preset--spacing--container) !important;
	}

	.ai-section__content-col {
		order: 1;
		text-align: center;
	}

	.ai-section__media-col {
		order: 2;
		justify-content: center;
	}

	.ai-section__text {
		font-size: 18px;
		line-height: 30px;
		text-align: center;
	}

	.ai-section__media-wrap {
		width: min(330px, 100%);
	}

	.ai-section__note {
		top: 32px;
		right: 10px;
		gap: 7px;
		flex-direction: row-reverse;
	}

	.ai-section__note-text {
		font-size: 15px;
		line-height: 16px;
		transform: translateX(24px);
	}

	.ai-section__note-icon {
		width: 34px;
		height: 34px;
	}

	.ai-section__note-icon-letter {
		font-size: 23px;
	}

	.ai-section__note::after {
		display: none;
	}
}

/* ===== TESTIMONIALS ===== */

.testimonial-card__company,
.testimonial-card__title,
.testimonial-card__body {
	margin-top: 0;
	margin-bottom: 0;
}



.home-testimonials {
	background: transparent;
	overflow: hidden;
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
	margin-block-start: clamp(48px, 6vw, 88px) !important;
	margin-block-end: clamp(96px, 10vw, 164px) !important;
}

@media (min-width: 1024px) {
	.home-testimonials {
		overflow: visible;
	}
}

.cmk-carousel {
	overflow: clip;
	overflow-clip-margin: content-box 20px;
	position: relative;
	padding-bottom: 70px;
	margin-bottom: -70px;
}

.cmk-carousel__track {
	display: flex;
	gap: clamp(20px, 2.2vw, 40px);
	touch-action: pan-y;
	user-select: none;
}

.cmk-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
}

.cmk-carousel__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #C6C6C6;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s, width 0.2s;
	flex-shrink: 0;
}

.cmk-carousel__dot--active {
	background: #1A56FF;
	width: 24px;
	border-radius: 4px;
}

.home-testimonials .wp-block-image,
.home-testimonials .wp-block-paragraph {
	margin: 0;
}

.home-testimonials .testimonial-card--showcase {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto 1fr auto;
	width: 100%;
	min-height: 400px;
	padding: 47px 45px 36px;
	box-sizing: border-box;
	background: #fff;
	border-radius: 24.13px;
	box-shadow: none;
	overflow: hidden;
	gap: 0 20px;
}

.home-testimonials .testimonial-card__company {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 17.4px;
	font-weight: 400;
	line-height: 1.2;
	color: rgba(22, 22, 74, 0.5);
}

.home-testimonials .testimonial-card__quote {
	width: 55px;
	margin-top: 35px;
	margin-bottom: 24px;
}

.home-testimonials .testimonial-card__quote img {
	display: block;
	width: 55px;
	height: 55px;
}

.home-testimonials .testimonial-card__title {
	font-family: var(--wp--preset--font-family--inter);
	font-size: 19px;
	font-weight: 400;
	line-height: 32px;
	color: #16164A;
}

.home-testimonials .testimonial-card__title strong {
	font-weight: 800;
}

.home-testimonials .testimonial-card__body {
	margin-top: 12px !important;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: #16164A;
}

.home-testimonials .testimonial-card__stars {
	display: block;
	font-size: 28px;
	color: #F5A623;
	line-height: 1;
	margin-bottom: 6px;
}

/* company + quote + body span both grid columns */
.home-testimonials .testimonial-card__company,
.home-testimonials .testimonial-card__quote,
.home-testimonials .testimonial-card__body {
	grid-column: 1 / -1;
}

.home-testimonials .testimonial-card__rating {
	grid-column: 1;
	grid-row: 4;
	width: 140px;
	align-self: end;
	margin-top: 0;
}

.home-testimonials .testimonial-card__rating img {
	display: block;
	width: 80px;
	height: auto;
}

.home-testimonials .testimonial-card__device {
	grid-column: 2;
	grid-row: 4;
	position: static;
	align-self: end;
	justify-self: end;
	margin: 0;
	pointer-events: none;
}

.home-testimonials .testimonial-card__device img {
	display: block;
	width: clamp(100px, 12vw, 160px);
	height: auto;
}

.home-testimonials .testimonial-card--invitro .testimonial-card__title {
	max-width: 424px;
}

.home-testimonials .testimonial-card--invitro .testimonial-card__body {
	max-width: 304px;
}


@media (max-width: 1800px) {
	.home-testimonials .testimonial-card--showcase {
		padding: 40px 34px 32px;
		min-height: 360px;
	}

	.home-testimonials .testimonial-card__company {
		font-size: 16px;
	}

	.home-testimonials .testimonial-card__quote {
		margin-top: 26px;
	}

	.home-testimonials .testimonial-card__title {
		font-size: 18px;
		line-height: 30px;
	}

	.home-testimonials .testimonial-card__body {
		font-size: 15px;
		line-height: 30px;
	}

}

@media (max-width: 1200px) {
	.home-testimonials .testimonial-card--showcase {
		min-height: 0;
		padding: 36px 30px 32px;
	}
}

@media (max-width: 781px) {
	.home-testimonials {
		margin-block-start: 44px !important;
		margin-block-end: 88px !important;
	}

	.home-testimonials .testimonial-card--showcase {
		padding: 24px 20px 24px;
		background: #ffffff;
		border: 1px solid #EAEAEA;
		border-radius: 22px;
		box-shadow: 0 4px 14px rgba(22, 22, 74, 0.06);
	}

	.home-testimonials .testimonial-card__company {
		font-size: 15px;
	}

	.home-testimonials .testimonial-card__quote {
		width: 45px;
		margin: 16px 0;
	}

	.home-testimonials .testimonial-card__quote img {
		width: 45px;
		height: 45px;
	}

	.home-testimonials .testimonial-card__title {
		font-size: 17px;
		line-height: 28px;
		margin: 0 0 12px;
	}

	.home-testimonials .testimonial-card__body {
		margin: 0 0 16px !important;
		font-size: 15px;
		line-height: 28px;
	}

	.home-testimonials .testimonial-card__body {
		max-width: 100% !important;
	}

	.home-testimonials .testimonial-card__rating {
		width: 120px;
		padding-top: 20px;
	}

	.home-testimonials .testimonial-card__rating img {
		width: 120px;
	}

	.home-testimonials .testimonial-card__device img {
		width: 90px;
	}
}

@media (max-width: 560px) {
	.home-testimonials .testimonial-card--showcase {
		gap: 0 12px;
	}

	.home-testimonials .testimonial-card__title,
	.home-testimonials .testimonial-card__body {
		max-width: 100% !important;
	}

	.home-testimonials .testimonial-card__device img {
		width: 70px;
	}
}


/* ===== CONTACT SECTION ===== */

.home-contact {
	padding: 20px;
}

.contact-wrapper {
	display: grid;
	min-height: clamp(560px, 40vw, 670px);
	grid-template-columns: minmax(320px, 45%) minmax(0, 1fr);
	border-radius: 30px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 60px rgba(22, 22, 74, 0.1);
}

.contact-info {
	background: var(--wp--preset--color--primary);
	padding: 48px 72px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	color: #fff;
}

.contact-info__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(34px, 2.6vw, 44px) !important;
	line-height: 1 !important;
	text-transform: uppercase;
}

.contact-info__lead {
	margin: 0 0 24px !important;
	max-width: 440px;
	color: #fff;
	font-size: 16px;
	line-height: 28px;
}

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 0 !important;
}

.contact-item+.contact-item {
	margin-top: 12px;
}

.contact-item__icon {
	width: 56px;
	min-width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--primary);
}

.contact-item__icon svg {
	width: 24px;
	height: 24px;
	stroke: currentcolor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-item__icon img {
	width: 24px;
	height: 24px;
	display: block;
	object-fit: contain;
}

.contact-item__text {
	display: flex;
	flex-direction: column;
	gap: 0px;
}

.contact-item__label {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 20px;
	font-weight: 400;
	line-height: 22px;
}

.contact-item__value {
	margin: 0;
	color: #fff;
	font-size: 17px;
	font-weight: 400;
	line-height: 26px;
}

.contact-item__value a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.contact-item__value a:hover {
	opacity: 0.8;
}

.contact-form-side {
	padding: 48px 40px 48px 64px;
	display: flex;
	flex-direction: column;	
	justify-content: center;
	gap: 0;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
	width: 100%;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 47px;
}

.contact-form__field {
	justify-content: flex-start;
	gap: 0px;
	min-height: 70px;
	padding: 8px 20px;
	background: #f5f5f5;
	border-radius: 22px;
	background-color: var(--wp--preset--color--base);
}

.contact-form__field--full {
	min-height: 154px;
}

.contact-form__label {
	font-size: 18px;
	color: rgba(17, 17, 17, 0.5);
	font-weight: 400;
	line-height: 22px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%;
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
	font-size: 16px;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	line-height: 26px;
	color: #000;
	outline: none;
	transition: box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(17, 17, 17, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary);
	border-radius: 8px;
}

.contact-form textarea {
	resize: none;
	border-radius: 26px;
	margin-top: 12px;
	min-height: 120px;
}

.contact-form__privacy {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
	font-size: 16px;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	line-height: 26px;
	color: #000;
}

.contact-form__privacy input[type="checkbox"] {
	appearance: none;
	width: 26px;
	height: 26px;
	min-width: 26px;
	margin: 0;
	border-radius: 999px;
	border: 1px solid #111;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.contact-form__privacy input[type="checkbox"]:checked {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}

.contact-form__privacy input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 4px;
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.contact-form__privacy a {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	text-decoration: none;
}

.contact-form__submit {
	width: 100%;
	padding: 20px 40px;
	background: #FFB905;
	color: #16164A;
	border: none;
	border-radius: 1000px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 40px;
}

.contact-form__submit:hover {
	background: #ffd14d;
	transform: translateY(-1px);
}

/* ===== FOOTER ===== */

.site-footer--compact {
	min-height: 0;
}

.site-footer--compact .site-footer__columns {
	margin: 0 !important;
	align-items: center;
}

.site-footer--compact .wp-block-column {
	min-height: 0;
}

.site-footer--compact .wp-block-site-logo {
	margin: 0;
	display: flex;
	align-items: center;
	max-height: 48px;
}

.site-footer--compact .wp-block-site-logo img,
.site-footer--compact .custom-logo {
	display: block;
	width: 130px;
	max-width: 100%;
	height: auto;
	max-height: 48px;
	object-fit: contain;
}

.site-footer--compact .wp-block-navigation {
	margin: 0;
	font-size: 14px;
	line-height: 1.35;
}

.site-footer--compact .wp-block-navigation__container {
	gap: 18px;
}

.site-footer--compact .site-footer__legal {
	margin: 0;
	line-height: 1.4;
}

/* Gravity Forms (FormsCRM compatible) */
.contact-form--gravity .gform_wrapper.gravity-theme {
	margin: 0;
	width: 100%;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gform_heading,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_title,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_description {
	display: none;
}

.planes-form-section .wp-block-group .wp-block-heading {
	color: #FFB905 !important;
}

.gform_button,
.gform-button {
	width: 100% !important;
	background: #FFB905 !important;
	color: #16164A !important;
	border-radius: 1000px !important;
	padding: 10px 40px !important;
	font-weight: 600 !important;
	font-size: 18px !important;
}

.gform_button:hover,
.gform-button:hover {
	background: #FFC933 !important;
}

.contact-form--gravity .gform_wrapper.gravity-theme form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gform_fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 18px;
	row-gap: 18px;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gfield {
	margin: 0;
	min-height: 115px;
	padding: 22px 30px;
	background: #f5f5f5;
	border-radius: 26px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 8px;
	align-content: start;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gfield--type-textarea,
.contact-form--gravity .gform_wrapper.gravity-theme .gfield--width-full,
.contact-form--gravity .gform_wrapper.gravity-theme .gfield.full-width {
	min-height: 183px;
	grid-column: 1 / -1;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gfield--type-consent,
.contact-form--gravity .gform_wrapper.gravity-theme .gfield--type-checkbox {
	min-height: 0;
	padding: 4px 0 0;
	background: transparent;
	border-radius: 0;
	grid-column: 1 / -1;
	gap: 10px;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gfield_label,
.contact-form--gravity .gform_wrapper.gravity-theme .gform-field-label {
	margin: 0;
	font-size: 17px;
	color: #FFB905;
	font-weight: 400;
	line-height: 25px;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gfield_required {
	color: rgba(17, 17, 17, 0.5);
}

.contact-form--gravity .gform_wrapper.gravity-theme input[type="text"],
.contact-form--gravity .gform_wrapper.gravity-theme input[type="email"],
.contact-form--gravity .gform_wrapper.gravity-theme input[type="tel"],
.contact-form--gravity .gform_wrapper.gravity-theme textarea {
	width: 100%;
	padding: 0;
	margin: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	font-size: 18px;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	line-height: 32px;
	color: #FFB905;
	outline: none;
}

.contact-form--gravity .gform_wrapper.gravity-theme input[type="text"]::placeholder,
.contact-form--gravity .gform_wrapper.gravity-theme input[type="email"]::placeholder,
.contact-form--gravity .gform_wrapper.gravity-theme input[type="tel"]::placeholder,
.contact-form--gravity .gform_wrapper.gravity-theme textarea::placeholder {
	color: rgba(17, 17, 17, 0.35);
}

.contact-form--gravity .gform_wrapper.gravity-theme textarea {
	resize: none;
	min-height: 95px;
}

.contact-form--gravity .gform_wrapper.gravity-theme input[type="text"]:focus,
.contact-form--gravity .gform_wrapper.gravity-theme input[type="email"]:focus,
.contact-form--gravity .gform_wrapper.gravity-theme input[type="tel"]:focus,
.contact-form--gravity .gform_wrapper.gravity-theme textarea:focus {
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary);
	border-radius: 8px;
}

.contact-form--gravity .gform_wrapper.gravity-theme .ginput_container_consent,
.contact-form--gravity .gform_wrapper.gravity-theme .gchoice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.contact-form--gravity .gform_wrapper.gravity-theme .ginput_container_consent label,
.contact-form--gravity .gform_wrapper.gravity-theme .gchoice label {
	margin: 0;
	color: #000;
	font-size: 18px;
	font-family: var(--wp--preset--font-family--inter);
	font-weight: 400;
	line-height: 32px;
}

.contact-form--gravity .gform_wrapper.gravity-theme .ginput_container_consent label a,
.contact-form--gravity .gform_wrapper.gravity-theme .gchoice label a {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
	text-decoration: none;
}

.contact-form--gravity .gform_wrapper.gravity-theme input[type="checkbox"] {
	appearance: none;
	width: 26px;
	height: 26px;
	min-width: 26px;
	margin: 3px 0 0;
	border-radius: 999px;
	border: 1px solid #111;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.contact-form--gravity .gform_wrapper.gravity-theme input[type="checkbox"]:checked {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}

.contact-form--gravity .gform_wrapper.gravity-theme input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 4px;
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.contact-form--gravity .gform_wrapper.gravity-theme .gform_footer,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_page_footer {
	margin: 0;
	padding: 0;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
.contact-form--gravity .gform_wrapper.gravity-theme .gform_footer button,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_page_footer input[type="button"],
.contact-form--gravity .gform_wrapper.gravity-theme .gform_page_footer input[type="submit"] {
	width: 100%;
	margin-top: 8px;
	padding: 20px 40px;
	border: none;
	border-radius: 1000px;
	background: #FFB905;
	color: #16164A;
	font-size: 18px;
	font-weight: 600;
	font-family: var(--wp--preset--font-family--inter);
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form--gravity .gform_wrapper.gravity-theme .gform_footer input[type="submit"]:hover,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_footer button:hover,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_page_footer input[type="button"]:hover,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_page_footer input[type="submit"]:hover {
	background: #FFC933;
	transform: translateY(-1px);
}

.contact-form--gravity .gform_wrapper.gravity-theme .validation_message,
.contact-form--gravity .gform_wrapper.gravity-theme .gform_validation_errors {
	margin-top: 8px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
	.contact-wrapper {
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.contact-info {
		padding: 56px 40px 52px;
	}

	.contact-form-side {
		padding: 44px 40px;
	}

	.contact-form__row {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.contact-form--gravity .gform_wrapper.gravity-theme .gform_fields {
		grid-template-columns: 1fr;
		row-gap: 14px;
	}

	.site-footer--compact .site-footer__columns {
		row-gap: 12px;
	}

	.site-footer--compact {
		padding-top: 18px !important;
		padding-bottom: 18px !important;
	}
}

@media (max-width: 781px) {

	.home-services {
		padding-bottom: 56px !important;
		padding-left: var(--wp--preset--spacing--container) !important;
		padding-right: var(--wp--preset--spacing--container) !important;
	}

	.home-services .services-heading {
		font-size: clamp(24px, 7.4vw, 34px) !important;
		line-height: 1.05 !important;
		margin-bottom: 38px !important;
	}

	.home-services .wp-block-columns.alignwide {
		flex-direction: column;
		row-gap: 18px;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	/* Hide desktop grid, show mobile carousel. */
	.home-services .wp-block-columns.home-services__desktop-only,
	.home-services .wp-block-columns.home-services__desktop-only>.wp-block-column {
		display: none !important;
	}

	.home-services__mobile-wrapper {
		display: block;
		background: transparent;
	}

	.home-services__mobile-slider {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		-ms-overflow-style: none;
		-webkit-overflow-scrolling: touch;
		gap: 16px;
	}

	.home-services__mobile-slider::-webkit-scrollbar {
		display: none;
	}

	.home-services__mobile-slider .mobile-slider-item {
		flex: 0 0 100%;
		scroll-snap-align: start;
		padding: 0;
		box-sizing: border-box;
		display: flex;
	}

	.home-services__mobile-slider .service-card {
		width: 100%;
		height: 410px;
		min-height: 410px;
	}

	.home-services__mobile-slider .service-card::after {
		height: 230px;
	}

	/* Dots. */
	.home-services__dots {
		display: flex;
		justify-content: center;
		gap: 8px;
		margin-top: 20px;
	}

	.home-services__dots .dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: #C6C6C6;
		border: none;
		padding: 0;
		cursor: pointer;
		transition: background 0.2s;
		flex-shrink: 0;
	}

	.home-services__dots .dot.active {
		background: #1A56FF;
		width: 24px;
		border-radius: 4px;
	}

	.home-services .wp-block-column {
		flex-basis: 100%;
	}

	.service-card {
		height: 372px;
		min-height: 372px;
		border-radius: 20px;
	}

	.service-card::after {
		height: 210px;
		border-radius: 0 0 20px 20px;
	}

	.service-card__content {
		left: 12px;
		right: 12px;
		bottom: 12px;
		min-height: 118px;
		padding: 12px 14px;
		border-radius: 16px;
		grid-template-columns: 38px 1fr;
		column-gap: 10px;
		row-gap: 6px;
	}

	.service-card__icon,
	.service-card__icon img {
		width: 38px;
		height: 38px;
	}

	.service-card__icon {
		border-radius: 8px;
	}

	.service-card__title {
		font-size: 18px;
		line-height: 1.2;
	}

	.service-card__description {
		font-size: 16px;
		line-height: 1.4;
	}

	.service-card--lavender:not(.service-card--lavender-alt) .service-card__illustration img {
		transform: scale(0.75);
		object-position: center 4%;
	}

	.service-card--blue .service-card__illustration img {
		transform: scale(1.02);
		object-position: 42% 9%;
	}

	.service-card--yellow .service-card__illustration img {
		transform: scale(0.88);
		object-position: center 4%;
	}

	.service-card--lavender-alt .service-card__illustration img {
		transform: scale(0.88);
		object-position: 102% 10%;
	}

	.service-card:hover,
	.service-card:hover .service-card__content {
		transform: translateY(-4px);
	}

	.service-card:hover .service-card__content {
		box-shadow: 0 8px 18px rgba(22, 22, 74, 0.12);
	}

	.service-card:active {
		transform: translateY(-4px);
	}

	.service-card:active .service-card__content {
		transform: translateY(-2px);
	}

	.testimonial-card {
		padding: 28px;
	}

	.contact-wrapper {
		border-radius: 24px;
	}

	.contact-info,
	.contact-form-side {
		padding: 34px 20px;
	}

	.contact-info__title {
		font-size: clamp(30px, 8.8vw, 38px) !important;
		margin-bottom: 16px;
	}

	.contact-info__lead {
		margin-bottom: 34px !important;
		font-size: 16px;
		line-height: 28px;
	}

	.contact-item {
		gap: 14px;
	}

	.contact-item__icon {
		width: 54px;
		min-width: 54px;
		height: 54px;
	}

	.contact-item__icon svg {
		width: 23px;
		height: 23px;
	}

	.contact-item__label {
		font-size: 18px;
		line-height: 22px;
	}

	.contact-item__value {
		font-size: 16px;
		line-height: 24px;
	}

	.contact-form,
	.contact-form--gravity .gform_wrapper.gravity-theme form {
		gap: 14px;
	}

	.contact-form__field,
	.contact-form--gravity .gform_wrapper.gravity-theme .gfield {
		min-height: 80px;
		border-radius: 20px;
		gap: 6px;
	}

	.contact-form--gravity .gform_wrapper.gravity-theme .gfield--type-consent,
	.contact-form--gravity .gform_wrapper.gravity-theme .gfield--type-checkbox {
		min-height: 0;
		padding: 4px 0 0;
		border-radius: 0;
	}

	.contact-form__field--full,
	.contact-form--gravity .gform_wrapper.gravity-theme .gfield--type-textarea,
	.contact-form--gravity .gform_wrapper.gravity-theme .gfield--width-full,
	.contact-form--gravity .gform_wrapper.gravity-theme .gfield.full-width {
		min-height: 150px;
	}

	.contact-form__label,
	.contact-form--gravity .gform_wrapper.gravity-theme .gfield_label,
	.contact-form--gravity .gform_wrapper.gravity-theme .gform-field-label {
		font-size: 17px;
		line-height: 22px;
	}

	.contact-form input[type="text"],
	.contact-form input[type="email"],
	.contact-form input[type="tel"],
	.contact-form textarea,
	.contact-form--gravity .gform_wrapper.gravity-theme input[type="text"],
	.contact-form--gravity .gform_wrapper.gravity-theme input[type="email"],
	.contact-form--gravity .gform_wrapper.gravity-theme input[type="tel"],
	.contact-form--gravity .gform_wrapper.gravity-theme textarea {
		font-size: 16px;
		line-height: 26px;
	}

	.contact-form textarea,
	.contact-form--gravity .gform_wrapper.gravity-theme textarea {
		min-height: 82px;
	}

	.contact-form__privacy,
	.contact-form--gravity .gform_wrapper.gravity-theme .ginput_container_consent label,
	.contact-form--gravity .gform_wrapper.gravity-theme .gchoice label {
		font-size: 16px;
		line-height: 26px;
	}

	.contact-form__submit,
	.contact-form--gravity .gform_wrapper.gravity-theme .gform_footer input[type="submit"],
	.contact-form--gravity .gform_wrapper.gravity-theme .gform_footer button,
	.contact-form--gravity .gform_wrapper.gravity-theme .gform_page_footer input[type="button"],
	.contact-form--gravity .gform_wrapper.gravity-theme .gform_page_footer input[type="submit"] {
		padding: 16px 26px;
		font-size: 16px;
	}

	.wpcf7-form .form-row {
		grid-template-columns: 1fr;
	}

	.site-footer--compact .wp-block-navigation {
		font-size: 13px;
	}

	.site-footer--compact .site-footer__legal {
		font-size: 12px;
		text-align: center !important;
	}
}

@media (max-width: 520px) {
	.home-services {
		padding-left: 12px !important;

	}

	.service-card {
		height: 344px;
		min-height: 344px;
	}

	.service-card__content {
		min-height: 108px;
	}

	.service-card__title {
		line-height: 18px;
	}

	.service-card__description {
		line-height: 18px;
	}
}

/* Hero H1 reveal animation */
.reveal-hero-h1 {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 15px;
	row-gap: 0;
	margin: 0 auto;
	line-height: 1.2;
	overflow: hidden;
	text-align: center;
}

@media (max-width: 1024px) {
	.reveal-hero-h1 {
		column-gap: 10px;
	}
}

@media (max-width: 781px) {
	.reveal-hero-h1 {
		column-gap: 6px;
	}
}

.reveal-hero-h1 .reveal-item {
	opacity: 0;
	visibility: hidden;
	display: inline-block;
}

.reveal-hero-h1.reveal-active .reveal-item {
	opacity: 0;
	filter: blur(10px);
	transform: scale(1.1);
	visibility: visible;
	animation-name: revealAnimHeroH1;
	animation-delay: var(--delay);
	animation-duration: 0.8s;
	animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
	animation-fill-mode: forwards;
}

@keyframes revealAnimHeroH1 {
	0% {
		opacity: 0;
		filter: blur(10px);
		transform: scale(1.1);
	}

	100% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}
}

.reveal-hero-h1.reveal-out .reveal-item {
	opacity: 1;
	visibility: visible;
	filter: blur(0);
	transform: scale(1);
	animation-name: revealAnimHeroH1Out;
	animation-delay: var(--delay-out);
	animation-duration: 0.8s;
	animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
	animation-fill-mode: forwards;
}

@keyframes revealAnimHeroH1Out {
	0% {
		opacity: 1;
		filter: blur(0);
		transform: scale(1);
	}

	100% {
		opacity: 0;
		filter: blur(10px);
		transform: scale(1.1);
	}
}


/* Push home hero content below absolute header */
.home-hero .site-header__hero {
	padding-top: calc(var(--header-height) + 40px);
}


/* AWB fills full hero height */
.home-hero .wp-block-nk-awb,
.home-hero .nk-awb-wrap {
	min-height: inherit;
}


/* =============================================================================
   HAMBURGER MENU
   ============================================================================= */

.site-header__sections-toggle {
	background: transparent ;
	border: none ;
	cursor: pointer;
	padding: 0;
	line-height: 0;
	transition: transform 0.3s ease;
	box-shadow: none;
	border-radius: 0;
}

.site-header__sections-toggle:hover {
	transform: scale(1.1);
	background: transparent;
}

.site-header__sections-toggle:focus {
	outline: none;
	background: transparent;
}

/* Overlay fullscreen */
.hamburger-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hamburger-overlay.is-active {
	opacity: 1;
	visibility: visible;
}

/* Background */
.hamburger-overlay-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #16164A;
	overflow: hidden;
}

.hamburger-overlay-bg::before {
	content: "";
	position: absolute;
	width: 2104px;
	height: 1345px;
	right: -400px;
	top: -397px;
	background: radial-gradient(ellipse 50% 50% at 50% 50%,
			#1034CC 0%,
			#0a1a6b 67%,
			rgba(2, 8, 11, 0) 100%);
	border-radius: 9999px;
	filter: blur(45px);
	opacity: 0.6;
}

.hamburger-overlay-bg::after {
	content: "";
	position: absolute;
	width: 2104px;
	height: 1345px;
	left: -1498px;
	bottom: -400px;
	background: radial-gradient(ellipse 50% 50% at 50% 50%,
			#1034CC 0%,
			#0a1a6b 67%,
			rgba(2, 8, 11, 0) 100%);
	border-radius: 9999px;
	filter: blur(45px);
	opacity: 0.5;
}

/* Content */
.hamburger-overlay-content {
	position: relative;
	z-index: 2;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding: 40px 20px;
}

.hamburger-logo-link {
	display: inline-block;
}

.hamburger-logo-img {
	width: 165px;
	height: auto;
	filter: brightness(0) invert(1);
}

/* Navigation */
.hamburger-menu-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}

.hamburger-menu-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
}

.hamburger-menu-link {
	color: #fff;
	font-size: clamp(28px, 3.5vw, 48px);
	font-family: var(--wp--preset--font-family--moga, serif);
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
	text-align: center;
	padding: 4px 20px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.hamburger-menu-link:hover,
.hamburger-menu-item:hover .hamburger-menu-link {
	color: var(--wp--preset--color--secondary, #F5C842) !important;
}

.hamburger-menu-separator {
	display: block;
	width: 200px;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.2);
	margin: 2px auto 4px auto;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.hamburger-menu-item:hover .hamburger-menu-separator {
	opacity: 1;
}

.hamburger-close-btn {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
	line-height: 0;
	opacity: 0.7;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.hamburger-close-btn:hover {
	opacity: 1;
	transform: rotate(90deg);
}

.hamburger-close-btn:focus {
	outline: none;
}

@media (max-width: 768px) {
	.hamburger-menu-link {
		font-size: 26px;
		line-height: 1.3;
		padding: 4px 16px;
	}

	.hamburger-menu-separator {
		width: 140px;
	}

	.hamburger-overlay-content {
		gap: 24px;
	}
}


/* ============================================
   DISEÑO WEB HERO
   ============================================ */

.dw-hero {
	background-color: #1034CC;
	padding-top: 80px;
	padding-bottom: 80px;
	overflow: hidden;
}

.dw-hero__cols {
	width: 100%;
	max-width: 1700px;
	margin: 0 auto;
	padding-left: var(--wp--preset--spacing--container);
	padding-right: var(--wp--preset--spacing--container);
	gap: 60px;
}

.dw-hero__col-text,
.dw-hero__col-img {
	flex-basis: 50%;
}

.dw-hero .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column[style*=flex-basis].dw-hero__col-text {
	margin-top: 40px;
}

.dw-hero__title {
	color: #F5F5F5;
	font-family: 'Moga', sans-serif;
	font-size: clamp(40px, 5.5vw, 116.82px);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 0.95;
	margin-bottom: 40px;
	position: relative;
}

.dw-hero__title .dw-hero__yellow {
	color: #FFB905;
	position: relative;
	display: inline;
	white-space: nowrap;
	z-index: 1;
}

.dw-hero__word-circle {
	position: relative;
	display: inline-block;
}

.dw-hero__circle {
	position: absolute;
	top: 26%;
	left: 50%;
	width: 115%;
	height: 147%;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: -1;
	overflow: visible;
}

.dw-hero__circle-path {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	animation: drawCircle 0.8s ease-out forwards;
}

@keyframes drawCircle {
	to {
		stroke-dashoffset: 0;
	}
}

.dw-hero__subtitle {
	color: #F5F5F5;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
	line-height: 32px;
	font-weight: 400;
	margin-bottom: 40px;
	max-width: 600px;
}

.dw-hero__cta {
	margin-top: 10px;
	display: flex;
	justify-content: flex-start;
}

.dw-hero__cta .wp-block-button__link {
	background-color: #FFB905 !important;
	color: #16164A !important;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 600;
	padding: 14px 30px;
	border-radius: 1000px;
	text-decoration: none;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: background-color 0.3s ease;
}

.dw-hero__cta .wp-block-button__link:hover {
	background-color: #e5a600 !important;
}

/* Portátiles pequeños y tablets landscape */
@media (min-width: 782px) and (max-width: 1200px) {
	.dw-hero {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.dw-hero__cols {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 40px;
	}

	.dw-hero__col-text {
		flex-basis: auto;
		width: 55%;
		max-width: none;
	}

	.dw-hero__col-img {
		flex-basis: auto;
		width: 45%;
		max-width: none;
	}

	.dw-hero__col-img figure {
		width: 100%;
		max-width: 100%;
	}

	.dw-hero__col-img figure img {
		width: 100%;
		height: auto;
	}
}

/* Desktop */
@media (min-width: 1201px) {
	.dw-hero__cols {
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.dw-hero__col-text {
		flex-basis: auto;
		width: 100%;
		max-width: 820px;
	}

	.dw-hero__col-img {
		flex-basis: auto;
		width: 100%;
		max-width: 550px;
	}
}

/* Móvil */
@media (max-width: 781px) {
	.dw-hero {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.dw-hero__cols {
		flex-direction: column;
		align-items: center;
		gap: 32px;
	}

	.dw-hero__title {
		font-size: clamp(52px, 13vw, 80px);
		margin-bottom: 20px;
		line-height: 0.88;
	}

	.dw-hero__subtitle {
		font-size: 16px;
		line-height: 28px;
		margin-bottom: 30px;
		max-width: 100%;
	}

	.dw-hero__col-text {
		text-align: center;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.dw-hero__col-img {
		width: 100% !important;
		max-width: 320px !important;
		margin: 0 auto !important;
		align-self: center;
		display: flex;
		justify-content: center;
	}

	.dw-hero__col-img figure {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		display: flex;
		justify-content: center;
	}

	.dw-hero__col-img figure img {
		width: 100%;
		height: auto;
		display: block;
	}
}

/* ============================================
   DW POR TI
   ============================================ */

.dw-por-ti {
	background: #F5F5F5;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 80px);
	text-align: center;
}

.dw-por-ti__title {
	color: var(--wp--preset--color--primary);
	font-size: clamp(36px, 5vw, 62px);
	line-height: 1;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: clamp(20px, 3vw, 32px);
}

.dw-por-ti__subtitle {
	font-size: clamp(20px, 2.5vw, 30px);
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--primary-dark);
	margin-top: 0;
	margin-bottom: clamp(16px, 2.5vw, 28px);
	max-width: 700px;
	margin-inline: auto;
}

.dw-por-ti__subtitle-highlight {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

.dw-por-ti__body {
	font-size: 18px;
	line-height: 1.6;
	color: var(--wp--preset--color--primary-dark);
	max-width: 820px;
	margin-inline: auto;
	margin-top: 0;
	margin-bottom: 0;
}

/* ============================================
   DW IA CARDS
   ============================================ */

/* ============================================
   DW IA
   ============================================ */

.dw-ia {
	background: #F5F5F5;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 80px);
	overflow: hidden;
}

.dw-ia.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
}

.dw-ia__cols {
	display: flex;
	gap: clamp(24px, 3vw, 48px);
	align-items: flex-start;
	padding-left: clamp(20px, 5vw, 80px);
	padding-right: clamp(20px, 5vw, 80px);
}

.dw-ia__col-text {
	flex: 0 0 28%;
	max-width: 28%;
	align-self: flex-start;
	padding-top: 16px;
}

.dw-ia__col-cards {
	flex: 1 1 0;
	min-width: 0;
	overflow: visible;
}

.dw-ia__title {
	font-size: clamp(32px, 4.5vw, 62px);
	line-height: 1;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: clamp(16px, 2vw, 24px);
}

.dw-ia__title-white {
	color: var(--wp--preset--color--primary-dark);
}

.dw-ia__title-blue {
	color: var(--wp--preset--color--primary);
}

.dw-ia__body {
	color: var(--wp--preset--color--primary-dark);
	font-size: 18px;
	line-height: 1.78;
	margin: 0;
}

/* Grid asimétrico como en Figma:
   col1: fila1=315px, fila2=222px
   col2: fila1+2 merged arriba (222px) + azul abajo (315px) */
.dw-ia__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 210px 80px 210px;
	gap: 16px;
}

/* Card 1 amarilla: col1, filas 1+2 */
.dw-ia__grid>.wp-block-group:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / 3;
}

/* Card 2 lavender: col2, fila 1 */
.dw-ia__grid>.wp-block-group:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}

/* Card 3 lavender: col1, fila 3 */
.dw-ia__grid>.wp-block-group:nth-child(3) {
	grid-column: 1;
	grid-row: 3;
}

/* Card 4 azul: col2, filas 2+3 */
.dw-ia__grid>.wp-block-group:nth-child(4) {
	grid-column: 2;
	grid-row: 2 / 4;
}

/* Wrapper WP — sin fondo ni padding propio */
.dw-ia__grid>.wp-block-group {
	display: flex;
	flex-direction: column;
	margin: 0;
}

/* La card ocupa toda la celda */
.dw-ia__grid>.wp-block-group>.dw-ia-card {
	flex: 1;
}

/* Cards base */
.dw-ia-card {
	border-radius: 25px;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 25px;
	box-sizing: border-box;
}

.dw-ia-card--yellow {
	background: var(--wp--preset--color--secondary);
}

.dw-ia-card--lavender {
	background: #C2C4FF;
}

.dw-ia-card--blue {
	background: var(--wp--preset--color--primary);
}

/* Chip (pill blanca con icono + texto) */
.dw-ia-card__chip {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #fff;
	border-radius: 20px;
	padding: 12px 16px;
	width: fit-content;
	max-width: 65%;
	box-sizing: border-box;
	align-self: flex-start;
	position: relative;
	z-index: 2;
}

.dw-ia-card__chip-icon {
	flex-shrink: 0;
	margin: 0;
}

.dw-ia-card__chip-icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	display: block;
}

.dw-ia-card__chip-text {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--wp--preset--color--primary-dark);
	margin: 0;
	word-break: normal;
	overflow-wrap: break-word;
}

/* Imagen — absoluta abajo-derecha en todas las cards */
.dw-ia-card__img {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	line-height: 0;
	pointer-events: none;
	z-index: 1;
}

.dw-ia-card__img img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.dw-ia__grid>.wp-block-group:nth-child(1) .dw-ia-card__img {
	width: 35%;
}

.dw-ia__grid>.wp-block-group:nth-child(2) .dw-ia-card__img {
	width: 29%;
}

.dw-ia__grid>.wp-block-group:nth-child(3) .dw-ia-card__img {
	width: 35%;
}

.dw-ia__grid>.wp-block-group:nth-child(4) .dw-ia-card__img {
	width: 51%;
	right: -34px;
}

/* Chip card 2 (lavender top-right): ocupa todo el ancho */
.dw-ia__grid>.wp-block-group:nth-child(2) .dw-ia-card__chip {
	max-width: 75%;
}

/* Responsive tablet */
@media (max-width: 900px) {
	.dw-ia__cols {
		flex-wrap: wrap;
	}

	.dw-ia__col-text,
	.dw-ia__col-cards {
		min-width: 100%;
	}

	.dw-ia__grid {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 220px 80px 200px;
	}
}

@media (max-width: 600px) {
	.dw-ia__grid {
		grid-template-columns: 1fr;
		grid-template-rows: 280px 200px 200px 280px;
	}

	.dw-ia__grid>.wp-block-group:nth-child(1) {
		grid-column: 1;
		grid-row: 1;
	}

	.dw-ia__grid>.wp-block-group:nth-child(2) {
		grid-column: 1;
		grid-row: 2;
	}

	.dw-ia__grid>.wp-block-group:nth-child(3) {
		grid-column: 1;
		grid-row: 3;
	}

	.dw-ia__grid>.wp-block-group:nth-child(4) {
		grid-column: 1;
		grid-row: 4;
	}
}

/* ============================================
   DW TRABAJAMOS
   ============================================ */

.dw-trabajamos {
	background: #F5F5F5;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 80px);
}

.dw-trabajamos__title {
	font-size: clamp(28px, 4vw, 62px);
	text-transform: uppercase;
	line-height: 1;
	margin-top: 0;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.dw-trabajamos__title-dark {
	color: var(--wp--preset--color--primary-dark);
}

.dw-trabajamos__title-blue {
	color: var(--wp--preset--color--primary);
}

.dw-trabajamos__cols.wp-block-columns {
	gap: 20px;
	max-width: 1400px;
	align-items: stretch;
}

.dw-trabajamos__col.wp-block-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.dw-trabajamos-card {
	flex: 1;
	min-height: 110px;
}

.dw-trabajamos-card {
	background: #fff;
	border-radius: 21px;
	box-shadow: 0 0 43px rgba(198, 198, 198, 0.5);
	padding: 20px 24px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 16px;
	position: relative;
	flex: 1;
}

.dw-trabajamos-card__num {
	font-family: var(--wp--preset--font-family--moga);
	font-size: 72px;
	line-height: 1;
	color: var(--wp--preset--color--secondary);
	text-transform: uppercase;
	flex-shrink: 0;
	margin: 0;
}

.dw-trabajamos-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.dw-trabajamos-card__title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.dw-trabajamos-card__text {
	font-size: 16px;
	line-height: 1.5;
	color: var(--wp--preset--color--primary-dark);
	margin: 0;
}

.dw-trabajamos__cta .wp-block-button__link {
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--primary-dark);
	border-radius: 1000px;
	padding: 20px 40px;
	font-size: 18px;
	font-weight: 600;
	border: none;
}

.dw-trabajamos__cta .wp-block-button__link:hover {
	background: #e5a800;
}

@media (max-width: 781px) {
	.dw-trabajamos__cols.wp-block-columns {
		flex-direction: column;
	}
}

/* ============================================
   DW PROBLEMA
   ============================================ */

.dw-problema {
	background: #F5F5F5;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(48px, 6vw, 80px);
}

.dw-problema__title {
	font-size: clamp(28px, 4vw, 62px);
	text-transform: uppercase;
	line-height: 1;
	margin-top: 0;
	margin-bottom: 16px;
}

.dw-problema__title-dark {
	color: var(--wp--preset--color--primary-dark);
}

.dw-problema__title-blue {
	color: var(--wp--preset--color--primary);
}

.dw-problema__subtitle {
	font-size: 18px;
	line-height: 32px;
	color: var(--wp--preset--color--primary-dark);
	text-align: center;
	margin-top: 0;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.dw-problema__cols.wp-block-columns {
	gap: 20px;
	align-items: stretch;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.dw-problema__col.wp-block-column {
	display: flex;
	flex-direction: column;
}

.dw-problema-card {
	background: #fff;
	border-radius: 21px;
	box-shadow: 0 0 43px rgba(198, 198, 198, 0.5);
	padding: 24px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	flex: 1;
}

.dw-problema-card__icon {
	flex-shrink: 0;
	margin: 0;
}

.dw-problema-card__icon img {
	width: 78px;
	height: 78px;
	display: block;
}

.dw-problema-card__text {
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	color: var(--wp--preset--color--primary-dark);
	margin: 0;
}

.dw-problema__middle {
	font-size: clamp(20px, 2.5vw, 30px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--wp--preset--color--primary-dark);
	text-align: center;
	margin-top: 0;
	margin-bottom: 16px;
}

.dw-problema__cta-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dw-problema__cta-title {
	font-size: clamp(28px, 4vw, 62px);
	text-transform: uppercase;
	line-height: 1;
	color: var(--wp--preset--color--primary);
	text-align: center;
	margin-top: 0;
	margin-bottom: 0;
}

.dw-problema__underline {
	margin: -4px auto 0;
}

.dw-problema__underline img {
	width: 100%;
	max-width: 480px;
	height: auto;
	display: block;
}

/* ============================================
   DW TECNOLOGIA
   ============================================ */

.dw-tecnologia {
	background: var(--wp--preset--color--primary);
	padding-top: 0;
	padding-bottom: 0;
}

.dw-tecnologia__row {
	display: grid;
	grid-template-columns: 30% 1fr;
	align-items: center;
	padding-left: clamp(20px, 5vw, 80px);
}

.dw-tecnologia__row>.wp-block-group {
	margin-block-start: 0;
}

.dw-tecnologia__col-text {
	padding-right: 19px;
	align-self: flex-start;
	padding-top: clamp(16px, 6vw, 120px);
}

.dw-tecnologia__col-text>.wp-block-group,
.dw-tecnologia__col-text>p,
.dw-tecnologia__col-text>h2 {
	margin-block-start: 0;
}

.dw-tecnologia__col-cards {
	padding: 0;
}

.dw-tecnologia__title {
	font-size: clamp(28px, 4vw, 62px);
	text-transform: uppercase;
	line-height: 1;
	margin-top: 0;
	margin-bottom: 16px;
}

.dw-tecnologia__title-white {
	color: #F5F5F5;
}

.dw-tecnologia__title-yellow {
	color: var(--wp--preset--color--secondary);
}

.dw-tecnologia__subtitle {
	font-size: 18px;
	line-height: 32px;
	color: #F5F5F5;
	margin-top: 0;
	margin-bottom: 24px;
}

.dw-tecnologia__claim {
	font-size: clamp(20px, 2vw, 30px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--wp--preset--color--secondary);
	margin: 0;
}

.dw-tecnologia__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 28px;
	row-gap: 28px;
	align-items: stretch;
	padding: clamp(29px, 6vw, 86px) clamp(20px, 5vw, 40px) clamp(20px, 5vw, 92px) 20px;
}

.dw-tecnologia-card {
	border-radius: 25px;
	padding: 20px 28px;
	display: block;
	overflow: hidden;
	position: relative;
	height: 160px;
	min-height: 160px;
	max-height: 160px;
	box-sizing: border-box;
	margin: 0 !important;
}

.dw-tecnologia-card>* {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.dw-tecnologia-card--lavender {
	background: #C2C4FF;
}

.dw-tecnologia-card--yellow {
	background: var(--wp--preset--color--secondary);
}

.dw-tecnologia-card__label {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--wp--preset--color--primary);
	margin: 0;
	position: relative;
	z-index: 1;
}

.dw-tecnologia-card__img {
	position: absolute;
	margin: 0;
	z-index: 0;
	pointer-events: none;
}

.dw-tecnologia-card__img img {
	width: auto;
	height: 182px;
	object-fit: contain;
	display: block;
}

/* Card 1: WordPress — imagen derecha, centrada verticalmente */
.dw-tecnologia__grid>.wp-block-group:nth-child(1).dw-tecnologia-card {
	overflow: hidden;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__label {
	position: absolute;
	top: 20px;
	left: 28px;
	right: auto;
	text-align: left;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img {
	right: -15px;
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
	margin: 0;
	line-height: 0;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img img {
	height: 190px;
	width: auto;
	display: block;
}

/* Card 2: Block Themes — imagen izquierda, label arriba derecha */
.dw-tecnologia__grid>.wp-block-group:nth-child(2).dw-tecnologia-card {
	overflow: visible;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(2) .dw-tecnologia-card__img {
	left: -8px;
	right: auto;
	top: 41%;
	transform: translateY(-50%);
	bottom: auto;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(2) .dw-tecnologia-card__img img {
	height: 152px;
	width: auto;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(2) .dw-tecnologia-card__label {
	position: absolute;
	bottom: 20px;
	top: auto;
	right: 28px;
	left: auto;
	text-align: right;
}

/* Card 3: Gutenberg — imagen izquierda, label arriba derecha */
.dw-tecnologia__grid>.wp-block-group:nth-child(3).dw-tecnologia-card {
	overflow: visible;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img {
	left: 40px;
	right: auto;
	top: 43%;
	transform: translateY(-50%);
	bottom: auto;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img img {
	height: 181px;
	width: auto;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__label {
	position: absolute;
	top: 20px;
	right: 28px;
	left: auto;
	text-align: right;
}

/* Card 4: Hosting — label izq, img derecha */
.dw-tecnologia__grid>.wp-block-group:nth-child(4).dw-tecnologia-card {
	overflow: hidden;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(4) .dw-tecnologia-card__label {
	position: absolute;
	bottom: 20px;
	top: auto;
	left: 28px;
	right: auto;
	text-align: left;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(4) .dw-tecnologia-card__img {
	right: -15px;
	left: auto;
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
}

.dw-tecnologia__grid>.wp-block-group:nth-child(4) .dw-tecnologia-card__img img {
	height: 160px;
	width: auto;
}

/* dw-tecnologia responsive — título arriba, 2x2 grid */
@media (max-width: 1200px) {
	.dw-tecnologia__row {
		grid-template-columns: 1fr;
		padding-left: 0;
		padding-right: 0;
	}

	.dw-tecnologia__col-text {
		padding-left: clamp(16px, 4vw, 48px);
		padding-right: clamp(16px, 4vw, 48px);
		padding-top: clamp(32px, 5vw, 64px);
		padding-bottom: 24px;
	}

	.dw-tecnologia__col-cards {
		width: 100%;
	}

	.dw-tecnologia__grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 16px;
		row-gap: 16px;
		padding: 0 clamp(16px, 4vw, 48px) clamp(32px, 5vw, 64px);
	}

	.dw-tecnologia-card,
	.dw-tecnologia__grid>.wp-block-group:nth-child(2).dw-tecnologia-card,
	.dw-tecnologia__grid>.wp-block-group:nth-child(3).dw-tecnologia-card {
		height: 180px;
		min-height: 180px;
		max-height: 180px;
		overflow: hidden;
	}

	.dw-tecnologia-card__label {
		font-size: 22px;
	}

	/* card 3 Gutenberg: mover label a bottom-right para que no la tape el logo rotado */
	.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__label {
		top: auto;
		bottom: 18px;
	}

	/* cards 1 y 3: imagen anclada al fondo */
	.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img,
	.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img {
		bottom: 0;
		top: auto;
		transform: none;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img img {
		height: 150px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(2) .dw-tecnologia-card__img img {
		height: 120px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img img {
		height: 130px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(4) .dw-tecnologia-card__img img {
		height: 130px;
	}
}

/* dw-tecnologia tablet */
@media (max-width: 700px) {
	.dw-tecnologia__grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 12px;
		row-gap: 12px;
	}

	.dw-tecnologia-card,
	.dw-tecnologia__grid>.wp-block-group:nth-child(2).dw-tecnologia-card,
	.dw-tecnologia__grid>.wp-block-group:nth-child(3).dw-tecnologia-card {
		height: 140px;
		min-height: 140px;
		max-height: 140px;
		overflow: hidden;
	}

	.dw-tecnologia-card__label {
		font-size: 17px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img,
	.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img {
		bottom: 0;
		top: auto;
		transform: none;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img img {
		height: 110px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(2) .dw-tecnologia-card__img img {
		height: 90px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img img {
		height: 100px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(4) .dw-tecnologia-card__img img {
		height: 100px;
	}
}

/* dw-tecnologia mobile — 1 columna */
@media (max-width: 480px) {
	.dw-tecnologia__grid {
		grid-template-columns: 1fr;
		row-gap: 12px;
	}

	.dw-tecnologia-card,
	.dw-tecnologia__grid>.wp-block-group:nth-child(2).dw-tecnologia-card,
	.dw-tecnologia__grid>.wp-block-group:nth-child(3).dw-tecnologia-card {
		height: 110px;
		min-height: 110px;
		max-height: 110px;
		overflow: hidden;
	}

	.dw-tecnologia-card__label {
		font-size: 22px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img,
	.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img {
		bottom: 0;
		top: auto;
		transform: none;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(1) .dw-tecnologia-card__img img {
		height: 100px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(2) .dw-tecnologia-card__img img {
		height: 80px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(3) .dw-tecnologia-card__img img {
		height: 90px;
	}

	.dw-tecnologia__grid>.wp-block-group:nth-child(4) .dw-tecnologia-card__img img {
		height: 80px;
	}
}

/* ============================================
   DW CONSIGUES
   ============================================ */

.dw-consigues {
	background: var(--wp--preset--color--primary);
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: 0;
	position: relative;
	overflow: hidden;
}

.dw-consigues::after {
	content: '';
	display: block;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 80px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z' fill='%23F5F5F5'/%3E%3C/svg%3E") no-repeat bottom center;
	background-size: 100% 100%;
	margin-top: 48px;
}

.dw-consigues__title {
	font-size: clamp(28px, 4vw, 62px);
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: clamp(32px, 4vw, 56px);
	line-height: 1;
}

.dw-consigues__title-white {
	color: #F5F5F5;
}

.dw-consigues__title-yellow {
	color: var(--wp--preset--color--secondary);
}

.dw-consigues__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	max-width: 1600px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	align-items: stretch;
}

.dw-consigues__grid>.wp-block-group {
	display: flex;
	height: 100%;
	margin-block-start: 0;
	margin-block-end: 0;
}

.dw-consigues-card {
	background: #fff;
	border-radius: 21px;
	box-shadow: 0 0 44px rgba(198, 198, 198, 0.5);
	padding: 40px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
}

.dw-consigues-card__img {
	margin: 0 0 20px 0;
	width: 100%;
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dw-consigues-card__img img {
	width: auto;
	height: 100%;
	max-height: 150px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.dw-consigues__grid>.wp-block-group:nth-child(1) .dw-consigues-card__img img {
	max-height: 150px;
}

.dw-consigues-card__text {
	font-size: 16px;
	line-height: 1.4;
	color: var(--wp--preset--color--primary-dark);
	margin: 0;
}

@media (max-width: 1100px) {
	.dw-consigues__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.dw-consigues-card {
		padding: 16px 12px;
	}

	.dw-consigues-card__img img {
		width: 70px;
		height: 70px;
	}

	.dw-consigues-card__text {
		font-size: 14px;
	}
}

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

	.dw-consigues-card {
		padding: 24px 20px;
	}

	.dw-consigues-card__img {
		height: 120px;
	}

	.dw-consigues-card__img img {
		max-height: 120px;
	}

	.dw-consigues-card__text {
		font-size: 15px;
	}
}

/* ============================================
   Planes de Alojamiento WordPress
   ============================================ */

.planes-video-bg.nk-awb {
	z-index: 0;
	width: 100%;
	overflow: hidden;
}

.planes-video-bg .nk-awb-wrap,
.planes-video-bg .nk-awb-inner {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	margin-top: -450px;
}

.planes-video-bg .nk-awb-wrap-content {
	position: relative;
	z-index: 2;
}

.planes-suscripcion-wrap {
	--planes-accent: #FFB905;
	--planes-primary: #16164A;
	--planes-primary-dark: #16164A;
	--planes-card-bg: #16164A;
	--planes-text-light: #FFB905;
	--planes-muted: rgba(255, 185, 5, 0.6);
	--planes-border: rgba(255, 255, 255, 0.12);
	padding: 64px 0;
	position: relative;
	box-sizing: border-box;
}

.planes-suscripcion-wrap .nk-awb-wrap-content {
	padding: 0;
}

.planes-header {
	text-align: center;
	margin-bottom: 48px;
	margin-inline: auto;
	padding-right: 50px;
}

@keyframes blink-dot {

	0%,
	49% {
		opacity: 1;
	}

	50%,
	100% {
		opacity: 0.2;
	}
}

.planes-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #1034CC;
	border: 1px solid rgba(16, 52, 204, 0.3);
	color: white;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 100px;
	margin-bottom: 28px;
}

.planes-tag::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: white;
	border-radius: 50%;
	animation: blink-dot 1.5s ease-in-out infinite;
}

.planes-title {
	font-size: clamp(34px, 5.5vw, 64px);
	letter-spacing: -1px;
	line-height: 1.05;
	margin-bottom: 18px;
}

.planes-title em {
	font-style: normal;
	color: #1034CC;
}

.planes-intro {
	font-size: 16px;
	font-weight: 400;
	max-width: 480px;
	margin-inline: auto;
	line-height: 1.7;
	margin-bottom: 36px;
	color: #16164A;
}

.planes-divider {
	border-color: transparent;
	margin-block: 0;
	display: none;
}

.section-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 32px 0 20px;
	font-size: 0;
}

.section-head span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #7a7a8c;
	white-space: nowrap;
}

.section-head::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.07);
}

.planes-grid.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
	gap: 14px;
	align-items: start;
	margin-bottom: 80px;
	width: calc(100% - 40px);
	max-width: 1080px;
	margin-inline: auto;
	padding-right: 50px;
}

.planes-grid.wp-block-columns>.wp-block-column {
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	overflow: visible;
	margin-top: 0;
}

.plan {
	background: #16164A;
	border: 1px solid rgba(255, 185, 5, 0.2);
	border-radius: 14px;
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color 0.2s, transform 0.2s;
	cursor: pointer;
}

.plan:hover {
	border-color: rgba(255, 185, 5, 0.35);
	transform: translateY(-2px);
}

.plan.open::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	z-index: 1;
}

.plan.active {
	border-color: #FFB905;
}

.plan.active::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: #FFB905;
	z-index: 1;
}

.plan .plan-head {
	padding: 22px 22px 18px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.plan .plan-meta {
	flex: 1;
	min-width: 0;
}

.plan .plan-code {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #FFB905;
	opacity: 0.65;
	margin: 0 0 5px;
}

.plan .plan-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #f2f2f0;
	margin: 0;
}

.plan .plan-price-block {
	text-align: right;
	flex-shrink: 0;
}

.plan .plan-price-block p {
	margin: 0;
}

.plan .plan-price-block .sym {
	font-size: 15px;
	font-weight: 700;
	color: #FFB905;
	opacity: 0.7;
}

.plan .plan-price-block .amount {
	font-size: 26px;
	font-weight: 800;
	color: #FFB905;
	letter-spacing: -1px;
}

.plan .plan-price-block .mo {
	font-size: 11px;
	color: #7a7a8c;
	margin-top: 1px;
}

.plan .plan-stats {
	display: flex;
	border-top: 1px solid rgba(255, 185, 5, 0.15);
	border-bottom: 1px solid rgba(255, 185, 5, 0.15);
	padding: 16px 0;
}

.plan .plan-stats>div {
	flex: 1;
	padding: 0 12px;
	text-align: center;
	border-right: 1px solid rgba(255, 185, 5, 0.15);
}

.plan .plan-stats>div:last-child {
	border-right: none;
}

.plan .stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.plan .stat-val {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	line-height: 1;
}

.plan .stat-lbl {
	font-size: 10px;
	color: #7a7a8c;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
	line-height: 1;
}

.plan .plan-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 16px;
	overflow: hidden;
	margin-top: auto;
}

.plan-actions .wp-block-button {
	width: auto;
	margin: 0;
	flex: 0 0 auto;
}

.plan-actions .wp-block-button__link {
	width: auto;
	text-align: center;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 400;
	padding: 7px 11px;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color 0.15s, color 0.15s;
	background: none;
	outline: none;
	border: 1px solid rgba(255, 255, 255, 0.13);
	color: #a0a0b8;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.btn-toggle .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.28);
	color: #d0d0e8;
}

.btn-select .wp-block-button__link {
	background: rgba(232, 255, 71, 0.08);
	border: 1px solid rgba(232, 255, 71, 0.2);
	color: #FFB905;
	font-weight: 700;
	padding: 7px 14px;
}

.btn-select .wp-block-button__link:hover {
	background: rgba(232, 255, 71, 0.14);
	border-color: rgba(232, 255, 71, 0.4);
}

.plan.active .btn-select .wp-block-button__link {
	background: #FFB905;
	color: #000;
	border-color: #FFB905;
}

.plan-details {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
	opacity: 0;
	margin: 0;
	padding: 0;
}

.plan.open .plan-details {
	max-height: 900px;
	opacity: 1;
	border-top: 1px solid rgba(255, 185, 5, 0.15);
	padding: 18px 22px 22px;
	display: flex;
	visibility: visible;
	overflow: visible;
	flex-direction: column;
}

.plan-details>div {
	margin-bottom: 16px;
	padding: 0;
}

.plan-details>div:last-child {
	margin-bottom: 0;
}

.feat-group-title {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #7a7a8c;
	margin: 0 0 9px;
}

.plan-details .wp-block-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 0;
}

.plan-details .wp-block-list li {
	font-size: 13px;
	color: #c0c0d0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.5;
	padding: 0;
	border: none;
	margin: 0;
}

.plan-details .wp-block-list li::before {
	content: '';
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	margin-top: 2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFB905' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
	opacity: 0.6;
}

.planes-form-section {
	display: block;
	margin-top: 80px;
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
	width: calc(100% - 66px);
	padding: 56px 40px;
	background: #1034CC;
	border: none;
	border-radius: 20px;
	text-align: center;
	box-sizing: border-box;
	position: relative;
}

.planes-form-section .gform_wrapper {
	box-shadow: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
}

.planes-form-section .gform_wrapper form {
	margin: 0;
}

.planes-form-section .gform_button,
.planes-form-section .gform_button:focus {
	border: none;
	box-shadow: none;
}

.planes-form-title.wp-block-heading {
	color: #ffffff;
	margin-bottom: 12px;
}

.planes-form-sub {
	color: #F8B906;
	font-size: 16px;
	margin-bottom: 36px;
}

.planes-form-section .gfield_label,
.planes-form-section .gfield input,
.planes-form-section .gfield textarea,
.planes-form-section .gfield select {
	color: white;
}

.planes-form-section .gfield input,
.planes-form-section .gfield textarea,
.planes-form-section .gfield select {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--planes-border);
}

.planes-form-section .gfield input:focus,
.planes-form-section .gfield textarea:focus {
	border-color: var(--planes-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 185, 5, 0.15);
}

@media (max-width: 781px) {
	.planes-suscripcion-wrap {
		padding-top: 48px;
		padding-bottom: 48px;
		padding-left: 0;
		padding-right: 0;
	}

	.planes-grid.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.planes-grid.wp-block-columns>.wp-block-column {
		flex-basis: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.planes-form-section {
		padding: 40px 20px;
		margin-top: 40px;
		margin-inline: 10px;
	}
}

#input_40_10 {
	color: #FFB905;
}

/* PLAN CARD CUSTOM STYLES */
.plan-head {
	padding: 22px 22px 18px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.plan-code {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #FFB905;
	opacity: 0.65;
	margin: 0 0 5px;
}

.plan-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #f2f2f0;
	margin: 0;
}

.plan-price-block {
	text-align: right;
	flex-shrink: 0;
}

.plan-price-block p {
	margin: 0;
}

.plan-price-block .sym {
	font-size: 15px;
	font-weight: 700;
	color: #FFB905;
	opacity: 0.7;
}

.plan-price-block .amount {
	font-size: 26px;
	font-weight: 800;
	color: #FFB905;
	letter-spacing: -1px;
}

.plan-price-block .mo {
	font-size: 11px;
	color: #7a7a8c;
	margin-top: 1px;
}

.plan-stats {
	display: flex;
	flex-wrap: nowrap;
	border-top: 1px solid rgba(255, 185, 5, 0.15);
	border-bottom: 1px solid rgba(255, 185, 5, 0.15);
	padding: 16px 0;
	margin: 0;
	gap: 0;
	width: 100%;
	align-items: stretch;
	justify-content: flex-start;
}

.plan-stats>div {
	flex: 1;
	padding: 0 12px;
	text-align: center;
	border-right: 1px solid rgba(255, 185, 5, 0.15);
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
	justify-content: center;
	margin: 0;
	min-width: 0;
}

.plan-stats>div:last-child {
	border-right: none;
}

.stat-val {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	line-height: 1;
}

.stat-lbl {
	font-size: 10px;
	color: #7a7a8c;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
	line-height: 1;
}

.plan-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 16px;
	overflow: hidden;
	margin-top: auto;
}

/* ============================================
   CLOSE PROCESS - HISTORIA
   ============================================ */

.close-process {
	background: #F5F5F5;
	padding-top: clamp(48px, 6vw, 96px);
	padding-bottom: clamp(40px, 5vw, 72px);
}

.close-process__cols.wp-block-columns {
	gap: clamp(24px, 4vw, 80px);
	align-items: flex-start;
	margin-bottom: clamp(40px, 5vw, 72px);
}

.close-process__col-title.wp-block-column {
	flex: 0 0 30%;
	max-width: 30%;
}

.close-process__col-text.wp-block-column {
	flex: 1 1 0;
	min-width: 0;
}

.close-process__title {
	font-size: clamp(32px, 4vw, 62px);
	text-transform: uppercase;
	line-height: 1;
	margin: 0;
}

.close-process__title-dark {
	color: #111;
}

.close-process__title-blue {
	color: #1838D8;
}

.close-process__body {
	font-size: 18px;
	line-height: 32px;
	color: #444;
	margin-top: 0;
	margin-bottom: 20px;
}

.close-process__body:last-child {
	margin-bottom: 0;
}

.close-process__timeline.wp-block-image {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 clamp(24px, 4vw, 80px);
	box-sizing: border-box;
}

.close-process__timeline.wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 900px) {
	.close-process .close-process__cols.wp-block-columns {
		display: block;
	}

	.close-process__col-title.wp-block-column,
	.close-process__col-text.wp-block-column {
		width: 100%;
		margin-bottom: 24px;
	}

	.close-process__title {
		text-align: center;
		font-size: clamp(24px, 5vw, 40px);
	}
}

@media (max-width: 781px) {
	.close-process__title {
		font-size: clamp(18px, 5.5vw, 28px);
		white-space: nowrap;
		text-align: center;
		width: 100%;
		display: block;
	}
}

@media (max-width: 600px) {
	.close-process__body {
		font-size: 16px;
		line-height: 28px;
	}
}

/* ============================================
   OPORTUNIDAD
   ============================================ */

.oportunidad {
	background: #F5F5F5;
	padding-top: clamp(32px, 5vw, 64px);
	padding-bottom: clamp(32px, 5vw, 64px);
}

.oportunidad__banner {
	background: #1838D8;
	border-radius: 25px;
	position: relative;
	padding: clamp(40px, 5vw, 80px) clamp(32px, 5vw, 80px);
}

.oportunidad__banner>.wp-block-group {
	margin-block-start: 0;
}

.oportunidad__content {
	flex: 1;
	max-width: 55%;
}

.oportunidad__content>* {
	margin-block-start: 0;
}

.oportunidad__title {
	font-size: clamp(28px, 3.5vw, 56px);
	text-transform: uppercase;
	line-height: 1.05;
	margin-top: 0;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.oportunidad__title-white {
	color: #F5F5F5;
}

.oportunidad__title-lavender {
	color: #C2C4FF;
}

.oportunidad__btns {
	margin: 0;
}

.oportunidad__btn .wp-block-button__link {
	background: #FFB905;
	color: #16164A;
	font-weight: 600;
	font-size: 18px;
	border-radius: 1000px;
	padding: 16px 40px;
	border: none;
}

.oportunidad__btn .wp-block-button__link:hover {
	background: #e0a400;
}

.oportunidad__img {
	position: absolute;
	right: clamp(40px, 5vw, 100px);
	bottom: 0;
	width: clamp(220px, 28vw, 420px);
	margin: 0;
	line-height: 0;
}

.oportunidad__img img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 768px) {
	.oportunidad__banner {
		padding-bottom: clamp(180px, 40vw, 280px);
	}

	.oportunidad__content {
		max-width: 100%;
	}

	.oportunidad__img {
		right: 0;
		width: clamp(160px, 45vw, 260px);
	}
}

/* ============================================
   EQUIPO
   ============================================ */

.equipo {
	background: #fff;
	padding-top: clamp(48px, 6vw, 96px);
	padding-bottom: clamp(48px, 6vw, 96px);
}

.equipo__title {
	font-size: clamp(28px, 4vw, 62px);
	text-transform: uppercase;
	line-height: 1;
	margin-top: 0;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.equipo__title-blue {
	color: #1838D8;
}

.equipo__title-dark {
	color: #111;
}

.equipo__grid {
	gap: 20px;
}

.equipo__grid>.wp-block-group {
	margin-block-start: 0;
	background-color: #F5F5F5;
	border-radius: 20px;
}

.equipo-card {
	background: #F5F5F5;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	padding: 28px 20px 20px;
	display: flex;
	flex-direction: column;
	min-height: 340px;
}

.equipo-card>* {
	margin-block-start: 0;
	margin-block-end: 0;
}

.equipo-card__bg {
	position: absolute;
	bottom: 0;
	width: 50%;
	margin: 0;
	line-height: 0;
	z-index: 0;
	right: 130px;
}

.equipo-card__bg img {
	width: 100%;
	height: auto;
	display: block;
}

.equipo-card__photo {
	position: absolute;
	bottom: 0;
	right: -5%;
	width: 80%;
	height: 88%;
	margin: 0;
	line-height: 0;
	z-index: 1;
}

.equipo-card__photo img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: top center;
}

.equipo-card__name {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
	margin: 0 0 6px;
	position: relative;
	z-index: 2;
	max-width: 55%;
}

.equipo-card__role {
	font-size: 13px;
	line-height: 1.4;
	color: #111;
	opacity: 0.5;
	margin: 0;
	position: relative;
	z-index: 2;
	max-width: 55%;
}

.equipo-card__linkedin-img {
	position: absolute;
	bottom: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	margin: 0;
	z-index: 3;
}

.equipo-card__linkedin-img img {
	width: 34px;
	height: 34px;
	display: block;
}

@media (max-width: 1100px) {
	.equipo__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 700px) {
	.equipo__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.equipo-card {
		min-height: 260px;
	}

	.equipo-card__name {
		font-size: 18px;
	}
}

@media (max-width: 420px) {
	.equipo__grid {
		grid-template-columns: 1fr;
	}
}

/* ===== OPORTUNIDAD ===== */

.oportunidad {
	background: #F5F5F5;
	padding-top: clamp(32px, 5vw, 64px);
	padding-bottom: clamp(32px, 5vw, 64px);
}

.oportunidad__content {
	position: relative;
	z-index: 2;
	max-width: 55%;
}

.oportunidad__title {
	font-size: clamp(28px, 3.5vw, 52px);
	line-height: 1.15;
	margin: 0 0 28px;
}

.oportunidad__title-white {
	color: #F5F5F5;
}

.oportunidad__title-lavender {
	color: #C2C4FF;
}

.oportunidad__btns {
	margin: 0;
}

.oportunidad__btn .wp-block-button__link {
	background: #FFB905;
	color: #16164A;
	border-radius: 1000px;
	padding: 16px 40px;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	display: inline-block;
	border: none;
}

.oportunidad__img {
	position: absolute;
	right: clamp(40px, 5vw, 100px);
	bottom: 0;
	width: clamp(220px, 28vw, 420px);
	margin: 0;
}

.oportunidad__img img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 900px) {
	.oportunidad__content {
		max-width: 70%;
	}

	.oportunidad__img {
		width: clamp(160px, 22vw, 280px);
		right: 20px;
	}
}

@media (max-width: 600px) {
	.oportunidad__banner {
		flex-direction: column;
		align-items: flex-start;
		padding-bottom: clamp(180px, 40vw, 240px);
	}

	.oportunidad__content {
		max-width: 100%;
	}

	.oportunidad__img {
		width: clamp(160px, 50vw, 220px);
		right: 0;
		left: 50%;
		transform: translateX(-50%);
	}
}

/* ===== LISTADO SERVICIOS ===== */

.listado-servicios {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 48px);
}



.listado-servicios__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	gap: 80px;
}

/* Card wrapper — white rounded card */
.listado-servicios__card {
	background: #ffffff;
	border-radius: 30px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Colored inner section */
.listado-servicios__card-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	border-radius: 30px;
	min-height: 427px;
	height: 100%;
	text-decoration: none;
	overflow: hidden;
	transition: filter 0.2s;
}

.listado-servicios__card-inner:hover {
	filter: brightness(0.93);
}

.listado-servicios__card--lavender { background: #C2C4FF; }
.listado-servicios__card--blue     { background: #1838D8; }
.listado-servicios__card--dark     { background: #16164A; }
.listado-servicios__card--yellow   { background: #FCCB06; }

.listado-servicios__card-img {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	align-self: stretch;
	padding: 24px 8px 0;
	overflow: hidden;
}

.listado-servicios__card-img img {
	max-width: 100%;
	max-height: 326px;
	object-fit: contain;
	display: block;
}

.listado-servicios__card--blue .listado-servicios__card-img {
	justify-content: flex-start;
	padding-left: 0;
}

.listado-servicios__card-img img[alt="Ilustración diseño web"] {
	transform: scale(1.9) translateY(20px);
}

.listado-servicios__card-body {
	padding: 32px 32px 32px 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.listado-servicios__card-title {
	color: #ffffff;
	font-family: var(--wp--preset--font-family--moga, 'Moga', sans-serif);
	font-size: 62px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.05;
	word-wrap: break-word;
	margin: 0;
}

.listado-servicios__card--lavender .listado-servicios__card-title,
.listado-servicios__card--yellow   .listado-servicios__card-title { color: #16164A; }
.listado-servicios__card--blue     .listado-servicios__card-title { color: #ffffff; }
.listado-servicios__card--dark     .listado-servicios__card-title { color: #C2C4FF; }

.listado-servicios__card-desc {
	color: #16164A;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	word-wrap: break-word;
	margin: 0;
}

.listado-servicios__card--lavender .listado-servicios__card-desc,
.listado-servicios__card--yellow   .listado-servicios__card-desc { color: #16164A; }
.listado-servicios__card--blue     .listado-servicios__card-desc,
.listado-servicios__card--dark     .listado-servicios__card-desc { color: #ffffff; }

/* Footer — white strip with link */
.listado-servicios__card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 24px;
	color: #16164A;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
	transition: opacity 0.2s;
}

.listado-servicios__card-footer:hover {
	opacity: 0.7;
}

.listado-servicios__card-arrow {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	transition: transform 0.25s;
}

.listado-servicios__card-toggle {
	width: 100%;
	background: none;
	border: none;
	cursor: pointer;
}

.listado-servicios__card-toggle[aria-expanded="true"] .listado-servicios__card-arrow {
	transform: rotate(180deg);
}

.listado-servicios__dropdown {
	overflow: hidden;
	height: 0;
	opacity: 0;
	padding: 8px 0;
	border-top: 1px solid #e8e8e8;
	transition: height 0.4s ease, opacity 0.3s ease;
}

.listado-servicios__dropdown.is-open {
	opacity: 1;
	height: 100% !important;
}

.listado-servicios__dropdown-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 24px;
	color: #16164A;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 15px;
	text-decoration: none;
	transition: background 0.15s;
}

.listado-servicios__dropdown-item:hover {
	background: #f5f5f5;
}

.listado-servicios__dropdown-item svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	opacity: 0.5;
}

/* Tablet: 2 cols but less gap, smaller image */
@media (max-width: 900px) {
	.listado-servicios__grid {
		gap: 20px;
	}

	.listado-servicios__card-inner {
		min-height: 320px;
	}

	.listado-servicios__card-img img {
		max-width: 180px;
	}

	.listado-servicios__card-body {
		padding: 24px 20px 24px 12px;
		gap: 12px;
	}

	.listado-servicios__card-title {
		font-size: clamp(28px, 4.5vw, 62px);
	}
}

/* Mobile: 1 col, card-inner vertical */
@media (max-width: 600px) {
	.listado-servicios__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.listado-servicios__card-inner {
		display: flex;
		flex-direction: column;
		min-height: auto;
	}

	.listado-servicios__card-body {
		order: 1;
		padding: 24px 24px 16px;
	}

	.listado-servicios__card-img {
		order: 2;
		padding: 0 24px 24px;
		justify-content: flex-start;
		align-items: flex-end;
	}

	.listado-servicios__card-img img {
		max-width: 200px;
	}

	.listado-servicios__card-img img[alt="Ilustración marketing online"],
	.listado-servicios__card-img img[alt="Ilustración diseño gráfico"] {
		transform: translateY(40px);
	}

	.listado-servicios__card-body {
		padding: 20px 24px 28px;
	}
}

/* ===== FOOTER ===== */

.site-footer {
	background: #F5F5F5;
	padding: 0 0 clamp(24px, 3vw, 40px);
}

.site-footer__top {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: clamp(24px, 4vw, 60px);
	padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
	box-sizing: border-box;
	border-top: 1px solid #D9D9D9;
}

.site-footer__half {
	flex-shrink: 0;
	box-sizing: border-box;
}

.site-footer__half--brand {
	width: 35%;
}

.site-footer__half--nav {
	width: 65%;
}

.site-footer__half--brand {
	display: flex;
	flex-direction: column;
	gap: 28px;
	padding-right: clamp(24px, 4vw, 80px);
}

.site-footer__half--nav {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: clamp(16px, 3vw, 40px);
	margin-top: -16px;
}

/* Brand column */
.site-footer__col--brand {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.site-footer__logo {
	margin: 0;
	width: 120px;
}

.site-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer__tagline {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(22, 22, 74, 0.5);
	margin: 0;
	max-width: 260px;
}

/* Social icons */
.site-footer__social {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 8px;
	align-items: center;
}

.site-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: #FFB905;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
	flex-shrink: 0;
}

.site-footer__social-link svg {
	width: 15px;
	height: 15px;
}

.site-footer__social-link:hover {
	background: #FFB905;
	color: #fff;
}

/* Nav columns */
.site-footer__col--nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__col-title {
	font-size: 30px;
	font-weight: 700;
	color: rgba(22, 22, 74, 0.5);
	margin: 0 0 8px;
	letter-spacing: 0;
	line-height: 1.1;
}

.site-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.site-footer__nav-list li {
	margin: 0;
	padding: 0;
}

.site-footer__nav-list a {
	font-size: 14px;
	color: rgba(22, 22, 74, 0.5);
	text-decoration: none;
	display: block;
}

.site-footer__nav-list a:hover {
	color: #1838D8;
}

/* Newsletter column */
.site-footer__col--newsletter {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.site-footer__newsletter-desc {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(22, 22, 74, 0.5);
	margin: 0;
}

.site-footer__newsletter-form {
	display: flex;
	flex-direction: row;
	gap: 8px;
	align-items: center;
}

.site-footer__newsletter-input {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 11px 14px;
	font-size: 14px;
	color: #111;
	outline: none;
	transition: border-color 0.2s;
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
}

.site-footer__newsletter-input:focus {
	border-color: #1838D8;
}

.site-footer__newsletter-btn {
	background: #FFB905;
	color: #16164A;
	border: none;
	border-radius: 1000px;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
	white-space: nowrap;
	flex-shrink: 0;
}

.site-footer__newsletter-btn:hover {
	background: #e6a500;
}

/* Gravity Forms footer newsletter — wrapper generado por bloque dinámico */
.gf-inline-form {
	width: 100%;
}

.gf-inline-form .gform_wrapper {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	box-shadow: none;
}

.gf-inline-form .gform_anchor {
	display: none;
}

.gf-inline-form form {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
}

.gf-inline-form .gform_body {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.gf-inline-form .gform_fields {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gf-inline-form .gfield {
	margin: 0;
	padding: 0;
}

.gf-inline-form .gfield_label,
.gf-inline-form .gfield_required,
.gf-inline-form .gfield_description,
.gf-inline-form .gform_validation_errors,
.gf-inline-form .gform_heading {
	display: none;
}

.gf-inline-form .ginput_container {
	margin: 0;
	padding: 0;
}

.gf-inline-form .gform_footer {
	flex-shrink: 0;
	margin: 0;
	padding: 0;
}

.gf-inline-form input[type="email"] {
	width: 100%;
	height: 44px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 22px;
	padding: 0 16px;
	font-size: 14px;
	color: #111;
	outline: none;
	box-sizing: border-box;
	box-shadow: none;
}

.gf-inline-form input[type="email"]:focus {
	border-color: #1838D8;
}

.gf-inline-form input[type="submit"],
.gf-inline-form .gform_button {
	height: 44px;
	padding: 0 22px;
	background: #FFB905;
	color: #16164A;
	border: none;
	border-radius: 1000px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: none;
	text-shadow: none;
}

.gf-inline-form input[type="submit"]:hover,
.gf-inline-form .gform_button:hover {
	background: #e6a500;
}

/* Bottom bar */
.site-footer__bottom {
	background: #fff;
	border-radius: 10px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1400px;
	margin: 0 auto clamp(24px, 3vw, 40px);
	padding: 15px clamp(24px, 4vw, 60px);
	box-sizing: border-box;
}

.site-footer__copy {
	font-size: 13px;
	color: rgba(22, 22, 74, 0.4);
	margin: 0;
}

.site-footer__legal {
	font-size: 13px;
	color: rgba(22, 22, 74, 0.4);
	margin: 0;
}

.site-footer__legal a {
	color: rgba(22, 22, 74, 0.4);
	text-decoration: none;
}

.site-footer__legal a:hover {
	color: #1838D8;
}

@media (max-width: 1100px) {
	.site-footer__top {
		flex-wrap: wrap;
	}

	.site-footer__half {
		width: 100%;
	}

	.site-footer__half--brand {
		padding-right: 0;
	}

	.site-footer__half--nav {
		margin-top: 0;
		flex-wrap: wrap;
	}

	.site-footer__col--nav,
	.site-footer__col--newsletter {
		min-width: 160px;
		flex: 1 1 160px;
	}
}

@media (max-width: 640px) {
	.site-footer__half--nav {
		flex-direction: column;
	}

	.site-footer__col--nav,
	.site-footer__col--newsletter {
		width: 100%;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

/* ===== NOSOTROS HERO ===== */

.nosotros-hero {
	background-color: #1034CC;
	padding-top: calc(var(--header-height) + 80px);
	padding-bottom: 0;
	overflow: visible;
	position: relative;
	min-height: 420px;
}

.nosotros-hero__cols {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 clamp(24px, 4vw, 80px);
	gap: 40px;
	align-items: center;
	justify-content: center;
}

.nosotros-hero__title {
	color: #ffffff;
	font-family: 'Moga', sans-serif;
	font-size: clamp(52px, 8vw, 116.82px);
	font-weight: 400;
	text-transform: uppercase;
	line-height: normal;
	margin-bottom: 24px;
	position: relative;
}

.nosotros-hero__somos-wrap {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	z-index: 1;
}

.nosotros-hero__circle {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 120%;
	height: auto;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: -1;
}

.nosotros-hero__subtitle {
	color: #ffffff;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
	line-height: 28px;
	font-weight: 400;
}

.nosotros-hero__col-text {
	width: 100%;
	position: relative;
	z-index: 2;
}

.nosotros-hero__col-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	pointer-events: none;
	overflow: visible;
	min-width: 0;
	z-index: 35;
}

.nosotros-hero__col-img.wp-block-column {
	overflow: visible !important;
	min-width: 0;
	z-index: 35;
}

.nosotros-hero__col-img figure {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	overflow: visible;
}

.nosotros-hero__col-img figure img {
	height: clamp(260px, 27
	
	
	
	
	vw, 460px);
	width: auto;
	display: block;
	max-width: none;
	margin-left: auto;
}

@media (min-width: 782px) and (max-width: 1200px) {
	.nosotros-hero {
		padding-top: calc(var(--header-height) + 40px);
		padding-bottom: clamp(20px, 4vw, 60px);
		min-height: auto;
	}

	.nosotros-hero__cols {
		flex-wrap: nowrap;
		max-width: 100%;
		padding: 0 40px;
		gap: 30px;
	}

	.nosotros-hero__col-text {
		flex-basis: auto;
		width: 60%;
		max-width: none;
	}
}

@media (min-width: 1201px) {
	.nosotros-hero__cols {
		flex-wrap: nowrap;
		max-width: 1600px;
	}

	.nosotros-hero__col-text {
		flex-basis: auto;
		width: 60%;
	}
}

@media (max-width: 781px) {
	.nosotros-hero {
		padding-top: 50px;
	}

	.nosotros-hero__cols {
		flex-direction: column;
		padding: 0 24px;
		gap: 0;
	}

	.nosotros-hero__title {
		font-size: clamp(40px, 12vw, 70px);
		margin-bottom: 16px;
	}

	.nosotros-hero__col-text {
		width: 100%;
	}

	.nosotros-hero__col-img figure {
		bottom: 0;
	}

	.nosotros-hero__col-img figure img {
		height: clamp(160px, 40vw, 240px);
	}
}

/* =========================================
   Blog Hero
   ========================================= */

.blog-hero {
	background-color: #1034CC;
	padding-top: calc(var(--header-height) + clamp(60px, 8vw, 120px));
	padding-bottom: 0;
	overflow: visible;
	position: relative;
	min-height: 541px;
}

.blog-hero__cols {
	width: 100%;
	max-width: var(--wp--style--global--content-size);
	margin: 0 auto;
	padding: 0 clamp(24px, 4vw, 80px);
	gap: 0;
	align-items: center;
	justify-content: center;
}

.blog-hero__title {
	color: #F5F5F5;
	font-family: 'Moga', sans-serif;
	font-size: clamp(48px, 8vw, 116.82px);
	font-weight: 400;
	text-transform: uppercase;
	line-height: normal;
	margin-bottom: 24px;
	position: relative;
	text-align: center;
}

.blog-hero__word-wrap {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}

.blog-hero__circle {
	position: absolute;
	top: 42%;
	left: 50%;
	width: 170%;
	height: auto;
	transform: translate(-50%, -50%);
	pointer-events: none;
	z-index: -1;
}

.blog-hero__subtitle {
	color: #F5F5F5;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
	line-height: 29.25px;
	font-weight: 400;
	max-width: 851px;
	margin-left: auto;
	margin-right: auto;
}

.blog-hero__col-text {
	width: 62%;
	max-width: 62%;
	position: relative;
	z-index: 2;
}

.blog-hero__col-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	pointer-events: none;
	overflow: visible;
	min-width: 0;
	z-index: 35;
}

.blog-hero__col-img.wp-block-column {
	overflow: visible !important;
	min-width: 0;
	z-index: 35;
}

.blog-hero__col-img figure {
	position: absolute;
	top: auto;
	right: 0;
	bottom: 0;
	margin: 0;
	overflow: visible;
}

.blog-hero__col-img figure img {
	height: clamp(200px, 26vw, 360px);
	width: auto;
	display: block;
	max-width: none;
}

@media (min-width: 1200px) {
	.blog-hero__col-img figure img {
		height: clamp(180px, 22vw, 360px);
	}
}

@media (max-width: 781px) {
	.blog-hero {
		padding-top: 50px;
		padding-bottom: 0;
		min-height: auto;
	}

	.blog-hero__cols {
		flex-direction: column;
		padding: 0 24px 200px;
		gap: 0;
	}

	.blog-hero__title {
		font-size: clamp(32px, 10vw, 56px);
		margin-bottom: 16px;
	}

	.blog-hero__col-text {
		width: 100%;
	}

	.blog-hero__col-img figure {
		top: auto;
		bottom: 0;
		right: 0;
	}

	.blog-hero__col-img figure img {
		height: clamp(160px, 45vw, 240px);
	}
}

/* =========================================
   Page Hero (archive-servicios, etc.)
   ========================================= */

.page-hero {
	background-color: #1034CC;
	padding-top: calc(var(--header-height) + clamp(60px, 8vw, 120px)) !important;
	padding-bottom: clamp(60px, 8vw, 120px);
	padding-left: clamp(24px, 4vw, 80px);
	padding-right: clamp(24px, 4vw, 80px);
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-hero .wp-block-heading {
	color: #F5F5F5;
	font-family: var(--wp--preset--font-family--moga);
	font-size: clamp(48px, 8vw, 116px);
	font-weight: 400;
	text-transform: uppercase;
	line-height: normal;
	margin: 0;
	text-align: center;
	width: 100%;
}

/* =========================================
   Proyectos Grid
   ========================================= */

.proyectos-grid {
	gap: 20px;
	padding-top: 50px;
	padding-bottom: 50px;
	list-style: none;
	box-sizing: border-box;
}

.proyectos-grid__item,
.proyectos-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.proyectos-grid__img-wrap,
.proyectos-grid .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 16 / 9;
	margin: 0;
	display: block;
}

.proyectos-grid__img,
.proyectos-grid .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.proyectos-grid__name,
.proyectos-grid .wp-block-post-title {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
	font-weight: 600;
	color: #111111;
	margin: 0;
}

@media (max-width: 600px) {
	.proyectos-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 600px) {
	.proyectos-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Proyectos grid — image link */
.proyectos-grid .wp-block-post-featured-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.proyectos-grid .wp-block-post-featured-image a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease;
}

.proyectos-grid .wp-block-post-featured-image a:hover img {
	opacity: 0.85;
}

.proyectos-grid .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.proyectos-grid .wp-block-post-title a:hover {
	text-decoration: underline;
}

/* Proyectos grid — card footer (title + cats + arrow) */
.proyectos-grid__footer {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 4px 32px;
	padding-top: 8px;
}

.proyectos-grid__name,
.proyectos-grid .wp-block-post-title {
	grid-column: 1;
	grid-row: 1;
}

.proyectos-grid__cats {
	grid-column: 1;
	grid-row: 2;
	margin: 0;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	color: #666;
	line-height: 1.4;
}

.proyectos-grid__arrow {
	grid-column: 2;
	grid-row: 1 / 3;
	align-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1.5px solid #16164A;
	color: #16164A;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
	margin-top: 10px;
}

.proyectos-grid__arrow svg {
	width: 16px;
	height: 16px;
}

.proyectos-grid__arrow:hover {
	background-color: #16164A;
	color: #fff;
}

/* Proyectos grid — pagination */
.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 100%;
	flex-wrap: wrap;
}

.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-numbers {
	display: inline-flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-numbers a,
.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	padding: 4px 12px;
	border-radius: 9999px;
	background: var(--wp--preset--color--primary);
	border: none;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-numbers .dots {
	background: transparent;
	color: var(--wp--preset--color--primary-dark);
}

.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-numbers .current {
	background: var(--wp--preset--color--primary-dark);
	color: #ffffff;
}

.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-numbers a:hover:not(.dots) {
	background: var(--wp--preset--color--primary-dark);
}

.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-previous,
.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	padding: 4px 14px;
	border-radius: 9999px;
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s;
}

.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-previous:hover,
.wp-block-query:has(.proyectos-grid) .wp-block-query-pagination-next:hover {
	background: var(--wp--preset--color--primary-dark);
}

/* =========================================
   Proyectos Destacados — Carrusel
   ========================================= */

.proyectos-dest__titulo {
	margin-bottom: clamp(32px, 4vw, 56px);
	text-transform: uppercase;
}

.proyectos-dest__card {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.proyectos-dest__img-wrap {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 16 / 9;
}

.proyectos-dest__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s;
}

.proyectos-dest__img-wrap:hover img {
	opacity: 0.85;
}

.proyectos-dest__name {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 32px;
	color: #16164A;
	margin: 0;
	grid-column: 1;
	grid-row: 1;
	word-wrap: break-word;
}

.proyectos-dest__name a {
	color: inherit;
	text-decoration: none;
}

.proyectos-dest__name a:hover {
	text-decoration: underline;
}

.proyectos-dest__cats {
	grid-column: 1;
	grid-row: 2;
	margin: 0;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 16px;
	font-weight: 400;
	line-height: 29.25px;
	color: #16164A;
	word-wrap: break-word;
}

/* =========================================
   Single Portfolio — Hero
   ========================================= */

.proyecto-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
}

.proyecto-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	padding: clamp(32px, 5vw, 64px) var(--wp--preset--spacing--container-lg, clamp(20px, 4vw, 80px));
}

.proyecto-hero__inner {
	max-width: 100%;
}

.proyecto-hero__cats.wp-block-post-terms {
	display: block;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.proyecto-hero__cats.wp-block-post-terms a {
	color: inherit;
	text-decoration: none;
}

.proyecto-hero__title.wp-block-post-title {
	font-size: clamp(48px, 8vw, 116px);
	font-weight: 400;
	color: #F5F5F5;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
	word-wrap: break-word;
}

.proyecto-hero__excerpt.wp-block-post-excerpt {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	margin: 0;
	max-width: 600px;
}

.proyecto-hero__excerpt.wp-block-post-excerpt p {
	margin: 0;
}

.proyecto-body {
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(40px, 6vw, 80px);
}

/* =========================================
   Proyectos Grid — search + filter
   ========================================= */

.proyectos-section{	
	margin-top: 50px;
	margin-bottom: 50px;
}

.proyectos-grid__search {
	display: flex;
	align-items: center;
	max-width: 560px;
	margin: 24px auto 0;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 9999px;
	overflow: hidden;
	background: #ffffff;
	transition: border-color 0.2s;
}

.proyectos-grid__search:focus-within {
	border-color: var(--wp--preset--color--primary-dark);
}

.proyectos-grid__search-input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 24px;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 15px;
	color: #16164A;
	background: transparent;
}

.proyectos-grid__search-input::placeholder {
	color: #999;
}

.proyectos-grid__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.proyectos-grid__pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 22px;
	border-radius: 9999px;
	border: 1px solid #16164A;
	color: #16164A;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.proyectos-grid__pill--active,
.proyectos-grid__pill:hover {
	background-color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: #ffffff;
}

/* =========================================
   Entradas Blog
   ========================================= */

.entradas-blog {
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(40px, 6vw, 80px);
}

.entradas-blog__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.entradas-blog__pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 22px;
	border-radius: 9999px;
	border: 1px solid #16164A;
	color: #16164A;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.entradas-blog__pill--active,
.entradas-blog__pill:hover {
	background-color: #1034CC;
	border-color: #1034CC;
	color: #ffffff;
}

.entradas-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.entradas-blog__grid .wp-block-post {
	display: flex;
	flex-direction: column;
}

.entradas-blog__card {
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	display: flex;
	flex-direction: column;
	flex: 1;
}

.entradas-blog__card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.entradas-blog__card-img-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
}

.entradas-blog__card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.entradas-blog__card-img--placeholder {
	background-color: #e5e7eb;
}

.entradas-blog__card-cat {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	background: #C2C4FF;
	border-radius: 9999px;
	padding: 4px 12px;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: #16164A;
	white-space: nowrap;
	text-decoration: none;
	margin: 0;
}

.entradas-blog__card-cat a {
	color: inherit;
	text-decoration: none;
}

.entradas-blog__card-body {
	padding: 20px 24px 24px;
}

.entradas-blog__card-title {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: #16164A;
	margin: 0;
	padding: 16px 20px 24px;
	flex: 1;
}

.entradas-blog__card-title a {
	color: inherit;
	text-decoration: none;
}

.entradas-blog__card-title a::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
}

.entradas-blog__card-cat {
	z-index: 1;
}

.entradas-blog__card-img-wrap {
	position: relative;
	z-index: 1;
}

.entradas-blog__pagination {
	margin-top: clamp(32px, 4vw, 48px);
	display: flex;
	justify-content: center;
}

.entradas-blog__pagination .wp-block-query-pagination-numbers {
	display: inline-flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}

.entradas-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	padding: 4px 12px;
	border-radius: 9999px;
	background: var(--wp--preset--color--primary);
	border: none;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.entradas-blog__pagination .page-numbers.dots {
	background: transparent;
	color: var(--wp--preset--color--primary-dark);
}

.entradas-blog__pagination .page-numbers.current {
	background: var(--wp--preset--color--primary-dark);
	color: #ffffff;
}

.entradas-blog__pagination .page-numbers:hover:not(.dots):not(.current) {
	background: var(--wp--preset--color--primary-dark);
}

.entradas-blog__pagination .wp-block-query-pagination-previous,
.entradas-blog__pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	padding: 4px 14px;
	border-radius: 9999px;
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.2s;
}

.entradas-blog__pagination .wp-block-query-pagination-previous:hover,
.entradas-blog__pagination .wp-block-query-pagination-next:hover {
	background: var(--wp--preset--color--primary-dark);
}

.entradas-blog__empty {
	text-align: center;
	color: #16164A;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 18px;
}

@media (max-width: 900px) {
	.entradas-blog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

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

.entradas-blog--loading {
	opacity: 0.4;
	pointer-events: none;
	transition: opacity 0.2s;
}

/* =============================================
   FOTO ENTRADA (single post header)
   ============================================= */

.foto-entrada {
	padding: clamp(80px, 10vw, 120px) clamp(24px, 4vw, 80px) clamp(40px, 5vw, 72px);
}

.foto-entrada__cols {
	max-width: var(--wp--style--global--content-size);
	margin-left: auto;
	margin-right: auto;
	gap: clamp(32px, 4vw, 64px) !important;
	align-items: center !important;
}

.foto-entrada__col-img {
	flex: 0 0 45% !important;
	max-width: 45% !important;
}

.foto-entrada__img figure,
.foto-entrada__img img {
	border-radius: 20px;
	width: 100%;
	height: auto;
	display: block;
}

.foto-entrada__col-info {
	flex: 1 1 0 !important;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.foto-entrada__cat {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.foto-entrada__cat a {
	display: inline-flex;
	align-items: center;
	padding: 4px 14px;
	border-radius: 9999px;
	background: #C2C4FF;
	color: #16164A;
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
}

.foto-entrada__titulo {
	font-family: var(--wp--preset--font-family--moga, 'Moga', sans-serif) !important;
	font-size: clamp(36px, 6vw, 80px);
	font-weight: 400;
	line-height: 1.1;
	color: var(--wp--preset--color--primary);
	margin: 0;
	text-transform: uppercase;
}

.foto-entrada__autor {
	display: flex;
	align-items: center;
	gap: 12px;
}

.foto-entrada__autor-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.foto-entrada__autor-img {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.foto-entrada__autor-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.foto-entrada__autor-name {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 14px;
	font-weight: 600;
	color: #16164A;
}

.foto-entrada__autor-cargo {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 13px;
	font-weight: 400;
	color: rgba(22, 22, 74, 0.65);
}

/* Entrada body content */
.entrada-body {
	padding: 20px clamp(24px, 4vw, 80px) clamp(48px, 6vw, 80px);
	max-width: 1000px;
	margin: 0 auto;
}

@media (max-width: 768px) {

	.foto-entrada__col-img,
	.foto-entrada__col-info {
		flex: 1 1 100% !important;
		max-width: 100% !important;
	}
}

/* =============================================
   NEWSLETTER CTA
   ============================================= */

.newsletter-cta {
	background: #C2C4FF;
	border-radius: 20px;
	padding: clamp(28px, 3.5vw, 48px) clamp(28px, 5vw, 64px);
	margin-top: clamp(40px, 5vw, 64px);
	margin-bottom: clamp(40px, 5vw, 64px);
}

.newsletter-cta__title {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif) !important;
	font-size: clamp(20px, 2vw, 26px) !important;
	font-weight: 700 !important;
	color: #16164A !important;
	text-align: left !important;
	text-transform: none !important;
	margin-bottom: 8px !important;
}

.newsletter-cta__subtitle {
	font-family: var(--wp--preset--font-family--inter, 'Inter', sans-serif);
	font-size: 14px;
	color: #16164A;
	text-align: left !important;
	margin-bottom: 20px !important;
}

/* Ocultar título y descripción del formulario GF */
.newsletter-cta .gform_title,
.newsletter-cta .gform_description,
.newsletter-cta .gform_heading {
	display: none !important;
}

/* Form: columna principal */
.newsletter-cta .gform_wrapper form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 10px;
}

.newsletter-cta .gform-body {
	flex: 1 1 0;
	min-width: 200px;
}

.newsletter-cta .gform-footer {
	flex: 0 0 auto !important;
	padding: 0 !important;
	margin: -1px 0 0 0 !important;
	align-self: flex-start;
}

/* Campos */
.newsletter-cta .gform_fields {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
}

.newsletter-cta .gfield {
	margin: 0;
	padding: 0;
}

/* Ocultar todas las labels excepto la del consent inline */
.newsletter-cta .gfield_label {
	display: none;
}

/* Email input */
.newsletter-cta .gfield--type-email input[type="email"] {
	border-radius: 9999px;
	padding: 13px 22px;
	border: none;
	width: 100%;
	font-size: 15px;
	outline: none;
	box-shadow: none;
	background: #fff;
}

/* Botón */
.newsletter-cta .gform_button {
	background: #F5C842;
	color: #16164A;
	border: none;
	border-radius: 9999px;
	padding: 13px 28px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	line-height: 1;
	display: inline-block;
}

.newsletter-cta .gform_button:hover {
	background: #e6b800;
}

/* Consent: ocupa todo el ancho debajo */
.newsletter-cta .gfield--type-consent {
	flex-basis: 100%;
	width: 100%;
}

.newsletter-cta .gfield--type-consent .ginput_container_consent {
	display: flex;
	align-items: center;
	gap: 8px;
}

.newsletter-cta .gfield--type-consent input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	min-width: 18px;
	border-radius: 50%;
	border: 2px solid #16164A;
	background: transparent;
	flex-shrink: 0;
	margin: 0;
	cursor: pointer;
	transition: background 0.2s;
}

.newsletter-cta .gfield--type-consent input[type="checkbox"]:checked {
	background: #16164A;
}

.newsletter-cta .gfield--type-consent .gform-field-label {
	display: inline;
	font-size: 13px;
	color: #16164A;
	font-weight: 400;
}

@media (max-width: 540px) {
	.newsletter-cta .gform-footer {
		flex: 1 1 100%;
	}

	.newsletter-cta .gform_button {
		width: 100%;
		text-align: center;
	}
}

/* =============================================
   ÚLTIMAS ENTRADAS
   ============================================= */

.ultimas-entradas {
	padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 80px);
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
}

.ultimas-entradas__titulo {
	font-size: clamp(24px, 3vw, 40px);
	font-weight: 700;
	color: #16164A;
	text-transform: uppercase;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.ultimas-entradas .entradas-blog__grid {
	max-width: 1200px;
	margin: 0 auto;
}

/* =============================================
   ENTRADAS RELACIONADAS
   ============================================= */

.relacionadas {
	background: #fff;
	padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 80px);
	width: 100vw;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	box-sizing: border-box;
}

.relacionadas__titulo {
	color: #16164A;
	text-align: center;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.relacionadas .entradas-blog__card-cat {
	background: #C2C4FF;
	color: #000;
}

.relacionadas__titulo,
.relacionadas .entradas-blog__grid {
	max-width: var(--wp--style--global--content-size);
	margin-left: auto;
	margin-right: auto;
}

.dw-ia .wp-block-column.is-vertically-aligned-center {
	align-self: auto;
}

/* =============================================
   AUTHOR ARCHIVE
   ============================================= */

.author-hero {
	background: #1034CC;
	padding: 24px clamp(20px, 4vw, 60px);
}

.author-hero__info {
	gap: 20px;
	max-width: 900px;
	margin: 0 auto;
}

.author-hero__avatar img {
	border-radius: 50%;
	width: 120px;
	height: 120px;
	object-fit: cover;
	flex-shrink: 0;
}

.author-hero__name {
	font-family: var(--wp--preset--font-family--moga);
	font-size: clamp(24px, 3vw, 44px);
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	margin: 0;
	line-height: 1;
}

.author-hero__bio {
	color: var(--wp--preset--color--tertiary);
	font-size: var(--wp--preset--font-size--sm);
	margin: 4px 0 0;
}

.author-hero__meta {
	gap: 4px !important;
}

.author-posts {
	padding: 24px clamp(20px, 4vw, 60px) 48px;
}

.author-posts__grid {
	gap: 24px;
}

.author-posts__img img {
	border-radius: 8px;
	width: 100%;
	object-fit: cover;
}

.author-posts__title {
	font-size: var(--wp--preset--font-size--md) !important;
	font-weight: 600 !important;
	margin: 8px 0 4px !important;
}

.author-posts__date {
	font-size: var(--wp--preset--font-size--xs);
	color: #666;
}

@media (max-width: 768px) {
	.author-posts__grid {
		grid-template-columns: 1fr;
	}
}

/* ===== WP Login Custom Styles — Close 2026 ===== */

body.login {
	background-color: #1838D8;
	background-image: url('assets/images/backlogin.webp');
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Logo */
#login h1 a,
.login h1 a {
	background-image: url('assets/images/logoblue.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 120px;
	height: 48px;
	filter: brightness(0) invert(1);
	display: block;
	margin: 0 auto;
}

/* Form wrapper */
#login {
	width: 336px;
}

#loginform,
#lostpasswordform,
#registerform {
	background: #fff;
	border: 2px solid #1838D8;
	border-radius: 10px;
	padding: 32px 24px 31px;
	box-shadow: none;
}

/* Labels */
.login form label {
	color: #1838D8;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

/* Inputs */
.login form input[type="text"],
.login form input[type="password"],
.login form input[type="email"] {
	background: #fff;
	border: 2px solid #C3C3C3;
	border-radius: 4px;
	color: #1838D8;
	font-size: 14px;
	padding: 12px 14px;
	height: auto;
	box-shadow: none;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.2s;
}

.login form input[type="text"]:focus,
.login form input[type="password"]:focus,
.login form input[type="email"]:focus {
	border-color: #1838D8;
	box-shadow: none;
	outline: none;
}

/* Checkbox remember me */
.login form .forgetmenot input[type="checkbox"] {
	border: 2px solid #C3C3C3;
	border-radius: 4px;
	accent-color: #1838D8;
}

.login form .forgetmenot label {
	color: #1838D8;
}

/* Submit button */
.login form .submit input[type="submit"],
#wp-submit {
	background: #1838D8;
	border: none;
	border-radius: 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	height: auto;
	cursor: pointer;
	transition: background 0.2s;
	box-shadow: none;
}

.login form .submit input[type="submit"]:hover,
#wp-submit:hover {
	background: #1226a0;
}

/* Links */
.login #nav a,
.login #backtoblog a {
	color: #FFB905;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
}

.login #nav a:hover,
.login #backtoblog a:hover {
	color: #d99e00;
	text-decoration: underline;
}

.login #nav,
.login #backtoblog {
	text-align: left;
	padding: 0;
}

/* Error / notice messages */
.login #login_error,
.login .message,
.login .success {
	border-left-color: #1838D8;
	border-radius: 4px;
}

/* Tablet/mobile: oculta figuras del fondo, solo color sólido */
@media (max-width: 900px) {
	body.login {
		background-image: none;
	}
}

@media (max-width: 480px) {
	body.login {
		padding: 0 12px;
	}

	#login {
		width: 100%;
		max-width: 100%;
		padding: 0;
	}

	#loginform,
	#lostpasswordform,
	#registerform {
		padding: 20px 16px 16px;
	}

	.login form input[type="text"],
	.login form input[type="password"],
	.login form input[type="email"] {
		font-size: 16px;
	}

	.login #nav,
	.login #backtoblog {
		text-align: center;
	}
}

/* ==========================================================================
   Patrón: Título izquierda / Texto derecha
   ========================================================================== */

.titulo-texto {
	background-color: #ffffff;
	padding-top: 100px;
	padding-bottom: 100px;
}

.titulo-texto__columns {
	gap: 80px;
}

.titulo-texto__col-title {
	flex-basis: 40%;
	max-width: 40%;
	flex-grow: 0;
	flex-shrink: 0;
}

.titulo-texto__col-text {
	flex-basis: 60%;
	max-width: 60%;
	flex-grow: 0;
	flex-shrink: 0;
}

.titulo-texto__title {
	color: #1838D8;
	font-size: 50px;
	font-weight: 400;
	text-transform: uppercase;
	word-wrap: break-word;
	line-height: 1.1;
	margin: 0;
}

.titulo-texto__text {
	color: #16164A;
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	word-wrap: break-word;
	margin: 0 0 16px;
}

.titulo-texto__text:last-child {
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.titulo-texto__columns {
		gap: 24px;
	}

	.titulo-texto__col-title {
		flex-basis: 40%;
		max-width: 40%;
	}

	.titulo-texto__col-text {
		flex-basis: 60%;
		max-width: 60%;
	}

	.titulo-texto__title {
		font-size: clamp(22px, 5vw, 42px);
	}
}

/* ==========================================================================
   Patrón: Texto e Imagen
   ========================================================================== */

.texto-imagen {
	padding-top: 160px;
	padding-bottom: 160px;
}

.texto-imagen__cover {
	border-radius: 30px;
	overflow: hidden;
	min-height: 500px;
	margin-bottom: 48px;
}

.texto-imagen__title {
	color: #1838D8;
	font-size: 62px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1;
	margin: 0 0 24px;
}

.texto-imagen__text {
	color: #16164A;
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	.texto-imagen__img-wrap {
		height: 280px;
		border-radius: 16px;
	}

	.texto-imagen__title {
		font-size: clamp(32px, 8vw, 62px);
	}
}

/* ==========================================================================
   Patrón: Texto Triple Columnas
   ========================================================================== */

.texto-triple {
	padding-top: 120px;
	padding-bottom: var(--wp--preset--spacing--70);
}

.texto-triple__title {
	color: #1838D8;
	font-size: 62px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 80px;
}

.texto-triple__columns {
	gap: 60px;
	align-items: flex-start;
}

.texto-triple__subtitle {
	color: #16164A;
	font-size: 30px;
	font-weight: 700;
	line-height: 33px;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.texto-triple__subtitle::before {
	content: '';
	display: inline-block;
	flex-shrink: 0;
	width: 11px;
	height: 11px;
	border-right: 4px solid #FFB905;
	border-top: 4px solid #FFB905;
	transform: rotate(45deg);
}

.texto-triple__text {
	color: #16164A;
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	margin: 0;
}

@media (max-width: 768px) {
	.texto-triple__title {
		font-size: clamp(32px, 8vw, 62px);
	}

	.texto-triple__columns {
		flex-direction: column;
		gap: 32px;
	}
}

/* ==========================================================================
   Patrón: Texto e Imagen Derecha
   ========================================================================== */

.texto-imagen-derecha {
	padding-top: 160px;
	padding-bottom: 160px;
}

.texto-imagen-derecha__columns {
	align-items: center;
	gap: 48px;
}

.texto-imagen-derecha__col-text {
	flex-basis: 55%;
	max-width: 55%;
	flex-grow: 0;
}

.texto-imagen-derecha__col-img {
	flex-basis: 45%;
	max-width: 45%;
	flex-grow: 0;
}

.texto-imagen-derecha__title {
	color: #1838D8;
	font-size: 62px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.05;
	word-wrap: break-word;
	margin: 0 0 8px;
}

.texto-imagen-derecha__subtitle {
	color: #16164A;
	font-size: 30px;
	font-weight: 700;
	line-height: 33px;
	margin: 0 0 16px;
}

.texto-imagen-derecha__text {
	color: #16164A;
	font-size: 18px;
	font-weight: 400;
	line-height: 32px;
	word-wrap: break-word;
	margin: 0;
}

.texto-imagen-derecha__img-box {
	background: #1838D8;
	border-radius: 20px;
	overflow: hidden;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.texto-imagen-derecha__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
	display: block;
}

@media (max-width: 768px) {
	.texto-imagen-derecha__columns {
		flex-direction: column;
	}

	.texto-imagen-derecha__col-text,
	.texto-imagen-derecha__col-img {
		flex-basis: 100%;
		max-width: 100%;
	}

	.texto-imagen-derecha__title {
		font-size: clamp(32px, 8vw, 62px);
	}
}
