/* Variables globales */
:root {
    /* Colores principales */
    --avila-green: #0ce66f;
    --avila-green-alt: #00944b;
    --white: #ffffff;
    --black: #000000;
    --dark-gray: #353535;
    --medium-gray: #f5f5f5;
    --light-gray: #ececec;
    --light-gray-alt: #e3e3e3;
    --extra-light-gray: #e6e6e6;
    --text-gray: #616161;
    --form-gray: #d4d4d4;
    --text-form: #6c6c6c;
    --footer-gray: #272727;

    /* Colores con transparencia */
    --dark-overlay: rgba(0, 0, 0, 0.5);
    --medium-overlay: rgba(0, 0, 0, 0.15);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);

    /* Fuentes */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Oswald', sans-serif;
    --font-tertiary: 'Lato', sans-serif;
    --font-logo: 'Noto Sans', 'Arial', sans-serif;

}

/* Reseteo básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 15px;
}
html {
    font-size: 16px;
}


/* ==============================================================================================
   SECCIÓN DE Header
============================================================================================== */ 

.main-header {
    background-color: transparent;
    padding: 38px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    border-top: none;
    margin: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Estilos para el header cuando se hace scroll */
.main-header.scrolled {
    background-color: var(--header-bg-scrolled);
    padding: 10px 0;
    box-shadow: 0 2px 10px var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-top: none;
    margin: 0;
}

/* Estilos del logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1001;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: height 0.3s ease;
}

.main-header.scrolled .logo img {
    height: 60px;
}

.logo-container span {
    display: none;
}

.logo-container p {
    font-family: var(--font-logo);
    font-size: 0.95rem;
    font-weight: 550;
    margin-top: -9px;
    text-align: center;
    color: var(--white);
    letter-spacing: 0.00625rem;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.main-header.scrolled .logo-container p {
    color: var(--text-form);
    font-size: 0.9rem;
    letter-spacing: 0.005rem;
}

/* Estilos del menú principal */
.menu-container {
    margin-left: -15px;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -10px;
}

.main-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin: 0 18px;
    position: relative;
}

.main-menu a {
    font-family: var(--font-tertiary);
    font-weight: 700;
    text-transform: capitalize;
    font-size: 0.75rem;
    color: var(--white);
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
    letter-spacing: 0.04em;
    position: relative;
    padding: 0px 0px 25px;
    margin-top: 5px;
}

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: transparent;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.main-menu li.active a,
.main-menu a:hover {
    color: #37c881;
}

.main-menu li.active a::after,
.main-menu a:hover::after {
    width: 18px;
    background-color: var(--white);
}

.main-header.scrolled .main-menu a {
    color: var(--text-gray);
    margin-top: 15px;
}

.main-header.scrolled .main-menu li.active a,
.main-header.scrolled .main-menu a:hover {
    color: var(--avila-green-alt);
}

.main-header.scrolled .main-menu li.active a::after,
.main-header.scrolled .main-menu a:hover::after {
    background-color: var(--avila-green-alt);
}

/* Estilos de certificación y redes sociales */
.right-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
    margin-right: 20px;
    transition: margin 0.3s ease;
}

.main-header.scrolled .right-header {
    margin-top: 0;
}

.logo-cert img {
    max-height: 60px;
    margin-right: 70px;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.main-header.scrolled .logo-cert img {
    max-height: 55px;
    margin-top: -10px;
}

.social-icons {
    display: flex;
    align-items: center;
    margin-top: -5px;
    transition: margin 0.3s ease;
}

.main-header.scrolled .social-icons {
    margin-top: -10px;
}

.social-icon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Botón de menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
    transition: color 0.3s ease;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.main-header.scrolled .menu-toggle .bar {
    background-color: var(--text-gray);
}

.menu-open .menu-toggle .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-open .menu-toggle .bar:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* ==============================================================================================
   BANNER - BXSLIDER
============================================================================================== */

.bxslider {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bxslider li {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

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

.bx-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important; 
    padding: 0;
    border: none !important; 
    box-shadow: none !important; 
    background: transparent !important;

}

.bx-viewport {
    height: 100% !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    transform: none !important;
}


/* Estilos del banner */
.banner-section {
    position: relative;
    height: 89vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
    z-index: 1;
}

.banner-section .bx-wrapper{
    position: relative;
    z-index: 1;
}

.banner-content {
    position: absolute;
    z-index: 2;
}

.banner-heading {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 3.3rem;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px var(--shadow-dark);
    line-height: 1.2;
    letter-spacing: 0.125rem;
}
.

.banner-heading .highlight {
    color: var(--avila-green);
    display: inline;
}

.banner-subheading {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 2rem;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 1px 1px 3px var(--shadow-dark);
    letter-spacing: 0.125rem;
}

.banner-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.banner-arrow {
    position: absolute;
    width: 95px;
    height: 90px;
    cursor: pointer;
    top: 50%;
    transform: translateY(-55%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    outline: none;
    display: block;
    font-size: 0;
    line-height: 0;
    padding: 0;
    margin: 0;
    text-align: center;
    background-color: transparent;
    color: transparent;
}

.banner-arrow.prev {
    left: 7.5%;
    background-image: url('../images/Header/flecha_izquierda.png');
    filter: brightness(2.5);
}

.banner-arrow.next {
    right: 7.5%;
    background-image: url('../images/Header/flecha_derecha.png');
    filter: brightness(4.5);
}

.marca-overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 10;
    width: auto;
    height: 220px;
    opacity: 1;
    pointer-events: none;
}

/* ==============================================================================================
   SECCIÓN DE HOME
============================================================================================== */ 
.categories-section {
    padding: 0;
    background-color: transparent;
    position: relative;
    margin-top: -140px;
    z-index: 10;
}

.categories-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 75px;
    margin: 0 auto;
}

.category-item {
    width: 290px;
    height: 290px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}


.category-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.category-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
}

