 /* =========================================
   1. CONFIGURACIÓN GENERAL Y FUENTES
   ========================================= */
html {
    scroll-behavior: smooth;
} 
{
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    /* Tu marca de agua original */
    background-image: url("../Imagenes/marca_agua.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
}

/* Capa blanca semitransparente sobre el fondo para que el texto sea legible */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.6);
    z-index: -1;
}

/* =========================================
   2. ENCABEZADO Y MENÚ
   ========================================= */
header {
    background-color: white;
    padding: 60px 20px 30px;
    text-align: center;
}

.logo {
    width: 140px;
    margin-bottom: 10px;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    color: #004080;
    margin: 0;
}

.lema {
    font-size: 22px;
    color: #555;
    font-style: italic;
    margin-top: 5px;
}

nav {
    background-color: #003366;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffcc00;
    background-color: rgba(255,255,255,0.1);
}

/* =========================================
   3. HERO SECTION (BANNER PRINCIPAL)
   ========================================= */
.hero {
    background: url("../Imagenes/hero_corporativo.jpg") center/cover no-repeat;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(0, 51, 102, 0.4);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}

.hero-content h2 {
    color: white;
    font-size: 45px;
    font-family: 'Montserrat';
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    border: none; /* Quitamos borde de título en el banner */
}

/* =========================================
   4. ESTILO DE CAJONES Y CENTRADO (Brochures)
   ========================================= */
.seccion-cajon {
    max-width: 1000px;
    margin: 50px auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center; /* CENTRADO DE TEXTO */
}
.seccion-cajon p {
    font-size: 26px;   /* más pequeño que los puntos */
    color: #555;       /* tono gris para diferenciarlo */
    margin-bottom: 15px;
    font-style: italic; /* opcional, para que se vea distinto */
}
.productos p {
    font-size: 26px;   /* igual que Productos arriba */
    color: #eee;       /* texto claro para fondo oscuro */
    margin-bottom: 15px;
    font-style: italic;
}

.productos .lista-check li {
    font-size: 18px;   /* igual que Productos arriba */
    line-height: 1.4;
}
/* Títulos con línea amarilla abajo centrada */
h2 {
    color: #004080;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 4px solid #ffcc00;
    padding-bottom: 10px;
}

.lista-check {
    list-style: none;
    padding: 0;
    display: inline-block; /* Permite centrar la lista como bloque */
    text-align: left;      /* Mantiene los iconos alineados a la izquierda */
    margin: 20px auto;
}

.lista-check li {
    padding: 10px 0;
    font-size: 18px;
    border-bottom: 1px dashed #eee;
}

/* Sección Productos Especial (con fondo de imagen) */
.productos {
    background: linear-gradient(rgba(0,51,102,0.85), rgba(0,51,102,0.85)), 
                url("../Imagenes/imagen_Productos.png") center/cover;
    padding: 80px 20px;
    color: white;
    text-align: center;
}

.productos h2 {
    color: #ffcc00;
    border-bottom: 4px solid white;
}

/* Botones PDF Centrados */
.btn-pdf {
    display: table;
    margin: 25px auto 0;
    background: #ffcc00;
    color: #003366;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255,204,0,0.3);
}

.btn-pdf:hover {
    transform: translateY(-3px);
    background: #003366;
    color: white;
}

/* =========================================
   5. SECCIÓN NOSOTROS (GRID)
   ========================================= */
.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left; /* En esta sección el texto queda mejor a la izquierda */
}

.logo-nosotros {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}

/* =========================================
   6. CONTACTO
   ========================================= */
#contacto {
    background: #003366;
    color: white;
    padding: 40px 20px; /* Reducimos el acolchado de 80px a 40px */
    text-align: center;
}

.contacto-container {
    max-width: 700px; /* Un poco más ancho para las columnas */
    margin: 0 auto;
}

.form-compacto {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.fila-input {
    display: flex;
    gap: 15px; /* Espacio entre los dos cuadros de la misma fila */
}

.form-compacto input, 
.form-compacto select, 
.form-compacto textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: white;
    font-size: 15px;
    outline: none;
}

/* Responsivo: Si el celular es pequeño, los campos vuelven a estar uno abajo del otro */
@media (max-width: 600px) {
    .fila-input {
        flex-direction: column;
    }
}

#contacto button {
    background: #ffcc00;
    color: #003366;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    width: 200px; /* Botón no tan gigante */
    margin: 0 auto;
}

#contacto button:hover {
    background: #e6b800;
}

/* =========================================
   7. WHATSAPP Y FOOTER
   ========================================= */
/* Botón flotante WhatsApp (EL DE ABAJO) */
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Se queda a 20px del suelo de la pantalla */
    right: 30px;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.whatsapp-float img { width: 30px; margin-right: 10px; }

footer {
    background: #001a33;
    color: white;
    padding: 60px 20px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column { flex: 1; min-width: 200px; }
.footer-column h3 { color: #ffcc00; margin-bottom: 20px; }
.footer-column.enlaces a { display: block; color: white; text-decoration: none; margin-bottom: 12px; }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons img {
    width: 35px;
    height: 35px;
    transition: 0.3s;
    filter: brightness(1.2);
}

.social-icons img:hover {
    transform: translateY(-5px);
}

/* =========================================
   8. RESPONSIVE (Móviles)
   ========================================= */
@media (max-width: 768px) {
    .nosotros-grid { grid-template-columns: 1fr; text-align: center; }
    header h1 { font-size: 35px; }
    .hero-content h2 { font-size: 30px; }
    nav ul { flex-direction: column; align-items: center; gap: 0; }
    .footer-container { text-align: center; justify-content: center; }
    .social-icons { justify-content: center; }
}
/* Botón Volver Arriba (EL DE ARRIBA, SEPARADO) */
.back-to-top {
    position: fixed;
    bottom: 120px; /* ¡LO SUBIMOS A 120PX! Para que no choque */
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #004080;
    color: white;
    text-decoration: none;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #ffcc00;
    color: #003366;
    transform: translateY(-5px); /* Pequeño brinco al pasar el mouse */
}
/* Ajustes para el logo dentro del menú */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 40px; /* Tamaño pequeño para el menú */
    margin-right: 20px;
    transition: 0.3s;
}

.nav-logo img:hover {
    transform: scale(1.1);
}

/* Si en móvil se ve muy amontonado, lo ocultamos */
@media (max-width: 768px) {
    .nav-logo { display: none; }
}
/* Estilo especial para el botón de Portal en el menú */
.btn-login {
    background-color: #ffcc00; /* Amarillo corporativo */
    color: #003366 !important;
    border-radius: 5px;
    margin-left: 15px;
    padding: 10px 20px !important;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: white !important;
    color: #003366 !important;
    transform: scale(1.05);
} "