/* --- NAVBAR ESTILO IONOS (Limpio y Blanco) --- */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}
.navbar-brand {
    color: var(--color-primario) !important;
    font-size: 1.5rem;
}

.navbar-toggler {
    height: 52px !important;
    border: 1px solid #f4f7f9 !important;
    width: 52px !important;
    box-shadow: none !important;
}

    .navbar-toggler:hover, .navbar-toggler:active, .navbar-toggler:focus {
        background-color: #f4f7f9
    }

    .navbar-toggler > i.bi {
        font-size: 24px;
        color: var(--texto-gris);
    }

.nav-link {
    color: var(--color-primario);
    font-weight: 600;
}

    .nav-link.btn-uv-yellow {
        background-color: var(--color-acento);
        border: none;
    }

.nav-link:hover {
    color: var(--color-secundario);
}
.btn-outline-primary-custom {
    color: var(--color-primario);
    border: 1px solid var(--color-primario);
    font-weight: 500;
}
.btn-outline-primary-custom:hover {
    background-color: var(--color-primario);
    color: white;
}

/* --- HERO SECTION --- */
.hero-section {
    background-color: var(--color-primario);
    color: white;
    padding: 80px 0;
    position: relative;
    /* Opcional: Podrías poner una imagen de fondo de aduana/comercio con opacidad */
}
.hero-title {
    font-size: 3rem;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-text {
    font-size: 1.2rem;
    opacity: 0.9;
}
.btn-cta {
    background-color: var(--color-acento);
    color: var(--color-primario);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 5px;
    border: none;
    transition: transform 0.2s;    
}
.btn-cta:hover {
    transform: translateY(-0px);
    background-color: #e6b800;
    color: var(--color-primario);
}

/* --- CARDS DE SERVICIOS (Estilo Moderno) --- */
.service-card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    border: 1px solid #eee;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--color-secundario);
}
.icon-box {
    font-size: 2.5rem;
    color: var(--color-secundario);
    margin-bottom: 1rem;
}
.card-title {
    color: var(--color-primario);
    font-weight: 700;
}

/* --- SECCIÓN ACREDITACIONES --- */
.trust-section {
    background-color: var(--bg-claro);
    padding: 60px 0;
}
.check-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.check-list i {
    color: var(--color-secundario); /* Usamos el azul secundario para checks en lugar de verde */
    margin-right: 10px;
    font-weight: bold;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-primario);
    color: white;
    padding: 50px 0 20px;
}
footer a {
    color: #ddd;
    text-decoration: none;
}
footer a:hover {
    color: var(--color-acento);
}

/* Estilo específico para las tarjetas de NOMs */
.nom-card {
    transition: all 0.3s ease-in-out;
    border-top: 4px solid transparent !important; /* Borde superior oculto inicialmente */
}

.nom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(24, 43, 97, 0.1) !important;
    border-top: 4px solid var(--color-acento) !important; /* Resalta con amarillo al pasar el mouse */
}

.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 15px;
}

.nom-card .card-text {
    min-height: 64px;
}

.nom-card .btn-outline-primary-custom {
    font-size: 14px;
    padding: 0px 26px;
    line-height: 38px;
}


.btn-hero {
    padding: 0px 30px;
    height: 50px !important;
    line-height: 50px;
}

/* Styles for screens smaller than 600px (e.g., mobile devices) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        font-weight: 300;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

    .hero-text {
        font-size: 1.0rem;
        opacity: 0.9;
    }

    .btn-hero {
        width: 100%;
    }
}


/* New styles for flexbox layout and main content scrolling */
.site-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1; /* Allows main to take up the available space */
    overflow-y: auto; /* Makes this the scrollable container */
}
