body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f3d3e;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* ================= HEADER ================= */

header {
    position: relative;
    padding: 50px 20px;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-image:
        linear-gradient(rgba(15, 61, 62, 0.92), rgba(15, 61, 62, 0.92)),
        url("imagenes/oficinafondo.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Logo con efecto vidrio */
.logo {
    width: 280px;
    max-width: 80%;
    padding: 6px 10px;

    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    backdrop-filter: blur(6px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);

    display: block;

    animation: aparecerLogo 1s ease-out forwards;
    opacity: 0;
}

/* Frase branding fuerte */
.subtitulo {
    margin-top: 10px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    text-align: center;
    max-width: 900px;

    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

    animation: aparecerSubtitulo 1.2s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.subtitulo span {
    display: block;
    font-size: 22px;
    font-weight: 500;
    color: #ffd166;
    margin-top: 6px;
}

/* ================= PRODUCTOS ================= */

.contenedor-productos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 30px 40px 40px 40px;
}

.producto {
    background: #1f5f61;
    padding: 15px;
    border-radius: 15px;
    width: 250px;
    transition: transform 0.3s;
}

.producto:hover {
    transform: scale(1.05);
}

.producto img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.producto h3 {
    color: white;
    margin: 10px 0 5px;
}

.producto a {
    text-decoration: none;
}

/* ================= FOOTER ================= */

footer {
    background: #0c2f30;
    color: white;
    padding: 40px 20px 20px 20px;
}

.footer-contenido {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-info,
.footer-redes {
    margin: 10px;
}

.footer-redes a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: transform 0.3s, color 0.3s;
}

.footer-redes a:hover {
    color: #ffd166;
    transform: scale(1.2);
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
    font-size: 14px;
    opacity: 0.8;
}

/* ================= ANIMACIONES ================= */

@keyframes aparecerLogo {
    from { opacity: 0; transform: translateY(-25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes aparecerSubtitulo {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== MODAL PRODUCTO ===== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-contenido {
    background: #1f5f61;
    padding: 20px;
    border-radius: 15px;
    width: 60%;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.modal-contenido img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* ===== CERRAR MODAL VISIBLE ===== */
.cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.6);
    color: #ffd166;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
}

.cerrar:hover {
    transform: scale(1.2);
    background: rgba(0,0,0,0.8);
}

/* ===== MENU ECOMMERCE ===== */

nav {
    position: sticky;
    top: 0;
    background: #1c1c1c;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: linear-gradient(45deg,#25D366,#1ebe5d);
    transform: translateY(-2px);
}

/* ===== ANIMACION PREMIUM PRODUCTOS ===== */

.producto {
    opacity: 0;
    transform: translateY(20px);
    animation: aparecer 0.6s ease forwards;
}

.producto:nth-child(1){animation-delay:0.1s;}
.producto:nth-child(2){animation-delay:0.2s;}
.producto:nth-child(3){animation-delay:0.3s;}
.producto:nth-child(4){animation-delay:0.4s;}
.producto:nth-child(5){animation-delay:0.5s;}
.producto:nth-child(6){animation-delay:0.6s;}
.producto:nth-child(7){animation-delay:0.7s;}
.producto:nth-child(8){animation-delay:0.8s;}
.producto:nth-child(9){animation-delay:0.9s;}
.producto:nth-child(10){animation-delay:1s;}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== EFECTO HOVER IMAGEN PREMIUM ===== */

.producto img {
    transition: transform 0.4s ease;
}

.producto:hover img {
    transform: scale(1.08);
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FIX FORZADO MENU HOSTING */

nav {
    background: #1c1c1c !important;
}

nav a {
    color: #ffffff !important;
}

.footer-redes i {
    display: inline-block;
    line-height: 1;
}

.footer-redes a {
    text-decoration: none !important;
}

.footer-redes a::after {
    content: none !important;
}

/* QUIENES SOMOS */

.quienes-somos{
max-width:900px;
margin:auto;
padding:60px 20px;
font-family:'Poppins', sans-serif;
line-height:1.8;
text-align:center;
}

.quienes-somos h1{
font-size:34px;
margin-bottom:30px;
}

.quienes-somos p{
margin-bottom:18px;
font-size:18px;
}

.nota-cotizacion{
margin-top:30px;
padding:15px;
background:#f0f2f5;
border-left:4px solid #333;
font-weight:600;
}

.seo-texto{
max-width:900px;
margin:60px auto;
padding:20px;
text-align:center;
line-height:1.8;
font-family:'Poppins', sans-serif;
}

/* ===== OPTIMIZACIÓN CELULAR ===== */

/* MENU MAS COMPACTO EN CELULAR */
@media (max-width:768px){
    nav{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        gap:8px;
        padding:15px;
    }
    nav a{
        text-align:center;
        font-size:15px;
        padding:10px;
    }
}

/* PRODUCTOS OPTIMIZADOS PARA CELULAR */
@media (max-width:768px){
    .contenedor-productos{
        grid-template-columns:1fr;
        padding:20px;
    }
    .producto{
        width:100%;
        max-width:400px;
        margin:auto;
    }
    .producto img{
        height:auto;
    }
}

/* ===== LOGO MÁS PEQUEÑO EN TABLET Y CELULAR ===== */
@media (max-width: 1024px) { /* tablet */
    .logo {
        width: 220px;
        max-width: 70%;
    }
}

@media (max-width: 768px) { /* celulares */
    .logo {
        width: 180px;
        max-width: 60%;
    }
}