/*
Theme Name: Sulayr Block Theme
Theme URI: https://sulayr.es
Author: CLOSE Marketing
Author URI: https://close.marketing
Description: Modern block theme for Sulayr - sustainable business consulting and European funding
Version: 2.2.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: close-boilerplate-theme
Tags: block-theme, full-site-editing, events, custom-colors
*/

/* ─── BASE ────────────────────────────────────────────────────────────── */

body {
	overflow-x: clip;
	--theme-container-padding-x: var(--wp--preset--spacing--container);
}

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

:root :where(.is-layout-constrained) > *,
:root :where(.is-layout-flow) > * {
	margin-block-start: 0;
}

:where(.wp-site-blocks) > * {
	margin-block-start: 0;
}

/* ─── LAYOUT: FULL WIDTH BLOCKS ────────────────────────────────────────── */

.wp-block-group.alignfull,
.wp-block-cover.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ─── BUTTONS ──────────────────────────────────────────────────────────── */

.btn-primary {
	background: var(--wp--preset--gradient--button-primary);
	color: var(--wp--preset--color--background);
	text-decoration: none;
	border-radius: 30px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 500;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	padding: 2px 2px 2px 15px;
	gap: 0;
}

.btn-primary > * {
	margin: 0;
}

.btn-primary p {
	color: var(--wp--preset--color--background);
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
	padding-right: 15px;
}

.btn-primary:hover {
	background: var(--wp--preset--gradient--button-hover);
}

.btn-primary__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--wp--preset--gradient--button-icon);
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.btn-primary:hover .btn-primary__icon {
	background: var(--wp--preset--gradient--button-icon-hover);
	transform: rotate(-45deg);
}

.btn-primary__icon img {
	display: block;
	width: 14px;
	height: 14px;
}

/* CTA section styles for editor */
.editor-styles-wrapper .cta-section__subtitle {
	color: var(--wp--preset--color--background);
}

.editor-styles-wrapper .cta-section a.wp-block-group.btn-primary p {
	color: var(--wp--preset--color--background);
}

/* Force white text in CTA section paragraphs */
.cta-section a.wp-block-group.btn-primary p {
	color: var(--wp--preset--color--background);
}

/* CTA button alignment */
.cta-section__footer a.wp-block-group.btn-primary {
	align-self: auto;
}

a.wp-block-group.btn-primary:hover {
	background: var(--wp--preset--gradient--button-hover);
}

a.wp-block-group.btn-primary:hover .btn-primary__icon,
a.wp-block-group.btn-primary:hover figure.btn-primary__icon {
	background: var(--wp--preset--gradient--button-icon-hover);
	transform: rotate(-45deg);
}

.cta-section a.wp-block-group.btn-primary p {
	color: var(--wp--preset--color--background);
}

/* ─── BUTTONS: GRADIENT ──────────────────────────────────────────────────── */

.btn-gradient {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 2px 2px 2px 15px;
	background: var(--wp--preset--gradient--button-primary);
	border-radius: 30px;
	text-decoration: none;
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--wp--preset--color--secondary-light);
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-gradient:hover {
	background: var(--wp--preset--gradient--button-hover);
}

.btn-gradient > * {
	margin: 0;
}

.btn-gradient p {
	color: inherit;
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	text-transform: uppercase;
	letter-spacing: 1.2px;
	padding-right: 15px;
	margin: 0;
}

.btn-gradient__arrow {
	width: 30px;
	height: 30px;
	background: var(--wp--preset--gradient--button-hover);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0;
}

.btn-gradient__arrow img {
	width: 100%;
	height: auto;
	display: block;
}

/* ─── BUTTONS: CTA ───────────────────────────────────────────────────────── */

.btn-cta {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	padding: 2px 2px 2px 15px;
	background: var(--wp--preset--gradient--button-primary);
	border-radius: 30px;
	border: none;
	gap: 10px;
	color: var(--wp--preset--color--background);
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.btn-cta:hover {
	background: var(--wp--preset--gradient--button-hover);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-cta p {
	margin: 0;
	color: inherit;
}

.btn-cta__icon {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-cta__icon img {
	width: 30px;
	height: 30px;
}

.botonclas p {
	color: var(--wp--preset--color--secondary-light);
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	word-wrap: break-word;
}

/* ─── BUTTONS: CTA SUBMIT ─────────────────────────────────────────────────── */

.btn-cta-submit {
	display: inline-flex;
	align-items: center;
	background: var(--wp--preset--gradient--button-primary);
	border-radius: 30px;
	padding: 4px 4px 4px 20px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
	gap: 0;
}

.btn-cta-submit:hover {
	background: var(--wp--preset--gradient--button-hover);
	transform: translateY(-2px);
}

.btn-cta-submit:hover {
	transform: translateY(-2px);
}

.btn-cta-submit > * {
	margin: 0;
}

.btn-cta-submit p {
	color: var(--wp--preset--color--background);
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	text-transform: uppercase;
	letter-spacing: 1.2px;
	padding-right: 15px;
}

.btn-cta-submit__icon {
	width: 34px;
	height: 34px;
	background: var(--wp--preset--gradient--button-hover);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.btn-cta-submit__icon img {
	width: 14px;
	height: auto;
	filter: brightness(0) invert(1);
}

/* ─── HERO HOME ───────────────────────────────────────────────────────────── */

.hero-cta-button {
	--btn-class: btn-primary;
}

.hero-home mark {
	background-color: transparent;
}

.wp-block-group.hero-home {
	position: relative;
	overflow: visible;
	padding-block: 180px 150px;
	z-index: 20;
	background-color: var(--wp--preset--color--primary);
}

.hero-home::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(72deg, rgba(113, 178, 146, 0.85) 0%, rgba(3, 52, 76, 0.85) 100%);
	z-index: 2;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	z-index: 1;
}

.hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-home .hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	margin: 0;
}

.hero-home .hero-overlay,
.hero-overlay {
	position: relative;
	z-index: 10;
}

.hero-home h1.wp-block-heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(2rem, 5.5vw, 3.8rem);
	line-height: 1.1;
	margin-inline: auto;
	margin-bottom: 24px;
	color: var(--wp--preset--color--background);
	max-width: 1100px;
	width: 100%;
}

.hero-home .hero-paragraph {
	max-width: 750px;
	margin-inline: auto;
	margin-bottom: 40px;
	font-size: 17px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
}

.hero-home .hero-logos-strip {
	position: absolute;
	bottom: -50px;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	max-width: 1000px;
	background: var(--wp--preset--color--background);
	padding: 0rem 4rem;
	border-radius: 20px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
	z-index: 9999;
	margin: 0 auto;
}

.hero-logos-strip img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 782px) {
	.wp-block-group.hero-home {
		padding-block: 80px 80px;
	}

	.hero-logos-strip {
		bottom: -30px;
		padding: 15px 20px;
		width: calc(100% - 30px);
	}
}

