/**
 * GW Blueprint - Main Stylesheet
 * 
 * This file contains base styles and utilities for the theme
 */

/* CSS Variables for easy customization */
/* Reset and Base Styles */
:root{
	--header-height: 110px;
}
* {
	box-sizing: border-box;
}
body {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	overflow-x: clip;
}

/* Typography */
p:last-child,
ul:last-child,
ol:last-child{
	margin-bottom: 0;
}
ul:empty,
ol:empty,
li:empty,
p:empty{
	display: none;
}
img{
	max-width: 100%;
	border:none;
	outline:none;
}

/* Image parallax: image moves within figure frame on scroll */
figure.image-parallax {
	overflow: hidden;
}
figure.image-parallax img {
	will-change: transform;
	display: block;
	width: 100%;
	height: auto;
	transform-origin: center center;
}

/* Cover block parallax: background image moves within cover on scroll */
.wp-block-cover.cover-parallax {
	overflow: hidden;
}
.wp-block-cover.cover-parallax .wp-block-cover__image-background {
	will-change: transform;
	transform-origin: center center;
}

input,
select,
textarea,
button{
	outline: none;
}
::-webkit-scrollbar {
	width: 5px;
}
::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.wp-element-button,
.button{
	--btnColor: var(--wp--preset--color--neutral-white);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 85%, #000000);
	--btnTextColor: var(--wp--preset--color--neutral-500);
	--btnTextColorHover: var(--wp--preset--color--neutral-500);
	background: var(--btnColor);
	color: var(--btnTextColor);

	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap:10px;
	cursor: pointer;
	transition: all 0.3s;

	&:hover{
		background: var(--btnColorHover);
		color: var(--btnTextColorHover);
	}
}
.button{
	padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
	border: none;
}

/*** LINK WRAPPER STYLES ***/
.link_wrapper {
	color: currentColor;
	text-decoration: none;
}
.is-style-secondary-fill .wp-element-button,
.is-style-secondary-outline .wp-element-button{
	--btnColor: rgba(255, 255, 255,0.05);
	--btnColorHover: rgba(255, 255, 255,0.1);
	--btnTextColor: var(--wp--preset--color--neutral-white);
	--btnTextColorHover: var(--wp--preset--color--neutral-white);
}

