
/* ==================== CORRECCIÓN FOOTER ANCHO COMPLETO ==================== */
footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2rem 0 1rem !important;
    background: #1a2a3a; /* o el color que tengas en tu footer */
}

footer .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 5% !important; /* Esto da el margen interno sin bordes blancos */
    box-sizing: border-box !important;
}

.footer-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.certificaciones-bar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.certificaciones-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 5% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-bottom {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1rem 5% 0 !important;
    box-sizing: border-box !important;
    text-align: center;
}

/* Asegurar que body no tenga márgenes que afecten */
body, html {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}






/* ==================== VARIABLES ==================== */
:root {
    --primary-blue: #33598F;
    --primary-blue-dark: #1b4b82;
    --secondary-blue: #33598F;
    --gray-light: #e2e2e2;
    --text-dark: #000814;
    --text-light: #eeeeee;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* ==================== RESET Y BASE ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    background: #d3d3d3;
}
a { text-decoration: none; }
main { width: 100%; overflow-x: hidden; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
section { padding: 80px 0; }
.bg-light { background: #f5f3f3; }
.section-white { background-color: #ebe4e4; }
.section-gray {
    background-color: #dad2d2;
    border-top: 1px solid rgba(34,91,148,0.06);
    border-bottom: 1px solid rgba(34,91,148,0.06);
}
.section-padding { padding: 5rem 2rem; }

/* ==================== TIPOGRAFÍA ==================== */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-blue);
    margin: 1rem auto 0;
    border-radius: 4px;
}
.section-title span {
    background: #0c335a;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
/* Forzar centrado del título */
.section-title {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}
.section-subtitle {
    text-align: center;
    color: #4a627a;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2a4a85;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.section-intro { text-align: center; margin-bottom: 50px; }

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    left: 0; top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 90px;
    transition: var(--transition);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-img { height: 140px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: var(--primary-blue); }
.logo-text span { color: var(--secondary-blue); }

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}
.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 10px 12px;
    border-radius: 0.6rem;
    position: relative;
    transition: var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 3px;
    background: var(--secondary-blue);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active {
    color: #ffffff;
    background: var(--primary-blue);
    font-weight: 600;
}
.nav-links a.active::after { width: 100%; background: rgba(255,255,255,0.9); }
.nav-links a.active:hover { background: var(--primary-blue-dark); }
.nav-links a.active:hover::after { background: rgba(0,0,0,0.9); }

.nav-right { display: flex; align-items: center; gap: 1rem; }
.menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary-blue); }

/* ==================== BOTONES NAV ==================== */
.btn-nav {
    background: linear-gradient(135deg, #6e91d6, #4a6fb5);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(110,145,214,0.4);
    position: relative;
    overflow: hidden;
}
.btn-nav::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%,-50%);
    transition: width 0.6s, height 0.6s;
}
.btn-nav:hover::before { width: 300px; height: 300px; }
.btn-nav:hover {
    background: linear-gradient(135deg, #0a2b4e, #1e3a6b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10,43,78,0.4);
}
.btn-nav i { font-size: 1.1rem; transition: transform 0.3s ease; }
.btn-nav:hover i { transform: translateX(5px); }

.btn-calc {
    padding: 8px 16px;
    border-radius: 5px;
    background: #f0f0f0;
    color: #333;
}
.btn-calc:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(221,221,221,0.6);
}
.btn-calc i { font-size: 1.1rem; transition: transform 0.3s ease; }
.btn-calc:hover i { transform: scale(1.2) rotate(10deg); }