/* ─── HEADER ──────────────────────────────────────────────────────────────── */

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	border-bottom: none;
	color: var(--wp--preset--color--background);
	overflow: hidden;
}

header.site-header.has-global-padding {
	padding-inline: 0;
}

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

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

header.site-header .site-header__inner {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin: 0 auto;
	box-sizing: border-box;
}

.site-header__brand {
	flex-shrink: 0;
	width: 138px;
}

header.site-header .site-header__navigation {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	min-width: 0;
}

header.site-header .site-header__navigation .wp-block-navigation__container {
	gap: 30px;
	flex-wrap: nowrap;
	display: flex;
	align-items:flex-end;
	justify-content: center;
	width: 100%;
}

html body header.site-header .site-header__navigation .wp-block-navigation-item__link,
html body header.site-header .site-header__navigation .wp-block-navigation-link__content,
html body header.site-header .site-header__navigation .wp-block-navigation__container .wp-block-navigation-item a,
html body header.site-header .site-header__navigation .wp-block-navigation__container .wp-block-navigation-item span,
html body header.site-header .site-header__navigation .wp-block-page-list a,
html body header.site-header .site-header__navigation .wp-block-pages-list__item a,
html body header.site-header .site-header__navigation a {
	color: var(--wp--preset--color--background);
	font-size: 12px;
	font-family: 'Archivo Narrow', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.20px;
	white-space: nowrap;
	text-decoration: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 15px;
	flex-shrink: 0;
}

.site-header__icon-world img {
	width: 24px;
	height: 24px;
	filter: brightness(0) saturate(100%) invert(68%) sepia(24%) saturate(534%) hue-rotate(99deg) brightness(93%) contrast(84%);
}


/* ─── NAVIGATION RESPONSIVE ──────────────────────────────────────────────── */

@media (min-width: 1101px) {
	html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container-open,
	html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container-close {
		display: none;
	}

	html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) {
		display: flex;
		position: static;
		background: transparent;
		padding: 0;
		width: auto;
		height: auto;
		overflow: visible;
	}

	html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container-content {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 30px;
		align-items: center;
	}
}

@media (max-width: 1100px) {
	.site-header__icon-world,
	.site-header__buttons,
	.site-header__actions {
		display: none;
	}

	html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container-open {
		display: flex;
		color: var(--wp--preset--color--background);
	}

	header.site-header .site-header__navigation .wp-block-navigation__responsive-container-close {
		color: var(--wp--preset--color--background);
	}
}

html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--primary);
	padding: 32px 24px;
}

html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
html body header.site-header .site-header__navigation .wp-block-navigation__responsive-container.is-menu-open a {
	color: var(--wp--preset--color--background);
	font-size: 18px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

/* ─── PAGE HERO ──────────────────────────────────────────────────────────── */

.page-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--primary-dark);
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-hero::after {
	content: '';
	position: absolute;
	top: 0;
	right: -10%;
	width: 60%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center right;
	background-size: contain;
	opacity: 0.12;
	pointer-events: none;
	z-index: 1;
}

.page-hero__inner {
	position: relative;
	z-index: 2;
}

.page-hero__title {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 400;
	color: var(--wp--preset--color--base);
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0;
}

.hero-page {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
}

.hero-page::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(72deg, rgba(113, 178, 146, 0.85) 0%, rgba(3, 52, 76, 0.85) 100%);
	z-index: 1;
	pointer-events: none;
}

.hero-page .hero-background {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	z-index: 0;
	width: 100%;
}

.hero-page .hero-background img {
	width: 100%;
	height: auto;
	display: block;
}

