:root {
    --primary-blue: #01147A; /* AZUL CORPORATIVO EXACTO */
    --accent-yellow: #F6B60B;
    --text-dark: #111f29;
    --text-grey: #555555;
    --light-bg: #f8f9fa;
}

/* --- Bootstrap Overrides (Unificación de Color) --- */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #000d5c !important; /* Un tono un poco más oscuro para hover */
    border-color: #000d5c !important;
}

.btn-outline-primary {
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-blue) !important;
    color: #fff !important;
}

/* --- Base Styles --- */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

.page-header  h1{
	color:#FFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-blue); /* Por defecto, los títulos ahora serán del azul corporativo */
}

/* --- Navigation --- */
.navbar {
    background-color: #ffffff !important; /* Fondo blanco para resaltar logo oscuro */
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 60px; /* Un poco más grande para lucir mejor */
    width: auto;
}

.nav-link {
    color: var(--primary-blue) !important; /* Texto azul para contraste */
    font-weight: 600;
    margin-left: 15px;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--accent-yellow);
    transition: width .3s;
    position: absolute;
    bottom: -5px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Ajuste para el botón hamburguesa en móvil */
.navbar-toggler {
    border-color: var(--primary-blue);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(1, 20, 122, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn-cta {
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    font-weight: bold;
    border-radius: 50px;
    padding: 10px 25px;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(246, 182, 11, 0.4);
    background-color: #ffffff; /* Fondo blanco para alto contraste */
    color: var(--primary-blue); /* Texto azul */
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(1, 20, 122, 0.85), rgba(1, 20, 122, 0.7)), url('../images/mapa_internacional_50.png');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Features / Intro --- */
.intro-card {
    border: none;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.intro-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(1, 20, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 1.8rem;
}

/* --- About Section --- */
.about-section {
    padding: 80px 0;
}

.img-overlap-container {
    position: relative;
    padding: 20px;
}

.img-main {
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    width: 100%;
}

.years-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-yellow);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.years-badge span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.years-badge small {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* --- Footer --- */
footer {
    background-color: #0b111a;
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

footer h5 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-yellow);
}

footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    background-color: #05080c;
    padding: 20px 0;
    margin-top: 60px;
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .years-badge {
        right: 10px;
        bottom: 10px;
        padding: 1rem;
    }
}


/* --- Inner Page Headers --- */
.page-header {
    background: linear-gradient(rgba(1, 20, 122, 0.9), rgba(1, 20, 122, 0.8)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--accent-yellow);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255,255,255,0.7);
}

/* --- Service Cards --- */
.service-card {
    background: white;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.service-body {
    padding: 25px;
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: -55px auto 20px;
    position: relative;
    border: 5px solid white;
}

.service-card h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* --- Forms --- */
.form-floating > .form-control:focus, 
.form-floating > .form-control:not(:placeholder-shown) {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 0.25rem rgba(246, 182, 11, 0.25);
}

.contact-info-box {
    padding: 30px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    height: 100%;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

/* --- Mission/Vision Cards --- */
.mv-card {
    border-left: 4px solid var(--accent-yellow);
    background: white;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
}




/* --- WhatsApp Widget Styles (Modern) --- */
#qlwapp {
    pointer-events: none;
    box-sizing: border-box;
}

#qlwapp * {
    box-sizing: border-box;
}

#qlwapp.qlwapp-js-ready {
    display: block;
}

#qlwapp .qlwapp-readonly {
    pointer-events: none!important;
    opacity: 0.5!important;
}

#qlwapp.qlwapp-bottom-left {
    position: fixed;
    z-index: 9999999;
    left: 20px;
    bottom: 20px;
}

#qlwapp .qlwapp-toggle {
    pointer-events: all;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
}

#qlwapp .qlwapp-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    color: white;
}

#qlwapp .qlwapp-toggle .qlwapp-icon {
    font-size: 24px;
    margin-right: 10px;
}

/* The popup box */
#qlwapp .qlwapp-box {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: all;
    z-index: 9999999;
}

#qlwapp.qlwapp-show .qlwapp-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#qlwapp .qlwapp-header {
    background-color: var(--primary-blue);
    color: white;
    padding: 20px;
    position: relative;
}

#qlwapp .qlwapp-header h3 {
    margin: 0;
    font-size: 18px;
    font-family: 'Oswald', sans-serif;
}

#qlwapp .qlwapp-header p {
    margin: 5px 0 0;
    font-size: 13px;
    opacity: 0.9;
}

#qlwapp .qlwapp-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
    opacity: 0.8;
}

#qlwapp .qlwapp-body {
    padding: 10px 0;
    max-height: 300px;
    overflow-y: auto;
}

#qlwapp .qlwapp-account {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f1f1;
}

#qlwapp .qlwapp-account:last-child {
    border-bottom: none;
}

#qlwapp .qlwapp-account:hover {
    background-color: #f9f9f9;
}

#qlwapp .qlwapp-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #eee;
}

#qlwapp .qlwapp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#qlwapp .qlwapp-name {
    font-weight: bold;
    font-size: 14px;
    display: block;
}