.is-style-accent-fill .wp-element-button,
.is-style-accent-outline .wp-element-button{
	--btnColor: var(--wp--preset--color--custom-color-500);
	--btnColorHover: color-mix(in srgb, var(--btnColor) 85%, #000000);
	--btnTextColor: var(--wp--preset--color--neutral-white);
	--btnTextColorHover: var(--wp--preset--color--neutral-white);
}

.is-style-outline .wp-element-button,
.is-style-accent-outline .wp-element-button,
.is-style-secondary-outline .wp-element-button{
	background: none;
	border: 1px solid var(--btnColor);
	color: var(--btnColor);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);

	&:hover{
		background: var(--btnColor);
		color: var(--btnTextColorHover);
	}
}
.wp-block-buttons>.is-style-arrow-button,
.wp-block-buttons>.is-style-arrow-button-black{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.is-style-arrow-button::after,
.is-style-arrow-button-black::after{
	content: '';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	min-width: 45px;
	height: 47px;
	background-color: var(--wp--preset--color--custom-color-500);
	background-image: url(../images/right-arrow.svg);
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
    border-radius: 5px;
	transform: skewX(-13deg) translateX(0);
	transition: all 0.3s;
}
.is-style-arrow-button:hover::after,
.is-style-arrow-button-black:hover::after{
	transform: skewX(-13deg) translateX(10px);
}
.is-style-arrow-button .wp-element-button,
.is-style-arrow-button-black .wp-element-button{
	--btnColor: transparent;
	--btnColorHover: var(--wp--preset--color--neutral-white);
	--btnTextColor: var(--wp--preset--color--neutral-white);
	--btnTextColorHover: var(--wp--preset--color--neutral-500);
	border: 1px solid var(--wp--preset--color--neutral-white);
    border-radius: 5px;
	text-transform: uppercase;
	transform: skewX(-13deg);
}
.is-style-arrow-button-black .wp-element-button{
	--btnColor: var(--wp--preset--color--neutral-500);
	--btnColorHover: var(--wp--preset--color--neutral-500);
	--btnTextColor: var(--wp--preset--color--neutral-white);
	--btnTextColorHover: var(--wp--preset--color--neutral-white);
	border: 1px solid var(--wp--preset--color--neutral-500);
}

/*** HEADINGS ***/
.is-style-section_title{
	font-size: var(--wp--preset--font-size--display-sm);
	line-height: 110%;
	text-transform: uppercase;
	letter-spacing: 3px;
}
h1.is-style-section_title{
	font-size: var(--wp--preset--font-size--display-lg);
	letter-spacing: 0;
}
h3.is-style-section_title{
	font-size: var(--wp--preset--font-size--display-md);
}
.is-style-section_subtitle{
	font-size: var(--wp--preset--font-size--xl);
	font-weight: normal;
	line-height: 130%;
	letter-spacing: 2px;
}

/*** HELPERS ***/
.w-100{
	width: 100%;
}

/*** SEPARATOR ***/
.is-style-small_title_decoration{
	width: 40px;
	height: 1px;
	background: var(--wp--preset--color--neutral-200);
}
.is-style-big_title_decoration{
	width: 90px;
	height: 7px;
	margin-inline: 0 !important;
	background: var(--wp--preset--color--neutral-200);
}

/*** GRAVITY FORMS ***/
.gform_description:empty,
.gform_heading{
	display: none !important;
}
.form_wrapper .gform_wrapper.gravity-theme input[type=text],
.form_wrapper .gform_wrapper.gravity-theme input[type=email],
.form_wrapper .gform_wrapper.gravity-theme input[type=password],
.form_wrapper .gform_wrapper.gravity-theme input[type=tel],
.form_wrapper .gform_wrapper.gravity-theme input[type=number],
.form_wrapper .gform_wrapper.gravity-theme select,
.form_wrapper .gform_wrapper.gravity-theme textarea{
	border-radius: 0;
    height: 50px;
    border: 1px solid var(--wp--preset--color--neutral-100);
    background: var(--wp--preset--color--neutral-100);
    padding: 10px 20px;
	font-family: var(--wp--preset--font-family--montserrat);
}
.form_wrapper .gform_wrapper.gravity-theme .gfield_label{
	display: block;
	font-size: var(--wp--preset--font-size--md);
	font-weight: 400;
	margin-bottom: 10px;
	font-weight: normal;
}
.form_wrapper .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap: var(--wp--preset--spacing--ml);
}
.form_wrapper .gform_footer{
	justify-content: center;
	padding: 0 !important;
	margin-top:30px !important;
}
.form_wrapper .gform_footer .button{
	margin:0 !important;
}

.tag{
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap:10px;
}
.tag::before{
	content: '';
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--custom-color-500);
}

/*** HEADER ***/
header.wp-block-template-part{
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height: var(--header-height);
    z-index: 99;
}
.admin-bar header.wp-block-template-part{
	top:32px;
}
#main_header_wrapper{
	position: relative;
	z-index: 99;
}

#header_logo_wrapper{
	position: relative;
}
.wp-block-site-logo{
	transition: all 0.5s;
	opacity: 1;
}
#scroll_logo_white,
#scroll_logo_dark{
	position: absolute;
	top:-7px;
	left: -7px;
	margin: 0;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.5s;
}

.fixed_header {
	.wp-block-site-logo{
		opacity: 0;
		transform: translateY(-10px);
	}
	#scroll_logo_white{
		opacity: 1;
		transform: translateY(0);
	}
	#scroll_logo_dark{
		transform: translateY(0);
	}

	&.header_touch_footer:not(.menu_open){
		#scroll_logo_white{
			opacity: 0;
		}
		#scroll_logo_dark{
			opacity: 1;
		}
		#main_header_wrapper,
		.is-style-secondary-fill .wp-element-button{
			color:var(--wp--preset--color--neutral-500) !important;
		}

		.header_menu_wrapper {
			border: 1px solid rgba(0, 0, 0, 0.05);
			background-color: rgba(250, 252, 240, 0.2);
		}
	}
}

/*** HEADER MENU ***/
.header_menu_wrapper{
    padding: 5px 5px 5px 20px;
    border: .5px solid rgb(250 252 240 / 12%);
    border-radius: 99px;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.2);
}
#header_menu{
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 35px;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-family: var(--wp--preset--font-family--share-tech-mono);
}
#header_menu li{
	position: relative;
}
#header_menu > li >a{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
    text-decoration: none;
    color: currentColor;
    transition: all 0.3s;
}
#header_menu a:hover{
    color: var(--wp--preset--color--custom-color-500);
}
#header_menu .sub-menu{
	position: absolute;
	top: 100%;
	left: 0;
	width: 250px;
	padding:10px 15px;
	display: flex;
	flex-direction: column;
	list-style: none;
	border-radius: 8px;
	box-shadow: 0 5px 5px -5px rgba(0, 0, 0, 0.2);
	background: rgba(255,255,255, 0.3);
	backdrop-filter: blur(10px);
	transform: translateY(10px);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}