.hero-page .hero-overlay {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	z-index: 2;
	padding-block: 120px 140px;
	padding-inline: var(--theme-container-padding-x, 20px);
	gap: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.hero-home .hero-overlay,
.hero-overlay {
	position: relative;
	z-index: 10;
}

/* ─── PATTERN: MAP SECTION ───────────────────────────────────────────────── */

.map-section {
	line-height: 0;
}

.map-section iframe {
	width: 100%;
	display: block;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */

.site-footer {
	margin-top: auto;
}

.site-footer__inner {
	padding-block: 56px;
	gap: 40px;
	align-items: flex-start;
}

.site-footer__brand {
	max-width: 295px;
	gap: 16px;
}

.site-footer__logo img {
	width: 138px;
	height: auto;
}

.site-footer__tagline {
	font-size: var(--wp--preset--font-size--sm);
	color: rgba(43, 43, 43, 0.60);
	line-height: 1.5;
	margin: 0;
}

.site-footer__col {
	gap: 8px;
}

.site-footer__col-label {
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--wp--preset--color--secondary);
	margin: 0 0 8px 0;
}

.site-footer__contact-item {
	font-size: var(--wp--preset--font-size--base);
	color: rgba(43, 43, 43, 0.80);
	margin: 0;
}

.site-footer__contact-item a,
.site-footer__nav-link {
	color: rgba(43, 43, 43, 0.80);
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-footer__contact-item a:hover,
.site-footer__nav-link:hover {
	color: var(--wp--preset--color--primary);
}

.site-footer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.site-footer__nav-link {
	font-size: var(--wp--preset--font-size--base);
	color: rgba(43, 43, 43, 0.80);
	text-decoration: none;
}

.site-footer__nav-link:hover {
	color: var(--wp--preset--color--primary);
}

/* ─── PATTERN: SERVICES GRID ────────────────────────────────────────────── */

.wp-block-group.services-grid {
	padding-top: 80px;
	padding-bottom: 80px;
	padding-left: var(--wp--preset--spacing--container);
	padding-right: var(--wp--preset--spacing--container);
}

.services-grid .wp-block-heading {
	font-size: 48px;
	margin-bottom: 60px;
}

.services-grid .wp-block-column > .wp-block-group {
	background-color: var(--wp--preset--color--background);
	padding: 30px;
}

.services-grid .wp-block-heading.service-title {
	font-size: 24px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 15px;
	color: var(--wp--preset--color--primary);
}

.services-grid .wp-block-paragraph {
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--primary);
}

/* ─── SERVICES SECTION ────────────────────────────────────────────────────── */

.services-section {
	padding-block: 80px;
}

.services-section__header {
	max-width: 610px;
	margin-inline: auto;
	margin-bottom: 40px;
	gap: 16px;
}

.services-section__heading.wp-block-heading {
	font-size: clamp(32px, 4vw, 48px);
	font-style: italic;
	font-weight: 300;
	line-height: 1.1;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.services-section__heading mark {
	background: none;
	padding: 0;
}

.services-section__intro {
	font-size: 16px;
	margin-top: 20px;
	margin-bottom: 60px;
	max-width: 70ch;
	margin-inline: auto;
}

.services-section__row {
	margin-bottom: 20px;
	gap: 20px;
}

.services-card__inner,
.wp-block-group.services-card__inner {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--secondary-light);
	border-radius: 10px;
	padding: 20px;
	gap: 20px;
	flex: 1;
	z-index: 0;
	transition: background 0.3s ease;
}

.services-card:hover .services-card__inner {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
}

.services-card:hover .services-card__label,
.services-card:hover .services-card__title,
.services-card:hover .services-card__text,
.services-card:hover .services-card__link {
	color: var(--wp--preset--color--background);
}

.services-card__inner::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 650px;
	height: 650px;
	background: radial-gradient(ellipse 70% 70% at 100% 100%, #D8ECDF 0%, rgba(216, 236, 223, 0) 70%);
	pointer-events: none;
	z-index: -1;
}

.services-card__icon {
	width: 48px;
	height: 48px;
	margin: 0 0 24px;
}

.services-card__icon img {
	width: 100%;
	height: auto;
}

.services-card__label {
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2.4px;
	color: var(--wp--preset--color--secondary);
	margin: 0 0 16px;
}

.services-card__title.wp-block-heading {
	font-size: 32px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.1;
	color: var(--wp--preset--color--primary);
	margin: 0 0 16px;
}

.services-card__text {
	font-size: 16px;
	color: var(--wp--preset--color--primary);
	margin: 0 0 32px;
	flex: 1;
}

.services-card__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--wp--preset--color--primary);
}

.services-card__arrow {
	width: 30px;
	height: 30px;
	margin: 0;
}

.services-card__arrow img {
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}

.services-card__link:hover .services-card__arrow img {
	transform: rotate(-45deg);
}

.services-section__footer {
	margin-top: 40px;
}

/* ─── PATTERN: CTA SECTION ──────────────────────────────────────────────── */

.wp-block-group.cta-section {
	background-color: var(--wp--preset--color--secondary);
	padding-top: 60px;
	padding-bottom: 60px;
	padding-left: var(--wp--preset--spacing--container);
	padding-right: var(--wp--preset--spacing--container);
}

.cta-section .wp-block-heading,
.cta-section .wp-block-paragraph {
	color: var(--wp--preset--color--primary);
	text-align: center;
}

.cta-section .wp-block-heading {
	font-size: 40px;
	margin-bottom: 30px;
}

.cta-section .wp-block-paragraph {
	font-size: 18px;
	margin-bottom: 40px;
}

.cta-section .wp-block-button__link {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
}

.cta-section .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--primary-dark);
}

