/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 2px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 55px;
    width: auto;
    display: block;
}

nav a {
    text-decoration: none;
    color: #334155;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #003873;
}

.btn-nav {
    background: #003873;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background: #0f172a;
}

/* HERO SECTION */
.hero {
    background: #ffffff;
    padding: 60px 0 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: #003873;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.05rem;
    color: #475569;
    margin-bottom: 30px;
}

.btn-primary {
    background: #003873;
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0f172a;
}

/* CARRUSEL GENERAL */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 10px;
}

.carousel-slide img.active {
    opacity: 1;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 56, 115, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(15, 23, 42, 0.9);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* SECCIÓN BLOQUES LOGÍSTICOS */
.stats {
    background: #003873;
    color: white;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: left;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.stat-icon {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.stat-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* SERVICES SECTION (DIVISIONES) */
.services {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: #003873;
    font-weight: 700;
}

.section-header p {
    color: #64748b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.card .icon {
    font-size: 1.8rem;
    color: #003873;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 12px;
    color: #003873;
    font-weight: 600;
}

.card p {
    font-size: 0.95rem;
    color: #475569;
}

/* --- SECCIÓN PREMIUM ENOVA MED --- */
.enova-premium {
    background: #0f172a;
    padding: 100px 0;
    color: #ffffff;
    border-top: 4px solid #003873;
}

.premium-header {
    text-align: center;
    margin-bottom: 60px;
}

.premium-logo {
    max-width: 220px;
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: inline-block;
}

.premium-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.premium-header p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 2rem;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.feature-text h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-text p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.shadow-premium {
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    background: #ffffff;
}

/* CONTACT SECTION */
.contact {
    background: #f1f5f9;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #003873;
}

.contact-info {
    margin-top: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
}

.contact-info i {
    color: #003873;
    font-size: 1.1rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

input, textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #003873;
}

.btn-submit {
    width: 100%;
    background: #003873;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0f172a;
}

/* FOOTER */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .stats-grid, .premium-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-grid, .stats-grid, .services-grid, .contact-grid, .form-row, .premium-grid {
        grid-template-columns: 1fr;
    }
    .carousel-container {
        height: 300px;
    }
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    .premium-header h2 {
        font-size: 2rem;
    }
}