@font-face {
    font-family: 'Arimo';
    src: url('fonts/Arimo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Arimo';
    src: url('fonts/Arimo-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Futura';
    src: url('fonts/Futura-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --color-ebony: #162332;
    --color-gold: #F9DD47;
    --color-gold-dark: #e6c932;
    --color-grey-light: #A8A8A8;
    --color-grey-dark: #272727;
    --color-white: #ffffff;
    --font-primary: 'Arimo', sans-serif;
    --font-titles: 'Futura', 'Arimo', sans-serif;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(249, 221, 71, 0.3);
    --primary-color: #fbbf24;
    --dark-bg: #111827;
    --dark-secondary: #1f2937;
    --dark-tertiary: #374151;
    --text-light: #f3f4f6;
    --text-muted: #d1d5db;
    --border-color: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    /* Mantener estabilidad del diseño */
}

body {
    font-family: var(--font-primary);
    background-color: #05050a;

    background-image:
        linear-gradient(rgba(10, 10, 15, 0.45), rgba(43, 43, 61, 0.45)),
        url('images/Fondo/fondo-negro.png');
    background-color: #05050a;
    /* Asegurar fondo oscuro */

    background-size: cover;
    background-position: center;
    line-height: 1.6;
    overflow-x: hidden;
    color: var(--color-grey-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Altura completa del viewport */
}

main {
    flex: 1 0 auto;
    /* Crecer para llenar el espacio */
    display: flex;
    flex-direction: column;
    padding-top: 75px;
    background: transparent;
}





img {
    max-width: 100%;
    height: auto;
    display: block;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}





.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================   BARRA DE NAVEGACIÓN
   ========================================== */




.container-aligned {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    width: 100%;
}

@media (max-width: 992px) {
    .container-aligned {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container-aligned {
        padding: 0 20px;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}


@media (max-width: 992px) {
    .nav-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-image {
    height: 48px;
    width: auto;
    object-fit: contain;

    /* Filtro de sombra paralela eliminado */

}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text .brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.3px;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-text .brand-tagline {
    font-size: 10px;
    font-weight: 400;
    color: var(--color-grey-light);
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin-top: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
    /* Espaciado ligeramente aumentado */
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-image {
        height: 42px;
    }

    .logo-text .brand-name {
        font-size: 14px;
    }

    .logo-text .brand-tagline {
        font-size: 8px;
    }
}

.nav-links li a {
    text-decoration: none;

    color: #fff;

    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {

    color: #000;
    /* Texto negro al pasar el ratón */
    background-color: var(--color-gold);
    /* Fondo amarillo sólido */
    font-weight: 700;
}

/* Removed underline align effect */
.nav-links li a::after {
    display: none;

}

.cta-button {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-ebony);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(249, 221, 71, 0.3);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    display: none;
}

@media (min-width: 768px) {
    .cta-button {
        display: inline-block;
    }
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 221, 71, 0.5);
    background: linear-gradient(135deg, #fce566 0%, var(--color-gold) 100%);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    width: 100%;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: url("images/Fondo/fondo-negro.png") center/cover no-repeat;
    background-color: rgba(0, 0, 0, 0.95);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu ul {
    list-style: none;
    padding: 20px 0;
}

.mobile-menu ul li {
    text-align: center;
    border-bottom: 1px solid rgba(168, 168, 168, 0.1);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-link {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--color-grey-light);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
    background-color: rgba(249, 221, 71, 0.1);
    color: var(--color-gold);
}

.mobile-cta {
    margin: 20px 20px 10px;
}

.mobile-cta .cta-button {
    display: block !important;
    text-align: center;
}

/* ===================================   BANNER PRINCIPAL - COMO CARD
   ========================================= */

.banner-principal {
    position: relative;
    width: 90%;
    max-width: 1100px;
    margin: 3rem auto 2rem;
    height: 16rem;
    overflow: hidden;
    border-radius: 1rem;
    background: url('images/Fondo/fondo-negro.png') center/cover no-repeat;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

@media (min-width: 768px) {
    .banner-principal {
        height: 24rem;
        margin: 3rem auto 2rem;
    }
}

/* ===================================   ESTANDARIZACIÓN DE BANNERS GLOBALES
   ========================================= */

.global-hero-card {
    position: relative;
    width: 92%;
    max-width: 1400px;
    margin: 1rem auto 1rem;
    height: 16rem;
    /* Altura en móviles */
    overflow: hidden;
    border-radius: 1rem;
    background: #05050a;
    /* Coincidir con la base oscura del cuerpo */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    will-change: transform;
    z-index: 1;
}



.global-hero-card>* {
    position: relative;
    z-index: 3;
}

@media (min-width: 768px) {
    .global-hero-card {
        height: 24rem;
        margin: 4rem auto 3rem;
    }
}

.hero-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6rem !important;
    /* Aumentado para separación clara */
    width: 100% !important;
    max-width: 1200px !important;
    padding: 0 40px !important;
    min-height: 100% !important;
}

.hero-title-group {
    flex: 0 1 auto;
}

.hero-subtitle-group {
    flex: 1;
    max-width: 500px;
}

.hero-description {
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    text-align: left !important;
    /* Cambiado a izquierda para diseño lateral */
    margin: 0 !important;
    font-family: 'Arimo', sans-serif !important;
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 0 20px;
    }

    .hero-subtitle-group {
        max-width: 600px;
        text-align: center;
    }

    .hero-description {
        text-align: center;
    }
}

/* ===================================   ESTILOS DE TÍTULOS DE BANNER (UNIFICADOS)
   ========================================= */

.banner-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin: 0 !important;
    line-height: 0.8 !important;
}

.banner-title span {
    font-size: 5rem;
    font-weight: 950;
    font-family: 'Arimo', sans-serif;
    letter-spacing: -2px;
    text-transform: none;
    white-space: nowrap;
}

.text-yellow {
    color: #f9dd47 !important;
}

.text-white {
    color: #ffffff !important;
}

@media (max-width: 1200px) {
    .banner-title span {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .banner-title span {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .banner-title span {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .banner-title span {
        font-size: 2.22rem;
    }
}

/* .banner-imagen eliminado */

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(to right,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.8));*/
    z-index: 2;
}

.banner-contenedor {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem;
    z-index: 3;
}

@media (min-width: 768px) {
    .banner-contenedor {
        padding: 2rem;
    }
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 768px) {
    .banner-content {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
}

.banner-foto-perfil {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    flex-shrink: 0;
    object-fit: cover;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
    .banner-foto-perfil {
        width: 8rem;
        height: 8rem;
    }
}

.banner-texto {
    color: #ffffff;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.banner-titulo {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .banner-titulo {
        font-size: 3rem;
    }
}

.banner-subtitulo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .banner-subtitulo {
        font-size: 1.875rem;
    }
}

.banner-description {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

@media (min-width: 768px) {
    .banner-description {
        font-size: 1.375rem;
    }
}

.banner-highlight {
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================   SECCIÓN DE SERVICIOS (CARDS)
   ========================================== */

.banner-section {
    padding: 3rem 1rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .banner-section {
        padding: 4rem 2rem;
    }
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

@media (min-width: 640px) {
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (min-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

.card {
    position: relative;
    height: 250px;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 0, 0, 0.8));
    transition: background 0.3s ease;
    z-index: 2;
}

.card:hover .card-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3),
            rgba(0, 0, 0, 0.9));
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 3;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.card:hover .card-content {
    transform: translateY(0);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-description {
    opacity: 1;
}

/* ===================================   SECCIÓN DE CONTACTO
   ========================================== */

.contact-section {
    padding: 1.5rem 1rem;
    /* Reducido desde 3rem */

    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url("images/Fondo/fondo-blanco.jpg") center/cover no-repeat !important;

    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 2.5rem 2rem;
        /* Reducido desde 4rem */
    }
}

.contact-container {

    max-width: 1200px;
    /* Usar un contenedor ligeramente más ancho para el diseño */

    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;

    /* White Gradient + Texture */
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.99) 30%, rgba(255, 255, 255, 0.99) 70%, rgba(255, 255, 255, 0.92) 100%) !important;
    background-size: 100% 100%, 6px 6px !important;
    background-position: 0 0, 0 0 !important;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

}

@media (min-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
        /* Restaurar diseño de 2 columnas */
        gap: 1.5rem;
        align-items: stretch;
        /* Forzar altura igual */
    }
}

.media-column {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.media-content {
    width: 100%;
    height: 100%;
    /* Llenar la altura del contenedor */
    min-height: 250px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.1);
}

@media (min-width: 1024px) {
    .media-content {
        min-height: 100%;
    }
}

.media-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-content {
    position: relative;
    background: #374151;
}

.map-label {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: #000;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.map-label-title {
    font-weight: 700;
    margin: 0;
    font-size: 0.95rem;
}

.map-label-subtitle {
    font-size: 0.75rem;
    margin: 0.25rem 0 0 0;
    color: rgba(0, 0, 0, 0.7);
}





.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-group select option {
    background-color: #1f2937;
    color: white;
}

.submit-btn {
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.submit-btn:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===================================   MAP SECTION
   ========================================== */

.map-section {
    width: 100%;
    height: 600px;
    padding: 0;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===================================   MODAL
   ========================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    /* Forzar margen desde los bordes de la pantalla */

}

.modal-content {
    background-color: #1a1a1a;

    margin: auto;
    /* Centrado */
    width: 100%;
    max-width: 700px;
    /* Reducido para un diseño más compacto y 'minimizado' */
    max-height: calc(100vh - 40px);
    /* Margen garantizado con el borde de la pantalla */
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    /* Habilitar desplazamiento interno si el contenido excede la altura máxima */
    position: relative;
    animation: slideDown 0.4s ease forwards;
    display: flex;
    flex-direction: column;
}

/* Diseño de modal específico de servicio */
#serviceModal .modal-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    height: 400px;
    /* Altura fija para asegurar consistencia en todos los servicios */
}

.modal-left {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    height: 100%;
    overflow: hidden;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* "Recorta" automáticamente la imagen para ajustarse a la altura de 400px */
}

.modal-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 2rem;
    position: relative;
    overflow-y: auto;
    background-color: #1a1a1a;
}

.modal-right h2 {
    font-family: 'Futura Bold', 'Arimo', sans-serif;
    color: #f9dd47;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.modal-right h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 2px;
    background-color: #f9dd47;
}

.modal-right p {
    font-family: 'Arimo', sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: justify;
}

/* Enlace de PDF estilizado con flecha y ojo */
.pdf-download-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.25rem;
    /* Reducido desde 0.5rem */
}

.pdf-link-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #f9dd47;
    width: 100%;
    transition: transform 0.3s ease;
}

.pdf-link-container:hover {
    transform: translateX(10px);
}

.pdf-text {
    font-family: 'Futura Bold', 'Arimo', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.pdf-arrow-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, #f9dd47, transparent);
    position: relative;
}

.pdf-eye-icon {
    font-size: 1.5rem;
    color: #f9dd47;

}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--color-gold);
    transform: rotate(90deg);
}

