/*!
Theme Name: Aeroservicios
Theme URI: https://aeroservicios.com/
Author: aeroservicios
Author URI: https://aeroservicios.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aeroservicios
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Start Reset Stying */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap');

:root {
	--color-primary: #0C456F;
	--color-secondary: #F26434;
	--color-sky: #37B5DF;
	--color-black: #000000;
	--color-dark: #0D0D0D;
	--color-metal: #545663;
	--color-light: #D9D9D9;
	--color-grey: #595959;
	--color-white: #FFFFFF;
	--size-168: 168px;
	--size-144: 144px;
	--size-120: 120px;
	--size-96: 96px;
	--size-84: 80px;
	--size-72: 72px;
	--size-64: 64px;
	--size-56: 56px;
	--size-48: 48px;
	--size-40: 40px;
	--size-32: 32px;
	--size-24: 24px;
	--size-18: 18px;
	--size-16: 16px;
	--size-14: 14px;
	--size-12: 12px;
	--size-8: 8px;
	--container: clamp(46.5rem, -3.04rem + 103.209vw, 94.75rem);
	--clamp-132-72: clamp(4.5rem, 0.66rem + 8.011vw, 8.25rem);
	--clamp-120-60: clamp(3.75rem, -0.09rem + 8.011vw, 7.5rem);
	--clamp-80-40: clamp(2.5rem, -0.06rem + 5.34vw, 5rem);
	--clamp-64-36: clamp(2.25rem, 0.458rem + 3.738vw, 4rem);
	--clamp-52-30: clamp(1.875rem, 0.467rem + 2.937vw, 3.25rem);
	--clamp-48-24: clamp(1.5rem, -0.036rem + 3.204vw, 3rem);
	--clamp-36-24: clamp(1.5rem, 0.732rem + 1.602vw, 2.25rem);
	--clamp-24-16: clamp(1rem, 0.488rem + 1.068vw, 1.5rem);
	--body-text: var(--size-16);
	--h1-heading: clamp(2rem, 0.592rem + 2.937vw, 3.375rem);
	--h2-heading: clamp(1.75rem, 0.854rem + 1.869vw, 2.625rem);
	--h3-heading: clamp(1.375rem, 0.735rem + 1.335vw, 2rem);
	--h4-heading: clamp(1.25rem, 0.994rem + 0.534vw, 1.5rem);
	--h5-heading: clamp(1.125rem, 0.997rem + 0.267vw, 1.25rem);
	--h6-heading: var(--size-16);
	--small-text: var(--size-14);
	--medium-text: clamp(1.125rem, 0.997rem + 0.267vw, 1.25rem);
	--large-text: clamp(1.25rem, 0.994rem + 0.534vw, 1.5rem);
	--extra-large-text: clamp(1.5rem, 0.988rem + 1.068vw, 2rem);
	--font-body: "Poppins", sans-serif;
	--font-heading: "Poppins", sans-serif;
	--td-3: all 0.3s ease;
	--td-5: all 0.5s ease;
}

html,
body,
p,
a,
li,
ul,
ol,
dl,
dt,
dd {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--font-body);
	font-size: var(--body-text);
	font-weight: 300;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.2;
	color: var(--color-dark);
}

h1 {
	font-size: var(--h1-heading);
}

h2 {
	font-size: var(--h2-heading);
}

h3 {
	font-size: var(--h3-heading);
}

h4 {
	font-size: var(--h4-heading);
}

h5 {
	font-size: var(--h5-heading);
}

h6 {
	font-size: var(--h6-heading);
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: var(--td-3);
}

.small-text {
	font-size: var(--small-text);
}

.large-text {
	font-size: var(--large-text);
}

.large-text a {
	font-size: var(--large-text);
	font-weight: 500;
	color: var(--color-dark);
}

a:hover {
	color: var(--color-secondary);
	text-decoration: none;
}

.medium-weight {
	font-weight: 500;
}

div {
	box-sizing: border-box;
}

.container,
.kb-theme-content-width {
	max-width: var(--container) !important;
	margin: 0 auto;
	padding-left: var(--size-12) !important;
	padding-right: var(--size-12) !important;
}

/* End Reset Stying */
/* Start Buttons Styling */
.btn,
.wp-block-button a,
a.kb-button.button,
.nav-btn a {
	display: inline-block;
	width: auto;
	font-size: var(--size-16);
	line-height: normal;
	font-weight: 500;
	padding: var(--size-18) var(--size-24);
	background: var(--color-secondary);
	color: var(--color-white);
	text-decoration: none;
	transition: var(--td-5);
	border-radius: var(--size-8);
	cursor: pointer;
}

