/* =========================================
   1. RESET & VARIABLES
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }

:root { 
    --primary: #004aad; 
    --primary-dark: #003380;
    --primary-light: #2872d6;
    --secondary: #00396b; 
    --accent: #00c3ff; 
    --text-dark: #333333;
    --text-gray: #5a6268;
    --light-bg: #f8f9fa;
    --info-bg: #e7f1ff; 
    --info-text: #0c5460;
    --border-color: #dee2e6;
    --success: #198754;
    --danger: #dc3545;
    --font-main: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { font-family: var(--font-main); color: var(--text-dark); margin: 0; line-height: 1.5; background-color: #f4f7f6; }

/* CORRECCIÓN CLS: Height auto asegura que el width/height del HTML no deforme la imagen */
img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; padding: 0; margin: 0; }
a { text-decoration: none; transition: 0.3s; color: inherit; }

/* Iconos SVG Nativos */
.icon-svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
    pointer-events: none;
}

/* Animaciones "Pure Fade Up" */
[data-aos] { opacity: 0; transition: transform 0.8s ease-out, opacity 0.8s ease-out; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }

/* Tipografía */
h1, h2, h3, h4, h5 { font-family: var(--font-main); font-weight: 700; margin-top: 0; margin-bottom: 0.5rem; color: var(--text-dark); }
h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

/* =========================================
   2. SISTEMA GRID Y UTILIDADES
   ========================================= */
.container { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; max-width: 1320px; }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.row > * { padding-right: 15px; padding-left: 15px; width: 100%; }