.cta-section.wp-block-cover {
	padding: 80px 20px;
	background: linear-gradient(72deg, #71B292 0%, #03344C 100%);
}

.cta-section .wp-block-cover__image-background {
	opacity: 0.35;
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}

.cta-section .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

.cta-section__heading.wp-block-heading {
	color: var(--wp--preset--color--background-light);
	font-size: 48px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	line-height: 42.25px;
	word-wrap: break-word;
	margin-bottom: 20px;
}

.cta-section__subtitle {
	color: var(--wp--preset--color--background);
	font-size: 16px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 40px;
}

/* ─── PATTERN: LATEST NEWS ──────────────────────────────────────────────── */

.wp-block-group.latest-news {
	padding-top: 80px;
	padding-bottom: 80px;
	padding-left: var(--wp--preset--spacing--container);
	padding-right: var(--wp--preset--spacing--container);
}

.latest-news .wp-block-heading {
	font-size: 48px;
	margin-bottom: 60px;
	text-align: center;
}

.latest-news .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.latest-news .wp-block-post-template > li {
	background-color: var(--wp--preset--color--background-light);
	padding: 20px;
}

.latest-news .wp-block-post-title {
	font-size: 22px;
	margin-bottom: 10px;
}

.latest-news .wp-block-post-excerpt {
	font-size: 14px;
	margin-bottom: 15px;
}

.latest-news .wp-block-post-date {
	font-size: 12px;
	color: var(--wp--preset--color--primary);
}

/* ─── ABOUT SECTION ───────────────────────────────────────────────────────── */

.about-section {
	position: relative;
	overflow: visible;
	padding-block: 150px 100px;
	min-height: auto;
}

.about-section__inner {
	position: relative;
	z-index: 1;
	gap: 160px;
	align-items: center;
	justify-content: space-between;
	max-width: 1300px;
	margin-inline: auto;
}

.about-section__content {
	flex: 0 1 500px;
	gap: 24px;
	padding-left: 20px;
}

.about-section__heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.about-section__heading mark {
	background: none;
	padding: 0;
}

.about-section__text {
	font-size: 16px;
	color: #4A4A4A;
	max-width: 453px;
	margin: 0;
}

.about-section__image {
	flex: 0 0 380px;
	width: 380px;
	margin: 0;
}

.about-section__image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

@media (max-width: 768px) {
	.about-section .wp-block-group.about-section__inner {
		flex-direction: column;
	}

	.about-section__content {
		flex: unset;
		width: 100%;
	}

	.about-section__image {
		flex: unset;
		width: 60%;
		max-width: 320px;
		margin-inline: auto;
	}
}

/* ─── STATS COUNTER SECTION ───────────────────────────────────────────────── */

.stats-section {
	position: relative;
	overflow: hidden;
	background: linear-gradient(72deg, #71B292 0%, #03344C 100%);
	padding-block: 60px;
}

.stats-section::after {
	content: "";
	position: absolute;
	top: -60px;
	right: -60px;
	width: 600px;
	height: 600px;
	background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(138, 210, 175, 0.5) 0%, rgba(138, 210, 175, 0) 65%);
	pointer-events: none;
}

.stats-section__inner {
	position: relative;
	z-index: 1;
	gap: 0;
	padding-inline: var(--theme-container-padding-x);
}

.stats-item {
	flex: 1 1 0;
	gap: 16px;
	text-align: center;
}

.stats-section .stats-item .gb-text.stats-item__number {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	font-size: 128px;
	line-height: 112.64px;
	color: var(--wp--preset--color--secondary-light);
	text-align: center;
	margin: 0;
}

@media (max-width: 1024px) {
	.stats-section .stats-item .gb-text.stats-item__number {
		font-size: clamp(48px, 8vw, 128px);
		line-height: 1;
	}
}

.stats-item__label {
	font-size: 15px;
	line-height: 1.4;
	color: var(--wp--preset--color--secondary-light);
	text-align: center;
	margin: 0;
}

.stats-section__divider,
.wp-block-group.stats-section__divider {
	flex: 0 0 1px;
	width: 1px;
	min-height: 245px;
	align-self: stretch;
	background-color: var(--wp--preset--color--primary);
	margin-block: 20px;
	margin-inline: 20px;
	padding: 0;
}

@media (max-width: 768px) {
	.stats-section__inner {
		flex-direction: column;
		gap: 40px;
	}

	.stats-section__divider,
	.wp-block-group.stats-section__divider {
		width: 80%;
		min-height: unset;
		height: 1px;
		align-self: center;
	}
}

/* ─── WORKS SECTION ───────────────────────────────────────────────────────── */

.works-section.wp-block-cover {
	padding: 120px 100px;
}

.works-section .wp-block-cover__image-background {
	opacity: 1;
	object-fit: cover;
	object-position: center center;
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
}

.works-section .wp-block-cover__background {
	background: linear-gradient(72deg, rgba(113, 178, 146, 0.85) 0%, rgba(3, 52, 76, 0.85) 100%);
	opacity: 1;
}

.works-section .wp-block-cover__inner-container {
	width: 100%;
	max-width: 100%;
	padding: 0;
}

.works-section__heading.wp-block-heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.1;
	color: var(--wp--preset--color--background-light);
	margin: 0 0 16px;
	text-align: left;
}

.works-section__subtitle {
	font-size: 16px;
	color: var(--wp--preset--color--background-light);
	margin: 0 0 48px;
	text-align: left;
}

.works-section__cards.wp-block-columns {
	align-items: stretch;
	gap: 20px;
}

.works-card.wp-block-column {
	display: flex;
	flex-direction: column;
}

.works-card__inner,
.wp-block-group.works-card__inner {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--background);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	padding: 40px;
	gap: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 280px;
}

.works-card__bg-number {
	position: absolute;
	inset: 0;
	margin: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}
.works-card__bottom{
	gap: 0;
}
.works-card__bg-number img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1;
}

.works-card__step,
.works-card__title,
.works-card__text {
	position: relative;
	z-index: 1;
}

