
:root {
    --bg: #ffffff;
    --text: #0a0a0a;
    --accent: #1c3381; 
    --accent2: #ff3b30; /* Rojo suizo */
    --line: 1px solid #0a0a0a;
    
}
.link {
    text-decoration: none;
    color: #0a0a0a;
    font-weight: bold;

}
.claseHr {
    border: 3px solid var(--accent2);
    width: 25%;
    color: var(--accent2);
    background: var(--accent2);
}
.col2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 4rem;
}
.col p {
    font-weight: bold;
    font-size: 1.4rem;
    text-align: justify;
}
.col2 p {
    max-width: 100%;
}
.logo {
    width: 200px;
}
.col h1 {
    font-size: clamp(3rem, 5vw, 5.5rem) !important;
    font-weight: bolder;
}


        * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth;}
        body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }

        /* --- UTILIDADES --- */
        .container { width: 100%; max-width: 1400px; margin: 0 auto; }
        .row { display: flex; flex-wrap: wrap; width: 100%; border-bottom: var(--line); }
        .col { flex: 1; padding: 4rem; display: flex; flex-direction: column; justify-content: center; }
        .cajamet { 
            border-top: 5px solid var(--accent); width: 20%; position: relative; bottom: -20%;
        }
        .convocatoria-box h2 {
            text-decoration: underline;
            
        }
        /* .convocatoria-box p {
            
        } */
        .col-half { flex: 0 0 50%; }
        
        /* --- NAVEGACIÓN --- */
        nav {
            display: flex; justify-content: space-between; align-items: center;
            padding: 1.5rem 4rem; border-bottom: var(--line);
            position: sticky; top: 0; background: rgba(255, 255, 255, 0.98); z-index: 1000; height: 80px; 
        }
        .brand { font-weight: 900; font-size: 1.2rem; letter-spacing: -0.5px; z-index: 1002; }
        .nav-links { display: flex; align-items: center; }
        .nav-links a { text-decoration: none; color: var(--text); margin-left: 2rem; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; transition: color 0.3s; }
        .nav-links a:hover { color: var(--accent); }
        .menu-toggle { display: none; background: none; border: none; font-size: 2rem; color: var(--text); cursor: pointer; z-index: 1002; padding: 0.5rem; line-height: 1; margin-left: 2rem; }

        /* --- CARRUSEL HERO --- */
        .carousel-container { flex: 1; position: relative; min-height: 500px; overflow: hidden; background: #000; }
        .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out; background-size: cover; background-position: center; filter: contrast(1.1); z-index: 1; }
        .slide.active { opacity: 1; z-index: 2; }
        .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(255, 255, 255, 0.5); font-family: 'Inter', sans-serif; font-size: 3rem; font-weight: 300; cursor: pointer; z-index: 20; padding: 20px; transition: all 0.3s ease; user-select: none; }
        .carousel-arrow:hover { color: #ffffff; background: rgba(0, 0, 0, 0.2); transform: translateY(-50%) scale(1.1); }
        .prev-arrow { left: 0; } .next-arrow { right: 0; }
        .carousel-indicators { position: absolute; bottom: 30px; right: 30px; z-index: 10; display: flex; gap: 12px; }
        .indicator { width: 12px; height: 12px; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
        .indicator:hover { background: rgba(255, 255, 255, 0.6); }
        .indicator.active { background: #ffffff; border-color: #ffffff; transform: scale(1.2); }

        /* --- TIPOGRAFÍA --- */
        h1, h2, h3 { text-transform: uppercase; font-weight: 900; letter-spacing: -1px; line-height: 0.9; }
        h1 { font-size: clamp(3rem, 5vw, 5.5rem); margin-bottom: 2rem; }
        h2 { font-size: 2.5rem; margin-bottom: 2rem; position: relative; padding-bottom: 1rem; }
        /* h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background-color: var(--accent); } */
        p { font-size: 1rem; font-weight: 300; margin-bottom: 1.5rem; max-width: 600px; }
        .label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; display: block; color: var(--accent); }

        /* --- GRID BASES --- */
        .bases-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; width: 100%; }
        .bases-grid a {
            text-decoration: none;
            color: var(--text);
        }
        .base-item { padding: 4rem; position: relative; border-right: var(--line); border-bottom: var(--line); transition: background 0.3s; }
        .base-item:nth-child(2), .base-item:nth-child(4) { border-right: none; }
        .base-item:nth-child(3), .base-item:nth-child(4) { border-bottom: none; }
        .base-item:hover { background: #f4f4f4; }
        .number { font-size: 4rem; font-weight: 900; color: #f0f0f0; position: absolute; top: 1rem; right: 2rem; z-index: 0; line-height: 1; }
        .base-content { position: relative; z-index: 1; }
        .base-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }

        /* --- NUEVA SECCIÓN: GALERÍA DE PRODUCTOS (IMAGEN + NOMBRE + LIGHTBOX) --- */
        .gallery-header { padding: 2rem 4rem; border-bottom: var(--line); display: flex; justify-content: space-between; align-items: flex-end; }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 4 columnas */
            width: 100%;
            border-top: var(--line);
        }

        .product-card {
            border-right: var(--line);
            border-bottom: var(--line);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: background 0.3s;
            position: relative;
        }

        /* Quitar borde derecho del último elemento */
        .product-card:nth-child(4n) { border-right: none; }

        .product-card:hover {
            background: #fafafa;
        }
        
        /* La imagen dentro de la tarjeta */
        .product-img-wrapper {
            width: 100%;
            aspect-ratio: 1 / 1; /* Cuadrada perfecta */
            overflow: hidden;
            margin-bottom: 1.5rem;
            cursor: zoom-in;
            position: relative;
        }

        .product-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%);
            transition: transform 0.5s ease, filter 0.3s ease;
        }

        /* Efecto hover sobre la imagen */
        .product-card:hover .product-img {
            filter: grayscale(0%);
            transform: scale(1.05);
        }

        .product-name {
            font-weight: 700;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .product-desc {
            font-size: 0.8rem;
            color: #666;
            margin-top: 0.5rem;
        }

        /* --- LIGHTBOX (MODAL) --- */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 9999; /* Por encima de todo */
            display: none; /* Oculto por defecto */
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .lightbox.active {
            display: flex;
            opacity: 1;
        }

        .lightbox-img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            box-shadow: 0 0 50px rgba(0,0,0,0.5);
            border: 1px solid #333;
        }

        .lightbox-close {
            position: absolute;
            top: 2rem;
            right: 2rem;
            color: white;
            font-size: 3rem;
            cursor: pointer;
            font-weight: 300;
            line-height: 1;
            transition: color 0.3s;
        }

        .lightbox-close:hover {
            color: var(--accent);
        }

        /* --- SECCIONES EXTRAS --- */
        .text-section { display: flex; flex-wrap: wrap; width: 100%; border-bottom: var(--line); }
        .text-col-1 { flex: 0 0 30%; border-right: var(--line); padding: 4rem 2rem; display: flex; align-items: center; justify-content: center; }
        .text-col-2 { flex: 1; padding: 4rem; }
        .vertical-text { writing-mode: vertical-rl; text-orientation: mixed; transform: rotate(180deg); font-weight: 900; font-size: 2rem; letter-spacing: 2px; }

        /* --- FOOTER --- */
        footer { padding: 2rem 4rem; font-size: 0.8rem; color: #666; display: flex; justify-content: space-between; text-transform: uppercase; }
        .convocatoria-box { padding: 6rem 4rem; background: #0a0a0a; color: white; text-align: center; border-bottom: none; }
        .convocatoria-box h2 { color: white; border-color: white; }
        .convocatoria-box p { color: #ccc; margin: 0 auto 2rem auto; }
        .cta-link { display: inline-block; border: 2px solid white; color: white; padding: 1rem 2.5rem; text-transform: uppercase; font-weight: 700; text-decoration: none; transition: all 0.3s; }
        .cta-link:hover { background: white; color: #0a0a0a; }

        /* --- RESPONSIVE --- */
        @media (max-width: 1024px) {
            
            .tels {display: none !important; }
            .products-grid { grid-template-columns: repeat(2, 1fr); }
            .product-card:nth-child(4n) { border-right: var(--line); }
            .product-card:nth-child(2n) { border-right: none; }
        }

        @media (max-width: 768px) {
            .tels {display: none !important; }

            .menu-toggle { display: block; }
            .nav-links { position: absolute; top: 80px; left: 0; width: 100%; flex-direction: column; background: #fff; border-bottom: 2px solid var(--text); padding: 2rem 0; display: none; z-index: 1000; }
            .nav-links.active { display: flex; animation: slideDown 0.3s ease-out forwards; }
            .nav-links a { margin: 1rem 0; font-size: 1.2rem; text-align: center; width: 100%; padding: 1rem; }
            .nav-links a:hover { background: #f4f4f4; }
            
            .row, .text-section { flex-direction: column; }
            .col, .text-col-1, .text-col-2, .col-half { padding: 3rem 2rem; width: 100%; flex: none; }
            .text-col-1 { border-right: none; border-bottom: var(--line); writing-mode: horizontal-tb; transform: none; }
            
            .carousel-container { min-height: 300px; }
            nav { padding: 1rem 2rem; height: auto; min-height: 80px; }
            h1 { font-size: 3rem; }
            .convocatoria-box { padding: 4rem 2rem; }
            .carousel-arrow { font-size: 2rem; padding: 10px; }
            
            .bases-grid, .products-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
            .base-item, .product-card { border-right: none; border-bottom: var(--line); }
            .base-item:last-child, .product-card:last-child { border-bottom: none; }
        }
        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
  

        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 30px;
            right: 30px;
            /* background-color: #000000; /* Negro puro estilo suizo */
            background-color: #25D366;
            color: #FFF;
            border-radius: 50px; /* Cuadrado perfecto, o 4px para bordes suaves */
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 3px #999;
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .whatsapp-float:hover {
            background-color: #25D366; /* Se pone verde al pasar el mouse */
            transform: scale(1.1);
        }
        
        .whatsapp-float svg {
            width: 32px;
            height: 32px;
            fill: white;
        }

        .tituloSlide {
            width: 100%;
            height: auto;
            text-align: center;
            position: absolute;
            bottom: 25%;
            padding: 1.5rem;
            /* background: #EEEEEEAA; */
            color: var(--accent2);
            opacity: .8;
            text-shadow: 1px 2px 3px #111;
            font-size: 2rem;
            font-weight: bolder;
            z-index: 9;
            letter-spacing: 5px;

            background: rgba(255, 255, 255, 0.2);
            /* border-radius: 16px; */
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.3);

        }


/* CONFIGURACIÓN GENERAL DE LA SECCIÓN */
.footer-contacto {
    background-color: #0a0a0a; /* Fondo oscuro profesional */
    color: #ffffff;
    padding: 5rem 1.5rem;
    font-family: 'Inter', sans-serif; /* Asegura la fuente moderna */
}

/* CONTENEDOR CENTRAL */
.footer-contenedor {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr; /* Móvil: 1 columna */
    gap: 3rem;
}

/* VISTA ESCRITORIO: 2 COLUMNAS */
@media (min-width: 768px) {
    

    .footer-contenedor {
        grid-template-columns: 1fr 1fr; /* Dos columnas iguales */
        gap: 4rem;
        align-items: center;
    }
    .tels {display: none;}
}

/* --- COLUMNA IZQUIERDA: MAPA --- */
.mapa-contenedor {
    position: relative;
    height: 350px;
    width: 100%;
    border-radius: 1rem; /* Bordes redondeados */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mapa-contenedor iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* Filtro minimalista para integrar el mapa al diseño oscuro */
    filter: grayscale(80%) contrast(1.1) brightness(0.8);
}

/* --- COLUMNA DERECHA: INFORMACIÓN --- */
.info-contenido {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-header h3 {
    font-size: 3rem;
    font-weight: 600; /* Semibold */
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.info-header h3 span {
    color: #ff3b30; /* Color rojo de la marca */
}

.direccion {
    color: #94a3b8; /* Gris suave */
    line-height: 1.7;
    font-size: 1rem;
}

/* BLOQUES DE CONTACTO */
.contacto-detalles {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contacto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icono-circulo {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 9999px; /* Círculo perfecto */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.icono-circulo svg {
    width: 20px;
    height: 20px;
}

.texto-bloque {
    display: flex;
    flex-direction: column;
}

.etiqueta {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.enlace-contacto {
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.enlace-contacto:hover {
    color: #ff3b30;
}

/* TEXTO SECUNDARIO (TELÉFONO ADICIONAL) */
.texto-secundario {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    margin-top: 0.25rem;
    display: block;
    transition: color 0.3s ease;
}

.texto-secundario:hover {
    color: #ffffff;
}

.link-hover {
    transition: all 0.3s ease;
}
.link-hover:hover {
    letter-spacing: 0.5px;
    color: #ff3b30;
}
/* Animación suave para el botón de WhatsApp */
.whatsapp-btn {
    transition: all 0.3s ease;
}
.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}



.tels {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    
    
}
.tels :nth-child(1) {
    font-weight: bold;
}

