:root {
    --primary-red: #2D5BB5;
    --dark-red: #002060;
    --bg-light: #f0f2f5;
    --text-main: #333;
    --text-muted: #555;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif; 
    font-size: 14px; 
    color: var(--text-main); 
    background: var(--bg-light); 
    line-height: 1.6; 
}

a { text-decoration: none; color: inherit; transition: var(--transition); }

/* --- HEADER & NAV --- */
.top-bar {
    background: var(--dark-red);
    color: rgba(255,255,255,0.9);
    padding: 8px 50px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar { 
    background: #fff; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 50px; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.08); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

.navbar-brand { display: flex; align-items: center; gap: 15px; padding: 12px 0; }
.brand-logo img { height: 65px; width: auto; }

.brand-text { border-left: 2px solid #eee; padding-left: 15px; }
.brand-name { 
    font-size: 16px; 
    font-weight: 800; 
    color: #222; 
    line-height: 1.1; 
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.brand-name span { color: var(--primary-red); }

.nav-links { display: flex; align-items: center; }
.nav-links > a { 
    color: var(--text-muted); 
    font-size: 13px; 
    padding: 35px 20px; 
    display: block; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links > a:hover { color: var(--primary-red); }
.nav-links > a:hover::after, .nav-links > a.active::after { width: 30px; }
.nav-links > a.active { color: var(--primary-red); }

/* --- SLIDER & CONTENT --- */
.slider-container { position: relative; width: 100%; height: 500px; overflow: hidden; background: #000; }
.slider { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); height: 100%; }
.slide { min-width: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }

.slide-content { 
    position: absolute; 
    top: 50%; 
    left: 10%; 
    transform: translateY(-50%); 
    color: #fff; 
    max-width: 700px; 
    z-index: 10; 
}
.slide-content h2 { font-size: 48px; font-weight: 800; margin-bottom: 20px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.slide-content p { font-size: 20px; margin-bottom: 30px; opacity: 0.9; }


.btn-cta { 
    background: var(--primary-red); 
    color: #fff; 
    padding: 15px 35px; 
    border-radius: 4px; 
    font-weight: bold; 
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 32, 96, 0.3);
}
.btn-cta:hover { background: var(--dark-red); transform: translateY(-2px); }

.container { max-width: 1200px; margin: 60px auto; padding: 0 20px; display: grid; grid-template-columns: 2.5fr 1fr; gap: 50px; }

.welcome-section h1 { 
    color: var(--dark-red); 
    font-size: 36px; 
    margin-bottom: 25px; 
    border-left: 6px solid var(--primary-red); 
    padding-left: 20px; 
    line-height: 1.2;
}

/* --- CARDS & GRID --- */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 40px; }
.info-card { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
    border-top: 4px solid var(--primary-red);
    transition: var(--transition);
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.info-card h3 { color: var(--dark-red); margin-bottom: 12px; font-size: 18px; font-weight: 700; }

/* --- SIDEBAR --- */
.sidebar-box { background: #fff; padding: 25px; border-radius: 12px; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.sidebar-box h2 { font-size: 20px; color: var(--dark-red); margin-bottom: 20px; border-bottom: 2px solid #f0f0f0; padding-bottom: 12px; }
.sidebar-list { list-style: none; }
.sidebar-list li { padding: 10px 0; border-bottom: 1px solid #f8f8f8; font-size: 13.5px; color: var(--text-muted); }
.sidebar-list li::before { content: "→"; color: var(--primary-red); font-weight: bold; margin-right: 10px; }
.sidebar-list li strong { color: var(--dark-red); font-size: 12px; text-transform: uppercase; }

/* --- VERIFICATION & FORMS --- */
.verification-card { background: var(--dark-red) !important; color: #fff; text-align: center; }
.btn-verify { 
    display: block; 
    background: #fff; 
    color: var(--dark-red); 
    text-align: center; 
    padding: 12px; 
    border-radius: 6px; 
    font-weight: 800; 
    margin-top: 20px;
    text-transform: uppercase;
}

.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: #2D5BB5; }
.form-group input[type="text"], .form-group input { width: 100%; padding: 12px 15px; border: 2px solid #e1e5e9; border-radius: 8px; font-size: 14px; }
.form-group input:focus, textarea:focus { outline: none; border-color: var(--primary-red) !important; }

/* --- RESULTS --- */
.result-box { margin-top: 25px; padding: 20px; border-radius: 10px; animation: fadeIn 0.5s; font-size: 14px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.result-valid { background: #e8f5e9; border: 2px solid #4caf50; color: #1b5e20; }
.result-error { background: #ffebee; border: 2px solid #f44336; color: #c62828; }

/* --- ABOUT & ADDITIONAL --- */
.page-banner { background: linear-gradient(rgba(13, 51, 96, 0.7), rgba(13, 51, 96, 0.7)); url('img/banner-about.jpg'); background-size: cover; background-position: center; color: #fff; padding: 60px 50px; text-align: center; }
.section-title { color: var(--dark-red); font-size: 28px; margin-bottom: 20px; font-weight: 700; position: relative; padding-bottom: 10px; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--primary-red); }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.principle-item { background: var(--bg-light); padding: 20px; border-radius: 8px; text-align: center; border-bottom: 3px solid transparent; transition: var(--transition); }
.principle-item:hover { border-bottom-color: var(--primary-red); transform: translateY(-5px); background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* --- FOOTER --- 
.footer { background: #1a1a1a; color: #999; padding: 60px 20px; text-align: center; margin-top: 80px; }*/

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
    .top-bar { display: none; }
    .navbar { padding: 0 20px; }
    .brand-text { display: none; }
    .container, .main-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .content-card { padding: 30px 20px; }
    .principles-grid { grid-template-columns: 1fr 1fr; }
    .page-banner h1 { font-size: 28px; }
    .nav-links { display: none; }
}

/* --- Recuperando: ABOUT CONTENT & MAIN CONTAINER --- */
.main-container { 
    max-width: 1100px; 
    margin: -40px auto 60px; 
    padding: 0 20px; 
    position: relative; 
    z-index: 10; 
}

.content-card { 
    background: #fff; 
    padding: 50px; 
    border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
    margin-bottom: 40px; 
}

.about-text { 
    font-size: 16px; 
    color: #555; 
    line-height: 1.8; 
    margin-bottom: 30px; 
    text-align: justify; 
}

/* --- Recuperando: HISTORY & SERVICES --- */
.history-box { 
    background: var(--dark-red); 
    color: #fff; 
    padding: 40px; 
    border-radius: 12px; 
    margin-bottom: 40px; 
}

.history-box h2 { 
    margin-bottom: 15px; 
    font-size: 24px; 
    color: #fff; 
    border-bottom: 1px solid rgba(255,255,255,0.2); 
    padding-bottom: 10px; 
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 15px; 
    margin-top: 30px; 
}

.service-tag { 
    background: #fff; 
    border: 1px solid #eee; 
    padding: 12px 15px; 
    border-radius: 6px; 
    font-size: 13px; 
    display: flex; 
    align-items: center; 
    transition: var(--transition); 
}

.service-tag::before { 
    content: '✓'; 
    color: var(--primary-red); 
    font-weight: bold; 
    margin-right: 10px; 
}

.service-tag:hover { 
    border-color: var(--primary-red); 
    color: var(--primary-red); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

/* --- Recuperando: PRINCIPLES (Detalles) --- */
.principle-item strong { 
    color: var(--dark-red); 
    display: block; 
    font-size: 15px; 
    text-transform: uppercase; 
}

.breadcrumb { 
    font-size: 12px; 
    opacity: 0.8; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
/* --- CONTACT & LAYOUT ESPECÍFICO --- */
.main { 
    display: flex; 
    max-width: 1200px; 
    margin: 30px auto; 
    padding: 0 20px; 
    gap: 30px; 
}

.content { flex: 1; }

.sidebar { 
    width: 280px; 
    flex-shrink: 0; 
}

/* --- FORMULARIO DE CONTACTO / CHECK --- */
.section-sub { 
    font-size: 14px; 
    color: #666; 
    margin-bottom: 25px; 
    margin-left: 19px; 
}

.form-card { 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    padding: 30px; 
}

.btn-check { 
    background: #ff5e3a;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    letter-spacing: 1px;
}

.btn-check:hover { background: #222; transform: translateY(-2px); }

/* --- SIDEBAR CARDS (CONTACTO) --- */
.sidebar-card { 
    background: #fff; 
    border-radius: 12px; 
    margin-bottom: 25px; 
    overflow: hidden; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.08); 
}

.sidebar-title { 
    font-size: 14px; 
    font-weight: 700; 
    color: #fff; 
    background: linear-gradient(135deg, #2D5BB5, #3971E3); 
    padding: 12px 18px; 
}

.sidebar-body { 
    padding: 15px 18px; 
}

.sidebar-body ul { list-style: none; }

.sidebar-body ul li { 
    border-bottom: 1px solid #f0f0f0; 
    padding: 8px 0; 
    font-size: 13px; 
}

.sidebar-body ul li a { 
    color: #3971E3; 
    font-weight: 600;
}

/* --- TABLAS DE RESULTADOS (VALIDACIÓN) --- */
.result-valid table { 
    width: 100%; 
    margin-top: 15px; 
    border-collapse: collapse; 
}

.result-valid table td { 
    padding: 8px 10px; 
    border-bottom: 1px solid rgba(76,175,80,0.2); 
}

.status-badge { 
    display: inline-block; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 12px; 
    font-weight: 600; 
    color: #fff; 
}

.status-active { background: #4caf50; }
.status-expired { background: #f44336; }

/* ============================================================
   ESTILOS DE VERIFICACIÓN (VALIDITY.PHP)
   ============================================================ */

.vld-main-wrapper {
    display: flex !important;
    flex-direction: row !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    padding: 0 20px !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

.vld-left-column { flex: 2.5 !important; }
.vld-right-column { flex: 1 !important; width: 300px !important; }

.vld-auth-card {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.vld-title-wrap {
    border-bottom: 2px solid #eee !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
}

.vld-section-title {
    color: #002060 !important;
    font-size: 26px !important;
    margin: 0 !important;
    position: relative !important;
}

.vld-section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -12px !important;
    left: 0 !important;
    width: 60px !important;
    height: 3px !important;
    background: #3971E3 !important;
}

.vld-section-sub {
    color: #666 !important;
    margin-bottom: 30px !important;
    font-size: 15px !important;
}

.vld-form-group { margin-bottom: 20px !important; }
.vld-label {
    display: block !important;
    color: #2D5BB5 !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

.vld-input {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}

.vld-btn-submit {
    background: #ff5e3a !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 40px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    width: 100% !important;
    letter-spacing: 1px !important;
}

.vld-btn-submit:hover { background: #222; transform: translateY(-2px); !important}

/* Resultados */
.vld-res-box {
    margin-top: 30px !important;
    padding: 25px !important;
    border-radius: 8px !important;
    border-left: 5px solid !important;
}

.vld-res-valid { background: #f9fdf9 !important; border-color: #4caf50 !important; color: #333 !important; }
.vld-res-error, .vld-res-invalid { background: #fff5f5 !important; border-color: #f44336 !important; }

.vld-res-details p { margin: 10px 0 !important; border-bottom: 1px solid #eee !important; padding-bottom: 5px !important; }

.vld-status {
    padding: 3px 12px !important;
    border-radius: 20px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: bold !important;
}
.vld-status-active { background: #4caf50 !important; }

/* Sidebar Unique */
.vld-side-card {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    margin-bottom: 25px !important;
    overflow: hidden !important;
}

.vld-side-title {
    background: #2D5BB5 !important;
    color: #fff !important;
    padding: 15px 20px !important;
    font-weight: 700 !important;
}

.vld-side-body { padding: 20px !important; }
.vld-side-list { list-style: none !important; padding: 0 !important; }
.vld-side-list li { padding: 10px 0 !important; border-bottom: 1px solid #eee !important; }
.vld-side-list a { color: #3971E3 !important; font-weight: 600 !important; }

.vld-side-red .vld-side-title { background: #3971E3 !important; }

/* Mobile */
@media (max-width: 992px) {
    .vld-main-wrapper { flex-direction: column !important; }
    .vld-right-column { width: 100% !important; }
}


/* ================HEADER TOP============= */
.info.clearfix li img {
    width: 20px;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}
.header-top{
  position: relative;
  background: #25314D;
  padding: 7px 80px 6px 100px;
}

.header-top .info li{
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 20px;
  font-size: 13px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.50);
  padding-left: 22px;
}

.header-top .info li a{
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.50);
}

.header-top .info li a:hover{

}

.header-top .info li i{
  position: absolute;
  left: 0px;
  top: 3px;
  font-size: 14px;
}

.header-top .top-right{
  position: relative;
  display: flex;
  align-items: center;
}

.header-top .top-right .social-links li{
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 25px;
}

.header-top .top-right .social-links li:last-child{
  margin: 0px !important;
}

.header-top .top-right .social-links li a{
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.50);
}

.header-top .top-right .social-links li a:hover{

}

.header-top .top-right .social-links{
  margin-right: 40px;
}

.header-top .top-right .other-links li{
  position: relative;
  display: inline-block;
  float: left;
  margin-right: 30px;
  font-size: 13px;
  line-height: 24px;
}

.header-top .top-right .other-links li:last-child{
  margin: 0px !important;
}

.header-top .top-right .other-links li a{
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, 0.50);
}

.header-top .top-right .other-links li a:hover{

}

.header-top .top-right .other-links li:before{
  position: absolute;
  content: '/';
  top: 0px;
  right: -17px;
}

.header-top .top-right .other-links li:last-child:before{
  display: none;
}

.header-top .top-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================ RESPONSIVE DESIGN ================ */
/* ================ RESPONSIVE DESIGN ================ */

@media only screen and (max-width: 1599px) {
    .header-top {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media only screen and (max-width: 1200px) {
    .header-top .top-inner {
        flex-direction: column; /* Apila el bloque de info y el de redes */
        justify-content: center;
        gap: 15px; /* Espacio entre los bloques */
    }

    .header-top .info li {
        float: none;
    }

    .header-top .top-right {
        justify-content: center;
    }
    
    .header-top .top-right .social-links {
        margin-right: 0px;
    }
}

/* Diseño Móvil: Para que quede exactamente como en tu imagen */
@media only screen and (max-width: 767px) { /* Aplica para tablets y móviles */
    .header-top {
        padding: 20px 15px;
    }

    /* 1. Apilamos y centramos la lista de información (Dirección, Correo, Horas) */
    .header-top .info {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra todo el bloque */
        gap: 12px; /* Espacio vertical entre cada línea */
        padding: 0;
        margin: 0;
    }

    .header-top .info li {
        float: none;
        margin-right: 0;
        display: flex; /* Mantiene el ícono pegado al texto */
        align-items: center;
        justify-content: center;
        padding-left: 0; 
    }

    /* 2. Arreglamos los íconos para que no queden sueltos a la izquierda */
    .header-top .info li i,
    .header-top .info li img {
        position: static; /* Quitamos el absolute del código original */
        margin-right: 8px; /* Separación entre el ícono y el texto */
    }

    /* 3. Centramos las redes sociales */
    .header-top .top-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 5px;
    }

    .header-top .top-right .social-links {
        display: flex;
        justify-content: center;
        margin-right: 0;
        padding: 0;
    }

    .header-top .top-right .social-links li {
        float: none;
        margin: 0 10px !important;
    }

    .header-top .top-right .other-links {
        display: none; 
    }
}
/* ================FOOTER============= */

/* =========================================
   ESTILOS DEL FOOTER PERSONALIZADO (GRID)
========================================= */

:root {
    --bg-footer: #151c2c;       
    --bg-footer-bottom: #0e131f; 
    --text-color: rgba(255, 255, 255, 0.50); 
    --text-white: #ffffff;
}

.custom-footer {
    position: relative;
    background-color: var(--bg-footer);
    font-family: inherit;
}

/* Patrón topográfico de fondo */
.custom-footer .footer-pattern {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}

/* Contenedor principal*/
.custom-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 15px 40px 15px; 
    position: relative;
    z-index: 1;
}

/* Grilla para reemplazar Bootstrap */
.custom-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: flex-start;
}

/* --- Títulos de las columnas --- */
.custom-footer .footer-title {
    font-size: 18px;
    line-height: 26px;
    color: var(--text-white);
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 36px; 
}

/* --- Columna 1: Logo y Redes --- */
.custom-footer .brand-col {
    margin-top: 6px; 
}

.custom-footer .footer-logo {
    display: block;
    margin-bottom: 30px;
}

.custom-footer .footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
}

.custom-footer .footer-socials a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--bg-footer-bottom);
    color: var(--text-white);
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.custom-footer .footer-socials a:hover {
    background-color: var(--text-white);
    color: var(--bg-footer-bottom);
}

/* --- Columna 2: Enlaces (Descubre Más) --- */
.custom-footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer .footer-list li {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 24px;
}

.custom-footer .footer-list li:last-child {
    margin-bottom: 0px;
}

.custom-footer .footer-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer .footer-list a:hover {
    color: var(--text-white);
}

/* --- Columna 3: Contacto --- */
.custom-footer .contact-list li {
    position: relative;
    display: block;
    font-size: 15px;
    line-height: 30px;
    color: var(--text-color);
    padding-left: 30px;
    margin-bottom: 6px;
}

.custom-footer .contact-list li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer .contact-list li a:hover {
    color: var(--text-white);
}

.custom-footer .contact-list i {
    position: absolute;
    left: 0px;
    top: 3px;
    font-size: 14px;
}

/* --- Columna 4: Buzón / Mailbox --- */
.custom-footer .mailbox-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-footer .mailbox-images a {
    display: inline-block;
    background-color: #fff;
    border-radius: 6px;
    padding: 4px;
    transition: transform 0.3s ease;
}

.custom-footer .mailbox-images a:hover {
    transform: scale(1.05);
}

.custom-footer .mailbox-images img {
    height: auto;
    max-width: 80px;
    display: block;
}

/* --- Copyright --- */
.custom-footer .footer-bottom {
    padding: 10px 0px;
    background: var(--bg-footer-bottom);
    text-align: center;
    position: relative;
    z-index: 1;
}

.custom-footer .footer-bottom p {
    font-size: 15px;
    line-height: 26px;
    color: var(--text-color);
    margin: 0;
}


/* =========================================
   DISEÑO RESPONSIVE (Tablets y Móviles)
========================================= */

@media (max-width: 992px) {
    .custom-footer .footer-grid {
        
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .custom-footer .footer-grid {
        
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .custom-footer .brand-col {
        align-items: center;
    }

    .custom-footer .footer-socials {
        justify-content: center;
    }

    .custom-footer .contact-list li {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .custom-footer .contact-list i {
        position: static;
        margin-bottom: 5px;
    }

    .custom-footer .mailbox-images {
        justify-content: center;
    }
}

/** mobile-menu **/



.nav-outer .mobile-nav-toggler{

  position: relative;

  float: right;

  font-size: 40px;

  line-height: 50px;

  cursor: pointer;

  color:#3786ff;

  display: none;

}



.mobile-menu{

  position: fixed;

  right: 0;

  top: 0;

  width: 300px;

  padding-right:30px;

  max-width:100%;

  height: 100%;

  opacity: 0;

  visibility: hidden;

  z-index: 999999;

}



.mobile-menu .navbar-collapse{

  display:block !important;

}



.mobile-menu .nav-logo{

  position:relative;

  padding:30px 25px;

  text-align:left;  

}



.mobile-menu-visible{

  overflow: hidden;

}



.mobile-menu-visible .mobile-menu{

  opacity: 1;

  visibility: visible;

}



.mobile-menu .menu-backdrop{

  position: fixed;

  right: 0;

  top: 0;

  width: 100%;

  height: 100%;

  z-index: 1;

  -webkit-transform: translateX(101%);

  -ms-transform: translateX(101%);

  transform: translateX(101%);

  transition: all 900ms ease;

  -moz-transition: all 900ms ease;

  -webkit-transition: all 900ms ease;

  -ms-transition: all 900ms ease;

  -o-transition: all 900ms ease;

}



.mobile-menu-visible .mobile-menu .menu-backdrop{

  opacity: 0.70;

  visibility: visible;

  -webkit-transition:all 0.7s ease;

  -moz-transition:all 0.7s ease;

  -ms-transition:all 0.7s ease;

  -o-transition:all 0.7s ease;

  transition:all 0.7s ease;

  -webkit-transform: translateX(0%);

  -ms-transform: translateX(0%);

  transform: translateX(0%);

}



.mobile-menu .menu-box{

  position: absolute;

  left: 0px;

  top: 0px;

  width: 100%;

  height: 100%;

  max-height: 100%;

  overflow-y: auto;

  background: #202020;

  padding: 0px 0px;

  z-index: 5;

  opacity: 0;

  visibility: hidden;

  border-radius: 0px;

  -webkit-transform: translateX(101%);

  -ms-transform: translateX(101%);

  transform: translateX(101%);

}



.mobile-menu-visible .mobile-menu .menu-box{

  opacity: 1;

  visibility: visible;

  -webkit-transition:all 0.7s ease;

  -moz-transition:all 0.7s ease;

  -ms-transition:all 0.7s ease;

  -o-transition:all 0.7s ease;

  transition:all 0.7s ease;

  -webkit-transform: translateX(0%);

  -ms-transform: translateX(0%);

  transform: translateX(0%);

}



.mobile-menu .close-btn{

  position: absolute;

  right: 25px;

  top: 10px;

  line-height: 30px;

  width: 24px;

  text-align: center;

  font-size: 16px;

  color: #ffffff;

  cursor: pointer;

  z-index: 10;

  -webkit-transition:all 0.9s ease;

  -moz-transition:all 0.9s ease;

  -ms-transition:all 0.9s ease;

  -o-transition:all 0.9s ease;

  transition:all 0.9s ease;

}



.mobile-menu-visible .mobile-menu .close-btn{
  -webkit-transform:rotate(360deg);
  -ms-transform:rotate(360deg);
  transform:rotate(360deg);
}
.mobile-menu .close-btn:hover{
  -webkit-transform:rotate(90deg);
  -ms-transform:rotate(90deg);
  transform:rotate(90deg);
}
.mobile-menu .navigation{
  position: relative;
  display: block;
  width: 100%;
  float: none;
}
.mobile-menu .navigation li{
  position: relative;
  display: block;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu .navigation:last-child{
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu .navigation li > ul > li:first-child{
  border-top: 1px solid rgba(255,255,255,0.10);
}
.mobile-menu .navigation li > a{
  position: relative;
  display: block;
  line-height: 24px;
  padding: 10px 25px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;

}
.mobile-menu .navigation li ul li > a{
  font-size: 16px;
  margin-left: 20px;
  text-transform: capitalize;
}
.mobile-menu .navigation li > a:before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  height:0;
  border-left:5px solid #fff;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
}

.mobile-menu .navigation li.current > a:before{

  height:100%;

}
.mobile-menu .navigation li.dropdown .dropdown-btn{
  position:absolute;
  right:6px;
  top:6px;
  width:32px;
  height:32px;
  text-align:center;
  font-size:16px;
  line-height:32px;
  color:#ffffff;
  background:rgba(255,255,255,0.10);
  cursor:pointer;
  border-radius:2px;
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
  z-index:5;

}

.mobile-menu .navigation li.dropdown .dropdown-btn.open{

  background:#fff;

  color: #3b3b3b;

  -webkit-transform:rotate(90deg);

  -ms-transform:rotate(90deg);

  transform:rotate(90deg);  

}

.mobile-menu .navigation li > ul,

.mobile-menu .navigation li > ul > li > ul,

.mobile-menu .navigation > li.dropdown > .megamenu{

  display: none;

}

.mobile-menu .social-links{

  position:relative;

  padding:30px 25px;

}

.mobile-menu .social-links li{

  position:relative;

  display:inline-block;

  margin:0px 10px 10px;

}

.mobile-menu .social-links li a{

  position:relative;

  line-height:32px;

  font-size:16px;

  color:#ffffff;

  -webkit-transition: all 500ms ease;

  -moz-transition: all 500ms ease;

  -ms-transition: all 500ms ease;

  -o-transition: all 500ms ease;

  transition: all 500ms ease;
}

.mobile-menu .social-links li a:hover{


}

div#mCSB_1_container{

  top: 0px !important;

}

.mobile-menu .contact-info {

  position: relative;

  padding: 80px 30px 20px 30px;

}

.mobile-menu .contact-info h4 {

  position: relative;

  font-size: 20px;

  color: #ffffff;

  font-weight: 700;

  margin-bottom: 20px;

}

.mobile-menu .contact-info ul li {

  position: relative;

  display: block;

  font-size: 15px;

  color: rgba(255,255,255,0.80);

  margin-bottom: 3px;

}

.mobile-menu .contact-info ul li a{

  color: rgba(255,255,255,0.80);

}

.mobile-menu .contact-info ul li a:hover{

}

.mobile-menu .contact-info ul li:last-child{

  margin-bottom: 0px;
}

.sticky-header .main-menu .navigation > li{

  padding: 25px 0px !important;

}

.sticky-header .outer-box{

  position: relative;

  padding: 0px 70px;

  display: flex;

  align-items: center;

  justify-content: space-between;

}

@media only screen and (max-width: 499px){



  .mobile-menu{

    width: 100%;

  }
}
/* --- ESTILOS PARA EL MENÚ EN ESCRITORIO --- */


.mobile-nav-toggler {
    display: none;
}


.nav-links.main-menu .navigation {
    list-style: none; 
    padding: 0;
    margin: 0;
    display: flex; 
    gap: 30px; 
    align-items: center;
}

.nav-links.main-menu .navigation li a {
    text-decoration: none;
    color: #1a2542; 
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links.main-menu .navigation li a:hover {
    color: #3786ff; 
}


@media only screen and (max-width: 991px) {

    .mobile-nav-toggler {
        display: block;
        font-size: 24px; 
        cursor: pointer;
    }

    .nav-links.main-menu {
        display: none; 
    }
}

.mobile-menu .navigation li > a:hover {
    color: #3786ff;
}

.mobile-menu .navigation li > a:hover:before,
.mobile-menu .navigation li.current > a:before {
    height: 100%;
    border-left-color: #3786ff; 
}