.works-card__step {
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.works-card__title.wp-block-heading {
	font-family: var(--wp--preset--font-family--fraunces);
	margin-bottom: 12px;
	flex: 1;
}

.works-card__text {
	font-size: 15px;
	line-height: 1.5;
	color: #4A4A4A;
	margin: 0;
	margin-top: auto;
}

@media (max-width: 768px) {
	.works-section .wp-block-cover__inner-container {
		padding-inline: 20px;
	}

	.works-section__cards.wp-block-columns {
		flex-direction: column;
	}

	.works-card__title.wp-block-heading {
		margin-top: 80px;
	}
}

/* ─── HOME CLIENTS MARQUEE ────────────────────────────────────────────────── */

.home-clients {
	overflow: hidden;
	padding: 80px var(--wp--preset--spacing--container-lg);
	border-top: 1px solid rgba(22, 22, 74, 0.1);
}

.home-clients__heading.wp-block-heading {
	color: var(--wp--preset--color--primary);
	font-size: 48px;
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	line-height: 42.25px;
	word-wrap: break-word;
	margin-bottom: 48px;
}

.clients-marquee {
	overflow: hidden;
}

.clients-marquee-track {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	animation: clients-marquee-scroll 30s linear infinite;
}

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

.client-logo {
	margin: 0;
	flex: 0 0 auto;
}

.client-logo img {
	display: block;
	height: clamp(40px, 4vw, 70px);
	width: auto;
	max-width: 300px;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.client-logo:hover img {
	opacity: 1;
}

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

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

@media (max-width: 768px) {
	.clients-marquee-track {
		animation-duration: 20s;
	}

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

	.client-logo img {
		height: 36px;
	}
}

/* ─── CUSTOM BLOG GRID ────────────────────────────────────────────────────── */

.wp-block-group.blog-grid-section {
	padding-block: 80px;
	padding-inline: 100px;
}

.wp-block-group.blog-grid-section .blog-grid-header {
	margin-bottom: 40px;
	text-align: left;
}

.wp-block-group.blog-grid-section .blog-grid-title {
	color: var(--wp--preset--color--primary);
	margin-bottom: 20px;
	font-size: 48px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.1;
	word-wrap: break-word;
	font-family: var(--wp--preset--font-family--fraunces);
	max-width: 600px;
}

.wp-block-group.blog-grid-section .blog-grid-intro {
	color: rgba(43, 43, 43, 0.80);
	margin-bottom: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	word-wrap: break-word;
	font-family: var(--wp--preset--font-family--archivo);
	max-width: 751px;
}

.blog-grid-section .custom-blog-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	list-style: none;
	padding: 0;
	align-items: start;
}

.blog-grid-section .custom-blog-query .wp-block-post-template > li {
	display: flex;
	flex-direction: column;
	align-self: start;
}

.blog-grid-section .blog-grid-card {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-align: left;
	align-items: flex-start;
}

.blog-grid-section .blog-meta-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 1.98px;
	text-transform: uppercase;
	color: var(--wp--preset--color--secondary);
	border-top: 1px solid var(--wp--preset--color--primary);
	padding-top: 10px;
}

.blog-grid-section .blog-date-wrapper {
	display: flex;
	align-items: center;
	gap: 4px;
}

.blog-grid-section .blog-date-dash {
	margin-right: 0;
	margin-bottom: 0;
}

.blog-grid-section .blog-grid-image {
	border-radius: 20px;
	overflow: hidden;
	width: 100%;
}

.blog-grid-section .blog-grid-image img {
	border-radius: 20px;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.blog-grid-section .blog-grid-post-title {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: normal;
	font-weight: 400;
	font-size: 22px;
	color: var(--wp--preset--color--primary);
	margin-top: 20px;
	margin-bottom: 12px;
	line-height: 1.3;
	text-align: left;
}

.blog-grid-section .blog-grid-post-excerpt {
	color: rgba(43, 43, 43, 0.60);
	font-size: 16px;
	font-family: var(--wp--preset--font-family--archivo);
	line-height: 1.5;
	margin-bottom: 20px;
	flex: 1;
	text-align: left;
}

.blog-grid-section .btn-blog-read-more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	margin-top: auto;
	padding: 2px 2px 2px 15px;
	background: linear-gradient(72deg, #71B292 0%, #03344C 100%);
	border-radius: 30px;
	text-decoration: none;
	gap: 10px;
	color: var(--wp--preset--color--background);
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	transition: all 0.3s ease;
}

.blog-grid-section .btn-blog-read-more:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	background: linear-gradient(72deg, #03344C 0%, #71B292 100%);
}

.blog-grid-section .btn-blog-read-more::after {
	content: "";
	display: flex;
	align-items: center;
	justify-content: center;
	width: 29px;
	height: 29px;
	background: linear-gradient(252deg, #71B292 0%, #03344C 100%);
	border-radius: 50%;
	background-image: url("../images/flecha1.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
	filter: brightness(0) invert(1);
}

@media (max-width: 1024px) {
	.wp-block-group.blog-grid-section {
		padding-block: 60px;
	}

	.blog-grid-section .custom-blog-query .wp-block-post-template {
		grid-template-columns: repeat(2, 1fr);
	}

	.wp-block-group.blog-grid-section .blog-grid-header {
		text-align: center;
	}

	.wp-block-group.blog-grid-section .blog-grid-title {
		max-width: 100%;
		text-align: center;
	}

	.wp-block-group.blog-grid-section .blog-grid-intro {
		text-align: center;
		margin-inline: auto;
	}
}

@media (max-width: 768px) {
	.wp-block-group.blog-grid-section {
		padding-block: 40px;
	}

	.blog-grid-section .custom-blog-query .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.wp-block-group.blog-grid-section .blog-grid-title {
		font-size: 32px;
		line-height: 1.2;
		max-width: 100%;
		text-align: center;
	}
}

/* ─── PATTERN: H2 TEXT ─────────────────────────────────────────────────────── */

.h2-text-section {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
}

.h2-text-section__background {
	grid-column: 1;
	grid-row: 1;
	margin: 0;
	z-index: 0;
	width: 100%;
}

.h2-text-section__background img {
	width: 100%;
	height: auto;
	display: block;
}

.h2-text-section__overlay {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.88);
	padding-block: 60px;
	padding-inline: var(--theme-container-padding-x, 20px);
	gap: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.h2-text-section__heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(2rem, 3.5vw, 3rem);
	line-height: 1.15;
	color: var(--wp--preset--color--primary);
	margin: 0;
	text-align: center;
	width: 100%;
}

.h2-text-section__body {
	font-size: var(--wp--preset--font-size--base);
	color: #4a4a4a;
	line-height: 1.7;
	margin: 0;
	text-align: center;
	max-width: 780px;
}

.h2-text-section__body--lead {
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	color: #71B292;
	font-weight: 400;
	font-style: italic;
}

/* ─── PATTERN: TWO COLUMN TEXT IMAGE ──────────────────────────────────────── */

.two-col-text-image {
	background: radial-gradient(ellipse 66% 81% at 60% 50%, #1E5F8C 0%, rgba(30, 95, 140, 0) 70%);
	position: relative;
	overflow: hidden;
}

.two-col-text-image__inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0;
	align-items: stretch;
	position: relative;
	z-index: 1;
}

.two-col-text-image__inner--twocol {
	display: flex;
	flex-direction: row;
	gap: 60px;
	padding: 78px 64px;
	align-items: flex-start;
}

.two-col-text-image__col {
	flex: 1 1 50%;
	gap: 28px;
}

.two-col-text-image__content {
	display: flex;
	flex-direction: column;
	flex: 1 1 55%;
	padding: 78px 110px 75px 64px;
	gap: 32px;
	background: transparent;
}

.two-col-text-image__heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.6rem, 2.5vw, 2.2rem);
	line-height: 1.2;
	color: var(--wp--preset--color--secondary);
	margin: 0 0 16px;
}