#header_menu > li:hover .sub-menu{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
}
#header_menu .sub-menu li{
	margin: 0;
}
#header_menu .sub-menu a{
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding: 5px 0;
	gap: 5px;
	text-decoration: none;
    color: currentColor;
}
#header_menu .sub-menu a:hover{
	color: var(--wp--preset--color--custom-color-500);
}

/*** MOBILE MENU COMPONENT ***/
#menu_trigger{
	position: relative;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	cursor: pointer;
}
#menu_trigger::after{
	content: '';
	position: absolute;
	top:calc(50% - 1px);
	left: calc(50% - 12.5px);
	width: 25px;
	height: 2px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger::after{
	transform: translateX(100%);
	opacity: 0;
}
#menu_trigger i{
	position: relative;
	display: block;
	width: 25px;
	height: 16px;
}
#menu_trigger i::before{
	content: '';
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 2px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger i::before{
	transform: translate(0px, 5px) rotate(45deg);
}
#menu_trigger i::after{
	content: '';
	position: absolute;
	bottom:0;
	left: 0;
	width: 100%;
	height: 2px;
	background:currentColor;
	transition:all 0.5s;
}
.menu_open #menu_trigger i::after{
	transform: translate(0px, -9px) rotate(-45deg);
}

#mobile_menu_container{
	position: fixed;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(10px);
	color: var(--wp--preset--color--neutral-white);
	padding: 0;
	z-index: 90;
	visibility: hidden;
	opacity: 0;
	transition: all 0.3s;
}
.menu_open #mobile_menu_container{
	visibility: visible;
	opacity: 1;
}
.mobile-menu__list{
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--s);
}
.mobile-menu__list{
	list-style: none;
	padding:15px 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	text-align: center;
	font-family: var(--wp--preset--font-family--share-tech-mono);
}
.mobile-menu__list a{
	text-decoration: none;
	color: currentColor;
}

.mobile-menu__list> li > *{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 5px 15px 5px 20px;
	font-size: 20px;
}

.submenu_trigger{
	display: inline-block;
	width: 25px;
	height: 25px;
	cursor: pointer;
	background-image: url('data:image/svg+xml;utf8,<svg height="512" viewBox="0 0 24 24" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m12 16a1 1 0 0 1 -.71-.29l-6-6a1 1 0 0 1 1.42-1.42l5.29 5.3 5.29-5.29a1 1 0 0 1 1.41 1.41l-6 6a1 1 0 0 1 -.7.29z"></path></g></svg>');
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
	transition: all 0.3s;
}
.open .submenu_trigger{
	transform: rotate(180deg);
}
#header_menu_mobile .sub-menu{
	position: relative;
	display: none;
	list-style: none;
	padding:5px 0;
	margin: 0;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.05);
}
#header_menu_mobile .sub-menu li a{
	display: block;
	padding: 5px 30px;
}

/*** FOOTER ***/
footer.wp-block-template-part{
	margin:0;
	overflow: hidden;
}
/*** COMPONENTS ***/
.stats_grid{
	backdrop-filter: blur(10px);
}
.stats_grid img{
	width:40px;
	min-width:40px;
}
.features_grid{
	backdrop-filter: blur(10px);
}
.features_grid img{
	width:40px;
	min-width:40px;
}
#hero_cover{
	width: calc(100% - 16px);
	margin: 0 auto;
	height: calc(100vh - 20px);
}
#hero_title{
	font-size: clamp(30px, 8vw, 125px) !important;
}
#hero_cover .wp-block-cover .wp-block-cover__inner-container{
	width: calc(100% - 16px);
    height: calc(100vh - 20px);
}
#hero_cover .wp-block-cover__inner-container{
	height: 100%;
    display: flex;
    align-items: flex-end;
}
#hero_digits{
	position: absolute;
    top: 40%;
    left: 50%;
    width: 100%;
    transform: translateY(-50%) translateX(-50%);
}
.page_hero{
	padding-top: 50vh !important;
}

