:root {
    --dark-blue: #0a192f;
    --yellow: #ffcc00;
    --text-muted: #64748b;
    --black: #050a14;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    scroll-behavior: smooth;
    background-color: #f8f9fa;
}

.fw-800 { font-weight: 800; }
.bg-dark-blue { background-color: var(--dark-blue) !important; }
.text-dark-blue { color: var(--dark-blue) !important; }
.text-yellow { color: var(--yellow) !important; }

/* Navbar */
.logo-img { height: 50px; width: auto; }
.btn-yellow {
    background-color: var(--yellow);
    color: var(--dark-blue) !important;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 25px;
    border: none;
    transition: 0.3s;
}
.btn-yellow:hover { transform: translateY(-2px); background-color: #e6b800; }

/* Banner Superior Corregido */
.top-banner {
    width: 100%;
    line-height: 0; /* Elimina espacio en blanco debajo de la imagen */
    overflow: hidden;
}

.top-banner img {
    width: 100%;
    height: auto; /* Permite que la altura crezca proporcionalmente al ancho */
    display: block;
    /* Si aún así quieres limitar la altura en pantallas muy grandes, usa esto: */
    max-height: 550px; 
    object-fit: contain; /* Cambiado de 'cover' a 'contain' para que no recorte nada */
    background-color: var(--dark-blue); /* Fondo de seguridad si la imagen es más corta */
}

/* Ajuste para que en móviles no se vea minúsculo */
@media (max-width: 768px) {
    .top-banner img {
        max-height: none; /* En móviles dejamos que fluya naturalmente */
    }
}

/* Hero */
.hero-header {
    min-height: 70vh;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(0, 50, 85, 0.8) 100%), 
                url('assets/hero-fuerza.png');
    background-size: cover;
    background-position: center;
}

/* Carrusel Control */
.carousel-container { max-width: 850px; width: 100%; }
.carousel-img {
    height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Formulario Moderno */
.contact-card { border: none; }
.input-group-modern { position: relative; display: flex; align-items: center; }
.input-group-modern i {
    position: absolute;
    left: 15px;
    color: var(--dark-blue);
    font-size: 1.2rem;
    z-index: 10;
}
.input-group-modern .form-control {
    padding-left: 45px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 12px 12px 12px 45px;
}

/* Legal Box */
.legal-box-dark {
    padding: 30px;
    border: 1px solid rgba(255,204,0,0.2);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
}
.legal-box-dark i { font-size: 2.5rem; color: var(--yellow); }

.bg-black { background-color: var(--black); }

@media (max-width: 768px) {
    .carousel-img { height: 300px; }
    .top-banner img { max-height: 180px; }
    .hero-header h1 { font-size: 2.5rem; }
}