.two-col-text-image__body {
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--primary);
	line-height: 1.8;
	margin: 0;
}

.two-col-text-image__highlight {
	font-size: var(--wp--preset--font-size--base);
	color: var(--wp--preset--color--secondary);
	line-height: 1.5;
	margin: 0;
}

.two-col-text-image__list {
	color: var(--wp--preset--color--primary);
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.65;
	margin: 0;
	padding-left: 20px;
}

.two-col-text-image__image-col {
	flex: 0 0 45%;
	position: relative;
	overflow: hidden;
	min-height: 500px;
}

.two-col-text-image__img {
	margin: 0;
	width: 100%;
	height: 100%;
}

.two-col-text-image__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

@media (max-width: 1024px) {
	.two-col-text-image__content {
		padding: 50px 40px 50px 40px;
		gap: 20px;
	}

	.two-col-text-image__heading {
		font-size: clamp(1.4rem, 2vw, 1.8rem);
	}

	.two-col-text-image__image-col {
		flex: 0 0 40%;
		min-height: 420px;
	}

	.h2-text-section__heading {
		width: 70%;
		font-size: clamp(1.6rem, 2.8vw, 2.4rem);
	}
}

@media (max-width: 781px) {
	.two-col-text-image__inner {
		flex-direction: column;
	}

	.two-col-text-image__inner--twocol {
		flex-direction: column;
		padding: 40px 20px;
		gap: 32px;
	}

	.two-col-text-image__content {
		padding: 36px 20px;
		gap: 16px;
	}

	.two-col-text-image__heading {
		font-size: 1.5rem;
	}

	.two-col-text-image__body,
	.two-col-text-image__highlight,
	.two-col-text-image__list {
		font-size: 0.9375rem;
	}

	.two-col-text-image__image-col {
		min-height: 240px;
		flex: 0 0 auto;
		width: 100%;
	}

	.h2-text-section {
		padding-block: 40px;
	}

	.h2-text-section__overlay {
		gap: 20px;
		padding-block: 40px;
		padding-inline: 20px;
	}

	.h2-text-section__heading {
		width: 100%;
		font-size: 1.6rem;
	}

	.h2-text-section__body,
	.h2-text-section__body--lead {
		font-size: 1rem;
		max-width: 100%;
	}
}

/* ─── PATTERN: IMAGE CAROUSEL ────────────────────────────────────────────── */

.image-carousel {
	background: var(--wp--preset--color--background);
	padding-block: 60px;
}

.image-carousel__center-block {
	max-width: 1000px;
	margin-inline: auto;
	position: relative;
}

.image-carousel__track {
	position: relative;
}

.image-carousel__slide {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-block: 20px;
}

.image-carousel__img {
	margin: 0 auto;
	box-shadow: 4px 4px 16.5px rgba(0, 0, 0, 0.25);
	border-radius: 8px;
	max-width: 860px;
	width: 100%;
}

.image-carousel__img img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
}

.image-carousel__track.is-layout-grid .image-carousel__slide,
.image-carousel__track .image-carousel__slide {
	width: 100%;
	max-width: 100%;
	justify-self: center;
}

.image-carousel__track.is-layout-grid .image-carousel__img,
.image-carousel__track .image-carousel__slide .image-carousel__img {
	max-width: 860px;
	margin-inline: auto;
}

.image-carousel__track .frontblocks-carousel-arrow {
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--primary);
	border: 2px solid var(--wp--preset--color--primary);
}

.image-carousel__track .frontblocks-carousel-arrow:hover {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
}

.image-carousel__track .glide__bullet {
	background: var(--wp--preset--color--primary);
	opacity: 0.35;
}

.image-carousel__track .glide__bullet--active {
	background: var(--wp--preset--color--secondary);
	opacity: 1;
}

.image-carousel__center-block .glide__bullets {
	bottom: 20px;
}

.image-carousel__center-block .frontblocks-carousel-arrow--prev {
	left: 10px;
}

.image-carousel__center-block .frontblocks-carousel-arrow--next {
	right: 10px;
}

@media (max-width: 781px) {
	.image-carousel {
		padding-block: 36px;
	}
}

/* ─── CONTACT SECTION ─────────────────────────────────────────────────────── */

body .hero-contact {
	padding-top: 160px;
	padding-bottom: 80px;
	color: var(--wp--preset--color--secondary-light);
	display: flex;
	align-items: center;
	position: relative;
}