.nav-btn a,
a.kb-button.button.kt-btn-size-small {
	padding: var(--size-12) !important;
}

a.kb-button.button.white-btn {
	background: var(--color-white);
	color: var(--color-dark);
}

.btn:after,
.wp-block-button a:after,
a.kb-button.button:after {
	content: "";
	background-color: var(--color-white);
	mask: url(src/images/right-arrow-white-flat-icon.svg);
	mask-repeat: no-repeat;
	mask-size: contain;
	width: var(--size-12);
	height: var(--size-12);
	display: inline-block;
	margin-left: var(--size-8);
	transition: var(--td-5);
}

.btn:hover,
.wp-block-button a:hover,
a.kb-button.button:hover,
.nav-btn a:hover {
	background: var(--color-sky);
	color: var(--color-white);
	text-decoration: none;
}

a.kb-button.button.white-btn:not(:hover):after {
	background-color: var(--color-dark);
}

.icon-btn {
	background: var(--color-secondary);
	padding: var(--size-12);
	border-radius: var(--size-8);
	cursor: pointer;
	transition: var(--td-5);
}

.icon-btn:hover {
	background: var(--color-sky);
}

.icon-btn-white {
	padding: 12px 16px !important;
}

.icon-btn-white:after {
	margin: 0px !important;
}

.icon-btn-white:not(:hover) {
	background: white !important;
	color: var(--color-secondary) !important;
}

.icon-btn-white:after {
	background-color: var(--color-secondary) !important;
	mask: url(/wp-content/themes/aeroservicios/src/images/right-arrow-white-flat-icon.svg) !important;
	mask-repeat: no-repeat !important;
	mask-size: contain !important;
	width: 7px !important;
	height: 13px !important;
}

.icon-btn-white:hover:after {
	background-color: var(--color-white) !important;
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)),
.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
	--gf-local-bg-color: var(--color-secondary) !important;
	transition: var(--td-5) !important;
}

.gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]).button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper input:is([type=submit], [type=button], [type=reset]):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover,
.gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):hover {
	--gf-local-bg-color: var(--color-sky) !important;
}

@media(width < 1024px) {
	.nav-btn a {
		background: var(--color-white);
		color: var(--color-primary) !important;
		border: 0 !important;
		width: calc(100% - (2 * var(--clamp-24-16)));
		margin: var(--clamp-24-16) auto;
	}

	.nav-btn a:hover {
		background: var(--color-primary) !important;
		color: var(--color-white) !important;
		border: 0;
	}
}

/* End Buttons Styling */
/* Start Header Styling */
header {
	background: var(--color-primary);
}

header nav .menu-item a:not(:hover) {
	color: var(--color-white)
}

header nav .menu-item a {
	padding: var(--size-12) 0;
	display: block;
}

header .nav-cart-count {
	background: var(--color-secondary);
	color: var(--color-white);
}

header nav .menu-item:has(.sub-menu)>a:after {
	content: "";
	background-color: var(--color-white);
	mask: url(/aeroservicios/wp-content/themes/aeroservicios/src/images/right-arrow-white-flat-icon.svg);
	mask-repeat: no-repeat;
	mask-size: contain;
	width: 14px;
	height: 14px;
	display: inline-block;
	margin-left: var(--size-8);
	rotate: 90deg;
	transform: translate(6px, 0px);
	transition: var(--td-5);
}

@media(width > 1360px) {
	header .header-nav {
		order: 3;
	}
}

@media(width < 1360px) {
	.header-container {
		flex-wrap: wrap;
		justify-content: space-between;
	}

	header .header-logo {
		width: calc(25% - 12px);
	}

	header .header-nav {
		width: calc(75% - 12px);
	}

	header .header-search {
		width: 100%;
	}
}

@media(width > 1023px) {

	header nav .menu-item.current-menu-item:not(.nav-btn)>a,
	header nav .menu-item.current-menu-parent>a {
		color: var(--color-secondary);
	}

	header nav .menu-item {
		position: relative;

		&:hover .sub-menu {
			display: block;
		}
	}

	header nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		width: auto;
		min-width: 260px;
		background: var(--color-secondary);
		border-radius: var(--size-8);
		display: none;
		overflow: hidden;
	}

	header nav .sub-menu .menu-item a {
		border-bottom: 1px solid #FFFFFF22;
		transition: var(--td-5);
		display: block;
		padding: var(--clamp-24-16);
	}

	header nav .menu-item.current-menu-parent .sub-menu .menu-item.current-menu-item>a,
	header nav .menu-item .sub-menu .menu-item>a:hover {
		color: var(--color-white);
		border-color: var(--color-white);
		background: #00000020;
	}

	header nav .menu-item:has(.sub-menu)>a:hover:after,
	header nav .menu-item.current-menu-item>a:after,
	header nav .menu-item.current-menu-parent>a:after {
		background-color: var(--color-secondary);
	}
}