/*** MARQUEE TEXT BLOCK ***/
/* Full width edge-to-edge */
.wp-block-gw-marquee-text {
	max-width: none;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.marquee-text-block {
	background: var(--wp--preset--color--neutral-500, #0F0F0F);
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
	overflow: hidden;
	padding: 0.4em 0;
}

.marquee-text__viewport {
	overflow: hidden;
	width: 100%;
}

.marquee-text__track {
	display: flex;
	flex-wrap: nowrap;
	white-space: nowrap;
	animation: marquee-scroll-text 50s linear infinite;
	width: max-content;
}

.marquee-text__phrase {
	display: inline-block;
	flex-shrink: 0;
	font-size: clamp(2.5rem, 25vw, 8rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.02em;
	padding-right: 0.4em;
}

.marquee-text-block[data-marquee-empty] .marquee-text__placeholder {
	font-size: clamp(1.25rem, 4vw, 2rem);
	opacity: 0.6;
	display: block;
	padding: 0.5em 1rem;
}

/* Text marquee: 5 copies, loop every -20% (one copy) */
@keyframes marquee-scroll-text {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-20%);
	}
}

/* Logos marquee: 2 copies, loop every -50% (one copy) */
@keyframes marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/*** LOGOS MARQUEE BLOCK ***/
.wp-block-gw-logos-marquee {
	max-width: none;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.logos-marquee-block {
	background: var(--wp--preset--color--neutral-500, #0F0F0F);
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
	overflow: hidden;
	padding: 1.5rem 0;
}

.logos-marquee__viewport {
	overflow: hidden;
	width: 100%;
}

.logos-marquee__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 3rem;
	animation: marquee-scroll 30s linear infinite;
	width: max-content;
}

.logos-marquee__group {
	display: inline-flex;
	align-items: center;
	gap: 3rem;
}

.logos-marquee__item {
	flex: 0 0 auto;
	min-width: 0;
}

.logos-marquee__logo {
	display: block;
	height: 90px;
	width: auto;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.8;
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.logos-marquee__logo:hover {
	filter: grayscale(0);
	opacity: 1;
}

.logos-marquee-block[data-logos-marquee-empty] .logos-marquee__placeholder {
	font-size: clamp(1rem, 3vw, 1.5rem);
	opacity: 0.6;
	display: block;
	padding: 0.5em 1rem;
}

/*** GALLERY GRID BLOCK ***/
.gallery-grid-block {
	background: var(--wp--preset--color--neutral-500, #0F0F0F);
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
	padding: var(--wp--preset--spacing--xl, 2rem) 0;
}

.gallery-grid__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: var(--wp--preset--spacing--l, 1.5rem);

	/* Esconde la barra de scroll de forma visual pero mantiene el scroll funcional */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none;  /* IE y Edge */
	overflow: auto;
}
.gallery-grid__filters::-webkit-scrollbar {
	display: none; /* Safari y Chrome */
}

.gallery-grid__filter {
	appearance: none;
	border: none;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--wp--preset--color--neutral-white, #FAFCF0);
    padding: 13px 24px;
    font-size: 13px;
    font-family: var(--wp--preset--font-family--share-tech-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
	white-space: nowrap;
    transition: all 0.3s;
}

.gallery-grid__filter:hover,
.gallery-grid__filter.is-active {
	background: rgba(255, 255, 255, 0.1);
}

.gallery-grid__filter.is-active {
	background: var(--wp--preset--color--neutral-white, #FAFCF0);
	color: var(--wp--preset--color--neutral-500, #0F0F0F);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--l, 1.5rem);
}

.gallery-grid__card {
	position: relative;
	display: flex;
    flex-direction: column;
    border-radius: 45px 45px 0 45px;
    background: rgba(0,0,0,0.4);
    overflow: hidden;
    cursor: pointer;
}

.gallery-grid__card:hover {
	border-color: rgba(255, 255, 255, 0.15);
}

.gallery-grid__card-image {
	position: relative;
    aspect-ratio: 4 / 4.5;
    overflow: hidden;
}

.gallery-grid__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%);
	transition: filter 0.4s, transform 0.4s;
}

.gallery-grid__card:hover .gallery-grid__card-image img {
	filter: grayscale(0);
	transform: scale(1.05);
}

.gallery-grid__card-placeholder {
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.05);
}

.gallery-grid__card-body {
	padding: var(--wp--preset--spacing--m) var(--wp--preset--spacing--m) 50px var(--wp--preset--spacing--m);
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
}

.gallery-grid__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--xl, 1.25rem);
	font-weight: 500;
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
}

.gallery-grid__subtitle {
	margin: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	opacity: 0.7;
	color: var(--wp--preset--color--neutral-white);
    font-family: var(--wp--preset--font-family--share-tech-mono);
}

.gallery-grid__btn {
	position: absolute;
	bottom: 0;
	right: 0;
	border-radius: 8px 0 8px 0;
	appearance: none;
	border: none;
	background: var(--wp--preset--color--neutral-500);
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
	padding: 20px 55px 15px 25px;
	font-size: 12px;
	text-transform: uppercase;
    font-family: var(--wp--preset--font-family--share-tech-mono);
	letter-spacing: 1px;
	cursor: pointer;
	transition: opacity 0.3s;
}
.gallery-grid__btn::after{
	content: '';
	position: absolute;
	top: 5px;
	right: 0;
	width: 40px;
	height: 40px;
	background-image: url(../images/button_green_arrow.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.gallery-grid__btn:hover {
	opacity: 0.9;
}

.gallery-grid__empty {
	margin: 0;
	grid-column: 1 / -1;
	text-align: center;
	opacity: 0.7;
}

/* Gallery popup */
.gallery-popup {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.gallery-popup.is-open {
	display: flex;
}

.gallery-popup.is-open .gallery-popup__overlay {
	animation: gallery-popup-overlay-fadein 0.35s ease-out forwards;
}

.gallery-popup.is-open .gallery-popup__container {
	animation: gallery-popup-container-fadein 0.4s ease-out 0.05s both;
}

@keyframes gallery-popup-overlay-fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes gallery-popup-container-fadein {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.gallery-popup__content.is-navigating {
	opacity: 0;
	transition: opacity 0.2s ease-out;
}

.gallery-popup__content:not(.is-navigating) {
	opacity: 1;
	transition: opacity 0.25s ease-out;
}

.gallery-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(8px);
}

.gallery-popup__container {
	position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    background: var(--wp--preset--color--neutral-500, #0F0F0F);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding: 70px 100px;
}

.gallery-popup__close {
	position: absolute;
    top: 40px;
    right: 40px;
    font-family: var(--wp--preset--font-family--share-tech-mono);
    z-index: 2;
    appearance: none;
    border: none;
    background: none;
    color: var(--wp--preset--color--neutral-white, #FAFCF0);
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-popup__close:hover {
	opacity: 0.8;
}

.gallery-popup__nav {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
	background-image: url(../images/left-arrow-white.svg);
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	transition: background 0.3s;
}
.gallery-popup__content .wp-block-button{
	display: flex;
	gap:10px;
}

.gallery-popup__nav--prev {
	left: 10px;
}

.gallery-popup__nav--next {
	right: 10px;
	transform: translateY(-50%) rotate(180deg);
}

.gallery-popup__content {
	display: flex;
	width: 100%;
	max-height: calc(100vh - 140px);
	overflow: auto;
}

.gallery-popup__media {
	flex: 0 0 42%;
	min-width: 0;
}

.gallery-popup__image {
	width: 100%;
	aspect-ratio: 10 / 15;
	object-fit: cover;
	border-radius: 30px;
}

.gallery-popup__details {
	flex: 1;
	padding: var(--wp--preset--spacing--xl, 2rem);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.gallery-popup__details-header{
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gallery-popup__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--display-sm, 2rem);
	font-weight: 700;
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
}

.gallery-popup__subtitle {
	margin: 0;
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--wp--preset--color--custom-color-500, #00d4aa);
    font-family: var(--wp--preset--font-family--share-tech-mono);
}

.gallery-popup__description,
.gallery-popup__data {
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
	font-size: 15px;
	line-height: 1.6;
}
.gallery-popup__data p{
	font-size: 13px;
	margin:0 0 10px 0;
	color:rgba(255, 255, 255, 0.7);
}
.gallery-popup__data p strong{
	color:#FFF;
}
.gallery-popup__description p:last-child,
.gallery-popup__data p:last-child {
	margin-bottom: 0;
}


.gallery-popup__contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 12px 24px;
	border: 1px solid var(--wp--preset--color--neutral-white, #FAFCF0);
	border-radius: 8px;
	background: transparent;
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
	text-decoration: none;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: background 0.3s, color 0.3s;
	align-self: flex-start;
}

.gallery-popup__contact:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--wp--preset--color--neutral-white, #FAFCF0);
}

body.gallery-popup-open {
	overflow: hidden;
}

.comparative_table{
	background-color:rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 24px;
	border:1px solid rgba(255, 255, 255, 0.1);
}
.comparative_table_header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}
.table_row{
	padding: 20px;
	border-bottom:1px solid rgba(255, 255, 255, 0.1);
}
.gallery_item .wp-block-image{
	border-radius:44px 44px 0 0;
}

.image-parallax{
	border-radius: 40px;
}
#home_gallery_section{
	margin-top:50px;
}

/*** MEDIA QUERIES ***/
@media (max-width: 992px) {
	:root {
		--header-height: 73px;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-popup__content {
		flex-direction: column;
	}

	.gallery-popup__media {
        flex: 0 0 auto;
        max-height: 40vh;
        overflow: hidden;
        aspect-ratio: 1;
		position: relative;
    }
	.gallery-popup__image {
		aspect-ratio: 1 / 1;
		border-radius: 16px;
	}
	.gallery-popup__details {
		margin-top: 30px;
		padding: 0 !important;
	}
	.gallery-grid__filters {
		display: flex;
		flex-wrap: nowrap;
		overflow: auto;
	}
	.wp-block-site-logo{
		max-width: 110px;
	}
	#main_header{
		margin: 0 auto;
        width: calc(100% - 30px);
        padding: 8px 8px 8px 16px;
        border: 1px solid #363737;
        border-radius: 99px;
        backdrop-filter: blur(10px);
        background-color: rgba(0, 0, 0, 0.2);
        gap: 0;
	}
	.header_menu_wrapper{
		padding: 0;
		border: none;
		background: none;
		backdrop-filter: initial;
		width: calc(100% - 144px);
		justify-content: space-between;
	}
	.has-display-lg-font-size{
		font-size: 30px !important;
	}
	.stats_grid{
		--wp--preset--spacing--ml:24px;
	}
	.stats_grid > *{
		border-right:none !important;
	}
	#header_menu{
		display: none !important;
	}
	.page_content_wrapper{
		overflow: hidden;
	}
	#footer_logo_wrapper{
		margin-top:10px !important;
	}
	#hero_cover{
		aspect-ratio: 10/13 !important;
	}
	#hero_cover h1{
		font-size: 43px !important;
	}
	.wp-container-core-group-is-layout-ae77440a {
		padding-top: 90px !important;
	}
	.fixed_header {
		&.header_touch_footer:not(.menu_open) {
			.header_menu_wrapper {
				border: none;
				background: none;
				backdrop-filter: initial;
			}
			#main_header{
				border: 1px solid rgba(0, 0, 0, 0.05);
				background-color: rgba(250, 252, 240, 0.2);
			}
		}
	}
	#scroll_logo_dark img,
	#scroll_logo_white img{
		width: 43px !important;
	}
	#hero_numerologia .wp-block-heading{
		font-size: 24px !important;
	}

	.gallery-popup__container {
		padding: 70px 20px;
	}
	#hero_buttons{
		justify-content: center !important;
    	flex-wrap: nowrap !important;
	}
	#hero_buttons .wp-element-button{
		padding: 10px 5px !important;
	}
	#home_gallery_section{
		margin-top:0;
	}
	#hero_cover{
		padding-bottom: 110px !important;
	}

	#hero_digits{
		top: 30%;
	}
	#impacto_box_2{
		border-width: 0 1px !important;
		border-color:var(--wp--preset--color--neutral-300) !important;
	}
	#box_1{
		border-radius: 44px 0 0 0 !important;
	}
	#box_2{
		border-width: 0 1px !important;
		border-radius: 0 !important;
	}
	#box_3{
		border-radius: 0 0 44px 0 !important;
	}
	.wp-elements-d2d70ecc63a305f4471e7cd46fd51cd3{
		font-size: 26px !important;
	}
	.wp-elements-8ff30a19cabc13db79915e743538a9b6,
	.wp-elements-a9038eca6222ba82affb264c3a11a6d5,
	.wp-elements-7c50fe30f649c39a6b771a0509213581{
		text-align: left !important;
	}
	.page_hero {
		padding-top: 40vh !important;
	}
	.wp-container-core-group-is-layout-b4a362eb > *{
		border:none !important;
	}
	#tech_table figure{
		margin-left:0 !important;
		margin-right:0 !important;
	}
}

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