body .hero-contact .wp-block-cover__background {
	background: linear-gradient(81deg, #71B292 0%, #03344C 136.68%);
	opacity: 0.9;
}

body .hero-contact .wp-block-cover__image-background {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

body .hero-contact .hero-contact__row {
	gap: 80px;
	align-items: flex-start;
	max-width: 1300px;
	margin-inline: auto;
	width: 100%;
}

body .hero-contact .hero-contact__row.wp-block-columns {
	flex-wrap: nowrap;
}

body .hero-contact .hero-contact__row .contact-info {
	flex: 0 0 390px;
	max-width: 390px;
	min-width: 260px;
}

body .hero-contact .hero-contact__row .contact-form-col {
	flex: 1 1 0;
	min-width: 0;
}

body .hero-contact .contact-info__heading {
	color: var(--wp--preset--color--secondary-light);
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(2.5rem, 4.5vw, 65px);
	line-height: 0.87;
	margin-bottom: 24px;
}

body .hero-contact .contact-info__description {
	color: var(--wp--preset--color--secondary-light);
	font-size: 16px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 400;
	max-width: 384px;
	margin-bottom: 40px;
	line-height: 1.5;
}

body .hero-contact .contact-detail {
	margin-bottom: 6px;
}

body .hero-contact .contact-info__details {
	gap: 0;
}

body .hero-contact .contact-info__details > * {
	margin-block-start: 0;
}

body .hero-contact .contact-detail > * {
	margin-block-start: 0;
}

body .hero-contact .contact-detail__label {
	color: var(--wp--preset--color--secondary-light);
	font-family: var(--wp--preset--font-family--fraunces);
	font-size: 22px;
	margin-bottom: 4px;
	font-weight: 400;
}

body .hero-contact .contact-detail__value,
body .hero-contact .contact-detail__value a {
	color: #EEEEEE;
	font-size: 16px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 400;
	text-decoration: none;
}

body .hero-contact .contact-info__social {
	margin-top: 30px;
	padding-top: 24px;
	border-top: none;
	gap: 30px;
	display: flex;
	position: relative;
}

body .hero-contact .contact-info__social::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 80px;
	height: 3px;
	background-color: var(--wp--preset--color--secondary);
}

body .hero-contact .contact-info__social a {
	color: var(--wp--preset--color--secondary-light);
	text-decoration: none;
	font-size: 16px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 600;
}

/* ─── GRAVITY FORMS OVERRIDES ─────────────────────────────────────────────── */

body .hero-contact .gform_wrapper.gform-theme {
	--gf-ctrl-bg-color: transparent;
	--gf-ctrl-border-color-control-primary: #EEEEEE;
	--gf-label-color-primary: #EEEEEE;
	--gf-color-in-ctrl: transparent;
}

body .hero-contact .gform_heading,
body .hero-contact .gfield--type-checkbox,
body .hero-contact .gform_required_legend {
	display: none;
}

body .hero-contact .gform_wrapper.gform-theme .gfield_label {
	display: none;
}

body .hero-contact .gform_wrapper.gform-theme input:not([type="submit"]):not([type="button"]),
body .hero-contact .gform_wrapper.gform-theme textarea,
body .hero-contact .gform_wrapper.gform-theme .gform_fields .gfield input[type="text"],
body .hero-contact .gform_wrapper.gform-theme .gform_fields .gfield input[type="email"],
body .hero-contact .gform_wrapper.gform-theme .gform_fields .gfield input[type="tel"],
body .hero-contact .gform_wrapper.gform-theme .gform_fields .gfield textarea {
	--gf-local-bg-color: transparent;
	--gf-local-border-color: rgba(238, 238, 238, 0.6);
	--gf-local-color: #EEEEEE;
	--gf-local-shadow: none;
	--gf-ctrl-bg-color: transparent;
	--gf-ctrl-bg-color-hover: transparent;
	--gf-ctrl-bg-color-focus: rgba(255, 255, 255, 0.05);
	background-color: transparent;
	background: transparent;
	border: 1.51px solid rgba(238, 238, 238, 0.6);
	border-radius: 10px;
	color: #EEEEEE;
	padding: 14px 18px;
	font-size: 16px;
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 400;
	outline: none;
	box-shadow: none;
	appearance: none;
	width: 100%;
}

body .hero-contact .gform_wrapper.gform-theme textarea {
	min-height: 155px;
}

.hero-contact .gform_wrapper.gform-theme .gform_fields .gfield input::placeholder,
.hero-contact .gform_wrapper.gform-theme .gform_fields .gfield textarea::placeholder {
	color: rgba(238, 238, 238, 0.7);
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 400;
}

.hero-contact .gform_wrapper.gform-theme .gform_fields .gfield input:focus,
.hero-contact .gform_wrapper.gform-theme .gform_fields .gfield textarea:focus {
	border-color: var(--wp--preset--color--secondary);
	background-color: rgba(255, 255, 255, 0.05);
}

.hero-contact .gform_wrapper.gform-theme .gfield_label {
	display: none;
}

.hero-contact .gform_wrapper.gform-theme .gform_footer,
.hero-contact .gform_wrapper.gform-theme .gform_page_footer {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: nowrap;
	gap: 24px;
	padding: 20px 0 0 0;
	margin: 0;
}

.hero-contact .gform_wrapper.gform-theme .gform_footer .contact-form-legal {
	flex: 1;
	margin: 0;
}

.hero-contact .gform_button {
	margin: 0;
}

#gform_submit_button_1,
.hero-contact input[type="submit"].gform_button,
.hero-contact .gform_wrapper .gform_footer .gform_button {
	background:
		url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='15' cy='15' r='14.5' fill='url(%23paint0_linear)'/%3E%3Cpath d='M11 15H19M19 15L15 11M19 15L15 19' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear' x1='30' y1='15' x2='0' y2='15' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2303344C'/%3E%3Cstop offset='1' stop-color='%2371B292'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") right 4px center / 29px 29px no-repeat,
		linear-gradient(72deg, #71B292 0%, #03344C 100%);
	border-radius: 30px;
	padding: 2px 36px 2px 15px;
	color: var(--wp--preset--color--secondary-light);
	font-size: 12px;
	font-family: 'Archivo Narrow', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1.20px;
	border: none;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
	width: auto;
	inline-size: auto;
	line-height: 29px;
	display: inline-block;
}

#gform_submit_button_1:hover,
.hero-contact input[type="submit"].gform_button:hover,
.hero-contact .gform_wrapper .gform_footer .gform_button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-contact .contact-form-legal {
	color: var(--wp--preset--color--background);
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	text-transform: uppercase;
	letter-spacing: 1.20px;
	line-height: 12px;
	font-weight: 400;
	margin: 0;
}

/* ─── CONTACT SECTION RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 1100px) {
	body .hero-contact .hero-contact__row {
		flex-direction: column;
		gap: 40px;
	}

	body .hero-contact .hero-contact__row .contact-info {
		flex: unset;
		max-width: 100%;
		width: 100%;
	}

	body .hero-contact .hero-contact__row .contact-form-col {
		flex: unset;
		width: 100%;
	}

	body .hero-contact .contact-info__heading {
		font-size: clamp(2.5rem, 6vw, 3.5rem);
	}
}

@media (max-width: 600px) {
	body .hero-contact .contact-info__heading {
		font-size: 2.2rem;
	}
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
	.latest-news .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.services-grid .wp-block-columns {
		flex-direction: column;
	}

	.hero-home h1.wp-block-heading {
		max-width: 95%;
		padding: 0;
	}

	.hero-home .hero-paragraph {
		margin-bottom: 1rem;
	}

	.cta-section {
		padding-top: 40px;
		padding-bottom: 40px;
	}
}

/* ─── EDITOR STYLES ─────────────────────────────────────────────────────── */

.editor-styles-wrapper .wp-block-group.hero-home {
	position: relative;
	overflow: hidden;
}

.editor-styles-wrapper .hero-home .hero-background {
	position: absolute;
	inset: 0;
	z-index: 1;
	margin: 0;
}

.editor-styles-wrapper .hero-home .hero-background img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.editor-styles-wrapper .hero-home::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(72deg, rgba(113, 178, 146, 0.85) 0%, rgba(3, 52, 76, 0.85) 100%);
	z-index: 2;
	pointer-events: none;
}

.editor-styles-wrapper .hero-home .hero-overlay {
	position: relative;
	z-index: 10;
}

.editor-styles-wrapper .hero-home .hero-logos-strip {
	position: relative;
	bottom: auto;
	left: auto;
	transform: none;
	margin: 40px auto 0;
}

/* ─── PATTERN: CLIENTES SECTION ────────────────────────────────────────── */

.clientes-section.wp-block-group {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-top: var(--wp--preset--spacing--80);
	padding-bottom: var(--wp--preset--spacing--80);
}

.clientes-section .wp-block-heading {
	margin-bottom: var(--wp--preset--spacing--80);
}

.clientes-section__carousel.wp-block-group {
	margin-top: 0;
	align-items: center;
	position: relative;
}

.clientes-section .frontblocks.glide {
	position: relative;
}

.clientes-section .frontblocks.glide::before,
.clientes-section .frontblocks.glide::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 350px;
	z-index: 10;
	pointer-events: none;
}