@media(width < 1024px) {
	header {
		overflow-x: hidden;
		position: relative;
	}

	header .header-logo {
		width: calc(65% - 12px);
	}

	header .header-nav {
		width: calc(35% - 12px);
	}

	header .header-nav nav {
		position: fixed;
		top: 0;
		right: -300px;
		bottom: 0;
		width: 300px;
		background: var(--color-secondary);
		z-index: 999;
		transition: var(--td-5);
	}

	header .menu-bg {
		background: #00000066;
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100%;
		transition: var(--td-5);
		z-index: 998;
	}

	header .header-nav nav.active,
	header .menu-bg.active {
		right: 0;
	}

	header .header-nav nav ul {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		width: 100%;
		gap: 0;
		margin-top: var(--size-64);
	}

	header .header-nav nav ul li {
		width: 100%;
	}

	header .header-nav nav ul a {
		border-bottom: 1px solid #FFFFFF22;
		transition: var(--td-5);
		display: flex;
		padding: var(--clamp-24-16);
		align-items: center;
	}

	header .header-nav nav ul a:hover,
	header nav .menu-item.current-menu-item>a {
		color: #FFF;
		color: #FFF;
		border-color: var(--color-white);
		border-color: var(--color-white);
		background: #00000020;
		background: #00000020;
	}

	header nav .menu-item.current-menu-parent .sub-menu .menu-item>a {
		padding-left: var(--clamp-48-24);
	}

	header nav .menu-item .sub-menu .menu-item>a:before {
		content: "";
		background: url(/wp-content/themes/aeroservicios/src/images/right-arrow-white-flat-icon.svg);
		background-repeat: no-repeat;
		width: 14px;
		height: 14px;
		display: inline-block;
		margin-left: var(--size-12);
	}

	header .close-menu {
		position: fixed;
		top: var(--size-32);
		right: var(--size-18);
		background: var(--color-primary);
		z-index: 9999;
	}

	header .close-menu.active {
		display: block;
	}
}

/* End Header Styling */

/* Start Footer Styling */
footer.site-footer {
	background: var(--color-primary);
	padding-top: var(--size-72);
	/* padding-bottom: var(--size-40); */
	color: var(--color-white);
}

footer .footer-main {
	padding-bottom: var(--size-40);
}

footer .footer-columns {
	display: flex;
	column-gap: var(--clamp-24-16);
	row-gap: var(--clamp-52-30);
	flex-wrap: wrap;
	justify-content: space-between;
}

footer .footer-columns>* {
	width: 100%;
}

footer .footer-col-1 {
	max-width: 340px
}

footer .footer-col-2 {
	max-width: 108px
}

footer .footer-col-3 {
	max-width: 200px
}

footer .footer-col-4 {
	max-width: 184px
}

footer .footer-col-5 {
	max-width: 410px
}

footer .footer-col .widgettitle,
footer .footer-col .gform_title {
	font-size: var(--size-16);
	font-weight: 600;
	letter-spacing: 1px;
	margin-bottom: var(--clamp-36-24);
	color: var(--color-white);
	text-transform: uppercase;
}

footer .footer-col p {
	color: var(--color-white);
	margin-bottom: var(--size-24);
}

footer .footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

footer .footer-col ul li a {
	color: var(--color-sky);
	display: block;
	padding: var(--size-12) 0;
	transition: var(--td-3);
}

footer .footer-col ul li a:hover {
	color: var(--color-white);
}

footer .footer-social-icons {
	display: flex;
	gap: var(--size-24);
	margin-top: var(--size-24);
}

footer .footer-social-icons a {
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-white);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: var(--td-3);
}

footer .footer-social-icons a:hover {
	background: var(--color-white);
	color: var(--color-primary);
}

footer .footer-newsletter {
	display: flex;
	gap: var(--size-12);
}

footer .footer-newsletter input {
	padding: var(--size-16);
	border-radius: var(--size-8);
	border: none;
	width: 100%;
}

