/* --- VARIABLES DE MARCA --- */
:root {
    --zetti-blue: #0081c9;
    --zetti-light-blue: #00aeef;
    --zetti-dark-blue: #0072bc;
    --text-color: #333;
    --text-muted: #555;
    --gollmann-dark-blue: #004a6d; /* Azul petróleo de la referencia */
}

/* --- ESTILOS BASE --- */
body {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--text-color);
    background-color: #ffffff;
}

.main-title, 
.brand-label, 
.btn-zetti-solid, 
.btn-zetti-outline,
.description-text,
.section-title {
    font-family: 'Montserrat', sans-serif !important;
}

.main-title {
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.2;
    margin: 0;
    color: #000;
}

.accent-blue {
    color: var(--zetti-blue);
}

.brand-label {
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.description-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    /* Aseguramos que el margen inferior sea controlado solo por Bootstrap */
    margin-bottom: 0px !important; 
}

/* --- HERO SECTION (INDEX) --- */
.hero-section {
    padding: 80px 0; /* Más aire arriba y abajo para que el contenido respire */
    min-height: 80vh; /* Asegura que ocupe casi toda la pantalla */
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fcff 0%, #ffffff 100%);
}

.robot-container {
    position: relative;
    z-index: 1;
    /* Un pequeño margen negativo puede ayudar a subirlo si aún lo ves bajo */
    margin-top: -10px; 
}

.robot-img {
    max-height: 550px; /* Le damos más tamaño ya que tiene su propia columna */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1)); /* Un toque de profundidad */
    transition: transform 0.5s ease;
}

.robot-img:hover {
    transform: scale(1.02); /* Efecto sutil al pasar el mouse */
}

/* Ajuste para que en móviles el texto siga centrado */
@media (max-width: 991px) {
    .hero-section {
        padding: 40px 0;
        text-align: center;
    }
    .robot-img {
        max-height: 400px;
        margin-top: 30px;
    }
}

/* --- ESTILO DE BOTONES --- */
.btn-zetti-solid, 
.btn-zetti-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 42px; /* Reducido de 45px a 42px para mayor fineza */
    padding: 0 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-zetti-solid {
    background: linear-gradient(90deg, var(--zetti-light-blue), var(--zetti-dark-blue));
    color: white !important;
    border: none;
}

.btn-zetti-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 146, 221, 0.3);
    filter: brightness(1.1);
}

.btn-zetti-outline {
    background: transparent;
    color: var(--zetti-dark-blue) !important;
    border: 1.5px solid var(--zetti-dark-blue);
}

.btn-zetti-outline:hover {
    background-color: var(--zetti-dark-blue);
    color: white !important;
}

/* Contenedor para centrar botones */
.d-flex.justify-content-center {
    display: flex !important;
    justify-content: center !important;
    width: 100%;
    gap: 40px !important;
}

/* --- SECCIÓN DATOS TÉCNICOS (NUEVO) --- */

/* --- BANNER GOLLMANN (PC Y TABLETS) --- */
.banner-gollmann-full {
    width: 100%;
    height: 350px; /* Tu alto preferido para PC */
    
    /* Imagen ancha */
    background-image: url('../img/banner_gollmann.webp');
    
    background-size: cover;      /* Llena todo el espacio */
    background-position: center;  /* Centra la imagen */
    background-repeat: no-repeat;
    margin-bottom: 50px;
    image-rendering: high-quality;
}

/* --- AJUSTE PARA CELULARES (Mobile) --- */
@media (max-width: 767px) {
    .banner-gollmann-full {
        /* Le damos un alto mayor para que la imagen mobile se vea grande */
        height: 320px; 
        
        /* Cambiamos a la imagen exclusiva para celulares */
        background-image: url('../img/banner_gollmann_mobile.webp');
        
        /* 'cover' es la clave: estira la imagen hasta llenar los 320px de alto */
        background-size: cover; 
        
        /* Centramos para que los robots y el logo no se corten mal */
        background-position: center; 
        
        margin-bottom: 30px;
        
        /* Quitamos cualquier color de fondo que pueda molestar */
        background-color: transparent; 
    }
}

.section-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--zetti-light-blue);
    display: inline-block;
    font-size: 1.5rem;
}

/* --- TARJETAS MULTIMEDIA ACTUALIZADAS --- */
.media-card {
    background-color: var(--gollmann-dark-blue);
    height: 200px; /* Un poco más altas para que luzca la miniatura */
    border-radius: 12px;
    display: flex;
    align-items: flex-end; /* Texto abajo */
    padding: 20px;
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    text-decoration: none !important;
    
    /* Propiedades para la imagen de fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Capa oscura interna para que el texto siempre sea legible sobre la imagen */
.media-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* El texto debe estar por encima de la capa oscura */
.media-card span {
    position: relative;
    z-index: 3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Icono central de Play/Acción */
.media-card::before {
    content: "\F4F4"; /* Bootstrap Icon: Play */
    font-family: "bootstrap-icons";
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    opacity: 0.7;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Diferenciación por tipo de icono */
.media-card.slide::before { content: "\F52D"; } /* Icono Slide */
.media-card.file::before { content: "\F385"; }  /* Icono File */
.media-card.web::before { content: "\F3EE"; }   /* Icono Globe */
.media-card.presentation::before { content: "\F381"; }   /* Icono Presentation */

/* EFECTOS HOVER */
.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.media-card:hover::after {
    background: linear-gradient(0deg, rgba(0,114,188,0.7) 0%, rgba(0,0,0,0.3) 100%); /* Tinte azul de Zetti al pasar el mouse */
}

.media-card:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .main-title { font-size: 2rem; }
    .d-flex.justify-content-center { gap: 20px !important; flex-direction: column; align-items: center; }
}

/* Refuerzo para que el Footer también sea Montserrat */
footer, 
footer p, 
footer a, 
footer span {
    font-family: 'Montserrat', sans-serif !important;
}

/* --- PARCHE PARA FOOTER SEGURO --- */
footer,
footer p,
footer a {
    font-family: 'Montserrat', sans-serif !important;
}

footer a.text-muted:hover {
    color: var(--zetti-blue) !important; /* Un toque de color al hover */
}

/* Forzamos que los contenedores de columna de Bootstrap se defiendan */
footer .col-12 {
    width: 100%;
}