/* =========================================
   PAGINA DE INICIO
   ========================================= */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CARRUSEL HERO */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Contenido del Slide */
.slide-content {
    max-width: 600px;
    color: var(--white);
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.8s ease-out;
    padding: 20px;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 10px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.slide-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    max-width: 450px;
}

/* Btn del Slide */
.slide-btn {
    display: inline-block;
    background-color: var(--brand-color);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid var(--brand-color);
}

.slide-btn:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.slide-btn i {
    margin-left: 8px;
}

/* Flechas de Navegacion */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover { background: rgba(0,0,0,0.7); }
.prev { left: 0; }
.next { right: 0; }

/* Puntos Indicadores */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active { background-color: var(--brand-color); }

/* Responsive Carrusel */
@media (max-width: 768px) {
    .hero-slider { height: 400px; }
    
    .slide-title { font-size: 2.2rem; }
    .slide-desc { font-size: 1rem; }
    
    .slide {
        padding-left: 5%;
        justify-content: center;
        text-align: center;
    }
    
    .slide-content { margin: 0 auto; }
}

/* =========================================
   SECCIONES DEL INDEX
   ========================================= */

/* Encabezados de seccion generales */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .subtitle {
    color: var(--brand-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}
.section-header h2 {
    color: var(--text-main);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cuadricula de Categorias */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(3, 85, 148, 0.1);
    border-color: rgba(3, 85, 148, 0.3);
}
.icon-wrapper {
    width: 75px;
    height: 75px;
    background-color: rgba(3, 85, 148, 0.05);
    color: var(--brand-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}
.category-card:hover .icon-wrapper {
    background-color: var(--brand-color);
    color: var(--white);
}
.category-card h3 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.category-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Seccion Contadores */
.home-stats-modern {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 70px 5%;
    color: var(--white);
    border-top: 4px solid var(--brand-color);
}
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-item i {
    font-size: 2.5rem;
    color: #48cae4;
    margin-bottom: 15px;
}
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    display: inline-block;
}
.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af;
    font-weight: 600;
}

/* Propuesta de Valor (Tarjetas de Beneficios) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background-color: var(--brand-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}
.benefit-card:hover::before {
    transform: scaleY(1);
}
.benefit-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-5px);
}
.benefit-icon {
    font-size: 2.8rem;
    color: var(--brand-color);
    margin-bottom: 20px;
}
.benefit-card h4 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   SECCIOAN: CALL TO ACTION
   ========================================= */
.home-cta {
    background: linear-gradient(135deg, var(--primary-color, #0d3b66) 0%, #001f3f 100%);
    padding: 60px 5%;
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--brand-color);
    border-bottom: 3px solid var(--brand-color);
}

/* AnimaciOn de fondo */
.home-cta::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 10%, transparent 10%), 
                radial-gradient(circle, rgba(255,255,255,0.05) 10%, transparent 10%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.6;
    z-index: 1;
}

@keyframes moveBackground {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-30px) translateX(-30px); }
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.cta-text {
    color: var(--white);
    flex: 1 1 600px;
}