.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 576px) { .col-sm-6 { flex: 0 0 50%; max-width: 50%; } }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .text-md-start { text-align: left !important; }
    .text-md-end { text-align: right !important; }
    .d-md-block { display: block !important; }
    .d-md-none { display: none !important; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-lg-5 { flex: 0 0 41.6666%; max-width: 41.6666%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
    .col-lg-8 { flex: 0 0 66.6666%; max-width: 66.6666%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .order-lg-1 { order: 1; }
    .order-lg-2 { order: 2; }
    .sticky-lg-top { position: sticky; top: 100px; z-index: 1020; }
}

/* Espaciados */
.g-3 { margin-top: -1rem; margin-right: -0.5rem; margin-left: -0.5rem; }
.g-3 > * { padding-top: 1rem; padding-right: 0.5rem; padding-left: 0.5rem; }
.g-4 { margin-top: -1.5rem; margin-right: -0.75rem; margin-left: -0.75rem; }
.g-4 > * { padding-top: 1.5rem; padding-right: 0.75rem; padding-left: 0.75rem; }
.g-5 { margin-top: -3rem; margin-right: -1.5rem; margin-left: -1.5rem; }
.g-5 > * { padding-top: 3rem; padding-right: 1.5rem; padding-left: 1.5rem; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.mt-auto { margin-top: auto !important; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 4rem; padding-bottom: 4rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* Textos */
.text-center { text-align: center !important; }
.text-justify { text-align: justify !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-break { word-wrap: break-word !important; word-break: break-word !important; }
.text-white { color: #fff !important; }
.text-white-50 { color: rgba(255,255,255,0.5) !important; }
.text-muted { color: var(--text-gray) !important; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-dark { color: var(--text-dark) !important; }
.text-decoration-none { text-decoration: none !important; }
.fw-bold { font-weight: 700 !important; }
.fs-4 { font-size: 1.5rem !important; }
.small { font-size: 0.875em; }

.bg-light { background-color: var(--light-bg) !important; }
.bg-white { background-color: #fff !important; }
.bg-primary { background-color: var(--primary) !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; }
.shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important; }
.rounded { border-radius: 0.25rem !important; }
.rounded-3 { border-radius: .3rem !important; }
.rounded-4 { border-radius: 1rem !important; }
.rounded-pill { border-radius: 50rem !important; }
.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.border-bottom { border-bottom: 1px solid var(--border-color) !important; }
.border-primary { border-color: var(--primary) !important; }
.overflow-hidden { overflow: hidden !important; }

/* =========================================
   3. HEADER & NAVBAR
   ========================================= */
.top-bar { 
    background-color: var(--secondary); 
    color: #ffffff; 
    padding: 10px 0; 
    font-size: 0.9rem; 
    font-weight: 500;
    width: 100%;
    position: relative;
    z-index: 1002;
    display: none; 
}
.top-bar .icon-svg { margin-right: 8px; color: var(--accent); } 

@media (min-width: 768px) {
    .top-bar { display: block !important; }
}

.navbar { 
    background-color: #fff; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.05); 
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
}
.navbar-content { display: flex; justify-content: space-between; align-items: center; }

.navbar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-title { font-weight: 700; font-size: 1.5rem; color: var(--primary); letter-spacing: -0.5px; } 
.brand-subtitle { font-size: 0.7rem; color: var(--text-gray); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

.navbar-nav { display: flex; flex-direction: row; gap: 40px; align-items: center; margin-left: auto; list-style: none; }
.nav-link { font-weight: 400; font-size: 1.05rem; color: #444; position: relative; padding: 5px 0; text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--primary); font-weight: 500; }
.nav-link::after { content: ""; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.3s; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn-nav-contact {
    background-color: var(--primary); color: white; padding: 10px 28px; 
    border-radius: 50px; font-weight: 600; font-size: 1rem; transition: 0.3s;
    text-decoration: none;
}
.btn-nav-contact:hover { background-color: var(--primary-dark); transform: translateY(-2px); }
.navbar-toggler { display: none; background: transparent; border: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); padding: 5px; }

/* =========================================
   4. HERO & ALINEACIÓN BOTONES
   ========================================= */
.hero-section { 
    position: relative; 
    min-height: 70vh; 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
    /* CORRECCIÓN: Fondo de color de respaldo mientras carga la imagen */
    background-color: var(--secondary);
    /* Z-Index positivo para el contenedor padre */
    z-index: 1;
}

.hero-bg-img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    /* CORRECCIÓN: Evita que la imagen se estire */
    object-fit: cover; 
    /* CORRECCIÓN Z-INDEX: 0 para que esté encima del fondo pero debajo del contenido */
    z-index: 0; 
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, rgba(0,45,82,0.95) 0%, rgba(0,45,82,0.7) 60%, rgba(0,74,173,0.1) 100%); 
    /* Z-Index intermedio */
    z-index: 1; 
}

.hero-content { 
    position: relative; 
    /* Z-Index superior para que el texto sea seleccionable */
    z-index: 2; 
    width: 100%; 
    /* ANTES ERA: padding: 60px 0; */
    /* CAMBIO: Agregamos 20px a los lados para separar del borde */
    padding: 60px 20px; 
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-text h1 { 
    color: #ffffff !important; 
    margin-bottom: 25px; 
    margin-left: 0; 
    width: 100%; 
    /* CORRECCIÓN: Límite de ancho para que no se estire demasiado */
    max-width: 900px;
    word-wrap: break-word;
}

.hero-text p { color: rgba(255,255,255,0.95); font-size: 1.2rem; margin-bottom: 40px; max-width: 650px; margin-left: 0; }

@media (min-width: 768px) {
    .hero-text { align-items: flex-start; text-align: left; }
}

/* Grid Robusto para Botones Hero */
.hero-btns-grid { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; 
    width: 100%; 
    max-width: 700px;
    margin-top: 10px;
}
.hero-btns-grid .btn:nth-child(3) { grid-column: 1 / -1; width: 50%; }

@media (max-width: 768px) {
    .hero-btns-grid { grid-template-columns: 1fr; }
    .hero-btns-grid .btn:nth-child(3) { grid-column: auto; width: 100%; }
    .hero-text h1 { font-size: 2.2rem; }
}
.hero-btns-grid .btn { width: 100%; }

/* =========================================
   5. BOTONES Y TARJETAS
   ========================================= */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    border-radius: 6px; font-weight: 700; text-transform: uppercase; 
    letter-spacing: 0.5px; cursor: pointer; border: 2px solid transparent; 
    transition: 0.3s; padding: 10px 20px; gap: 12px; text-decoration: none;
}
.btn-hero { border-radius: 50px; font-size: 0.95rem; }
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-light { background: #f8f9fa; color: var(--text-dark); border-color: #f8f9fa; }
.btn-light:hover { background: #e2e6ea; border-color: #dae0e5; }
.btn-outline-light { background: transparent; color: white; border-color: white; }
.btn-outline-light:hover { background: rgba(255,255,255,0.2); }
.btn-outline-primary, .btn-hover-blue { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline-primary:hover, .btn-hover-blue:hover { background: var(--primary); color: white; box-shadow: 0 5px 15px rgba(0,74,173,0.3); }
.btn-white { background: white; color: var(--primary); font-size: 1.1rem; padding: 15px 40px; border-radius: 50px; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-3px); }
.btn-lg-outline { padding: 15px 40px; font-size: 1.1rem; border-radius: 50px; background: transparent; border: 2px solid var(--primary); color: var(--primary); font-weight: 700; }
.btn-lg-outline:hover { background: var(--primary); color: white; box-shadow: 0 5px 15px rgba(0,74,173,0.3); transform: translateY(-2px); }
.btn-lg { padding: 12px 25px; font-size: 1.1rem; }
.btn-contact-cta { background-color: var(--primary); color: white; padding: 12px; border-radius: 50px; width: 100%; font-weight: 600; }
.btn-contact-cta:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-grow-lighten { transition: all 0.3s ease; }
.btn-grow-lighten:hover { transform: scale(1.1); background-color: var(--primary-light); border-color: var(--primary-light); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* ---- REGLAS DE TÍTULOS ---- */
.section-title { 
    position: relative; 
    display: inline-block; 
    margin-bottom: 60px; 
    font-size: 2rem; 
    color: var(--text-dark); 
}

.section-title::after { 
    content: ""; 
    position: absolute; 
    bottom: -10px; 
    left: 0; 
    width: 80%; 
    height: 4px; 
    background: var(--primary); 
    border-radius: 2px; 
}
.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ---- TARJETAS FLIP (CORREGIDO PARA MÓVIL Y SAFARI) ---- */
.product-card { 
    height: 500px; 
    perspective: 1500px; 
    margin-bottom: 30px;
    cursor: pointer; /* Indica interacción */
    -webkit-tap-highlight-color: transparent; /* Mejora UX en móvil */
}

.product-card-inner { 
    width: 100%; 
    height: 100%; 
    position: relative; 
    transform-style: preserve-3d; 
    transition: transform 0.8s ease-in-out; 
    will-change: transform; /* Optimización de rendimiento */
}

.product-card.is-flipped .product-card-inner { transform: rotateY(180deg); }

.product-card-front, .product-card-back { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
    -webkit-backface-visibility: hidden; /* Fix Safari */
    backface-visibility: hidden; 
    
    background: white; 
    border: 1px solid #e0e0e0; 
    border-radius: 15px; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0); /* Aceleración Hardware */
}

.product-card-front {
    z-index: 2;
    transform: rotateY(0deg);
}

.product-card-back {
    z-index: 1;
    transform: rotateY(180deg);
    padding: 40px 30px; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    background-color: white; 
}

.product-card:hover, .service-box:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; }

.product-img-container { height: 260px; padding: 20px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; }
.product-img-container img { transition: 0.5s; max-height: 100%; width: auto; }
.product-card-front:hover .product-img-container img { transform: scale(1.05); }
.product-details { padding: 25px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 15px; width: 100%; }
.product-details h4 { font-size: 1.3rem; margin-bottom: 5px; }

.btn-card { padding: 10px 24px; font-size: 0.9rem; width: fit-content; margin: 0 auto; background-color: var(--primary); color: white; border-radius: 50px; border: none; display: inline-flex; align-items: center; gap: 10px; }
.btn-card:hover { background-color: var(--primary-dark); color: white; }
.btn-card-outline { padding: 8px 16px; font-size: 0.85rem; width: fit-content; margin: 0 auto; border: 1px solid #ccc; color: var(--text-gray); border-radius: 50px; background: transparent; display: inline-flex; align-items: center; gap: 8px; }
.btn-card-outline:hover { border-color: var(--primary); color: var(--primary); }

.product-card-back h3, .product-card-back h4 { color: var(--primary); margin-bottom: 20px; font-size: 1.8rem; }
.product-card-back p { color: var(--text-dark); font-size: 1.1rem; margin-bottom: 30px; line-height: 1.6; }

/* Service Box */
.service-box { background: white; padding: 40px 30px; border-radius: 15px; border: 1px solid #eee; text-align: center; height: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.03); display: flex; flex-direction: column; align-items: center; transition: 0.3s; }
.service-icon { width: 90px; height: 90px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; color: white; font-size: 2.2rem; }
.service-box h4, .service-box h3 { font-size: 1.6rem; margin-bottom: 15px; font-weight: 700; color: var(--text-dark); }
.service-box p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 25px; line-height: 1.6; }
.service-box .btn { margin-top: auto; } 

/* =========================================
   6. PÁGINAS INTERNAS & EXTRAS
   ========================================= */
.inner-page-header { background-color: var(--secondary); padding: 60px 0; text-align: center; color: white; }
.inner-page-header h1 { color: #ffffff !important; margin-bottom: 15px; font-size: 2.5rem; }
.breadcrumb { display: flex; justify-content: center; gap: 10px; font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: white; text-decoration: underline; }

.filter-bar { position: relative; top: -40px; margin-bottom: -20px; }
.input-group { display: flex; width: 100%; }
.input-group-text { background: #eee; padding: 10px 15px; border: 1px solid #ced4da; border-right: none; border-radius: 0.25rem 0 0 0.25rem; display: flex; align-items: center; }
.form-control, .form-select { display: block; width: 100%; padding: 0.5rem 0.75rem; font-size: 1rem; color: #495057; background-color: #fff; border: 1px solid #ced4da; border-radius: 0.25rem; }
.form-control:focus, .form-select:focus { outline: none; border-color: var(--primary); }
.form-control { border-left: none; border-radius: 0 0.25rem 0.25rem 0; }
.spinner-border { display: inline-block; width: 2rem; height: 2rem; border: 0.25em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spinner-border .75s linear infinite; color: var(--primary); }
@keyframes spinner-border { 100% { transform: rotate(360deg); } }
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 40px; }
.page-link { display: block; padding: 0.5rem 0.75rem; color: var(--primary); border: 1px solid #dee2e6; border-radius: 5px; background: white; text-decoration: none; }
.page-item.active .page-link { color: #fff; background-color: var(--primary); border-color: var(--primary); }
.sourcing-section, .cta-section { text-align: center !important; }
.sourcing-section h2 { font-size: 2rem; margin-bottom: 20px; }
.sourcing-section p { max-width: 800px; margin: 0 auto 30px auto; font-size: 1.1rem; }
.btn-semi-square { border-radius: 8px !important; padding-left: 15px; padding-right: 15px; }

.text-mantenimiento { font-size: 1.1rem; line-height: 1.8; color: var(--text-gray); margin-bottom: 2rem; text-align: justify; }
.feature-row { display: flex; align-items: center; margin-top: 1.5rem; }
.feature-icon { margin-right: 1.5rem; color: var(--primary); min-width: 50px; text-align: center; }
.feature-text h3 { font-size: 1.3rem; margin-bottom: 5px; }
.feature-text p { font-size: 1rem; color: var(--text-gray); margin: 0; }
.alert-box { padding: 1.5rem; margin-top: 2rem; border-radius: 10px; background-color: var(--info-bg); color: var(--info-text); border: 1px solid rgba(0,0,0,0.05); display: flex; align-items: flex-start; gap: 15px; }
.alert-box i, .alert-box .icon-svg { font-size: 1.2rem; margin-top: 3px; }
.img-rounded-shadow { border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); max-width: 100%; height: auto; }
.lead { font-size: 1.25rem; font-weight: 300; line-height: 1.6; color: var(--text-gray); }
.step-icon-lg { width: 90px; height: 90px; background-color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px auto; color: white; font-size: 2.5rem; box-shadow: 0 10px 25px rgba(0, 74, 173, 0.25); transition: transform 0.3s; }
.process-step:hover .step-icon-lg { transform: translateY(-5px); }
.process-step h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 700; color: var(--text-dark); }
.process-step p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.5; padding: 0 5px; }
.cta-box { background: white; padding: 3rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.05); margin: 0 auto; text-align: center; }

/* Utilidades Nosotros */
.about-img-container { position: relative; display: block; margin-bottom: 3rem; }
.experience-badge { position: absolute; bottom: -20px; right: 20px; background: white; padding: 1.5rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); text-align: center; border-left: 5px solid var(--primary); z-index: 2; }
.experience-badge .h2 { font-size: 2.5rem; color: var(--primary); line-height: 1; margin-bottom: 0; }
.value-card { background: white; padding: 2rem 1.5rem; border-radius: 10px; border: 1px solid #f0f0f0; transition: 0.3s; height: 100%; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.stats-section .display-4 { font-size: 3.5rem; font-weight: 900; line-height: 1.2; color: var(--accent); text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.stats-section p { color: #ffffff !important; font-weight: 500; opacity: 1 !important; }

/* UTILIDADES CONTACTO */
.contact-form-wrapper { background: #fff; padding: 2rem; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.form-label { display: block; margin-bottom: .5rem; color: var(--text-dark); }
.form-check { display: flex; align-items: center; padding-left: 0; gap: 10px; }
.form-check-input { width: 1.25em; height: 1.25em; margin-top: 0; border-radius: .25em; border: 1px solid rgba(0,0,0,.25); cursor: pointer; }
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.invalid-feedback { display: none; width: 100%; margin-top: .25rem; font-size: .875em; color: #dc3545; }
.contact-info-card { height: 100%; background-color: var(--light-bg); padding: 1.5rem; border-radius: 10px; text-align: center; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); transition: transform 0.3s; }
.map-container { height: 300px; border-radius: 10px; overflow: hidden; box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
.modal { position: fixed; top: 0; left: 0; z-index: 1055; display: none; width: 100%; height: 100%; overflow-x: hidden; overflow-y: auto; outline: 0; background-color: rgba(0,0,0,0.5); }
.modal.show { display: block; }
.modal-dialog { position: relative; width: auto; margin: 1.75rem auto; max-width: 500px; pointer-events: none; }
.modal-dialog-centered { display: flex; align-items: center; min-height: calc(100% - 3.5rem); }
.modal-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0,0,0,.2); border-radius: .3rem; outline: 0; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1rem; }

/* FAQs */
.list-group { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; border-radius: .25rem; }
.list-group-item { position: relative; display: block; padding: .75rem 1.25rem; background-color: #fff; border: 1px solid rgba(0,0,0,.125); text-decoration: none; color: var(--text-dark); transition: 0.2s; }
.list-group-item-action:hover { z-index: 1; color: var(--primary); background-color: #f8f9fa; }
.list-group-flush .list-group-item { border-right-width: 0; border-left-width: 0; border-radius: 0; }
.accordion-item { background-color: #fff; border: 1px solid rgba(0,0,0,.125); margin-bottom: 10px; border-radius: 5px !important; overflow: hidden; }
.accordion-button { position: relative; display: flex; align-items: center; width: 100%; padding: 1rem 1.25rem; font-size: 1rem; color: var(--text-dark); text-align: left; background-color: #fff; border: 0; font-weight: 600; cursor: pointer; justify-content: space-between; }
.accordion-button:not(.collapsed) { color: var(--primary); background-color: #e7f1ff; }
.accordion-button::after { content: "+"; font-size: 1.5rem; margin-left: auto; transition: transform .2s; }
.accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.accordion-collapse { display: none; }
.accordion-collapse.show { display: block; }
.accordion-body { padding: 1rem 1.25rem; color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }

/* Carrusel & WhatsApp */
.brands-section { background: #fff; padding: 80px 0; overflow: hidden; }
.logos-slider-mask { width: 100%; overflow: hidden; position: relative; }
.logos-slider-mask::before, .logos-slider-mask::after { content: ""; position: absolute; top: 0; width: 120px; height: 100%; z-index: 2; pointer-events: none; }
.logos-slider-mask::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.logos-slider-mask::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.logos-slider-inner { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.logo-item { padding: 0 40px; display: flex; align-items: center; justify-content: center; width: 200px; }
.brand-logo { height: 80px; width: auto; object-fit: contain; filter: none; opacity: 1; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999; }
.whatsapp-float:hover { transform: scale(1.1); background: #20ba5a; }

/* =========================================
   7. ESTILOS PÁGINAS DE POLÍTICAS Y LEGALES
   ========================================= */
body { background-color: #f4f7f6; } 

.policy-header {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 100px 0; 
    text-align: center;
    position: relative;
    z-index: 1;
}

.policy-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.policy-header p {
    color: rgba(255,255,255,0.8);
}

.document-container {
    margin-top: -60px; 
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
    padding-left: 15px;
    padding-right: 15px;
}

.document-paper {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.document-paper h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.document-paper p, .document-paper li {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.document-paper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.document-paper li {
    margin-bottom: 8px;
}

.contact-highlight {
    background-color: var(--info-bg);
    border-left: 5px solid var(--accent);
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.contact-highlight h3 {
    font-size: 1.2rem;
    color: var(--info-text);
    margin-bottom: 10px;
}

.back-btn-container {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    transition: 0.3s;
}

.btn-back:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,74,173,0.2);
}

/* =========================================
   8. MEDIA QUERIES (MÓVIL / TABLET)
   ========================================= */
@media (max-width: 991px) {
    .navbar-collapse { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); flex-direction: column; align-items: center; text-align: center; }
    .navbar-collapse.show { display: flex; }
    .navbar-nav { flex-direction: column; gap: 20px; width: 100%; }
    .navbar-toggler { display: block; }

    /* CORRECCIÓN TARJETAS EN MÓVIL */
    .product-card { 
        height: 550px !important;  /* Forzamos altura */
        min-height: 550px !important; 
    }
    
    .product-img-container {
        height: 220px; /* Ajuste para que quepa mejor en móvil */
    }

    .experience-badge { right: 10px; bottom: -20px; padding: 1rem; }
    .feature-row { align-items: flex-start; }
    .sticky-lg-top { position: static; }
    .order-lg-1 { order: unset; }
    .order-lg-2 { order: unset; }
}

@media (max-width: 768px) {
    .policy-header { padding: 40px 0 80px 0; }
    .policy-header h1 { font-size: 1.8rem; }
    .document-paper { padding: 30px 20px; }
}

/* =========================================
   9. CORRECCIÓN ERROR: API Obsoleta
   ========================================= */
section h1, article h1 {
    font-size: 3rem; /* O el tamaño que prefieras, pero debe ser explícito */
}

@media (max-width: 768px) {
    section h1, article h1 {
        font-size: 2.2rem; /* Ajuste para móviles */
    }
}