/* --- HOME HERO --- */
.hero {
    height: 75vh;
    min-height: 600px; /* Altura más compacta */
    max-height: 800px; /* Prevenir que sea excesivamente grande */
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente corporativo profundo para asegurar contraste */
    background: linear-gradient(90deg, rgba(7, 18, 32, 0.95) 0%, rgba(7, 18, 32, 0.85) 50%, rgba(7, 18, 32, 0.5) 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transform: scale(1.05);
    animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem; /* Ajuste por el header fijo */
}

.hero h1 {
    font-size: 5.5rem; /* Aún más grande y seguro */
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -1.5px; /* Tracking ajustado para look premium */
    color: white;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.hero h1 span.premium-font {
    color: #C9A84C !important; /* var(--accent-gold) forzado para evitar cache JS */
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-btns {
    display: flex;
    gap: 1.5rem; /* Más separación entre botones */
}

/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    background: var(--primary-blue);
    color: white;
}

.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(10, 26, 47, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #E1E1E1;
    border-radius: 12px;
    background: #F9F9F9;
}

.form-group input:focus {
    border-color: var(--accent-blue);
    background: white;
    outline: none;
}

/* --- RESPONSIVE PAGES --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
        letter-spacing: -0.5px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-cta, .btn-outline {
        width: 100%;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group[style*="grid-column: span 2;"] {
        grid-column: span 1 !important;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}