.cta-subtitle {
    color: #48cae4;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}

.cta-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.cta-text p {
    color: #d1d5db;
    font-size: 1.05rem;
    margin: 0;
    max-width: 600px;
}

.cta-action {
    flex: 1 1 250px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Boton con animacion de latido */
.cta-button {
    display: inline-block;
    background-color: var(--brand-accent);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    animation: pulseCTA 2s infinite;
}

.cta-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background-color: #d62828;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(230, 57, 70, 0.5);
    color: var(--white);
    animation: none;
}

.cta-button:hover i {
    transform: translateX(5px) rotate(10deg);
}

@keyframes pulseCTA {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Adaptacion para celulares */
@media (max-width: 768px) {
    .cta-container { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px;
    }
    .cta-text {
        flex: none;
    }
    .cta-action { 
        justify-content: center; 
        flex: none;
        width: 100%;
        margin-top: 10px;
    }
    .cta-text p { margin: 0 auto; }
    .cta-text h2 { font-size: 1.8rem; }
}

/* =========================================
   SECCION: MINI CATALOGO
   ========================================= */
.filter-pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.filter-pill {
    background-color: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-pill:hover { background-color: #e2e8f0; color: var(--primary-color, #0d3b66); }
.filter-pill.active {
    background-color: var(--primary-color, #0d3b66);
    color: var(--white);
    border-color: var(--primary-color, #0d3b66);
    box-shadow: 0 4px 10px rgba(13, 59, 102, 0.2);
}

/* Estructura del Carrusel */
.mc-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.mc-viewport {
    overflow: hidden;
}

.mc-track {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.mc-track::-webkit-scrollbar {
    display: none; 
}

/* Tarjetas (Fila de 4) */
.home-prod-card {
    flex: 0 0 calc((100% - 60px) / 4);
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.home-prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: var(--brand-color);
}

.home-prod-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--border-light);
}

.home-prod-info {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.home-prod-cat {
    font-size: 0.75rem;
    color: var(--brand-accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.home-prod-title {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* Tarjeta final (El noveno item) */
.home-prod-card.view-more-card {
    background-color: var(--bg-light);
    justify-content: center;
    align-items: center;
    border: 2px dashed #cbd5e1;
    color: var(--brand-color);
    padding: 40px 20px;
}
.home-prod-card.view-more-card:hover {
    background-color: var(--primary-color, #0d3b66);
    color: var(--white);
    border-style: solid;
}
.home-prod-card.view-more-card i { font-size: 3rem; margin-bottom: 15px; }

/* Flechas */
.mc-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--brand-color);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
    transition: all 0.2s;
}
.mc-arrow:hover { background: var(--brand-color); color: var(--white); }
.mc-prev { left: 0; }
.mc-next { right: 0; }

/* Bolas (Dots) */
.mc-dots {
    display: flex; justify-content: center; gap: 8px; margin-top: 20px;
}
.mc-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer; transition: all 0.3s;
}
.mc-dot.active { background-color: var(--brand-accent); transform: scale(1.2); }

/* Responsiv para el Carrusel */
@media (max-width: 992px) {
    .home-prod-card { flex: 0 0 calc((100% - 40px) / 3); } /* 3 en tablet */
}

@media (max-width: 768px) {
    .mc-carousel-container { padding: 0 40px; } 
    .mc-arrow { width: 35px; height: 35px; font-size: 0.9rem; }
    
    .home-prod-card { flex: 0 0 calc((100% - 15px) / 2); } 
    .mc-track { gap: 15px; overflow-x: auto; }
    
    .home-prod-img { height: 120px; padding: 10px; }
    .home-prod-info { padding: 12px 10px; }
    .home-prod-cat { font-size: 0.65rem; margin-bottom: 5px; }
    .home-prod-title { font-size: 0.85rem; }
    
    .home-prod-card.view-more-card i { font-size: 2.2rem; margin-bottom: 10px; }
    .home-prod-card.view-more-card h3 { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .mc-carousel-container { padding: 0 25px; } 
    .mc-arrow { width: 28px; height: 28px; font-size: 0.8rem; }
    
    .home-prod-card { flex: 0 0 calc((100% - 10px) / 2); }
    .mc-track { gap: 10px; }
    .home-prod-img { height: 100px; }
}

/* =========================================
   PAGE NOSOTROS
   ========================================= */

/* Hero Gigante */
.corporate-hero {
    background: url('../res/about-hero.jpg') no-repeat center center/cover;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 42, 75, 0.85);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    background: var(--brand-accent);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

/* Seccion Perfil */
.corporate-profile {
    padding: 80px 0;
    background: #fff;
    overflow: hidden;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Columna Texto */
.text-column { flex: 1; }

.section-title {
    font-size: 2rem;
    color: var(--brand-color);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title.center { text-align: center; margin-bottom: 40px; }

.red-line {
    width: 80px; height: 4px;
    background: var(--brand-accent);
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.1rem;
    color: #111;
    font-weight: 600;
    margin-bottom: 20px;
    border-left: 4px solid #ddd;
    padding-left: 15px;
}

.text-column p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Columna Imagen */
.image-column { flex: 1; position: relative; }

.image-frame {
    position: relative;
    z-index: 1;
}

.image-frame img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0px rgba(0, 64, 112, 0.1);
}

/* Badge de Experiencia */
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--brand-color);
    color: white;
    padding: 20px 30px;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}
.experience-badge .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Barra Estadisticas */
.stats-banner {
    background: var(--brand-color);
    color: white;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item i { font-size: 2rem; margin-bottom: 10px; color: #8ecae6; }
.stat-item h3 { font-size: 2.2rem; font-weight: 800; }
.stat-item p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* Mision y Vision */
.mv-modern {
    padding: 80px 0;
    background: #f8f9fa;
}

.mv-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
}

.mv-box {
    padding: 60px;
    background: white;
    transition: 0.3s;
}

.mv-box:hover { background: #fff; z-index: 2; box-shadow: 0 0 30px rgba(0,0,0,0.1); }
.mv-box.mission { border-right: 1px solid #eee; }

.mv-icon {
    width: 60px; height: 60px;
    background: #f0f4f8;
    color: var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 25px;
}

.mv-box h3 { font-size: 1.5rem; margin-bottom: 15px; color: #333; }
.mv-box p { color: #666; line-height: 1.6; }

/* Valores */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.values-section {
    padding: 80px 0;
    background-color: var(--white);
}

.value-card {
    background: white;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
}
.value-card h4 { color: var(--brand-color); margin-bottom: 10px; font-size: 1.2rem; }
.value-card p { font-size: 0.9rem; color: #666; }

/* Responsive */
@media (max-width: 900px) {
    .split-layout, .mv-wrapper { flex-direction: column; display: flex; }
    .image-column { margin-top: 40px; padding: 0 20px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-content h1 { font-size: 2.2rem; }
    .mv-box.mission { border-right: none; border-bottom: 1px solid #eee; }
    .values-grid { grid-template-columns: 1fr; }
}

/* =========================================
   PAGE CONTACTO
   ========================================= */

/* Cabecera */
.page-header-simple {
    background-color: #f8f9fa;
    padding: 60px 0 40px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.page-header-simple h1 {
    color: var(--brand-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.page-header-simple p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Grilla Principal */
.contact-section {
    padding: 60px 0 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* COLUMNA IZQUIERDA: FORMULARIO */
.form-header h2 {
    color: var(--brand-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-radius: 6px;
    font-size: 1rem;
    color: #1f2937;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 64, 112, 0.1);
}

.submit-btn {
    background-color: var(--brand-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background-color: #00335a;
    transform: translateY(-2px);
}

/* COLUMNA DERECHA: INFO + MAPA */
.info-cards {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--brand-color);
    margin-top: 5px;
}

.info-card h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 700;
}

.info-card p {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

/* Mapa */
.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    position: relative;
}

/* Msg"Toca para interactuar"*/
.map-overlay-hint {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

/* RESPONSIVE CONTACTO */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info-col {
        order: -1;
    }
}

/* =========================================
   PAGE POLITICA PRIVACIDAD
   ========================================= */

.policy-header {
    background-color: #f8f9fa;
    padding: 60px 0 40px 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.policy-header h1 {
    color: var(--brand-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.policy-header p {
    color: #6b7280;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contenedor de Texto */
.policy-content {
    padding: 60px 0;
    background-color: white;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

/* Politica */
.policy-block {
    margin-bottom: 40px;
}

.policy-block h2 {
    color: var(--brand-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.policy-block p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

/* Listas con viñetas */
.policy-block ul {
    list-style: none;
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-block ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #4b5563;
}

.policy-block ul li::before {
    content: "•";
    color: var(--brand-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Caja de contacto final */
.contact-box {
    background-color: #f0f9ff;
    padding: 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    border: 1px solid #bae6fd;
}

.contact-box i {
    color: var(--brand-color);
}

.contact-box a {
    color: var(--brand-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-header h1 { font-size: 2rem; }
    .text-container { padding: 0 20px; }
}

/* =========================================
   CATALOGO DE PRODUCTOS
   ========================================= */

.catalog-section {
    padding: 40px 0;
    background-color: #f9fafb;
}

.catalog-section .container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
}

.catalog-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* --- SIDEBAR FILTROS (PC) --- */
.catalog-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    
    position: sticky;
    top: 100px; 
}

.filter-box h3 {
    font-size: 1.1rem;
    color: #111827;
    font-weight: 800;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
    letter-spacing: -0.5px;
}

.filter-list li {
    list-style: none;
    padding: 12px 15px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 8px;
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.filter-list li:hover {
    background-color: white;
    color: var(--brand-color);
    border-color: #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transform: translateX(5px);
}

.filter-list li.active {
    background-color: var(--brand-color);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(3, 85, 148, 0.4);
}

/* --- GRILLA DE PRODUCTOS --- */
.catalog-content {
    flex-grow: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px;
}

/* --- TARJETA DE PRODUCTO --- */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--brand-color);
}

.product-image {
    width: 100%;
    height: 240px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-btn {
    margin-top: auto;
    width: 100%;
    padding: 10px 0;
    border: 2px solid var(--brand-color);
    background: transparent;
    color: var(--brand-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.view-btn:hover {
    background: var(--brand-color);
    color: white;
}

/* PAGINACIÓN */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.page-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.page-btn:hover {
    background-color: #f1f1f1;
    border-color: #bbb;
}

.page-btn.active {
    background-color: #004070;
    color: white;
    border-color: #004070;
}

.page-btn:disabled {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    border-color: #eee;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Laptops Medianas */
@media (max-width: 1400px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablets y Celulares Pildoras + Scroll Horizontal */
@media (max-width: 992px) {
    .catalog-layout { 
        flex-direction: column; 
    }
    
    /* Sidebar Transparente */
    .catalog-sidebar { 
        width: 100%; 
        position: static; 
        margin-bottom: 25px; 
        padding: 15px;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    /* Ocultar titulo Categorias */
    .filter-box h3 {
        display: none;
    }
    
    /* CONTENEDOR DE PILDORAS */
    .filter-list { 
        display: flex; 
        gap: 12px; 
        overflow-x: auto;    
        padding: 10px 20px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; 
        
        /* Ocultar barra de scroll */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }

    .filter-list::-webkit-scrollbar {
        display: none;
    }
    
    /* ESTILO PILDORA INDIVIDUAL */
    .filter-list li { 
        white-space: nowrap;
        flex-shrink: 0;
        margin: 0;        
        background: white;
        border: 1px solid #e5e7eb;
        border-radius: 50px;
        padding: 10px 20px;
        font-size: 0.9rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    }
    
    .filter-list li:hover {
        transform: none;
    }

    .filter-list li.active {
        background-color: var(--brand-color);
        color: white;
        border-color: var(--brand-color);
        box-shadow: 0 4px 10px rgba(3, 85, 148, 0.3);
        transform: scale(1.05);
    }
    
    /* Grilla de 3 en Tablet */
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Pantalla mas Grandes (2 Columnas) */
@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Pantalla mini 1 Columna */
@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* =========================================
   DETALLE DE PRODUCTOS
   ========================================= */

.product-detail-section {
    padding: 60px 0;
    background-color: #fff;
}

.detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

/* Ruta de navegacion */
.breadcrumb-nav {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.detail-title {
    font-size: 2.2rem;
    color: #0f172a;
    margin: 0 0 25px 0;
    font-weight: 800;
    line-height: 1.2;
}

/* ZOOM Y CAJA CUADRADA */
.main-image-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    background: #f8fafc;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    
    width: 100%;
    aspect-ratio: 1 / 1; 
    max-height: 550px; 
    
    overflow: hidden; 
    position: relative;
    cursor: zoom-in;
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s;
}

.main-image-box:hover > img#detail-img {
    opacity: 0;
}

.zoomed-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    display: none; 
    pointer-events: none; 
}

.zoomed-image-layer img {
    width: 100%;
    height: 100%;
    object-fit: none; 
}

/* =========================================
   FICHA TECNICA
   ========================================= */
.specs-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.specs-table-card h3 {
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#specs-table {
    width: 100%;
    border-collapse: collapse;
}

#specs-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
}

#specs-table tbody tr:last-child {
    border-bottom: none;
}

#specs-table td {
    padding: 12px 0;
    font-size: 0.95rem;
}

/* Primera columna (Atributos) */
#specs-table td:first-child {
    color: #64748b;
    font-weight: 600;
}

/* Segunda columna (Valores) */
#specs-table td:last-child {
    color: #0f172a;
    font-weight: 700;
    text-align: right;
}

/* =========================================
   VARIANTES
   ========================================= */
.variant-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.var-btn {
    padding: 10px 20px;
    border: 1px solid #cbd5e1;
    background: white;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    color: #475569;
}

.var-btn:hover {
    border-color: #0d3b66;
    color: #0d3b66;
}

.var-btn.active {
    background-color: #0d3b66;
    color: white;
    border-color: #0d3b66;
    box-shadow: 0 4px 10px rgba(13, 59, 102, 0.2);
}

/* =========================================
   BOTON WHATSAPP
   ========================================= */
.whatsapp-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: white;
    padding: 18px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 35px;
    width: 100%;
}

.whatsapp-cta:hover {
    background-color: #1ebc57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.25);
    color: white;
}

/* =========================================
   DESCRIPCION Y RELACIONADOS
   ========================================= */
.detail-description-box {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.detail-description-box h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
}

.detail-description-box p {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
}

.related-products-section {
    padding: 60px 0 80px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #0f172a;
    font-weight: 800;
}

/* =========================================
   RESPONSIVE MOVIL
   ========================================= */
@media (max-width: 992px) {
    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .main-image-box {
        height: 400px;
    }
}
@media (max-width: 768px) {
    .detail-title {
        font-size: 1.8rem;
    }
    .main-image-box {
        height: 300px;
    }
}