footer .footer-newsletter button {
	background: var(--color-secondary);
	border: none;
	color: var(--color-white);
	padding: var(--size-16) var(--size-24);
	border-radius: var(--size-8);
	font-weight: 600;
	cursor: pointer;
	transition: var(--td-3);
}

footer .footer-newsletter button:hover {
	background: var(--color-sky);
}

footer .footer-bottom {
	background: var(--color-dark);
	padding: var(--size-16);
}

footer .footer-bottom p {
	color: var(--color-light);
	font-size: var(--size-14);
}

footer .wp-block-social-links li.wp-social-link a {
	padding: var(--size-12);
	border: 1px solid #FFF;
	border-radius: 100%;
	font-size: 22px;
}

footer .wp-block-social-links li.wp-social-link:hover {
	transform: none;
}

footer .wp-block-social-links li.wp-social-link:hover a {
	border: 1px solid #FFF;
	background: #FFF;
}

footer .wp-block-social-links li.wp-social-link:hover a svg {
	fill: var(--color-primary) !important;
}

footer .gform-theme form {
	display: flex;
	gap: var(--size-8);
}

footer .footer-columns .gform-body {
	width: 100%;
}

footer .gform-theme form * {
	margin: 0 !important;
}

@media(width < 767px) {
	footer .footer-col {
		max-width: none;
	}

	footer .footer-col:not(:nth-last-child(1)) {
		border-bottom: 1px solid #FFFFFF20;
		padding-bottom: var(--clamp-64-36);
	}
}

/* End Footer Styling */

/* Start Icon Menu Styling */
.icon-whatsapp a:before {
	background-image: url("src/images/whatsapp-icon.svg");
}

.icon-email a:before {
	background-image: url("src/images/mail-icon.svg");
}

.icon-phone a:before {
	background-image: url("src/images/phone-icon.svg");
}

.icon-form a:before {
	background-image: url("src/images/form-icon.svg");
}

.menu *[class^="icon-"] a:before {
	content: '';
	background-repeat: no-repeat;
	background-size: contain;
	width: 24px;
	height: 24px;
	display: inline-block;
	margin-right: var(--size-8);
	vertical-align: middle;
}

/* End Icon Menu Styling */
/* --------------------------------------------------------------------------
   Homepage client logo grid ("Some of Our Clients")

   Keyed to the fixed class "aero-logo-grid", set on the core Gallery block
   under Block > Advanced > Additional CSS class(es). Never key this to a
   block's auto-generated ID: those change whenever the block is re-created,
   copied or wrapped, which is what broke the Sep 2026 Customizer rule.

   Every tile is the same size and each logo is scaled to fit inside it, so
   a new logo of any shape lands in line with the others. Core gallery
   extras that fight a uniform grid are neutralized: last-row stretching,
   per-image "full width"/wide alignment, and cropping.
   -------------------------------------------------------------------------- */
.wp-block-gallery.aero-logo-grid {
	display: grid !important;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 24px 22px !important;
	align-items: stretch;
}
.wp-block-gallery.aero-logo-grid > figure.wp-block-image,
.wp-block-gallery.aero-logo-grid > figure.wp-block-image.alignfull,
.wp-block-gallery.aero-logo-grid > figure.wp-block-image.alignwide {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	flex: none !important;
	height: 104px;
	padding: 14px;
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
}
.wp-block-gallery.aero-logo-grid > figure.wp-block-image img {
	position: static !important;
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 72px !important;
	object-fit: contain !important;
	flex: none !important;
}
.wp-block-gallery.aero-logo-grid > figure.wp-block-image figcaption {
	display: none;
}
@media (max-width: 1024px) {
	.wp-block-gallery.aero-logo-grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.wp-block-gallery.aero-logo-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px 10px !important;
	}
	.wp-block-gallery.aero-logo-grid > figure.wp-block-image,
	.wp-block-gallery.aero-logo-grid > figure.wp-block-image.alignfull,
	.wp-block-gallery.aero-logo-grid > figure.wp-block-image.alignwide {
		height: 78px;
		padding: 9px;
	}
	.wp-block-gallery.aero-logo-grid > figure.wp-block-image img {
		max-height: 54px !important;
	}
}


/* Status stays available in ACF/admin and inventory visibility rules.
   Hide only the three requested frontend displays; table/PDF stay unchanged. */
.home .status-badge,
.aero-grid-card .status-badge,
.single-product .product-specs-table .spec-row.status {
	display: none !important;
}
