/* ===================================
   HEADER GNP SEGUROS - CSS OPTIMIZADO
   Versión mejorada con responsive móvil
   OPTIMIZADO PARA VER BANNER CTA EN MÓVIL
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/* ===================================
   SECCIÓN SUPERIOR - Fondo gris claro
   =================================== */
.header-top {
    background-color: #f5f5f5;
    padding: 15px 0;
    border-bottom: 3px solid #ff6900;
    width: 100%;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

/* Logo GNP */
.logo-section {
    display: flex;
    align-items: center;
}

.logo-gnp {
    height: 90px;
    width: auto;
}

.logo-section a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-section a:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

/* Información de contacto */
.contact-info {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #ff6900;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: #1e3a8a;
}

.contact-icon.whatsapp {
    fill: #25d366;
}

.contact-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.contact-details p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* Logo Vivir es increíble */
.slogan {
    display: flex;
    align-items: center;
}

.logo-vivir {
    height: 40px;
    width: auto;
}

/* ===================================
   SECCIÓN INFERIOR - Fondo azul
   =================================== */
.header-bottom {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 12px 0;
    border-top: 3px solid #ff6900;
    width: 100%;
}

.bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

/* Texto principal */
.main-text {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Redes sociales */
.social-media {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: #ff6900;
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: white;
}


/* ===================================
   Botón de WhatsApp como botón interactivo
   =================================== */

.contact-item[data-whatsapp] {
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s;
}

.contact-item[data-whatsapp]:hover {
    transform: scale(1.02);
}

/* ===================================
   RESPONSIVE - TABLET (max-width: 968px)
   =================================== */
@media (max-width: 968px) {
    .header-container,
    .bottom-container {
        padding: 0 25px;
    }
    
    .contact-info {
        gap: 25px;
    }
    
    .contact-details h4 {
        font-size: 14px;
    }
    
    .contact-details p {
        font-size: 11px;
    }
    
    .main-text {
        font-size: 16px;
    }
}

/* ===================================
   RESPONSIVE - MÓVIL (max-width: 768px)
   OCULTA CONTACTOS, MUESTRA SOLO LOGOS
   ✅ OPTIMIZADO PARA VER BANNER CTA
   =================================== */
@media (max-width: 768px) {
    /* OCULTAR información de contacto completa */
    .contact-info {
        display: none !important;
    }
    
    /* REDUCIR padding del header top */
    .header-top {
        padding: 8px 0;
    }
    
    /* Reorganizar header para centrar logos verticalmente */
    .header-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px; /* REDUCIDO de 20px a 10px */
        padding: 12px 15px; /* REDUCIDO de 25px a 12px */
    }
    
    /* Logo GNP - más pequeño para ahorrar espacio */
    .logo-section {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .logo-gnp {
        height: 90px; /* */
    }
    
    /* Logo Vivir es increíble - más pequeño */
    /*.slogan { */
       /* width: 100%; */
       /* display: flex; */
        /*justify-content: center; */
      /*  align-items: center; */
   /* } */
    
   /* .logo-vivir { */
        /* height: 32px; /* REDUCIDO de 48px a 32px */
  /*  } */
    
    .slogan {
        display: none !important; /* ✅ OCULTO del header */
    }
    
    /* Sección inferior - MÁS COMPACTA */
    .header-bottom {
        padding: 8px 0; /* REDUCIDO de 12px a 8px */
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 10px; /* REDUCIDO de 15px a 10px */
        text-align: center;
        padding: 10px 15px; /* REDUCIDO de 20px a 10px */
    }
    
    .main-text {
        font-size: 14px; /* REDUCIDO de 16px a 14px */
        line-height: 1.3;
    }
    
    /* Redes sociales más compactas */
    .social-media {
        gap: 15px; /* REDUCIDO de 20px a 15px */
    }
    
    .social-link {
        width: 36px; /* REDUCIDO de 42px a 36px */
        height: 36px;
    }
    
    .social-icon {
        width: 18px; /* REDUCIDO de 22px a 18px */
        height: 18px;
    }
}

/* ===================================
   RESPONSIVE - MÓVIL PEQUEÑO (max-width: 480px)
   =================================== */
@media (max-width: 480px) {
    .header-top {
        padding: 6px 0; /* AÚN MÁS REDUCIDO */
    }
    
    .header-container {
        padding: 10px 12px; /* MÁS COMPACTO */
        gap: 8px; /* REDUCIDO */
    }
    
    .logo-gnp {
        height: 55px; /* MÁS PEQUEÑO */
    }
    
    .logo-vivir {
        height: 28px; /* MÁS PEQUEÑO */
    }
    
    .main-text {
        font-size: 13px; /* MÁS PEQUEÑO */
        padding: 0 8px;
    }
    
    .header-bottom {
        padding: 6px 0; /* MÁS COMPACTO */
    }
    
    .bottom-container {
        padding: 8px 10px; /* MÁS COMPACTO */
        gap: 8px;
    }
    
    .social-link {
        width: 32px; /* MÁS PEQUEÑO */
        height: 32px;
    }
    
    .social-icon {
        width: 16px; /* MÁS PEQUEÑO */
        height: 16px;
    }
}

/* ===================================
   MODO IMPRESIÓN
   =================================== */
@media print {
    .header-bottom {
        display: none;
    }
    
    .contact-info {
        display: flex !important;
    }
    
    .header-container {
        flex-direction: row !important;
    }
}