@media (max-width: 781px) {
	.clientes-section .frontblocks.glide::before,
	.clientes-section .frontblocks.glide::after {
		display: none;
	}
}

.clientes-section .frontblocks.glide::before {
	left: 0;
	background: linear-gradient(to right, var(--wp--preset--color--background-light) 30%, transparent);
}

.clientes-section .frontblocks.glide::after {
	right: 0;
	background: linear-gradient(to left, var(--wp--preset--color--background-light) 30%, transparent);
}

.clientes-section__logo.wp-block-image {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.clientes-section__logo.wp-block-image img {
	max-height: 70px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

/* ─── PATTERN: LATEST NEWS ─────────────────────────────────────────────── */

.latest-news-section {
	padding: 80px var(--wp--preset--spacing--container);
}

@media (min-width: 1024px) {
	.latest-news-section {
		padding: 80px var(--wp--preset--spacing--container-lg);
	}
}

.latest-news-section__heading {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 300;
	margin-bottom: 24px;
	color: var(--wp--preset--color--primary);
}

.latest-news-section__intro {
	max-width: 50%;
	margin-bottom: 60px;
	color: var(--wp--preset--color--primary);
	font-size: 16px;
	line-height: 1.6;
}

.latest-news-section__grid {
	gap: 40px;
}

.latest-news-card {
	gap: 24px;
}

.latest-news-card__image {
	width: 100%;
	margin: 0;
	overflow: hidden;
	border: 3px solid var(--wp--preset--color--primary);
	border-radius: 8px;
}

.latest-news-card__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

.latest-news-card__meta {
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--wp--preset--color--primary);
}

.latest-news-card__date {
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.latest-news-card__reading-time {
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.latest-news-card__title {
	font-family: var(--wp--preset--font-family--fraunces);
	font-style: italic;
	font-weight: 400;
	font-size: 24px;
	color: var(--wp--preset--color--primary);
	margin: 0;
}

.latest-news-card__title a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.latest-news-card__title a:hover {
	text-decoration: underline;
}

.latest-news-card__excerpt {
	color: var(--wp--preset--color--primary);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.latest-news-card__footer {
	gap: 16px;
	margin-top: auto;
}

.latest-news-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--background);
	text-decoration: none;
	border-radius: 20px;
	font-size: 12px;
	font-family: var(--wp--preset--font-family--archivo-narrow);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	transition: all 0.3s ease;
}

.latest-news-card__link:hover {
	background: var(--wp--preset--color--primary);
}