/* ==================== HERO ==================== */
.hero {
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url('../assets/images/bus.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    padding: 2rem 0;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(3,17,31,0.75), rgba(0,0,0,0.6));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.2rem;
    width: 100%;
}
.hero-title {
    font-size: clamp(2rem, 8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}
.hero-subtitle {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.96;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
    background: rgba(0,0,0,0.3);
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    -webkit-tap-highlight-color: transparent;
}
.hero-scroll span { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.5px; }
.hero-scroll i { font-size: 1.2rem; }

.btn-primary {
    background: white;
    color: #0a2b4e;
    padding: 0.9rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    border: 2px solid white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover {
    background: #032466;
    color: white;
    border-color: #fafbff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(110,145,214,0.4);
}
/* Botón completamente azul - FORZADO */
.btn-outline {
    background: #33598F !important;  /* Azul permanente forzado */
    color: white !important;          /* Letras blancas forzadas */
    border: 2px solid #33598F !important;
    padding: 0.85rem 1.6rem;
    border-radius: 60px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    transition: 0.3s ease;
    box-shadow: 0 4px 12px rgba(51, 89, 143, 0.3);
    cursor: pointer;
    text-decoration: none;
}

.btn-outline .btn-icon-large {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-outline:hover {
    background: #1e4a76 !important;
    border-color: #1e4a76 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(51, 89, 143, 0.4);
}

.btn-outline:hover .btn-icon-large {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-primary.btn-block {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary.btn-block:hover {
    background-color: var(--primary-blue-dark);
}
/* ==================== PAGE HEADER ==================== */
.page-header-exclusive {
    background: linear-gradient(135deg, #fffcfc 0%, #33598f 100%);
    padding: 160px 120px 100px;
    position: relative;
    overflow: hidden;
}
.page-header-exclusive .container { padding: 0 24px; }
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.header-content { flex: 1; z-index: 2; }
.header-content .badge {
    background: rgba(45,95,178,0.1);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}
.header-content h1 { font-size: 4rem; color: var(--primary-blue); margin-bottom: 20px; line-height: 1.1; }
.header-content p { font-size: 1.2rem; color: #555; margin-bottom: 30px; }
.header-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.shape-blob {
    position: absolute;
    width: 250px; height: 200px;
    background: var(--primary-blue);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(40px);
    opacity: 0.15;
    animation: morphing 10s infinite alternate;
}
.bus-container {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.3);
}
.bus-floating {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    animation: floating 4s ease-in-out infinite;
}
.navbar-placeholder { background: #0a2b4e; padding: 1rem 0; text-align: center; color: white; font-weight: 500; font-size: 0.9rem; }

/* ==================== SECCIÓN SERVICIOS LAND CARGO ==================== */
.professional-section { padding: 5rem 1.5rem; }
.cards-grid-premium {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.premium-card {
    background: white;
    border-radius: 28px;
    width: 360px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.08);
    border: 1px solid rgba(31,99,146,0.1);
}
.card-image-area {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a2540 0%, #1f6392 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.card-img-contain { object-fit: contain; padding: 1.8rem; }
.card-info { padding: 1.5rem 1.5rem 1.8rem; text-align: center; background: white; }
.card-heading { font-size: 1.5rem; font-weight: 800; color: #0a2540; margin-bottom: 0.6rem; line-height: 1.3; }
.meta-icon { font-size: 0.85rem; }

/* ==================== CIFRAS ==================== */
.cifras-redisenadas {
    padding: 80px 0 100px;
    background: linear-gradient(120deg, #c4c4c4 0%, #143575 50%, #f0f4f8 100%);
}
.cifras-redisenadas .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.cifras-redisenadas .section-title { color: #e4e4e4; }
.cifras-redisenadas .section-subtitle { font-size: 1.2rem; color: #fffdfd; margin-bottom: 3rem; font-weight: 500; }
.cifras-section .section-title { color: #ffffff !important; }

.cifras-grid-moderno {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.cifras-card {
    border-radius: 30px;
    text-align: center;
    border: 2px solid rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    display: block;
    background: transparent;
    aspect-ratio: 4/3;
    animation: fadeInUp 0.6s ease backwards;
}
.cifras-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 65%, rgba(0,0,0,0.65) 100%);
    opacity: 0.85;
    z-index: 1;
    transition: opacity 0.3s ease;
}
.cifras-card:hover::before { left: 100%; }
.cifras-card:nth-child(4) .cifras-card-image { object-fit: contain; background-color: #ffffff; padding: 15px; }
.cifras-card-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.cifras-card-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0 1rem 0.8rem;
    z-index: 2;
    text-align: center;
}
.cifras-number {
    display: inline-block;
    font-weight: 800;
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 16px 30px rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.35);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    max-width: 100%;
    margin-bottom: 0.5rem;
}
.cifras-label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    background: rgba(0,0,0,0.25);
    padding: 0.3rem 1rem;
    border-radius: 999px;
    width: fit-content;
    margin: 0 auto;
}

/* ==================== CARDS GRID (CRECIMIENTO) ==================== */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.8rem;
    row-gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.cards-grid::before {
    content: '';
    position: absolute;
    top: 26%; left: 6%;
    width: 88%; height: 2px;
    background: linear-gradient(90deg, transparent, #225b94 15%, #225b94 85%, transparent);
    border-radius: 4px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}
.card {
    background: #ffffff;
    border-radius: 28px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 12px 28px -10px rgba(0,32,64,0.08);
    border: 1px solid rgba(34,91,148,0.08);
    position: relative;
    z-index: 2;
    cursor: default;
    width: calc(25% - 1.35rem);
    min-width: 250px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2,0.9,0.4,1.1), transform 0.5s ease, box-shadow 0.3s;
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 40px -14px rgba(34,91,148,0.2);
    border-color: rgba(34,91,148,0.2);
}
.card-number {
    font-size: 2.6rem;
    font-weight: 950;
    color: #0a2a44;
    line-height: 1.2;
    margin: 0.6rem 0;
    word-break: break-word;
    white-space: nowrap;
}
.card-unit { font-size: 0.7rem; font-weight: 600; color: #5a7a9a; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }
.card-sub { font-size: 1.4rem; color: #0f2b40; font-weight: 800; margin-top: 1rem; padding-top: 0.8rem; border-top: 2px solid #eef2f8; display: inline-block; }
.trend-container { margin-top: 4rem; text-align: center; }
.footer-note { text-align: center; margin-top: 2rem; color: #7c93a8; font-size: 0.75rem; padding-top: 1.5rem; border-top: 1px solid #e2edf7; }

/* ==================== QUIÉNES SOMOS ==================== */
.quienes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.quienes-texto { display: flex; flex-direction: column; }
.quienes-texto p { margin-bottom: 0.8rem; line-height: 1.6; text-align: justify; }
.quienes-texto p:last-of-type { flex-grow: 1; }
.datos-empresa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.datos-empresa div { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; white-space: nowrap; }
.datos-empresa span { display: inline-block; white-space: normal; flex: 1; }
.datos-empresa i { color: var(--secondary-orange); width: 18px; margin-top: 2px; flex-shrink: 0; }
.objetivo-box {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 20px;
    color: white;
    margin-top: auto;
}
.objetivo-box i { width: 64px; height: 64px; font-size: 1.5rem; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }

/* ==================== SERVICIOS ==================== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 100%;
    margin: 0 auto;
}
.servicio-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: auto;
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 320px;
    max-height: 360px;
}
.servicio-image { height: 180px; background-size: cover; background-position: center; flex-shrink: 0; }
.servicio-content { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.servicio-content h3 { font-size: 1.1rem; color: #10264f; margin: 0 0 8px; line-height: 1.3; font-weight: 700; }
.servicio-content p { color: #49596f; font-size: 0.85rem; line-height: 1.45; margin: 0 0 14px; }
.servicio-badge {
    display: inline-block;
    background: #e8f0fe;
    color: #0056b3;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    width: fit-content;
}
.servicios-sidebar, .servicios-columna, .servicio-icon, .servicio-info { display: none; }

/* ==================== SECTORES ==================== */
.sectores-especializados {
    padding: 60px 0;
    background: #f5f5f5;
}
.sectores-especializados .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.sectores-especializados .section-title { font-size: 2.8rem; font-weight: 800; text-align: center; color: var(--primary-blue); margin-bottom: 1rem; letter-spacing: -0.5px; }
.sectores-especializados .section-subtitle { text-align: center; font-size: 1.2rem; color: #5a5a5a; margin-bottom: 3rem; font-weight: 500; }
.sectores-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}
.sector-card {
    border-radius: 30px;
    text-align: center;
    border: 2px solid rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
    background: transparent;
    aspect-ratio: 4/3;
    animation: fadeInUp 0.6s ease backwards;
}
.sector-card:nth-child(1) { animation-delay: 0.1s; }
.sector-card:nth-child(2) { animation-delay: 0.2s; }
.sector-card:nth-child(3) { animation-delay: 0.3s; }
.sector-card:nth-child(4) { animation-delay: 0.4s; }
.sector-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 65%, rgba(0,0,0,0.55) 100%);
    opacity: 0.8;
    z-index: 1;
}
.sector-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.sector-card-content { position: absolute; left: 0; right: 0; bottom: 1.5rem; padding: 0 1.5rem; z-index: 2; }
.sector-card-content span {
    display: inline-block;
    font-weight: 800;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 16px 30px rgba(0,0,0,0.45);
    background: rgba(0,0,0,0.28);
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    max-width: 100%;
}
.sectores-bottom-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.sectores-imagen-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sectores-imagen-container::before {
    content: '';
    position: absolute;
    width: 85%; height: 85%;
    background: radial-gradient(circle, rgba(51,89,143,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
}
.bus-image-hero {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.15));
    transition: var(--transition);
}

/* ==================== PASOS / PROCESO ==================== */
.proceso-sidebar {
    background: white;
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(51,89,143,0.15);
    transition: transform 0.3s ease;
}
.proceso-sidebar:hover { transform: translateY(-5px); box-shadow: 0 25px 45px rgba(0,0,0,0.12); }
.proceso-logistico {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.proceso-mini-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}
.proceso-mini-title::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: var(--secondary-orange);
    border-radius: 4px;
}
.pasos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
}
.pasos-wrapper::before {
    content: '';
    position: absolute;
    left: 30px; top: 20px; bottom: 20px;
    width: 3px;
    background: linear-gradient(180deg, #999 0%, #ccc 100%);
    opacity: 0.4;
    border-radius: 3px;
}
.paso-item {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    background: #d4d4d4;
    padding: 1.2rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}
.paso-item:hover {
    background: linear-gradient(135deg, #f0f6ff 0%, #e8f0fe 100%);
    transform: translateX(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.paso-numero {
    width: 55px; height: 55px;
    background: #33598f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.paso-item:hover .paso-numero {
    transform: scale(1.15) rotate(360deg);
    background: #0a3aa3;
    color: #ffecec;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.paso-texto h4 { font-size: 1.2rem; font-weight: 800; color: var(--primary-blue); margin-bottom: 0.3rem; }
.paso-texto p { font-size: 0.9rem; color: #6c757d; line-height: 1.4; }

/* ==================== SEGURIDAD VIAL ==================== */
.safety-dashboard { background: #eee9e9; padding: 80px 0; }
.safety-badge {
    background: rgba(51,89,143,0.1);
    color: #33598F;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
}
.safety-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.safety-glass-card {
    background: white;
    border-radius: 25px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.safety-glass-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(51,89,143,0.15); }
.card-image-box { width: 180px; position: relative; overflow: hidden; }
.zoom-img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s transform; }
.safety-glass-card:hover .zoom-img { transform: scale(1.1); }
.card-content { padding: 25px; flex: 1; }
.card-content h3 { color: #33598F; margin-bottom: 10px; font-size: 1.3rem; }
.check-list { list-style: none; margin-top: 15px; padding: 0; }
.check-list li { font-size: 0.85rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; color: #555; }
.check-list i { color: #33598F; }

/* ==================== BENEFICIOS ==================== */
.benefits-container {
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 50px;
    margin: 40px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.benefits-container h3 {
    color: #33598F;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
    margin-top: 75px !important;
}
.benefits-container h3::after {
    content: "";
    display: block;
    width: 80px; height: 4px;
    background: linear-gradient(90deg, #33598F, #575654);
    position: absolute;
    bottom: -15px;
    border-radius: 2px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
}
.benefits-grid article:last-child { grid-column: 2/3; justify-self: center; width: 100%; align-self: stretch; }
.benefit-card {
    position: relative;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: #f7f9fb;
    border: 1px solid rgba(51,89,143,0.12);
    box-shadow: 0 18px 40px rgba(15,57,112,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.benefit-card-top {
    width: 100%; height: 220px;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    background: #e7eef6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-image-circle { width: 100%; height: 100%; border-radius: inherit; overflow: hidden; display: block; }
.benefit-image-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.benefit-card-content { width: 100%; padding: 24px 24px 28px; text-align: left; }
.benefit-card-content span { display: block; font-size: 1.12rem; font-weight: 800; line-height: 1.4; color: #20375b; margin-bottom: 0.85rem; }
.benefit-card-content p { margin: 0; color: #525f74; font-size: 0.95rem; line-height: 1.7; }

/* Actividades */
.activities-modern {
    background: #33598F;
    border-radius: 30px;
    padding: 60px 40px;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.light-text { color: white; margin-bottom: 40px; font-size: 1.8rem; font-weight: 700; letter-spacing: 1px; }
.activities-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}
.activity-chip {
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 20px 30px;
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}
.activity-chip i {
    font-size: 2rem;
    width: 70px; height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
    transition: var(--transition);
}
.activity-chip:hover { background: #ffffff; border-color: #ffffff; color: #33598F; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.activity-chip:hover i { color: #33598F; background: rgba(51,89,143,0.15); }

/* ==================== RED DE ATENCIÓN ==================== */
section.red-atencion-section, .red-atencion-section { padding-left: 0 !important; padding-right: 0 !important; }
.red-atencion-wrapper {
    width: 100%;
    max-width: 1400px;
    padding: 50px 40px 30px !important;
    margin: 0 auto;
    box-sizing: border-box;
}
.red-atencion-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a3d62;
    margin-bottom: 35px;
}
.red-atencion-title::after {
    content: '';
    display: block;
    width: 70px; height: 3px;
    background: #e67e22;
    margin: 12px auto 0;
}
.red-atencion-flex {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr !important;
    gap: 35px !important;
    align-items: start !important;
    width: 100% !important;
}
.red-atencion-mapa, .red-atencion-oficina { width: 100% !important; display: block !important; }
#mapa-red-atencion {
    width: 500px !important;
    height: 500px !important;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    background: #e8edf2;
}
.oficina-card-redisenada {
    background: #ffffff;
    border-radius: 28px;
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    height: 500px !important;
    width: 500px !important;
    overflow-y: auto;
}
.oficina-header { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.oficina-header i { font-size: 1.5rem; color: #0a3d62; }
.oficina-header h3 { font-size: 1.5rem; font-weight: 700; color: #0a3d62; margin: 0; }
.oficina-lista { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.oficina-lista > li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.95rem; color: #2c3e50; line-height: 1.5; }
.oficina-lista > li:not(:last-child) { border-bottom: 1px solid #edf2f7; padding-bottom: 18px; }
.oficina-lista li i { color: #0a3d62; font-size: 1.1rem; min-width: 22px; margin-top: 3px; }
.oficina-lista li strong { color: #0a3d62; display: block; margin-bottom: 5px; font-size: 1rem; }
.horario-sub { list-style: none; padding: 0; margin: 5px 0 0; }
.horario-sub li { margin-bottom: 5px; font-size: 0.9rem; }
.contacto-link { color: #0a3d62; font-weight: 600; }
.telefono-texto { font-weight: 700; font-size: 1rem; color: #0a3d62; }

/* ==================== FUTURO / OPERACIÓN ==================== */
.futuro-section { padding: 70px 0; background: #f5f5f7; }
.futuro-section .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.timeline-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; color: #334155; line-height: 1.8; font-size: 1rem; }
.cards-futuro-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* ← 2 columnas en desktop */
    gap: 30px;
    justify-content: center;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
.card-futuro {
    width: 100%;
    max-width: 100%;           /* ← antes era 520px, lo restringe */
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-image { width: 100%; min-height: 260px; background-size: cover; background-position: center; }
.card-overlay { display: none; }
.card-body { padding: 28px 26px 30px; display: auto; flex-direction: column; justify-content: flex; gap: 18px; }
.card-body h3 { font-size: 1rem; margin: 0; color: #0e3c74; }
.card-body p { margin: 0; line-height: 1; color: #475569; font-size: 1rem; }

/* ==================== CERTIFICACIÓN BASC ==================== */
.certificacion-basc-container {
    background-color: #33598F;
    border-radius: 30px;
    padding: 3rem;
    color: white;
    max-width: 1000px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.basc-content { display: flex; align-items: center; gap: 3rem; }
.basc-logo img { width: 265px; height: auto; background: white; border-radius: 15px; padding: 15px; }
.basc-info { text-align: left; }
.basc-info h2 { font-size: 1.8rem; margin-bottom: 1rem; letter-spacing: 1px; font-weight: 700; }
.basc-info p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; color: rgba(255,255,255,0.9); }
.btn-certificado { display: inline-block; color: white; font-weight: bold; border-bottom: 2px solid transparent; transition: var(--transition); cursor: pointer; }
.btn-certificado:hover { border-bottom: 2px solid white; transform: translateX(10px); }

/* ==================== MODAL ==================== */
.modal { display: none; position: fixed; z-index: 2000; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 24px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: var(--gray-dark); transition: var(--transition); }
.modal-close:hover { color: var(--secondary-orange); }
.modal-certificado { text-align: center; padding: 10px; }
.modal-certificado i { font-size: 2.5rem; color: var(--secondary-orange); margin-bottom: 1rem; }
.certificado-imagen { margin: 1rem 0; width: 98%; display: flex; justify-content: center; }
.img-certificado-real { width: 100%; max-width: 450px; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: 1px solid #ddd; }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-container { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; z-index: 9999; }
.whatsapp-tooltip {
    background: #2f3a4a;
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
    font-weight: 600;
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px; right: 15px;
    border-width: 6px;
    border-style: solid;
    border-color: #2f3a4a transparent transparent transparent;
}
.whatsapp-btn {
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-container:hover .whatsapp-tooltip { opacity: 1; transform: translateY(0); }

/* ==================== CONTACTO ==================== */
.contacto-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding: 0 64px;
    max-width: 1240px;
    margin: 0 auto;
    align-items: start;
}
.contacto-info { display: flex; flex-direction: column; gap: 1.8rem; align-items: stretch; }
.info-card {
    background: #33598f;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    color: white;
    width: 100%;
    transition: var(--transition);
    cursor: pointer;
}
.info-card i { font-size: 1.6rem; color: white; margin-bottom: 1rem; }
.info-card h3 { margin-bottom: 1rem; color: white; }
.info-card p { margin: 0.7rem 0; color: white; line-height: 1.75; }
.info-card svg { color: #ffffff !important; width: 50px; height: 50px; margin-bottom: 1rem; }
.info-card:hover svg { transform: scale(1.1); color: #000000 !important; }
.contacto-form {
    background: #c8cbd0;
    padding: 42px 36px;
    border-radius: 28px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(250,250,250,0.15);
    max-width: 720px;
    width: 100%;
    margin: 24px auto;
    box-sizing: border-box;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.form-row { display: flex; gap: 24px; margin-bottom: 18px; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.25rem; }
.form-group label { font-weight: 700; font-size: 0.85rem; color: #2D5FB2; text-transform: uppercase; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #f9fafb;
    outline: none;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--secondary-orange);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(229,83,46,0.1);
}
.full-width { grid-column: span 2; }
.form-group-checkbox { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: 0.95rem; }
.form-group-checkbox input { width: 18px; height: 18px; cursor: pointer; }
.btn-cotizar {
    width: 100%;
    padding: 15px;
    background: #33598F;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
    transition: var(--transition);
}
.btn-cotizar:hover { background: #1e448a; transform: translateY(-2px); }

/* Autocomplete */
.autocomplete-container { position: relative; }
.box-sugerencias {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    z-index: 999;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.item-sugerencia { padding: 12px 15px; cursor: pointer; font-size: 0.9rem; border-bottom: 1px solid #f1f5f9; color: #475569; }
.item-sugerencia:hover { background-color: #f8fafc; color: #2D5FB2; font-weight: 600; }

/* ==================== FOOTER ==================== */
footer { background: var(--primary-blue); color: white; padding: 3rem 24px 1rem; }
footer .container { padding: 0 24px !important; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, min-content));
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 2rem;
}
.footer-logo .logo-text, .footer-logo .logo-text span { color: #ffffff !important; font-weight: bold; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { color: white; font-size: 1.7rem; transition: var(--transition); }
.footer-social a:hover { color: var(--secondary-orange); transform: translateY(-3px); }
.footer-links ul, .footer-legal ul { list-style: center; padding: 0; }
.footer-links li, .footer-legal li { margin: 0.5rem 0 12px; display: flex-center; align-items: center; gap: 10px;list-style: none; }
.footer-links a, .footer-legal a { color: #cddbe9; transition: var(--transition); }
.footer-links a:hover, .footer-legal a:hover { color: var(--secondary-orange); }
.footer-contact p { margin: 0.5rem 0; display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .footer-icon { width: 22px; height: 22px; min-width: 22px; display: inline-block; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* Barra de certificaciones */
.certificaciones-bar { background-color: #33598F; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.certifications-logos {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background-color: #33598F;
    box-sizing: border-box;
}
.certificaciones-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 30px;
}
.certificacion-item { display: flex; justify-content: center; align-items: center; flex: 1; min-width: 0; }
.cert-img { width: auto; object-fit: contain; opacity: 0.95; transition: var(--transition); }
.cert-basc { height: 110px; max-width: 160px; }
.cert-colfecar { height: 150px; max-width: 300px; }
.cert-puertos { height: 190px; max-width: 310px; }

/* ==================== ANIMACIONES ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes floating {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; }
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ==================== RESPONSIVE — TABLET (≤1200px) ==================== */
@media (max-width: 1200px) {
    .certifications-logos { padding: 35px 40px; gap: 30px; }
    .cert-basc { height: 100px; max-width: 130px; }
    .cert-colfecar { height: 90px; max-width: 200px; }
    .cert-puertos { height: 100px; max-width: 120px; }
}

/* ==================== RESPONSIVE — TABLET (≤1024px) ==================== */
@media (max-width: 1024px) {
    .cifras-grid-moderno { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .cifras-number { font-size: 1.8rem; padding: 0.5rem 1rem; }
    .cifras-label { font-size: 0.8rem; }
    .nav-links { gap: 1rem; }
    .btn-nav { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
    .sectores-grid-mini { grid-template-columns: repeat(2, 1fr); gap: 25px; margin-bottom: 40px; }
    .card { width: calc(50% - 1rem); }
    .cards-grid::before { display: none; }
    .certifications-logos { padding: 30px 35px; gap: 25px; }
    .cert-basc { height: 90px; max-width: 120px; }
    .cert-colfecar { height: 80px; max-width: 180px; }
    .cert-puertos { height: 90px; max-width: 110px; }
    .certificaciones-container { gap: 2rem; padding: 15px 20px; }
    footer { padding: 2.5rem 0 1rem; }
    .footer-grid { gap: 1.5rem; }
    .contacto-grid { gap: 1.5rem; }
}

/* ==================== RESPONSIVE — TABLET VERTICAL (≤992px) ==================== */
@media (max-width: 992px) {
    .sectores-grid-mini { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
    .sectores-bottom-layout { grid-template-columns: 1fr; gap: 2rem; }
    .sectores-imagen-container { order: 1; }
    .proceso-sidebar { order: 2; }
    .sectores-especializados .section-title { font-size: 2.2rem; }
    .sectores-wrapper { flex-direction: column; }
    .proceso-logistico { width: 100%; }
    .benefits-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
    .benefits-grid article:last-child { grid-column: 1/-1; justify-self: center; }
    .header-flex { flex-direction: column; text-align: center; }
    .header-content h1 { font-size: 2.8rem; }
    .contacto-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contacto-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
    .info-card { text-align: center; }
    .info-card svg { margin: 0 auto 15px; display: block; }
    .red-atencion-container { flex-direction: column; padding: 0 15px; }
    .mapa-col, .oficina-col { width: 100%; }
    .map-container-wrapper { margin: 0 15px; width: auto; padding: 1rem; }
    #map-operativo { height: 350px; }
    .container { padding: 0 15px !important; box-sizing: border-box; }
    #mapa-cobertura, #map-operativo { border-radius: 15px; overflow: hidden; }
}

/* ==================== RESPONSIVE — MÓVIL (≤768px) ==================== */
@media (max-width: 768px) {
    /* Navbar */
    .navbar { height: 70px; }
    .logo-img { height: 50px; }
    .menu-btn { display: block; }
    .nav-right { gap: 1rem; }
    .btn-nav { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .btn-nav span { display: none; }
    .btn-nav i { margin: 0; font-size: 1.2rem; }
    .btn-calc { padding: 0.8rem 1.2rem; font-size: 0.85rem; }
    .nav-links {
        position: fixed;
        top: 70px; left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 0.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        z-index: 999;
    }
    .nav-links.active { left: 0; }

    /* Hero */
    .hero { min-height: 85vh; padding: 1.5rem 0; }
    .hero-title { margin-bottom: 0.8rem; }
    .hero-subtitle { margin-bottom: 1.8rem; padding: 0 0.5rem; }

    /* Secciones */
    .section-title { font-size: 1.8rem; }
    .section-header h2 { font-size: 1.8rem; }
    .professional-section { padding: 3rem 1rem; }

    @media (max-width: 768px) {
    /* Grids → columna única */
    .quienes-grid,
    .mision-vision-grid,
    .servicios-grid,
    .sectores-grid,
    .porque-grid,
    .seguridad-grid,
    .contacto-grid,
    .red-atencion-container,
    .futuro-layout {
        grid-template-columns: 1fr !important;
        flex-direction: column;
    }
    
    /* Ajustes específicos para Misión y Visión en móvil */
    .mision-vision-grid {
        gap: 24px;
    }
    
    .card-mv {
        padding: 28px 20px;
    }
    
    .card-mv h3 {
        font-size: 1.5rem;
    }
    
    .card-mv p {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .card-mv i {
        font-size: 2.5rem;
    }
    
    /* Desactivar hover en móvil */
    .card-mv:hover {
        transform: none;
    }
    
    /* El resto de tus estilos móviles... */
    .cifras-grid-moderno { grid-template-columns: repeat(2, 1fr); }
    /* etc... */
}
    
    
    /* Cards */
    .premium-card { width: 100%; max-width: 360px; }
    .card-image-area { height: 200px; }
    .card-info { padding: 1.2rem 1.2rem 1.5rem; }
    .card-heading { font-size: 1.3rem; }
    .card { width: 100%; padding: 1.5rem; }
    .card-number { font-size: 2rem; white-space: normal; }
    .growth-section { padding: 3rem 1.2rem; }

    /* Cifras */
    .cifras-redisenadas { padding: 50px 0 60px; }
    .cifras-redisenadas .section-title { font-size: 2rem; }
    .cifras-redisenadas .section-subtitle { font-size: 1rem; padding: 0 1rem; }

    /* Sectores */
    .sectores-grid-mini { grid-template-columns: 1fr !important; gap: 20px !important; }
    .sector-card { aspect-ratio: 16/9; width: 100%; }
    .sector-card-content span { font-size: 0.9rem; padding: 0.4rem 1rem; white-space: normal; text-align: center; }
    .sectores-bottom-layout { display: flex; flex-direction: column; gap: 25px; }
    .sectores-imagen-container { order: 1; }
    .proceso-sidebar { order: 2; padding: 1.5rem; }
    .proceso-mini-title { font-size: 1.3rem; }
    .paso-item { padding: 0.8rem; }
    .paso-numero { width: 40px; height: 40px; font-size: 1.1rem; }
    .paso-texto h4 { font-size: 1rem; }
    .paso-texto p { font-size: 0.8rem; }

    /* Beneficios */
    .benefits-grid { grid-template-columns: 1fr; }
    .benefit-card { min-height: 280px; }

    /* Tarjetas futuro */
    .cards-futuro-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 1.5rem;
    }
    .card-futuro { max-width: 100%; min-height: auto; height: auto; }
    .card-image { min-height: 220px; }

    /* Red de atención */
    .red-atencion-flex { grid-template-columns: 1fr !important; gap: 25px !important; }
    #mapa-red-atencion { width: 100% !important; height: 350px !important; }
    .oficina-card-redisenada { width: 100% !important; height: auto !important; min-height: auto !important; }
    .red-atencion-wrapper { padding: 40px 20px !important; }

    /* Timeline */
    .timeline-container::before { left: 20px; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: calc(100% - 60px); margin-left: 60px !important; }

    /* Contacto */
    .contacto-info { grid-template-columns: 1fr; }
    .contacto-form { padding: 24px 18px; border-radius: 20px; margin: 10px; }
    .form-row { flex-direction: column; gap: 0; }
    .form-group { width: 100%; margin-bottom: 15px; }
    .form-group label { font-size: 0.75rem; }
    .form-group input, .form-group select, .form-group textarea { padding: 10px; font-size: 0.85rem; }
    .contacto-grid { padding: 0 15px; }

    /* Certificaciones */
    .certifications-logos {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 30px 20px;
    }
    .certificacion-item { flex: none; width: auto; }
    .cert-basc { height: 75px; max-width: 110px; }
    .cert-colfecar { height: 65px; max-width: 170px; }
    .cert-puertos { height: 75px; max-width: 100px; }
    .certificaciones-container { flex-direction: column !important; gap: 1.8rem; padding: 20px; }
    .cert-basc { height: 80px; max-width: 130px; }
    .cert-colfecar { height: 80px; max-width: 200px; }
    .cert-puertos { height: 80px; max-width: 110px; }

    /* BASC */
    .basc-content { flex-direction: column; text-align: center; }
    .basc-info { text-align: center; }
    .basc-logo img { width: 180px; }

    /* Page header */
    .page-header p { display: none !important; }
    .page-header h1 { font-size: 1.8rem !important; margin-bottom: 0 !important; }
    .page-header-exclusive { padding: 100px 20px 60px; }

   
/* ==================== RESPONSIVE — MÓVIL MUY PEQUEÑO (≤480px) ================== /* Footer */
    footer { padding: 2rem 0 1rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .footer-logo { text-align: center; }
    .footer-social { justify-content: center; }
    .footer-links h4, .footer-contact h4, .footer-legal h4 { display: block; text-align: center; }
    .footer-links ul, .footer-legal ul { text-align: center; }
    .footer-contact p { justify-content: center; }

    /* Servicios */
    .servicios-grid { grid-template-columns: 5fr; gap: 45px; }
    .servicio-card { min-height: auto; max-height: none; }
    .servicio-image { height: 200px; }
    .servicios-cobertura { padding: 50px 0; }
    .map-section { margin-bottom: 2rem; border-radius: 15px; overflow: hidden; }

    #mapa-red-atencion { height: 350px !important; }
    .modal-content { width: 95%; margin: 20% auto; padding: 20px; }
    .form-row { flex-direction: column; gap: 10px; }
}

/* ==================== RESPONSIVE — MÓVIL PEQUEÑO (≤600px) ==================== */
@media (max-width: 600px) {
    footer { padding: 1.5rem 0 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; text-align: center; }
    .footer-logo .logo { display: flex; justify-content: center; }
    .footer-logo .logo-text { font-size: 1.2rem; }
    .footer-links h4, .footer-contact h4, .footer-legal h4 { font-size: 1rem; text-align: center; }
    .footer-links ul, .footer-legal ul { text-align: center; padding: 0; }
    .footer-links li, .footer-legal li { margin-bottom: 0.6rem; }
    .footer-contact p { justify-content: center; flex-wrap: wrap; font-size: 0.8rem; }
    .footer-social { justify-content: center; }
    .footer-social a { width: 35px; height: 35px; font-size: 1.2rem; }
    .footer-bottom { padding-top: 1.5rem; margin-top: 1.5rem; }
    .footer-bottom p { font-size: 0.7rem; padding: 0 1rem; }
    .datos-empresa { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .modal-content { width: 95%; margin: 20% auto; padding: 20px; }
    .certificado-imagen img { max-width: 100%; height: auto; }
    .cifras-grid-moderno { grid-template-columns: 1fr; gap: 1.2rem; }
    .cifras-number { font-size: 1.6rem; padding: 0.4rem 0.9rem; }
    .cifras-label { font-size: 0.75rem; }
}
== */
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
    .btn-outline { padding: 0.7rem 1.2rem; gap: 8px; font-size: 0.9rem; }
    .btn-outline .btn-icon-large { width: 38px; height: 38px; font-size: 1rem; }
    .hero-buttons { gap: 0.8rem; }
    .servicios-grid { grid-template-columns: 1fr; gap: 45px; }
    .contacto-form { padding: 15px; }
    .info-card { padding: 1rem; }
    .info-card svg { width: 35px; height: 35px; }
    .info-card h3 { font-size: 1rem; }
    .info-card p { font-size: 0.8rem; }
    .form-group input, .form-group select, .form-group textarea { padding: 8px; font-size: 0.8rem; }
    .btn-cotizar { padding: 12px; font-size: 0.9rem; }
    .form-title { font-size: 1.3rem; text-align: center; }
    #mapa-red-atencion { height: 320px !important; }
    .oficina-card-redisenada { padding: 25px 20px !important; }
    .red-atencion-title { font-size: 1.8rem; }
    .certifications-logos { gap: 25px; padding: 25px 15px; }
    .cert-basc { height: 75px; max-width: 110px; }
    .cert-colfecar { height: 65px; max-width: 170px; }
    .cert-puertos { height: 75px; max-width: 100px; }
    .card-futuro { height: 380px; }
    .activity-chip { padding: 14px 18px; gap: 12px; }
    .activity-chip i { width: 50px; height: 50px; font-size: 1.5rem; }
}

/* ==================== RESPONSIVE — MÍNIMO (≤380px) ==================== */
@media (max-width: 380px) {
    .hero-content { padding: 0 1rem; }
    .btn-outline { padding: 0.6rem 1rem; font-size: 0.85rem; gap: 6px; }
    .btn-outline .btn-icon-large { width: 34px; height: 34px; font-size: 0.9rem; }
    .footer-contact p { flex-direction: column; align-items: center; text-align: center; gap: 5px; }
    .footer-icon { margin-bottom: 3px; }
    .footer-links li, .footer-legal li { margin-bottom: 0.5rem; }
    .footer-links a, .footer-legal a { font-size: 0.85rem; }
    .certifications-logos { gap: 20px; padding: 20px 12px; }
    .cert-basc { height: 65px; max-width: 95px; }
    .cert-colfecar { height: 55px; max-width: 140px; }
    .cert-puertos { height: 65px; max-width: 85px; }
}

/* ==================== RESPONSIVE — GRANDE (≥1920px) ==================== */
@media (min-width: 1920px) {
    .sectores-especializados .container { max-width: 1600px; }
    .sectores-grid-mini { gap: 40px; }
    .sector-card-content span { font-size: 1.5rem; padding: 0.8rem 1.5rem; }
    .cifras-grid-moderno { gap: 2.5rem; }
    .cifras-number { font-size: 2.5rem; }
}

/* ========== ESTILOS COMPLETOS PARA PC Y MÓVIL ========== */
    
    /* Contenedor base */
    .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }
    
    /* Fondo de la sección */
    .bg-light {
        background-color: #f1f5f9;
        padding: 64px 0;
    }
    
    /* ========== ESTILOS PRINCIPALES: MISIÓN Y VISIÓN ========== */
    .mision-vision-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);  /* 2 columnas en PC */
        gap: 32px;
        align-items: stretch;
    }
    
    /* Tarjeta base (card-mv) */
    .card-mv {
        background: white;
        border-radius: 32px;
        padding: 40px 28px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(203, 213, 225, 0.4);
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    /* Efecto hover solo visible en PC */
    .card-mv:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
        border-color: #cbd5e1;
    }
    
    /* Íconos grandes */
    .card-mv i {
        font-size: 3.2rem;
        margin-bottom: 20px;
        display: inline-block;
    }
    
    /* Color distintivo para cada tarjeta */
    .mision i {
        color: #2563eb;   /* azul fuerte */
    }
    .vision i {
        color: #2563eb;;   /* ámbar / naranja - cambiado para diferenciar */
    }
    
    .card-mv h3 {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 20px;
        letter-spacing: -0.3px;
        background: linear-gradient(135deg, #1e293b, #2d3a4e);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }
    
    /* Estilo del párrafo (texto legible) */
    .card-mv p {
        font-size: 1rem;
        line-height: 1.6;
        color: #334155;
        margin: 0;
        text-align: justify;    /* mejor legibilidad en párrafos largos */
    }
    
    /* Pequeño detalle decorativo: borde superior sutil */
    .card-mv {
        position: relative;
        overflow: hidden;
    }
    .card-mv::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #2563eb, #38bdf8);
    }
    .vision::before {
        background: linear-gradient(90deg, #2563eb, #38bdf8); /* naranja para visión */
    }
    /* ==================== SERVICIOS Y MAPA - ESTILOS PC ==================== */

/* Sección principal */
.servicios-cobertura {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Encabezado de sección */
.section-heading--centered {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue, #33598F);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #33598F, #f59e0b);
    margin: 12px auto 0;
    border-radius: 4px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Mapa de cobertura */
.map-section {
    background: white;
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 60px;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(51, 89, 143, 0.1);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.map-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-header h3 i {
    color: var(--primary-blue, #33598F);
    font-size: 1.6rem;
}

.map-badge {
    background: linear-gradient(135deg, #33598F, #1e4a76);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.map-container {
    height: 420px;
    width: 100%;
    border-radius: 20px;
    background: #e2e8f0;
    overflow: hidden;
}

/* Título de servicios */
.services-intro {
    text-align: center;
    margin-bottom: 48px;
}

.services-intro h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.services-intro h4 i {
    color: var(--primary-blue, #33598F);
    font-size: 2rem;
}

.services-intro p {
    color: #64748b;
    font-size: 1rem;
}

/* ===== GRID DE SERVICIOS - 4 TARJETAS EN LÍNEA ===== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4 columnas en PC */
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tarjeta de servicio */
.servicio-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(51, 89, 143, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;  /* Todas las tarjetas tienen la misma altura */
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -15px rgba(51, 89, 143, 0.25);
    border-color: rgba(51, 89, 143, 0.2);
}

/* Imagen de servicio */
.servicio-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.5s ease;
}

.servicio-card:hover .servicio-image {
    transform: scale(1.02);
}

/* Contenido de la tarjeta */
.servicio-content {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.servicio-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
    line-height: 1.3;
    min-height: 50px;  /* Altura mínima para alinear títulos */
}

.servicio-content p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex: 1;  /* Hace que el texto ocupe el espacio disponible */
}

/* Badge de operación - SIEMPRE al final de la tarjeta */
.servicio-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #e8f0fe, #dce7f5);
    color: var(--primary-blue, #33598F);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    transition: all 0.3s ease;
    margin-top: auto;  /* Empuja el badge hacia abajo */
    align-self: flex-start;  /* Alinea a la izquierda */
}

.servicio-badge i {
    font-size: 0.7rem;
}

.servicio-card:hover .servicio-badge {
    background: linear-gradient(135deg, #33598F, #1e4a76);
    color: white;
}

/* Ocultar elementos no utilizados */
.servicios-sidebar, 
.servicios-columna, 
.servicio-icon, 
.servicio-info { 
    display: none; 
}
/* ==================== CIFRAS - CENTRADO ASEGURADO ==================== */
.cifras-redisenadas {
    padding: 80px 0 100px;
    background: linear-gradient(120deg, #c4c4c4 0%, #143575 50%, #f0f4f8 100%);
}

/* Forzar centrado del título en cifras */
.cifras-redisenadas .section-title {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    color: white; /* Para que se vea sobre el fondo oscuro */
}

.cifras-redisenadas .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f59e0b; /* Color naranja para destacar */
    margin: 1rem auto 0 !important; /* Forzar centrado */
    border-radius: 4px;
}

/* Subtítulo centrado */
.cifras-redisenadas .section-subtitle {
    text-align: center !important;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-size: 1.2rem;
    font-weight: 500;
}
/* ==================== QUIÉNES SOMOS ==================== */
.quienes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;  /* Cambiado de stretch a center para mejor alineación */
}

/* Columna del texto */
.quienes-texto {
    display: flex;
    flex-direction: column;
}

.quienes-texto p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    text-align: justify;
}

.quienes-texto p:last-of-type {
    flex-grow: 1;
}

/* Datos de empresa */
.datos-empresa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.datos-empresa div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.datos-empresa span {
    display: inline-block;
    white-space: normal;
    flex: 1;
}

.datos-empresa i {
    color: var(--secondary-orange, #000000);
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Objetivo box */
.objetivo-box {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    background: linear-gradient(135deg, var(--primary-blue, #33598F), var(--primary-blue-dark, #1e4a76));
    border-radius: 20px;
    color: white;
    margin-top: auto;
}

.objetivo-box i {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* ===== QUIÉNES SOMOS - IMAGEN OCUPA TODO EL ESPACIO ===== */
.quienes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.quienes-texto {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quienes-image {
    width: 100%;
    height: 100%;  /* Ocupa toda la altura disponible */
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quienes-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% center;
}
/* ==================== PAGE HEADER - DISEÑO PC MEJORADO ==================== */
.page-header-exclusive {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #33598f 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header-exclusive .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Flex layout para PC */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Columna de texto */
.header-content {
    flex: 1.2;
    z-index: 2;
}

.header-content .badge {
    background: rgba(51, 89, 143, 0.12);
    color: var(--primary-blue, #33598F);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-content .badge i {
    font-size: 0.8rem;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.header-content h1 .highlight {
    color: var(--primary-blue, #33598F);
    position: relative;
    display: inline-block;
}

.header-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(51, 89, 143, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.header-content p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 500px;
}

/* Botones de acción */
.header-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue, #33598F);
    border: 2px solid var(--primary-blue, #33598F);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-blue, #33598F);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -8px rgba(51, 89, 143, 0.3);
}

.btn-primary-light {
    background: var(--primary-blue, #33598F);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-light:hover {
    background: #1e4a76;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -8px rgba(51, 89, 143, 0.4);
}

/* Estadísticas rápidas */
.header-stats {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(51, 89, 143, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue, #33598F);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Columna de imagen */
.header-image-wrapper {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shape-blob {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-blue, #33598F);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    opacity: 0.2;
    animation: morphing 10s infinite alternate;
}

.shape-blob-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: #f59e0b;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    filter: blur(50px);
    opacity: 0.15;
    animation: morphing 8s infinite alternate-reverse;
    bottom: -50px;
    right: -50px;
}

.bus-container {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.bus-container:hover {
    transform: translateY(-8px);
}

.bus-static {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    max-height: 380px;
    width: auto;
}

.floating-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: linear-gradient(135deg, #f59e0b, #e67e22);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-badge i {
    font-size: 0.8rem;
}

/* Ola decorativa */
.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .header-flex {
        gap: 40px;
    }
    
    .header-content h1 {
        font-size: 2.8rem;
    }
    
    .bus-static {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .page-header-exclusive {
        padding: 100px 0 60px;
    }
    
    .header-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .header-content {
        text-align: center;
    }
    
    .header-content p {
        max-width: 100%;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    .shape-blob-2 {
        display: none;
    }
    
    .floating-badge {
        bottom: -10px;
        right: -10px;
        padding: 6px 12px;
        font-size: 0.6rem;
    }
}
/* ==================== MODAL BASC - CORREGIDO ==================== */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 2000; 
    inset: 0; 
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    margin: 0 auto;
    padding: 2rem;
    width: 90%;
    max-width: 650px;
    border-radius: 24px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

/* Scroll personalizado para el modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #33598F;
    border-radius: 10px;
}

.modal-close { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 2rem; 
    cursor: pointer; 
    color: #94a3b8; 
    transition: all 0.3s ease;
    z-index: 10;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
}

.modal-close:hover { 
    color: #33598F; 
    background: rgba(51,89,143,0.1);
    transform: rotate(90deg);
}

.modal-certificado { 
    text-align: center; 
    padding: 10px 5px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #33598F, #1e4a76);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.modal-icon i { 
    font-size: 1.8rem; 
    color: white;
    margin: 0;
}

.modal-certificado h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 5px;
}

.modal-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* Contenedor de la imagen - MEJORADO */
.certificado-imagen { 
    margin: 1rem 0; 
    width: 100%; 
    display: flex; 
    justify-content: center;
    align-items: center;
    background: #f8fafc;
    border-radius: 16px;
    padding: 15px;
    max-height: 450px;
    overflow: auto;
}

/* Imagen del certificado - COMPLETA Y RESPONSIVE */
.img-certificado-real { 
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px; 
    box-shadow: 0 8px 20px -5px rgba(0,0,0,0.15); 
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.img-certificado-real:hover {
    transform: scale(1.01);
}

/* Detalles del certificado */
.certificado-detalles {
    text-align: left;
    background: #f1f5f9;
    padding: 15px 20px;
    border-radius: 16px;
    margin-top: 20px;
}

.certificado-detalles p {
    margin: 8px 0;
    font-size: 0.85rem;
    color: #334155;
}

.certificado-detalles strong {
    color: #33598F;
}

.certificado-texto {
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid #cbd5e1;
    font-size: 0.8rem !important;
    line-height: 1.5;
    color: #475569 !important;
}

/* Animación */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