.modal-er {

    position: relative;
    z-index: 2;
    padding: 40px 40px 20px;
    background: transparent;
    border: none;
    text-align: center;
}

.modal-er h2 {
    color: var(--color-gold);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(249, 221, 71, 0.3);
    display: inline-block;
    padding-bottom: 15px;
}



/* ===================================   FOOTER
   ========================================== */

.footer {
    position: relative;
    padding: 2rem 0;
    color: #fff;
    border-top: 1px solid #333;
    background: url('images/Fondo/fondo-negro.png') no-repeat center center !important;
    background-size: cover !important;
}



.footer-er {
    text-align: center;
    margin-bottom: 0.5rem;
    /* Reducido agresivamente desde 3rem */
    position: relative;
    z-index: 1;
}

.footer-er h2 {
    font-family: 'Futura Bold', 'Arimo', sans-serif;
    color: #f9dd47;
    font-size: 2.2rem;
    /* Reducido significativamente desde 5rem */
    font-weight: 900;
    margin: 0;
    text-transform: none;
    /* La imagen de referencia suele tener mayúsculas tipo título o similar */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinear al inicio */
    align-items: center;
    padding-top: 5px;
}

.footer-logo-img {
    max-width: 180px;
    /* Reducido desde 250px */
    filter: brightness(0) invert(1);
    /* Forzar logo blanco */
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-left-aligned {
    align-items: flex-start !important;
    text-align: left !important;
}

.footer-left-aligned .footer-group {
    align-items: flex-start !important;
    text-align: left !important;
}

.footer-column h4 {
    color: #f9dd47;
    font-family: 'Arimo', sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-transform: capitalize;
}

.footer-group {
    margin-bottom: 0.8rem;
}

.footer-group h4 {
    font-size: 0.75rem;
    /* Reducido para coincidir con el tamaño de los elementos de la lista pero en negrita */
    margin-bottom: 0.1rem;
    text-transform: capitalize;
    font-weight: bold;

}

.footer-list {
    list-style: none;
    padding: 0;

    margin: 0;
}

.footer-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.75rem;
    /* Ligeramente más pequeño para una mejor uniformidad */
    margin-bottom: 0.4rem;
    /* Reducido */
    font-family: 'Arimo', sans-serif;
}

.footer-list i {
    color: #ffffff;
    width: 20px;
    /* Ancho fijo para una alineación de texto consistente */
    text-align: center;
    font-size: 0.85rem;
    display: inline-block;
}

.footer-list a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #f9dd47;
}

.footer-social-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-socials {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
}

.footer-socials a {
    color: white;

    font-size: 1.2rem;
    /* Reducido desde 1.5rem */
    transition: transform 0.3s, color 0.3s;
}

.footer-socials a:hover {
    color: #f9dd47;
    transform: translateY(-3px);
}

.footer-super-box {
    margin-top: 0;
    /* Reducido desde 0.5rem */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrar explícitamente el logo y la línea de la bandera */
    text-align: center;
}