.category-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 1;
    margin: 0;
    margin-top: -10px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.category-subtitle {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 2.6rem;
    line-height: 1;
    margin: 0;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Sección de bienvenida */
.welcome-section {
    padding: 95px 50px 60px;
    background-color: var(--white) !important;
}

.welcome-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--white) !important;
    max-width: 1110px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

.welcome-content {
    flex: 1;
    padding-right: 50px;
    background-color: var(--white) !important;
}

.welcome-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--avila-green-alt);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    width: 100%;
    display: block;
}

.welcome-title::after {
    content: '';
    display: block;
    width: 95%;
    height: 8px;
    background-color: var(--extra-light-gray);
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.welcome-description {
    margin-bottom: 2rem;
}

.welcome-points {
    margin-bottom: 2rem;
    margin-top: 20px;
    margin-right: 20px;
    max-width: 100%;
}

.welcome-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.8rem;
    margin-left: 7px;
}

.welcome-point-icon {
    width: 17px;
    height: 17px;
    margin-right: 12px;
    flex-shrink: 0;
    display: block;
    background-image: url('../images/Home/lista_cuadrado.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.welcome-point p {
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.00625rem;
    color: var(--text-gray);
    margin: 0;
    max-width: 95%;
    margin-top: -4px;
}

.welcome-image {
    flex: 1;
    text-align: center;
    max-width: 100%;
    margin-top: -20px;
}

.welcome-image img {
    max-width: 105%;
    height: 100%;
    width: auto;
    margin: 0;
    border-radius: 10px;
    box-shadow: none !important;
    filter: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

/* ==============================================================================================
   SECCIÓN DE FOOTER
============================================================================================== */

.partners-section {
    padding: 60px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.partners-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 37px;
    max-width: 1100px;
    margin: 0 auto;
}

.partner-box {
    background-color: var(--light-gray-alt);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 104px;
    width: 100%;
    max-width: 325px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: transform 0.3s ease;
}

.partner-box img {
    max-height: 56px;
    max-width: 85%;
    object-fit: contain;
}

.contact-info-section {
    padding: 31px 0;
    background-color: var(--dark-gray);
    min-height: 85px;
    display: flex;
    align-items: center;
}

.dot-separator {
    margin: 0 6px;
    display: inline-block;
}

.contact-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-col {
    margin: 8px 9px;
    display: flex;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    color: var(--white);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.contact-link:hover {
    color: var(--avila-green-alt);
    text-decoration: none !important;
    border-bottom: none !important;
}

.contact-link:after, .contact-link:before, .contact-link:hover:after, .contact-link:hover:before {
    display: none !important;
    content: none !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

.contact-circle {
    width: 25px;
    height: 25px;
    background-color: var(--avila-green-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 7px;
}

.contact-circle i {
    color: var(--white);
    font-size: 0.75rem;
}

.contact-circle img {
    width: 12.5px;
    height: auto;
    filter: brightness(0) invert(1);
}

.contact-link span {
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.01875rem;
}

/* Copyright Footer */
.copyright-section {
    background-color: var(--footer-gray);
    padding: 28px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.copyright-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.copyright-text, .tecweb-credits {
    color: var(--white);
    font-family: 'Arial', sans-serif;
    font-size: 0.5625rem;
    margin: 3px 0;
}

.tecweb-credits {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tecweb-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none !important;
    vertical-align: middle;
    margin-top: 2px;
}

.tecweb-link:hover {
    color: var(--avila-green-alt);
    text-decoration: none !important;
}

.tecweb-link img {
    height: 18px;
    margin: 0 3px 0 4px;
    vertical-align: middle;
}

.row {
    margin-right: -20px;
    margin-left: -20px;
}

.col-md-4 {
    padding-right: 20px;
    padding-left: 20px;
}

.col-md-4, .col-auto {
    position: relative;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.justify-content-center {
    justify-content: center !important;
}

.text-center {
    text-align: center !important;
}

/* ==============================================================================================
   SECCIÓN DE SERVICE
============================================================================================== */ 
.service-section {
    padding: 80px 0;
    max-width: 1120px;
    margin: 0 auto;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0px 20px;
}

.section-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--avila-green-alt);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    width: 100%;
    display: block;
    margin-top: 30px;
}

.section-title::after {
    content: '';
    display: block;
    width: 42%;
    height: 8px;
    background-color: var(--extra-light-gray);
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 200px;
    height: 2px;
    background-color: var(--extra-light-gray-alt);
}

.section-description {
    color: var(--text-gray);
    font-size: 0.89rem;
    line-height: 1.8;
    font-family: var(--font-tertiary);
    margin-top: -25px;
    margin-bottom: 100px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    background-color: var(--medium-gray);
    padding: 30px 25px;
}

.service-item {
    flex: 1;
    max-width: 320px;
    max-height: 420px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.service-content {
    padding: 30px;
    height: 100%;
    text-align: center;
    background-color: var(--white);
}

.service-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.65rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-description {
    color: var(--text-gray);
    font-size: 0.88rem;
    line-height: 1.6;
    font-family: var(--font-tertiary);
}

.section-title {
    text-align: center;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--avila-green-alt);
    margin-bottom: 40px;
}

/* ==============================================================================================
   SECCIÓN DE INFRASTRUCTURE
============================================================================================== */ 
.infrastructure-section {
    padding: 80px 0;
    background-color: var(--white);
    max-width: 1120px;
    margin: 0 auto;
}

.section-title-Infra {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--avila-green-alt);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    width: 100%;
    display: block;
    margin-top: 40px;
    text-align: center;
}

.section-title-Infra::after {
    content: '';
    display: block;
    width: 40%;
    height: 8px;
    background-color: var(--extra-light-gray);
    margin-top: 20px;
    margin-bottom: 80px;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 70px;
    margin-top: -85px;
}

.product-card {
    width: 50%;
    box-sizing: border-box;
    padding: 30px;
    padding-bottom: 60px;
    display: flex;
    align-items: flex-start;
}

.products-container::before {
    content: '';
    position: absolute;
    top: 85px;
    bottom: 75px;
    left: 50%;
    width: 1px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.products-container::after {
    content: '';
    position: absolute;
    left: 35px;
    right: 35px;
    top: 50%;
    height: 1px;
    background-color: #e0e0e0;
    transform: translateY(-50%);
}


.product-card:nth-child(1), .product-card:nth-child(3) {
    padding-right: 40px;
}

.product-card:nth-child(2), .product-card:nth-child(4) {
    padding-left: 40px;
}

.product-image {
    width: 185px;
    height: 185px;
    flex-shrink: 0;
    margin-right: 30px;
    overflow: visible; 
    border-radius: 50%;
    position: relative; 
    margin-top: -10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2; 
}

.product-image::after {
    content: '';
    position: absolute;
    width: 100%; 
    height: 100%; 
    background-image: url('../images/Infrastructure/elipse_verde.png');
    background-size: cover;
    bottom: -6px; 
    left: 0;
    z-index: 1; 
    border-radius: 50%;
}

.product-info {
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.product-description {
    color: var(--text-gray);
    font-family: var(--font-tertiary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-details {
    color: var(--text-gray);
    font-family: var(--font-tertiary);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ==============================================================================================
   SECCIÓN DE GALLERY
============================================================================================== */
.gallery-section {
    width: 100%;
    padding: 40px 0;
    background-color: var(--white);
    min-height: 575px;
    position: relative;
    overflow: hidden;
}

.gallery-section.bg-gray {
    background-color: #fafafa;
}

.section-title-gallery {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--avila-green-alt);
    text-transform: uppercase;
    text-align: center;
    margin: 85px auto 1.5rem;
    position: relative;
}

.section-title-gallery::after {
    content: '';
    display: block;
    width: 30%;
    height: 8px;
    background-color: var(--extra-light-gray);
    margin: 20px auto 35px;
    border-radius: 5px;
}

.gallery-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.bx-gallery-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.gallery-bxslider {
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery-bxslider .gallery-item {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.gallery-bxslider .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-bxslider .gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-bxslider .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border: none;
    outline: none;
}

.gallery-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10; 
}

.gallery-arrow {
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    cursor: pointer;
    pointer-events: auto;
}

.gallery-arrow.prev {
    background-image: url('../images/Gallery/flecha_punteada_izquierda.png');
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-arrow.next {
    background-image: url('../images/Gallery/flecha_punteada_derecha.png');
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}



/* ==============================================================================================
   SECCIÓN DE CONTACT
============================================================================================== */

.contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--white);
}

.section-title-contact {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--avila-green-alt); 
    text-transform: uppercase;
    text-align: center;
    margin: 45px auto 1.5rem; 
    width: 100%;
    position: relative;
}

.section-title-contact::after {
    content: '';
    display: block;
    width: 40%;
    height: 8px;
    background-color: var(--extra-light-gray);
    margin: 20px auto -5px; 
    border-radius: 5px;
}

.contact-section .contact-intro {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 0.84375rem;
    color: var(--text-gray);
    font-family: var(--font-tertiary);
}

/* Formulario de contacto */
.contact-form-container {
    max-width: 1050px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px; 
    margin-bottom: 0px;
    max-width: 100%; 
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    flex: 1 0 calc(33.33% - 10px); 
    min-width: 150px; 
    margin-bottom: 20px;
}

.contact-section input, 
.contact-section textarea {
    width: 100%;
    padding: 18px 15px;
    border: 1px solid var(--form-gray);
    border-radius: 0;
    font-family: var(--font-tertiary);
    font-size: 0.75rem;
    transition: border-color 0.3s ease;
    color: var(--text-form);
}

.contact-section input:focus, 
.contact-section textarea:focus {
    outline: none;
    border-color: var(--text-gray);
}

.contact-section textarea {
    resize: vertical;
    min-height: 160px;
    margin-top: -9px; 
    margin-bottom: 0px;
}

.contact-section .recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 30px 40px;
    transform: scale(0.80); 
    transform-origin: center; 
}

/* Estilos para los botones */
.contact-section .form-buttons {
    display: flex;
    justify-content: center;
    gap: 9px; 
    margin-bottom: 45px;
}

.contact-section .btn {
    width: 80px; 
    height: 40px; 
    padding: 0; 
    border: none;
    border-radius: 8px; 
    font-family: var(--font-tertiary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center; 
    color: var(--white);
}

.contact-section .btn-delete {
    background-color: var(--avila-green-alt); 
}

.contact-section .btn-send {
    background-color: var(--avila-green-alt); 
}

.contact-section .btn:hover {
    opacity: 0.85;
}
/* Sección de Información de Contacto */

.contact-target-section {
    padding: 40px 0;
    background-color: var(--light-gray);
}

.contact-target-section .info-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-target-section .info-card {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 6px var(--shadow-light);
    width: 470px;
    height: 220px;
    display: flex;
    position: relative;
    padding: 0;
}

.contact-target-section .personal-card {
    display: flex;
    align-items: center;
    background-image: url('../images/Contact/card_profile.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    justify-content: space-between;
}

.contact-target-section .profile-image-container {
    width: 50%;
    display: flex;
    justify-content: right;
    align-items: right;
    padding: 5px 25px; 
}

.contact-target-section .profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.contact-target-section .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.contact-target-section .profile-info {
    width: 50%;
    padding: 0; 
    text-align: left;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 70%; 
}

.contact-target-section .profile-info h3 {
    color: var(--avila-green-alt);
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    margin-bottom: -5px;
    font-weight: 700;
}

.contact-target-section .profile-role {
    color: var(--text-gray);
    font-family: var(--font-tertiary);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.contact-target-section .contact-detail {
    display: flex;
    margin-bottom: 0px;
    font-family: var(--font-tertiary);
    flex-direction: column;
    align-items: flex-start;
}

.contact-target-section .detail-label {
    font-weight: 700;
    margin-right: 0;
    margin-bottom: -5px;
    min-width: 50px;
    color: var(--text-gray);
    font-size: 0.875rem;
    font-family: var(--font-tertiary);
}

.contact-target-section .detail-value {
    color: var(--text-form);
    font-weight: 400;
    font-family: var(--font-tertiary);
    margin-bottom: 5px;
    font-size: 0.875rem;
}

.contact-target-section .logo-card {
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-image: url('../images/Contact/card_logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact-target-section .company-logo {
    max-width: 70%;
    max-height: 150px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}
/* Sección de Mapa */
.map-section {
    position: relative;
}

.map-section .location-info {
    background-color: var(--black);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 1.2rem;
    font-family: var(--font-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px; 
}

.map-section .location-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; 
}

.map-section .location-icon {
    margin-right: 0px; 
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url('../images/Contact/ubi.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle; 
}

.map-section .map-container {
    height: 555px;
    width: 100%;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* Alerta Flotante Formulario*/
.floating-alert {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 80%;
  }
  
  .floating-alert .alert {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 0;
  }
  
  .floating-alert .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
  }
  
  .floating-alert .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
  }
  
  .floating-alert .alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
  }