.footer-super-label {
    font-size: 0.55rem;
    /* Aún más pequeño según lo solicitado */
    color: #bbb;
    margin-bottom: 0.3rem;
    font-style: normal;
    font-family: 'Arimo', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.footer-super-logo-img {
    max-width: 200px;
    display: block;
    margin: 0 auto;
}

.super-flag-line {
    display: none;
    /* Eliminado según lo solicitado */
}

.footer-bottom {
    display: none;
    /* Eliminado ya que no está en la imagen de referencia */

}

@media (max-width: 768px) {
    .footer-er h2 {

        font-size: 3rem;
    }

}

p,
.card-description,
.modal-right p,
.atencion-hero-text,
.form-card p {
    text-align: justify;
}

/* El fondo del pie de página principal se maneja arriba */

/* ===================================   ANIMACIONES
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================   RESPONSIVE
   ========================================== */

@media (max-width: 640px) {
    body {
        font-size: 14px;
    }

    .nav-container {
        padding: 0 1rem;
        height: 65px;
    }

    .logo-image {
        height: 38px;
    }

    .logo-text .brand-name {
        font-size: 12px;
    }

    .banner-principal {
        margin: 1rem auto;
        width: 95%;
        height: 14rem;
    }

    .banner-section {
        padding: 2rem 1rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .form-er h3 {
        font-size: 1.5rem;
    }

    .form-column {
        padding: 1.5rem;
    }


    .contact-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .media-content {
        min-height: 300px !important;
    }

    .map-label {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    main {
        padding-top: 65px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .cta-button {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-container {
        height: 65px;
        padding: 0 20px;
    }

    .mobile-menu {
        top: 65px;
    }

    .logo-image {
        height: 42px;
    }

    .logo-text .brand-name {
        font-size: 14px;
    }

    .banner-principal {
        margin: 2rem auto;
        height: 16rem;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-column {
        padding: 1.5rem;
    }

    .media-content {
        min-height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 25px;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .logo-image {
        height: 44px;
    }

    .banner-principal {
        width: 95%;
    }

    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;
    }

}

@media (min-width: 1025px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
    }

    .cta-button {
        display: inline-block;
    }

    .cards-container {
        grid-template-columns: repeat(5, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;
    }

}

/* ===================================   PAGE CONTENT (GLOBAL)
   ========================================== */

.page-content {
    padding-bottom: 5rem;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-er {
    text-align: center;
    margin-bottom: 1.8rem;
    /* Reducido en un 40% */
    padding-top: 1.8rem;
    /* Reducido en un 40% */
}

.section-er h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--color-gold);
}

/* ===================================   QUIENES SOMOS (IDENTITY & CERTIFICATIONS)
   ========================================== */

.identity-section {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(15, 15, 25, 0.7)), url('images/banner-bg-original.jpeg');
    background-size: cover;
}

.identity-text {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.certifications-section {
    padding: 4rem 1rem;
    background: rgba(31, 41, 55, 0.5);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    position: relative;
    background: var(--dark-secondary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cert-card img {
    height: 100px;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 10px rgba(249, 221, 71, 0.2));
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 35, 50, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay h3 {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cert-overlay p {
    font-size: 0.85rem;
    color: var(--color-white);
}

/* ===================================   CENTRO DE APRENDIZAJE
   ========================================== */

.policies-section {
    padding: 4rem 1rem;
    background: transparent;
}

.policies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.policy-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.policy-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 221, 71, 0.1);
}

.policy-icon-container {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.policy-content h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.policy-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.policy-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.capacitaciones-section {
    padding: 4rem 1rem;
    background: transparent;
}

.capacitaciones-banner {
    height: 15rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/tecnologia.jpg');
    background-size: cover;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capacitacion-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-er-label {
    background: var(--color-gold);
    color: var(--color-ebony);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.card-icon-area {
    font-size: 2rem;
}

.card-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tag-ppt {
    background: #d04423;
    color: white;
}

.card-content-area h4 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.card-meta {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-btn-dark {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 700;
}

/* ===================================   ATENCION AL USUARIO (INDICADORES)
   ========================================== */

.indicators-section {
    padding: 4rem 1rem;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.indicator h3 {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.indicator p {
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 600;
}

.atencion-section {
    padding: 4rem 1rem;
    background: transparent;
}

.atencion-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.atencion-column {
    background: rgba(31, 41, 55, 0.8);
    padding: 1.5rem;
    /* Reducido desde 3rem */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.icon-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.atencion-er p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    /* Reducido */
    font-size: 0.9rem;
}

.atencion-form .form-group {
    margin-bottom: 1rem;
    /* Reducido */
}

.atencion-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.atencion-form input,
.atencion-form select,
.atencion-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
}

.atencion-btn {
    width: 100%;
    padding: 1rem;
    background: var(--color-gold);
    color: var(--color-ebony);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.atencion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 221, 71, 0.3);
}

.captcha-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.6rem;
}

.captcha-logo img {
    height: 30px;
}

/* ===================================   TRABAJA CON NOSOTROS
   ========================================== */

.trabaja-nosotros-section {
    padding: 2.5rem 1rem;
    /* Relleno reducido */
    background: transparent;
}

.er-icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    /* Reducido */
}

.icon-yellow {
    font-size: 3rem;
}

.team-image-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.content-text {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    /* Reducido desde 3rem */
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    /* Más pequeño */
    line-height: 1.6;
}

.upload-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(31, 41, 55, 0.8);
    padding: 1.5rem;
    /* Reducido desde 3rem */
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.black-input-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.custom-file-upload {
    cursor: pointer;
    color: var(--color-gold);
    font-weight: 600;
}

.submit-btn-black {
    width: 100%;
    padding: 1rem;
    background: var(--color-gold);
    color: var(--color-ebony);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

.hero-line-2,
.hero-line-3 {
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

/* Individual Word Styling - Arimo, Lowercase/TitleCase, Equal Widths */
.word-seguridad {
    font-family: 'Arimo', sans-serif;
    font-size: 3.8rem;
    font-weight: bold;
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.1rem;
    letter-spacing: -1px;
}

.word-con {
    font-family: 'Arimo', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: normal;
    font-style: italic;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.word-calidad {
    font-family: 'Arimo', sans-serif;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
    vertical-align: middle;
}

.word-humana {
    font-family: 'Arimo', sans-serif;
    font-size: 7.2rem;
    font-weight: bold;
    color: #ffffff;
    display: block;
    margin-top: 0.1rem;
    letter-spacing: -3px;
}









/* Typography Styles for Banner (Granular Control, Robust) */
/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-card {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .video-container {
        height: 300px;
        min-height: auto;
    }

    .hero-text-content {
        align-items: center;
        text-align: center;
        padding: 2rem;
    }

    .word-seguridad {
        font-size: 2.2rem;
    }

    .word-con,
    .word-calidad {
        font-size: 1rem;
    }

    .word-humana {
        font-size: 4.2rem;
    }
}



/* ===================================   NUEVA SECCIÓN DE SERVICIOS (5 Cards)
   ========================================== */
.services-section-new {
    padding: 1rem 0;
    /* Reducido significativamente para acercar al banner */
    background: url("images/Fondo/fondo-negro.png") center/cover no-repeat;
}

.services-card-container {
    /* Vertical gradient + Dot texture */
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.95) 70%, rgba(0, 0, 0, 0.2) 100%),
        radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 6px 6px;
    background-position: 0 0, 0 0;
    border-radius: 20px;
    padding: 2rem;
    /* Reducido para que las imágenes queden mejor según lo solicitado */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Borde muy sutil para definir el extremo */
}

.services-grid-new {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.service-card-new {
    background: #050505;
    /* Negro más oscuro según lo solicitado */
    border-radius: 20px;
    /* Esquinas más redondeadas */
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
    position: relative;
    padding: 12px;
    /* Margen alrededor de la imagen y el texto */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card-new:hover {
    transform: translateY(-5px);
}

.service-card-new img {
    width: 100%;
    height: 230px;
    /* Altura ajustada para el nuevo relleno */
    object-fit: cover;
    display: block;
    border-radius: 15px;
    /* Redondear también las esquinas de la imagen */
}

.service-card-new h3 {
    font-family: 'Arimo', sans-serif;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
    padding: 5px 0 10px 0;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Responsive Services */
@media (max-width: 992px) {
    .services-grid-new {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columnas en tableta */
    }
}

@media (max-width: 576px) {
    .services-grid-new {
        grid-template-columns: 1fr;
        /* 1 columna en móvil */
    }

    .service-card-new:last-child {
        grid-column: span 1;
    }
}

/* Responsive Modal Layout */
@media (max-width: 768px) {
    #serviceModal .modal-content {
        grid-template-columns: 1fr;
        height: auto;
        /* Restablecer altura fija en móvil */
        max-height: calc(100vh - 40px);
    }

    .modal-left {
        height: 250px;
    }

    .modal-right {
        padding: 2rem;
    }

    .modal-right h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .modal-right p {
        margin-bottom: 2rem;
    }
}

.modal-er {
    grid-column: 1 / -1;
    /* ¿El título abarca todo el ancho inicialmente o se ajusta? El usuario dijo: Texto a la izquierda, Imagen a la derecha. Vamos a dividir el cuerpo. */
    display: none;
    /* Ocultar er predeterminado, se construirá uno personalizado dentro del cuerpo */
}

/* Reconstruyendo la estructura del cuerpo del modal mediante JS, pero estilizando aquí asumiendo la estructura */


.pdf-link-container:hover {
    transform: translateX(5px);
}

.pdf-text {
    font-family: 'Arimo', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
}

.pdf-arrow-line {
    height: 1px;
    flex-grow: 1;
    background-color: #f9dd47;
    position: relative;
    margin-right: 15px;
}

.pdf-arrow-line::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #f9dd47;
}

.pdf-eye-icon {
    color: #f9dd47;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }


    .modal-right {
        order: 1;
        padding: 2rem;
    }

    .modal-left {
        order: -1;
        height: 250px;
    }
}

/* ===================================   CONTACT SECTION RESTORED
   ========================================== */
.contact-section {
    padding: 2rem 0;
    /* Reducido desde 4rem para mayor compacidad */
    position: relative;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/Fondo/Fondo_blanco.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333;
}

.contact-section .container-aligned {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    /* Reducido desde 1.5rem */
    align-items: stretch;
    background: transparent;
    box-shadow: none;
    padding: 0 15px;
    max-width: 950px;
    /* Reducido desde 1100px para una huella más compacta */
    margin: 0 auto;
}

.form-column {
    flex: 1.2;
    min-width: 250px;
    /* Ancho mínimo reducido */
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    border-radius: 20px;
    /* Esquinas ligeramente más ajustadas */
    padding: 1rem 1.5rem;
    /* Reducido drásticamente desde 1.5rem 2rem */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.media-column {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    height: auto;
}

.form-title-custom {
    font-size: 1.4rem;
    /* Drastically reduced from 1.8rem */
    color: #333;
    margin-bottom: 0.2rem;
    font-family: 'Futura Bold', 'Arimo', sans-serif;
    text-align: center;
    font-weight: 900;
}

.form-subtitle-custom {
    color: #555;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.8rem;
    /* Reduced from 0.95rem */
    line-height: 1.2;
}

.form-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    /* Tighter gap from 1.2rem */
}

.form-group-custom.full-width {
    grid-column: span 2;
}

.form-group-custom label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: bold;
    color: #333;
    font-family: 'Arimo', sans-serif;
    font-size: 0.8rem;
    /* Reduced from 0.95rem */
}

.form-group-custom input,
.form-group-custom select,
.form-group-custom textarea {
    width: 100%;
    padding: 6px 10px;
    /* Entradas más delgadas */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Arimo', sans-serif;
    background: #fff;
    color: #333;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.form-group-custom input::placeholder,
.form-group-custom textarea::placeholder {
    color: #888;
    /* Marcador de posición más oscuro para contraste */
}

.form-submit-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    /* Espacio reducido */
}

.submit-btn-yellow {
    background: #f9dd47;
    color: #000;
    border: none;
    padding: 8px 30px;
    /* Botón más delgado */
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Arimo', sans-serif;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 221, 71, 0.3);
}

.submit-btn-yellow:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* Específico del mapa */
.media-content.map-content {
    height: 100%;
    width: 100%;
    min-height: 350px;
    /* Reducido desde 450px */
    position: relative;
}

/* Cuadro de información del mapa amarillo */
.map-info-box-yellow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    /* Ligeramente más ancho para ajustarse mejor en una altura menor */
    background: #f9dd47;
    padding: 10px 15px;
    /* Relleno reducido */
    border-top-left-radius: 15px;
    box-shadow: -5px -5px 15px rgba(0, 0, 0, 0.1);
}

.info-box-title {
    font-weight: bold;
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-box-text {
    color: #333;
    font-size: 0.9rem;
    margin: 3px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box-text i {
    color: #000;
}

@media (max-width: 768px) {
    .contact-section .container-aligned {
        flex-direction: column;
    }

    .form-grid-custom {
        grid-template-columns: 1fr;
        /* Apilar en móviles */
    }

    .map-info-box-yellow {
        width: 100%;
        border-top-left-radius: 0;
    }
}

/* ===================================   FOOTER Styles
   ========================================== */
/* ===================================   FOOTER Styles (Image Match - Precise)
   ========================================== */
.footer {
    background: url(images/Fondo/fondo-negro.png) center/cover no-repeat;
    color: #fff;
    padding: 0;
    font-size: 0.85rem;
}



.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 0.8rem;
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* er "Contáctanos" */
.footer-er {
    text-align: center;
    margin-bottom: 0.2rem;
    width: 100%;
}

.footer-er h2 {
    color: var(--color-gold);
    font-family: 'Checkbk', 'Arimo', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
}

/* Column Titles */
.footer h4 {
    color: var(--color-gold);
    font-size: 0.9rem;
    /* Reducido desde 1rem */
    font-weight: 700;
    margin-bottom: 0.1rem;
    /* Reducido desde 0.3rem */
    text-transform: none;
}

.footer-logo-col {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.footer-logo-img {
    width: 170px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-top: -5px;
}

/* Columns Lists */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    /* Tamaño de texto reducido */
}

/* Unified Footer List Alignment */
.footer-left-aligned .footer-list li {
    justify-content: flex-start !important;
}

.footer-list li a {
    color: #fff;
    text-decoration: none;
}

/* Col 3: Multiple Groups */
.footer-group {
    margin-bottom: 0.2rem;
    /* Reduced from 0.5rem */
}

.footer-group h4 {
    margin-bottom: 0.1rem;
    font-size: 0.8rem;
    /* Reducido desde 0.85rem */
}

.footer-group .footer-list {
    font-size: 0.75rem;
}

/* Integrated Social and Super Styles */
.footer-integrated-group {
    margin-top: 0.4rem;
    /* Reduced from 0.8rem */
    /* Reducido desde 1.5rem para acercar a Servicio al cliente */
}

.footer-integrated-group h4 {
    margin-bottom: 0.2rem;
    /* Reducido desde 0.5rem */
    /* Reducido desde 0.8rem */
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-bottom: 0px;
}

.footer-socials a {
    color: #fff;
    font-size: 1rem;
    /* Iconos sociales minimizados */
    transition: transform 0.2s, color 0.2s;
}

.footer-socials a:hover {
    color: var(--color-gold);
    transform: translateY(-3px);
}

.footer-super-box-integrated {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    margin-top: 0px;
}

.footer-super-label {
    font-size: 0.55rem;
    /* Texto significativamente minimizado */
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 0px;
    /* Margen reducido */
}

.footer-super-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 210px;
    max-width: 100%;
}

.footer-super-logo-img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 1;
    /* Más prominente */
}

.footer-super-flag {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #FFD700 33.33%, #003893 33.33%, #003893 66.66%, #CE1126 66.66%);
    margin-top: 2px;
    /* Acercando la bandera al logo */
    border-radius: 1px;
}

.footer-right-col {
    display: flex;
    justify-content: center;
}

.footer-right-col .footer-super-box-integrated {
    align-items: center;
    text-align: center;
}

.footer-right-col .footer-super-logo-wrapper {
    align-items: center;
}

/* Unified Footer Media Queries */
@media (max-width: 1024px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        gap: 2.5rem;
        justify-content: center;
    }

    .footer-column {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 20px;
        align-items: center;
    }
}

/* Unified Contact Section Media Queries */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .form-card {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}






/* ============================================   QUIÉNES SOMOS - SECCIONES NUEVAS
   Compatible con el CSS existente
=================================================== */

/* Ajuste general por navbar fija */
.page-content {
    padding-top: 90px;
}

/* Contenedor reutilizable */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 70px 20px;
}

/* ========================   IDENTIDAD
================================ */
.identity-section {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(15, 15, 25, 0.7)), url('images/banner-bg-original.jpeg');
    background-size: cover;
}

.identity-text {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.certifications-section {
    padding: 4rem 1rem;
    background: rgba(31, 41, 55, 0.5);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    position: relative;
    background: var(--dark-secondary);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cert-card img {
    height: 100px;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 10px rgba(249, 221, 71, 0.2));
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 35, 50, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-overlay h3 {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cert-overlay p {
    font-size: 0.85rem;
    color: var(--color-white);
}

/* ===================================   CENTRO DE APRENDIZAJE
   ========================================== */

.policies-section {
    padding: 2rem 1rem;
    /* Reduced from 4rem */
    background: transparent;
}

.policies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.policy-card {
    background: var(--dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.policy-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(249, 221, 71, 0.1);
}

.policy-icon-container {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.policy-content h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.policy-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.policy-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.capacitaciones-section {
    padding: 2rem 1rem;
    /* Reduced from 4rem */
    background: transparent;
}

.capacitaciones-banner {
    height: 15rem;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/tecnologia.jpg');
    background-size: cover;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capacitacion-card {
    background: var(--dark-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-er-label {
    background: var(--color-gold);
    color: var(--color-ebony);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
}

.card-icon-area {
    font-size: 2rem;
}

.card-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tag-ppt {
    background: #d04423;
    color: white;
}

.card-content-area h4 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.card-meta {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-btn-dark {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 700;
}

/* ===================================   ATENCION AL USUARIO (INDICADORES)
   ========================================== */

.indicators-section {
    padding: 2rem 1rem;
    /* Reduced from 4rem */
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.indicator h3 {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.indicator p {
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 600;
}

.atencion-section {
    padding: 2rem 1rem;
    /* Reduced from 4rem */
    background: transparent;
}

.atencion-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.atencion-column {
    background: rgba(31, 41, 55, 0.8);
    padding: 1.5rem;
    /* Reduced from 3rem */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.icon-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.atencion-er p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    /* Reduced */
    font-size: 0.9rem;
}

.atencion-form .form-group {
    margin-bottom: 1rem;
    /* Reduced */
}

.atencion-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.atencion-form input,
.atencion-form select,
.atencion-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
}

.atencion-btn {
    width: 100%;
    padding: 1rem;
    background: var(--color-gold);
    color: var(--color-ebony);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.atencion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 221, 71, 0.3);
}

.captcha-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.6rem;
}

.captcha-logo img {
    height: 30px;
}

/* ===================================   TRABAJA CON NOSOTROS
   ========================================== */

.trabaja-nosotros-section {
    padding: 1.5rem 1rem;
    /* Reducido desde 2.5rem */
    /* Relleno reducido */
    background: transparent;
}

.er-icon-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    /* Reducido */
}

.icon-yellow {
    font-size: 3rem;
}

.team-image-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.content-text {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    /* Reducido desde 3rem */
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    /* Más pequeño */
    line-height: 1.6;
}

.upload-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(31, 41, 55, 0.8);
    padding: 1.5rem;
    /* Reducido desde 3rem */
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.black-input-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.custom-file-upload {
    cursor: pointer;
    color: var(--color-gold);
    font-weight: 600;
}

.submit-btn-black {
    width: 100%;
    padding: 1rem;
    background: var(--color-gold);
    color: var(--color-ebony);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

/* Footer extra mobile adjustments integrated into main media queries above */

/* ===================================   NUEVOS ESTILOS REDISEÑO (CONSOLIDADO DEFINITIVO)
   ========================================== */

.container-aligned {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
    text-align: justify;
}

.highlight-button {
    background-color: var(--color-gold);
    color: var(--color-grey-dark);
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
}

.highlight-button:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 221, 71, 0.4);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-titles);
    font-weight: 700;
}

.hero-banner {
    position: relative !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 1rem 0 !important;
    background: #05050a !important;
}

.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    background: url('images/Fondo/fondo-negro.png') center/cover no-repeat !important;
    opacity: 1 !important;
    z-index: 0 !important;
}


.hero-card {
    position: relative !important;
    width: 100% !important;
    height: 16rem !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-card .video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-card .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.15);
    /* Acercando para "expandir" el contenido del video sin estirarlo */
    transform-origin: center;
    /* Ajustando el encuadre */
    filter: brightness(0.65);
    display: block;
}

.hero-card::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to bottom left, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%) !important;
    z-index: 2 !important;
}

.hero-text-content {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 3;
    text-align: center;
    padding: 3rem;
    color: #fff;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-line-1 {
    font-family: var(--font-titles);
    font-size: 7rem;
    font-weight: 800;
    line-height: 0.9;
    margin: 0;
    color: var(--color-gold);
    display: block;
    text-transform: none;
    /* Mantener casing natural */
}

.hero-line-2 {
    font-family: var(--font-titles);
    line-height: 0.9;
    color: #fff;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: -0.5rem 0;
    font-weight: 700;
}

.word-con {
    font-size: 2.2rem;
    text-transform: none;
}

.word-calidad {
    font-size: 3rem;
    text-transform: none;
}

.hero-line-3 {
    font-family: var(--font-titles);
    font-size: 9rem;
    font-weight: 800;
    line-height: 0.8;
    color: #fff;
    display: block;
    margin: 0;
    text-transform: none;
}

/* .word-calidad color removed to match rest of text */

@media (max-width: 768px) {
    .hero-banner {
        min-height: auto;
    }

    .hero-card {
        height: 350px;
        /* Revertido a 350px según lo solicitado */
    }

    .hero-text-content {
        padding: 1.5rem;
    }

    .hero-line-1,
    .hero-line-3 {
        font-size: 3.5rem;
    }

    .hero-line-2 {
        font-size: 2.2rem;
    }
}

/* hero-grid removed */

.hero-title-main-alt {
    font-size: 5rem;
    line-height: 0.9;
    font-weight: 800;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-subtitle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 0.9;
}

.hero-subtitle-small {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    margin-right: 4rem;
    font-style: italic;
}

.hero-subtitle-large {
    font-size: 4rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
}

/* hero-responsive grid removed */

.services-strip {
    background-color: #0a0a0a;
    background-size: 20px 20px;
    padding: 1.5rem 0;
    /* Reducido desde 3rem */
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    position: relative;
    z-index: 5;
}

.services-grid-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    text-align: center;
    align-items: start;
}

.service-item-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.service-item-strip:hover {
    transform: translateY(-5px);
}

.service-title-strip {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 150px;
    margin: 0 auto;
}

.service-title-strip span {
    display: block;
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .services-grid-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid-strip {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ===================================
   ATERA COMING SOON MODAL
   =================================== */
.atera-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.atera-modal.active {
    display: flex;
    opacity: 1;
}

.atera-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 3rem 2rem;
    border-radius: 15px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Background Animated Worker */
.atera-modal-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    /* Tamaño ajustado */
    height: 65%;
    background-image: url('images/atera-bg-animated.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    /* Opacidad aumentada para más color */
    z-index: 0;
    pointer-events: none;
}

.atera-modal-body {
    position: relative;
    z-index: 1;
}

.atera-modal-body h2 {
    color: #ffcc00;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.atera-modal-body p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.atera-modal-body .atera-highlight {
    font-weight: 700;
    color: #000;
    display: block;
    margin-top: 2rem;
}

.atera-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2;
}

.atera-close:hover {
    color: #ffcc00;
}

/* ==========================================================================
   FIDELITY / ESTRATEGIA DE BIENESTAR
   ========================================================================== */
.wellness-section-fidelity {
    padding: 3rem 0 5rem 0;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.benefits-grid-fidelity {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.benefit-card-fidelity {
    position: relative;
    background: #f5f5f5;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-height: 100px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.benefit-card-fidelity:hover {
    transform: translateY(-5px);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card-fidelity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background: #ffffff;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
}

.benefit-icon-box {
    position: relative;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon-img {
    max-width: 100%;
    height: auto;
}

.benefit-fa-icon {
    font-size: 2rem;
    color: #333;
}

.benefit-text-box {
    position: relative;
    z-index: 2;
    padding-left: 0.5rem;
}

.benefit-text-box h3 {
    font-family: 'Arimo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    margin: 0;
}

@media (max-width: 992px) {
    .benefits-grid-fidelity {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid-fidelity {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .hero-card {
        aspect-ratio: 16 / 9;
        height: auto !important;
    }
}

.hero-text-content h1,
.hero-text-content [class^="hero-line"] {
    text-transform: uppercase;
}

.hero-text-content [class^="word-"] {
    text-transform: uppercase;
    font-family: 'Futura', var(--font-titles);
}

.word-humana {
    font-size: 8rem !important;
}

.hero-card,
.video-card-fidelity {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    display: block !important;
    background: #000;
}

.hero-card::after {
    display: none !important;
}

.hero-card .video-container,
.video-card-fidelity .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-card .video-container video,
.video-card-fidelity .video-container video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: none !important;
    background-color: #000;
    display: block;
}

/* ==========================================================================
   QUIÉNES SOMOS (NOSOTROS)
   ========================================================================== */
.nos-hero-card {
    background: #000;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.2) 70%, transparent 100%),
        url('images/IMG_7791.jpg');
    background-size: cover;
    background-position: right center;
    border-radius: 20px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    min-height: 400px;
}

.nos-image-side {
    width: 100%;
    height: 100%;
}

.nos-hero-text {
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
}

.mission-vision-section {
    padding: 4rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat;
    position: relative;
    border: none !important;
}

@media (max-width: 992px) {
    .nos-hero-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.mission-vision-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: center;
}

.mission-vision-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.eyebrow-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.1rem;
}

.eyebrow-line {
    width: 35px;
    height: 3px;
    background: var(--color-gold);
}

.eyebrow {
    color: #444;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.mission-vision-item h2 {
    color: #111;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 0.1rem;
    line-height: 1;
    text-transform: none;
    font-family: 'Oswald', sans-serif;
}

.mission-vision-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    text-align: justify;
    margin: 0;
}

.mission-vision-image {
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
}

.mission-vision-image img {
    width: 100%;
    max-width: 420px;
    margin: 0;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: none;
    object-fit: cover;
}

.stats-panel {
    background: url(images/Fondo/fondo-negro.png);
    padding: 2.5rem 4%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.stat-item h3 {
    color: var(--color-gold);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: -5px;
    font-family: 'Arimo', sans-serif;
}

.stat-item p {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 5px;
}

.certs-section {
    padding: 5rem 4%;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat;
    text-align: center;
}

.certs-title {
    font-size: 2.4rem;
    color: #111;
    font-weight: 800;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.certs-cards-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.cert-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cert-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.mapa-estrategico {
    position: relative;
    background: url("images/Fondo/fondo-negro.png") center/cover no-repeat;
    padding: 3.5rem 0 1rem 0;
    color: white;
    overflow: hidden;
}

.mapa-title {
    position: relative;
    z-index: 2;
    color: var(--color-gold);
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.mapa-container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: space-between;
}

.mapa-text-card {
    background: #ffffff;
    color: #111;
    padding: 3rem;
    border-radius: 0 30px 30px 0;
    font-size: 1.15rem;
    line-height: 1.6;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.5);
    z-index: 5;
    max-width: 450px;
}

.mapa-text-card b {
    color: #000;
    font-weight: 800;
}

.mapa-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 2rem;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
}

.mapa-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.1));
}

.map-marker {
    position: absolute;
    display: flex;
    align-items: center;
    cursor: default;
    z-index: 10;
    pointer-events: all;
}

/* Permitir que la etiqueta esté a la izquierda */
.map-marker.label-left {
    flex-direction: row-reverse;
}

.marker-dot {
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(220, 185, 78, 0.4);
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 185, 78, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(220, 185, 78, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 185, 78, 0);
    }
}

.marker-label {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: 'Oswald', sans-serif;
    margin-left: 8px;
    white-space: nowrap;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    transform: scale(0.9);
    cursor: text;
}

.map-marker.label-left .marker-label {
    margin-left: 0;
    margin-right: 8px;
}

.map-marker:hover .marker-label {
    opacity: 1;
    transform: scale(1);
    background: var(--color-gold);
    color: #000;
}

/* Responsivo: Nombres siempre visibles en el mapa */
@media (max-width: 768px) {
    .marker-dot {
        width: 5px;
        height: 5px;
    }

    .marker-label {
        opacity: 1 !important;
        transform: scale(0.85) !important;
        background: var(--color-gold);
        color: #000;
        font-weight: bold;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        padding: 1px 4px;
        font-size: 0.55rem;
        margin-left: 3px;
    }

    .map-marker.label-left .marker-label {
        margin-right: 3px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .marker-label {
        font-size: 0.45rem;
        padding: 1px 2px;
        letter-spacing: -0.2px;
    }

    .marker-dot {
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 360px) {
    .marker-label {
        font-size: 0.4rem;
        padding: 0px 2px;
    }
}

.testimonials-fidelity {
    padding: 5rem 4%;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat !important;
    text-align: center;
}

.fidelity-title {
    color: #111;
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.fidelity-subtitle {
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.fidelity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}

.fidelity-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fidelity-card {
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.fidelity-card:hover {
    transform: translateY(-5px);
}

.card-dark {
    background-color: #1a2332;
    color: white;
}

.card-light {
    background-color: #ffffff;
    color: #111;
    border: 1px solid #eee;
}

.card-stars {
    color: #f9dd47;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-recommends {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-text {
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.5rem;
}

.card-dark .card-text {
    color: #efefef;
}

.card-light .card-text {
    color: #333;
    font-weight: 500;
}

.card-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}

.card-social-icon {
    font-size: 1.5rem;
}

.card-dark .card-social-icon {
    color: #ffffff;
}

.card-light .card-social-icon {
    color: #1a2332;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 0.5rem;
}

.author-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f9dd47;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.author-role {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .fidelity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .certs-cards-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 1024px) {

    .mission-vision-container,
    .mapa-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-vision-image,
    .mapa-image-container {
        order: -1;
    }

    .stats-panel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .mapa-title {
        white-space: normal;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .mission-vision-section {
        padding: 2rem 4%;
    }

    .mission-vision-item h2 {
        font-size: 2.4rem;
    }

    .certs-section {
        padding: 2rem 4% 3rem;
    }

    .certs-title {
        font-size: 1.8rem;
    }

    .certs-cards-grid {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .cert-card {
        flex: 0 0 120px;
        height: 120px;
    }

    .fidelity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .fidelity-title {
        font-size: 2rem;
    }

    .testimonials-fidelity {
        padding: 2.5rem 4%;
    }

    .mapa-text-card {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .stats-panel {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem 4%;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .mission-vision-container {
        gap: 1.5rem;
    }

    .mission-vision-item h2 {
        font-size: 2rem;
    }

    .fidelity-grid {
        grid-template-columns: 1fr;
    }

    .fidelity-card {
        min-height: auto;
    }

    .cert-card {
        flex: 0 0 100px;
        height: 100px;
    }

    .mapa-estrategico {
        padding: 2.5rem 4% 1rem 4%;
    }

    .mapa-title {
        font-size: 1.8rem;
        white-space: normal;
    }

    .fidelity-title {
        font-size: 1.8rem;
    }

    .fidelity-subtitle {
        font-size: 0.88rem;
    }
}

@media (max-width: 400px) {
    .stats-panel {
        grid-template-columns: 1fr;
    }

    .fidelity-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ATENCIÓN AL USUARIO
   ========================================================================== */
.atencion-hero {
    padding: 0;
    color: white;
    background: url(images/Fondo/fondo-negro.png) center/cover no-repeat;
    overflow: hidden;
}

.atencion-hero .global-hero-card {
    margin: 1rem auto 1rem;
}

@media (min-width: 768px) {
    .atencion-hero .global-hero-card {
        margin: 1.5rem auto 1.5rem;
    }
}

.atencion-hero .container-aligned {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.atencion-hero-description {
    flex: 1;
    max-width: 380px;
}

.atencion-hero-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #f3f4f6;
    text-align: justify;
    margin: 0;
}

.channels-section {
    padding: 2rem 0 4rem;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat;
}

.channels-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-ebony);
    letter-spacing: -1px;
}

.channels-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .channels-grid {
        flex-wrap: nowrap;
    }
}

.channels-section .channel-address {
    display: block;
    width: 100%;
    text-align: center !important;
    margin-top: 3rem;
    color: #555;
    font-weight: 600;
    font-size: 1.1rem;
    clear: both;
}

.channel-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.8rem;
    flex: 0 1 auto;
    min-width: fit-content;
}

.channel-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    background: var(--color-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.channel-info h3 {
    font-size: 1.15rem;
    font-weight: 950;
    margin-bottom: 0.1rem;
    color: #000;
    font-family: 'Checkbk', 'Arimo', sans-serif;
}

.channel-info p,
.channel-info a {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.2;
    text-decoration: none;
    font-weight: 500;
}

.channel-address {
    font-size: 0.75rem !important;
    margin-top: 0.1rem;
    color: #666 !important;
}

.forms-section {
    padding: 2rem 6% 3rem !important;
    background: #05050a !important;
    position: relative !important;
}

.forms-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.form-card {
    background: white !important;
    padding: 0.7rem 1rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #eee !important;
    color: #333 !important;
}

.form-card-er {
    margin-bottom: 0.4rem !important;
    text-align: center !important;
}

.form-card-er h2 {
    font-size: 1.05rem !important;
    font-weight: 1000 !important;
    color: #1a1a1a !important;
    margin-bottom: 0.1rem !important;
}

.form-card-er p {
    font-size: 0.65rem !important;
    color: #666 !important;
    line-height: 1.2 !important;
}

.atencion-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
}

.atencion-form .form-group label {
    font-weight: 850 !important;
    font-size: 0.7rem !important;
    margin-bottom: 0.15rem !important;
    display: block !important;
    color: #1a1a1a !important;
}

.atencion-form input,
.atencion-form select,
.atencion-form textarea {
    padding: 0.3rem !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    width: 100% !important;
    font-family: inherit !important;
    font-size: 0.7rem !important;
    background: white !important;
    color: #333 !important;
}

.faq-section {
    padding: 3rem 6% !important;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat !important;
    text-align: center !important;
}

.faq-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.faq-item {
    display: flex !important;
    align-items: flex-start !important;
    background: white !important;
    padding: 0.8rem 1rem !important;
    border-radius: 2px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    gap: 0.8rem !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.faq-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2) !important;
}

.faq-icon {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    background: var(--color-gold) !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.1rem !important;
    font-weight: 1000 !important;
    color: #1a1a1a !important;
}

.faq-question {
    font-size: 0.72rem !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-out;
    font-size: 0.68rem !important;
    color: #666;
    line-height: 1.4 !important;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid #eee;
}

@media (max-width: 1399px) {
    .faq-item {
        max-width: 260px !important;
        min-width: 200px !important;
    }
}

@media (max-width: 1149px) {
    .atencion-hero .container-aligned {
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    .atencion-hero-description {
        text-align: center !important;
    }

    .atencion-hero-text {
        margin: 0 auto !important;
        text-align: center !important;
        max-width: 600px !important;
    }

    .channels-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        max-width: 600px !important;
    }

    .forms-grid {
        grid-template-columns: 1fr !important;
        max-width: 500px !important;
        gap: 2rem !important;
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .faq-item {
        flex: 1 1 45% !important;
        max-width: 48% !important;
    }
}

@media (max-width: 767px) {
    .channels-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .faq-grid {
        grid-template-columns: 1fr !important;
    }

    .faq-item {
        max-width: 350px !important;
    }
}

@media (max-width: 575px) {
    .channels-grid {
        grid-template-columns: 1fr !important;
        max-width: 280px !important;
    }

    .channel-item {
        background: #f9f9f9 !important;
        border-radius: 8px !important;
    }
}

/* ==========================================================================
   CENTRO DE APRENDIZAJE
   ========================================================================== */
.learning-hero {
    padding: 0;
    color: #ffffff;
    background: url(images/Fondo/fondo-negro.png) center/cover no-repeat;
    overflow: hidden;
}

.learning-hero .global-hero-card {
    margin: 1rem auto 1rem;
}

@media (min-width: 768px) {
    .learning-hero .global-hero-card {
        margin: 1.5rem auto 1.5rem;
    }
}

.policies-grid-section {
    padding: 4rem 6%;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat !important;
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2rem;
    max-width: 1350px;
    margin: 0 auto;
}

.policy-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
}

.policy-icon-circle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--color-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.policy-icon-circle i {
    font-size: 1.5rem;
    color: #111;
}

.policy-item h3 {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.25;
}

.download-pdf-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    opacity: 0.8;
}

.training-section {
    padding: 2.5rem 6% 0.5rem;
    background: url(images/Fondo/fondo-negro.png) center/cover no-repeat;
    color: white;
    text-align: center;
}

.training-title {
    font-size: 3.8rem;
    color: var(--color-gold);
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    margin-bottom: 1rem;
}

.training-subtitle {
    max-width: 780px;
    margin: 0 auto 2.5rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #ccc;
    text-align: justify;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1350px;
    margin: 0 auto;
}

.module-card-body {
    background: white;
    border-radius: 20px;
    padding: 1.5rem 1rem;
    color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
    flex: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.module-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: #000;
}

.ppt-icon-box {
    width: 54px;
    height: 54px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-tag {
    background: var(--color-gold);
    color: #000;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.3rem 2rem;
    border-radius: 6px;
    text-transform: uppercase;
}

.view-btn {
    background: var(--color-gold);
    color: #000;
    padding: 0.4rem 1.8rem;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

.view-btn:hover {
    background: #000;
    color: var(--color-gold);
    transform: translateY(-3px);
}

@media (max-width: 1200px) {

    .policies-grid,
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .training-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 640px) {

    .policies-grid,
    .training-grid {
        grid-template-columns: 1fr;
    }

    .training-title {
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   BENEFICIOS ATM
   ========================================================================== */
.page-er {
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(15, 15, 25, 0.7)), url('images/banner-bg-original.jpeg');
    background-attachment: fixed;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.page-er h1 {
    font-size: 3rem;
    color: var(--color-gold);
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}

.galeria-image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #333;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.galeria-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.galeria-image-container:hover .galeria-image {
    transform: scale(1.05);
}

.btn-ver-galeria {
    background-color: #004aad;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-ver-galeria:hover {
    background-color: #003380;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center;
}

.pdf-preview {
    background-color: #f4f4f4;
    height: 250px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
}

.blog-item h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333;
}

.link-download {
    color: #004aad;
    text-decoration: none;
    font-weight: 500;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content.gallery-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.gallery-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .page-er h1 {
        font-size: 1.8rem;
    }

    .galeria-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   NUESTRA CULTURA
   ========================================================================== */
.cultura-hero {
    padding: 0;
    overflow: hidden;
    background: url(images/Fondo/fondo-negro.png) center/cover no-repeat;
}

.cultura-hero .global-hero-card {
    margin: 1rem auto 1rem;
}

/* ==========================================================================
   NUESTRA CULTURA - REPLICA DISEÑO FINAL
   ========================================================================== */
.gallery-section {
    padding: 3rem 5% 5rem !important;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat !important;
}

.gallery-title {
    font-size: 1.8rem !important;
    font-weight: 900 !important;
    font-family: 'Oswald', sans-serif !important;
    text-align: center !important;
    margin: 0 auto 4rem !important;
    color: #1a1a1a !important;
    line-height: 1.1 !important;
    max-width: 900px !important;
    text-transform: none !important;
}

.galeria-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
}

.galeria-image-container {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25) !important;
}

.galeria-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.gallery-label-pill {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #ffffff !important;
    color: #111 !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.1 !important;
    width: 85% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    font-family: 'Oswald', sans-serif !important;
    z-index: 5 !important;
}

.gallery-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #ffd700 !important;
    color: #111 !important;
    padding: 12px 30px !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: none !important;
    text-decoration: none !important;
    margin-top: 25px !important;
    transition: all 0.3s ease !important;
    font-family: 'Arimo', sans-serif !important;
    text-align: center !important;
}

.gallery-btn:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4) !important;
    background: #ffdb1a !important;
}

.stats-section {
    padding: 2rem 5% !important;
    background: #05050a !important;
}

.stats-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5rem !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.stat-item {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.stat-number {
    display: block !important;
    font-size: 4rem !important;
    font-weight: 700 !important;
    color: #f9dd47 !important;
    line-height: 1 !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

.stat-label {
    color: #f9dd47 !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    font-family: 'Oswald', sans-serif !important;
    line-height: 1.1 !important;
    margin-top: 0.3rem !important;
    text-align: center !important;
}

.wellness-image-section {
    width: 100% !important;
    padding: 3rem 0 0 0 !important;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat !important;
}

.wellness-title {
    font-size: 2.8rem !important;
    font-weight: 950 !important;
    color: #111 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: -1.5px !important;
}

.wellness-grid-v2 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
    padding: 0 5% 3rem 5% !important;
}

.wellness-grid-v2 img {
    width: 100% !important;
    height: 220px !important;
    /* Reducido para que las cards sean menos altas */
    object-fit: contain !important;
    /* Muestra la imagen COMPLETA sin recortar */
    background: rgba(255, 255, 255, 0.6) !important;
    /* Fondo suave */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    padding: 15px !important;
    /* Espacio para que la imagen no toque los bordes */
    transition: transform 0.3s ease !important;
}

.wellness-grid-v2 img:hover {
    transform: translateY(-5px) !important;
}

@media (max-width: 992px) {
    .wellness-grid-v2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .wellness-grid-v2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

.blog-section {
    padding: 2rem 5% !important;
    background: url(images/Fondo/fondo-negro.png) center/cover no-repeat !important;
    color: #fff !important;
}

.blog-title {
    font-size: 2.8rem !important;
    font-weight: 950 !important;
    color: #ffd700 !important;
    text-align: center !important;
    margin-bottom: 0.5rem !important;
}

.blog-intro {
    text-align: center !important;
    max-width: 900px !important;
    margin: 0 auto 3rem !important;
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    color: #eee !important;
}

.blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
    max-width: 1500px !important;
    margin: 0 auto !important;
}

.blog-card {
    display: flex !important;
    flex-direction: row !important;
    background: transparent !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    height: 225px !important;
}

.blog-photo {
    flex: 0 0 40% !important;
    height: 100% !important;
}

.blog-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.blog-content {
    flex: 0 0 60% !important;
    background: #ffffff !important;
    padding: 0.8rem 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.blog-content h3 {
    font-size: 1.4rem !important;
    /* Reducido de 1.6rem */
    font-weight: 900 !important;
    color: #000 !important;
    line-height: 1.1 !important;
    margin-bottom: 0.2rem !important;
}

.blog-role {
    font-size: 0.8rem !important;
    /* Reducido de 0.85rem */
    font-weight: 700 !important;
    color: #666 !important;
    margin: 0.1rem 0 0.6rem 0 !important;
}

.blog-quote {
    font-size: 0.88rem !important;
    /* Reducido de 0.95rem */
    color: #222 !important;
    line-height: 1.2 !important;
    /* Ajustado para mayor compacidad */
    text-align: justify !important;
    width: 100% !important;
    margin: 0 !important;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 2rem 2% !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .galeria-image-container {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }

    .gallery-label-pill {
        font-size: 0.95rem !important;
        padding: 8px 12px !important;
        bottom: 15px !important;
    }

    .gallery-btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        width: 80% !important;
        max-width: 250px !important;
        text-align: center !important;
        margin: 15px auto 0 !important;
    }

    .stats-section {
        padding: 2.5rem 2% !important;
    }

    .stats-grid {
        gap: 1rem !important;
    }

    .stat-number {
        font-size: 2.8rem !important;
    }

    .stat-label {
        font-size: 0.8rem !important;
        line-height: 1 !important;
        max-width: 100px !important;
        margin: 0 auto !important;
    }

    .blog-card {
        flex-direction: column !important;
        height: auto !important;
    }

    .blog-photo {
        flex: none !important;
        width: 100% !important;
        height: 250px !important;
    }

    .blog-content {
        flex: none !important;
        width: 100% !important;
        padding: 1.5rem !important;
    }
}

/* ==========================================================================
   TRABAJA CON NOSOTROS
   ========================================================================== */
.trabaja-main {
    background: #05050a !important;
    color: #fff;
    min-height: 100vh;
}

.trabaja-hero {
    padding: 0;
    position: relative;
}

/* .banner-title-ref span eliminado */

.trabaja-aplicacion {
    padding: 3rem 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('images/Fondo/fondo-blanco.jpg') center/cover no-repeat !important;
    color: #333 !important;
}

.form-instruction-main {
    font-family: 'Arimo', sans-serif !important;
    font-size: 1.15rem !important;
    /* Ligeramente más pequeño */
    line-height: 1.5 !important;
    color: #555 !important;
    /* Gris más suave */
    margin-bottom: 2.5rem !important;
    /* Más aire arriba */
    text-align: center !important;
    font-weight: 500 !important;
    margin-top: 0 !important;
}

.aplicacion-form-box {
    background: #1a232e !important;
    padding: 1.5rem !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    width: 100% !important;
    max-width: 550px !important;
    /* Ajustado para ser un poco más estrecho (reducción sutil) */
}

.form-section-dark {
    border: 1px dashed rgba(251, 221, 71, 0.4) !important;
    background: rgba(0, 0, 0, 0.4) !important;
    /* Un poco más oscuro para mejor contraste */
    padding: 1.2rem !important;
    /* Reducido de 2rem */
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    /* Reducido de 1.5rem */
    text-align: center !important;
}

.yellow-label {
    display: block !important;
    color: #f9dd47 !important;
    font-weight: 700 !important;
    margin-bottom: 0.8rem !important;
    font-size: 0.95rem !important;
    /* Reducido de 1.1rem */
    text-align: center !important;
}

.custom-file-btn {
    background: #fdfdfd !important;
    /* Blanco como en la imagen */
    color: #000 !important;
    font-weight: 400 !important;
    border-radius: 4px !important;
    padding: 6px 12px !important;
    font-family: 'Arimo', sans-serif !important;
    border: 1px solid #ccc !important;
    font-size: 0.9rem !important;
}

.file-status {
    color: #888 !important;
    font-size: 0.9rem !important;
    margin-left: 10px !important;
}

.high-fidelity-form textarea {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    width: 100% !important;
    min-height: 60px !important;
    /* Reducido de 80px */
    font-family: 'Arimo', sans-serif !important;
    text-align: center !important;
    resize: none !important;
    font-size: 0.9rem !important;
    /* Reducido */
}

.final-submit-btn {
    width: 100% !important;
    background: #f9dd47 !important;
    color: #222 !important;
    padding: 0.8rem !important;
    /* Reducido de 1rem */
    font-size: 0.95rem !important;
    /* Reducido de 1.1rem */
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    font-family: 'Arimo', sans-serif !important;
    border: none !important;
    margin-top: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.final-submit-btn:hover {
    background: #ffeb3b !important;
    transform: scale(1.02) !important;
}

.operativo-section {
    padding: 2.8rem 0 !important;
    background: url('images/Fondo/fondo-negro.png') center/cover no-repeat !important;
    position: relative;
}

.operativo-header {
    text-align: center !important;
    margin-bottom: 2.8rem !important;
}

.operativo-title {
    font-size: 2.45rem !important;
    font-weight: 950 !important;
    color: #f9dd47 !important;
    margin-bottom: 0.7rem !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
}

.operativo-subtitle {
    font-size: 1.1rem !important;
    color: #eee !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

.operativo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.operativo-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 2rem !important;
    text-align: left !important;
}

.operativo-icon {
    flex: 0 0 100px !important;
    width: 100px !important;
    height: 100px !important;
    background: transparent !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    z-index: 1;
}

.operativo-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 15px !important;
}

.operativo-info h3 {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 0 0.4rem 0 !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
}

.operativo-info p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    .hero-card {
        height: 24rem !important;
    }
}

.aplicacion-grid-fidelity {
    display: flex !important;
    flex-direction: row !important;
    gap: 4rem !important;
    align-items: stretch !important;
    /* Alineado arriba y abajo */
    justify-content: center !important;
    /* Centrado horizontal */
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.aplicacion-poster {
    flex: 0 0 280px !important;
    /* Aumentado para alinear mejor con la altura del bloque derecho */
    max-width: 300px !important;
}

.aplicacion-poster img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

.aplicacion-right-col {
    flex: 1 !important;
    /* Permitir que crezca */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    /* Centrar el formulario dentro de la columna */
    max-width: 700px !important;
}

@media (max-width: 992px) {
    .aplicacion-grid-fidelity {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .aplicacion-poster,
    .aplicacion-right-col {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .operativo-header {
        text-align: center !important;
    }

    .operativo-grid {
        grid-template-columns: 1fr !important;
    }

    .operativo-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .operativo-info h3,
    .operativo-info p {
        text-align: center !important;
    }
}

.operativo-subtitle {
    text-align: center !important;
    font-size: 1.1rem !important;
}

/* BOTÓN FIJO COTIZAR */
.fixed-quote-btn {
    position: fixed;
    right: -28px;
    /* Ajuste para el nuevo ancho */
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background-color: #ffd700;
    color: #000;
    padding: 6px 18px;
    /* Más pequeño */
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px 4px 0 0;
    z-index: 10000;
    font-size: 0.75rem;
    /* Más pequeño */
    letter-spacing: 1px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    transform-origin: center;
}

.fixed-quote-btn:hover {
    background-color: #ffcc00;
    text-decoration: none;
    color: #000;
    right: -25px;
}

@media (max-width: 768px) {
    .fixed-quote-btn {
        padding: 5px 15px;
        font-size: 0.7rem;
        right: -25px;
    }
}

/* ==========================================================================
   FOOTER - CENTRADO RESPONSIVO
   ========================================================================== */
@media (max-width: 992px) {

    .footer,
    .footer-er,
    .footer-er h2 {
        text-align: center !important;
    }

    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 2.5rem !important;
        padding: 3rem 1.5rem !important;
    }

    .footer-container * {
        text-align: center !important;
    }

    .footer-column,
    .footer-logo-col,
    .footer-group,
    .footer-super-box-integrated,
    .footer-social-col {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    /* Sobreescribiendo Específicamente la alineación forzada a la izquierda de escritorio */
    .footer-left-aligned {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .footer-left-aligned .footer-group {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .footer-list {
        display: block !important;
        text-align: center !important;
        padding: 0 !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    /* Solución definitiva de centrado: Block en lugar de Flex para anular alineación a la izquierda */
    .footer-list li {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 0.8rem !important;
    }

    .footer-list li i {
        display: inline-block !important;
        margin-right: 6px !important;
        width: auto !important;
        text-align: center !important;
    }

    .footer-list li a,
    .footer-list li span {
        display: inline-block !important;
        text-align: center !important;
    }

    .footer-socials {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .footer-socials a {
        display: inline-block !important;
        margin: 0 10px !important;
    }

    .footer-super-label,
    .footer-super-box,
    .footer-super-logo-wrapper {
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        display: flex !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   MAPA ESTRATÉGICO - VISIBILIDAD Y CENTRADO RESPONSIVO
   ========================================================================== */
@media (max-width: 992px) {
    .mapa-estrategico .mapa-container {
        flex-direction: column !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        gap: 2rem !important;
    }

    .mapa-image-container {
        width: 100% !important;
        padding-right: 0 !important;
        justify-content: center !important;
        display: flex !important;
        order: -1 !important;
        /* Mapa arriba del texto */
        margin-top: 1rem !important;
    }

    .map-wrapper {
        width: 100% !important;
        max-width: 500px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 auto !important;
    }

    .mapa-image {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 auto !important;
    }

    .mapa-text-card {
        width: 90% !important;
        max-width: none !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
        padding: 2rem !important;
    }
}

/* ==========================================================================
   CENTRO DE APRENDIZAJE - HERO BANNER RESPONSIVO
   ========================================================================== */
@media (max-width: 992px) {
    .learning-hero .global-hero-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 3rem 1.5rem !important;
        height: auto !important;
        min-height: auto !important;
    }

    .learning-hero .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }

    .learning-hero .hero-title-group,
    .learning-hero .hero-subtitle-group {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .learning-hero .banner-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.4rem !important;
    }

    .learning-hero .hero-description {
        font-size: 0.95rem !important;
        text-align: justify !important;
        text-align-last: center !important;
        line-height: 1.6 !important;
        color: #ffffff !important;
    }
}

@media (max-width: 575px) {
    .learning-hero .global-hero-card {
        padding: 2.5rem 1rem !important;
    }

    .learning-hero .banner-title {
        font-size: 1.8rem !important;
    }

    .learning-hero .hero-description {
        font-size: 0.85rem !important;
    }
}

/* ==========================================================================
   ATENCIÓN AL USUARIO - HERO BANNER RESPONSIVO
   ========================================================================== */
@media (max-width: 992px) {
    .hero-banner .hero-card.atencion-card-revised {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 4rem 1.5rem !important;
        height: auto !important;
        min-height: fit-content !important;
        overflow: hidden !important;
    }

    .hero-banner .hero-card.atencion-card-revised .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
    }

    .hero-banner .hero-card.atencion-card-revised .hero-title-group {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .hero-banner .hero-card.atencion-card-revised .hero-subtitle-group {
        display: none !important;
        /* Ocultar contenedor de descripción */
    }

    .hero-banner .hero-card.atencion-card-revised .banner-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.4rem !important;
    }

    .hero-banner .hero-card.atencion-card-revised .hero-description {
        display: none !important;
        /* Ocultar texto de descripción */
    }
}

@media (max-width: 575px) {
    .hero-banner .hero-card.atencion-card-revised {
        padding: 3rem 1rem !important;
    }

    .hero-banner .hero-card.atencion-card-revised .banner-title {
        font-size: 1.8rem !important;
    }
}

/* Fix específico de contenedor para que el banner hero-banner crezca sin cortar texto */
@media (max-width: 1149px) {
    .hero-banner .container-aligned {
        flex-direction: column !important;
        text-align: center !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }
}

/* ==========================================================================
   ESTRATEGIA DE BIENESTAR - REDUCCIÓN 10% TÍTULO
   ========================================================================== */
.wellness-title {
    transform: scale(0.9) !important;
    transform-origin: center !important;
    display: inline-block !important;
    /* Necesario para que el transform se aplique correctamente sin afectar el flujo del bloque */
    width: 100% !important;
    text-align: center !important;
}

/* ==========================================================================
   NUESTRA CULTURA - HERO BANNER RESPONSIVO (Ocultar descripción en móvil)
   ========================================================================== */
@media (max-width: 992px) {
    .cultura-hero .global-hero-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 4rem 1.5rem !important;
        height: auto !important;
        min-height: fit-content !important;
        overflow: hidden !important;
    }

    .cultura-hero .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
    }

    .cultura-hero .hero-title-group {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .cultura-hero .hero-subtitle-group,
    .cultura-hero .hero-description {
        display: none !important;
        /* Ocultar texto de descripción en móvil */
    }

    .cultura-hero .banner-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        line-height: 1.2 !important;
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.4rem !important;
    }
}

@media (max-width: 575px) {
    .cultura-hero .global-hero-card {
        padding: 3rem 1rem !important;
    }

    .cultura-hero .banner-title {
        font-size: 1.8rem !important;
    }
}

/* ==========================================================================
   TRABAJA CON NOSOTROS - HERO BANNER RESPONSIVO (Ocultar descripción en móvil)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-banner .hero-card.hero-trabaja-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 4rem 1.5rem 6.5rem 1.5rem !important;
        /* Aumentado drásticamente el margen inferior */
        height: auto !important;
        min-height: 280px !important;
        /* Altura mínima forzada */
        max-height: none !important;
        /* Quitar cualquier tope posible */
        overflow: visible !important;
    }

    .hero-banner .hero-card.hero-trabaja-card .hero-container {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        overflow: visible !important;
    }

    .hero-banner .hero-card.hero-trabaja-card .hero-title-group {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .hero-banner .hero-card.hero-trabaja-card .hero-subtitle-group,
    .hero-banner .hero-card.hero-trabaja-card .hero-description {
        display: none !important;
    }

    .hero-banner .hero-card.hero-trabaja-card .banner-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        line-height: 1.4 !important;
        /* Más aire entre las líneas del título */
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0.4rem !important;
        padding-bottom: 2.5rem !important;
        margin-bottom: 1.5rem !important;
        /* Espacio extra duro hacia abajo */
    }
}

@media (max-width: 575px) {
    .hero-banner .hero-card.hero-trabaja-card {
        padding: 3rem 1rem 6rem 1rem !important;
        min-height: 240px !important;
    }

    .hero-banner .hero-card.hero-trabaja-card .banner-title {
        font-size: 1.8rem !important;
    }
}