/* styles.css - Estilos completos para INDUEXT Ingeniería SAS - CORREGIDO */

:root {
    /* Paleta de colores INDUEXT - Seguridad/Extintores */
    --primary: #E63946; /* Rojo extintor - principal */
    --primary-dark: #C1121F; /* Rojo oscuro - hover */
    --secondary: #2A2D34; /* Gris oscuro - profesional */
    --secondary-light: #3A3D44; /* Gris medio */
    --accent: #FF9A00; /* Naranja seguridad - acento */
    --accent-dark: #E68A00; /* Naranja oscuro */
    --safety-blue: #1D3557; /* Azul seguridad industrial */
    --safety-green: #2A9D8F; /* Verde seguridad */
    --whatsapp-green: #25D366; /* Verde WhatsApp */
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #6C757D;
    --white: #FFFFFF;
    --text: #343A40;
    --border-color: #DEE2E6;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
    --sidebar-width: 80px;
    --sidebar-expanded: 220px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    transition: padding-left 0.3s ease;
}

/* Para escritorio: agregar padding cuando sidebar está visible */
@media (min-width: 1024px) {
    body {
        padding-left: var(--sidebar-width);
    }
    
    body.sidebar-expanded {
        padding-left: var(--sidebar-expanded);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Simplificado */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

/* Logo con imagen - SOLO IMAGEN */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

/* Imagen del logo */
.logo-img {
    height: 100px; /* Altura fija para el logo */
    width: auto; /* Ancho automático para mantener proporción */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Eliminar el texto del logo que ya no se usará */
.logo-text {
    display: none;
}

/* Eliminar el logo de respaldo (fallback) */
.logo-fallback {
    display: none !important;
}

@media (max-width: 1023px) {
    /* Ajustar logo para móviles */
    .logo-img {
        height: 50px; /* Un poco más pequeño en móviles */
    }
}

@media (max-width: 480px) {
    /* Ajustar logo para móviles muy pequeños */
    .logo-img {
        height: 45px;
    }
}

/* Eliminar el logo de respaldo (fallback) */
.logo-fallback {
    display: none !important;
}

/* Botón de Llamada - ACTUALIZADO A CELULAR */
.call-button {
    display: flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.call-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.call-button:hover::before {
    left: 100%;
}

.call-button i {
    margin-right: 8px;
    font-size: 1rem;
}

.call-text {
    transition: opacity 0.3s ease;
}

.call-icon {
    display: none;
}

.call-button:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Barra Lateral Flotante */
.sidebar-nav {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: var(--sidebar-width);
    background-color: var(--white);
    box-shadow: var(--shadow-medium);
    border-radius: 0 10px 10px 0;
    z-index: 999;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto;
    max-height: 500px;
}

.sidebar-nav:hover {
    width: var(--sidebar-expanded);
    box-shadow: var(--shadow-heavy);
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.nav-item {
    position: relative;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.nav-link:hover {
    background-color: var(--light-gray);
    color: var(--primary);
}

.nav-link.active {
    background-color: var(--primary);
    color: var(--white);
}

.nav-link i {
    font-size: 1.3rem;
    min-width: 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

.nav-text {
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    font-weight: 500;
    margin-left: 10px;
    font-size: 0.95rem;
}

.sidebar-nav:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

/* Indicador de sección activa */
.active-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 0 4px 4px 0;
    transition: top 0.3s ease;
    z-index: 1000;
}

/* Tooltip para desktop */
.nav-link::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-left: 15px;
    box-shadow: var(--shadow-light);
}

.sidebar-nav:not(:hover) .nav-link:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ========== MENÚ MÓVIL ========== */
.mobile-nav-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.mobile-nav-toggle:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

.mobile-nav-toggle.active {
    background-color: var(--secondary);
    transform: rotate(90deg);
    top: 100px;
}

/* Menú móvil desplegable */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    padding-top: 100px;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu .sidebar-menu.mobile {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu .nav-item {
    margin: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.mobile-nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
}

/* Retraso para animación escalonada */
.mobile-nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.6s; }
.mobile-nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.7s; }
.mobile-nav-menu.active .nav-item:nth-child(8) { transition-delay: 0.8s; }
.mobile-nav-menu.active .nav-item:nth-child(9) { transition-delay: 0.9s; }
.mobile-nav-menu.active .nav-item:nth-child(10) { transition-delay: 1.0s; }
.mobile-nav-menu.active .nav-item:nth-child(11) { transition-delay: 1.1s; }

.mobile-nav-menu .nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 5px;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.mobile-nav-menu .nav-link:hover {
    background-color: var(--light-gray);
    color: var(--primary);
}

.mobile-nav-menu .nav-link.active {
    background-color: var(--primary);
    color: var(--white);
}

.mobile-nav-menu .nav-link i {
    font-size: 1.3rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mobile-nav-menu .nav-link:hover i {
    transform: scale(1.2);
}

.mobile-nav-menu .nav-text {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Botón de cerrar en menú móvil */
.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    transition: transform 0.3s ease;
}

.mobile-close-btn:hover {
    transform: rotate(90deg);
    color: var(--primary);
}

/* ========== HERO SECTION - CORREGIDO ========== */
.hero {
    min-height: 100vh;
    position: relative;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background-color: var(--secondary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Asegurar que el overlay no tape el contenido */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 45, 52, 0.258) 0%, rgba(193, 18, 30, 0.444) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
    animation: fadeInUp 1s ease;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    position: relative;
    z-index: 3;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--whatsapp-green);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--whatsapp-green);
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Eliminar el overlay antiguo si existe */
.hero-overlay {
    display: none;
}

/* Secciones generales */
section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* QUIÉNES SOMOS */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text h3 small {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 400;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text);
}

.certification-list {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.certification-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.certification-list li i {
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.timeline {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary);
    box-shadow: var(--shadow-light);
}

.timeline h4 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.timeline h4 i {
    margin-right: 10px;
}

.timeline-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--medium-gray);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-year {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.timeline-year i {
    margin-right: 8px;
    font-size: 1rem;
}

/* EXTINTORES - Servicios */
.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--accent);
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    margin-bottom: 15px;
    color: var(--text);
}

.service-card p strong {
    color: var(--primary);
}

.service-features {
    list-style: none;
    margin-top: 15px;
}

.service-features li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.service-features li i {
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.service-features li:hover i {
    transform: scale(1.2);
}

.norma-info {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--safety-blue);
    color: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-light);
}

.norma-info p {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.norma-info i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* PUESTOS - Maquinaria - CON IMÁGENES REALES Y FALLBACK */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.equipment-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.equipment-img {
    height: 220px;
    background-color: var(--medium-gray);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Imágenes reales */
.equipment-img .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.equipment-card:hover .equipment-img .product-image {
    transform: scale(1.05);
}

/* Fallback que se muestra solo si la imagen no carga */
.equipment-img .img-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    z-index: 0;
    text-align: center;
    padding: 20px;
    background-color: var(--medium-gray);
}

.equipment-img .img-fallback i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--primary);
    opacity: 0.7;
}

.equipment-img .img-fallback span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Si la imagen se carga, ocultar el fallback */
.equipment-img:has(.product-image[src]) .img-fallback {
    display: none;
}

.equipment-img:has(.product-image[src*=".jpg"]):has(.product-image[src*=".jpeg"]):has(.product-image[src*=".png"]) .img-fallback {
    display: none;
}

.equipment-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.equipment-info h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.equipment-info p {
    margin-bottom: 15px;
    color: var(--text);
    flex-grow: 1;
}

.equipment-specs {
    list-style: none;
    margin-top: 15px;
    padding: 0;
}

.equipment-specs li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.equipment-specs li i {
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9rem;
}

/* ========== MANGUERAS CONTRA INCENDIO - CON IMAGEN REAL ========== */
.single-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-product:hover {
    box-shadow: var(--shadow-medium);
}

.product-image-container {
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 2;
}

.single-product:hover .product-image-real {
    transform: scale(1.05);
}

/* Fallback que se muestra solo si no hay imagen */
.product-image-container .img-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    z-index: 1;
    text-align: center;
    padding: 20px;
    background-color: var(--light-gray);
}

.product-image-container .img-fallback i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--primary);
    opacity: 0.7;
}

.product-image-container .img-fallback span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Ocultar fallback si la imagen se carga */
.product-image-container:has(img[src]) .img-fallback {
    display: none;
}

.product-details h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-details p {
    margin-bottom: 25px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.spec-item {
    text-align: center;
    padding: 20px 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
    border-color: var(--primary);
}

.spec-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.spec-item:hover i {
    transform: scale(1.2);
}

.spec-item h4 {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-weight: 600;
}

.spec-item p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.features {
    margin-top: 25px;
}

.features p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    color: var(--text);
    font-size: 0.95rem;
}

.features i {
    color: var(--safety-green);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Ajustes responsive para Mangueras */
@media (max-width: 992px) {
    .single-product {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-image-container {
        height: 300px;
        order: 1;
    }
    
    .product-details {
        order: 2;
    }
}

@media (max-width: 768px) {
    .single-product {
        padding: 25px;
    }
    
    .product-image-container {
        height: 250px;
    }
    
    .product-details h3 {
        font-size: 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .single-product {
        padding: 20px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .product-details h3 {
        font-size: 1.3rem;
    }
    
    .product-image-container .img-fallback i {
        font-size: 3rem;
    }
    
    .product-image-container .img-fallback span {
        font-size: 1.2rem;
    }
}

/* PRUEBAS PITOMÉTRICAS */
.service-highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.highlight-icon {
    width: 100px;
    height: 100px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.highlight-content h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
}

.highlight-content p {
    margin-bottom: 30px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.highlight-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* OTROS PRODUCTOS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-category {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.product-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.product-category h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 15px;
}

.product-category h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.product-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-category li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.product-category li i {
    position: absolute;
    left: 0;
    color: var(--safety-green);
}

.cta-mini {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--accent);
}

.cta-mini p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.cta-mini i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* CAPACITACIÓN */
.training-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 40px;
}

.training-module {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.training-module:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.module-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.training-module h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: 600;
}

.training-module h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.training-module p {
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.7;
}

.training-module ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.training-module li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.training-module li i {
    position: absolute;
    left: 0;
    color: var(--primary);
}

.practical-skills {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--light-gray);
}

.practical-skills h5 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.practical-skills h5 i {
    color: var(--safety-green);
    margin-right: 8px;
}

.training-benefits {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--safety-blue);
    color: white;
    border-radius: 8px;
    text-align: center;
}

.training-benefits p {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-benefits i {
    margin-right: 10px;
    font-size: 1.3rem;
}

/* ========== VALORES AGREGADOS - CORREGIDO ========== */
.values {
    background-color: var(--light-gray);
    position: relative;
}

.valuesSwiper {
    width: 100%;
    height: 100%;
    padding: 20px 10px 60px !important;
    overflow: hidden !important;
}

.valuesSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch !important;
    transition-timing-function: ease-in-out !important;
}

.valuesSwiper .swiper-slide {
    height: auto !important;
    display: flex;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

.value-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-light);
    width: 100%;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary);
}

.value-icon {
    background-color: var(--primary);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--accent);
    box-shadow: 0 5px 15px rgba(255, 154, 0, 0.3);
}

.value-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.value-card p {
    color: var(--text);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Pagination mejorada */
.valuesSwiper .swiper-pagination {
    position: absolute;
    bottom: 25px !important;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.valuesSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--medium-gray);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.valuesSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary);
    width: 30px;
    transform: scale(1);
}

/* Botones de navegación (opcional) */
.valuesSwiper .swiper-button-next,
.valuesSwiper .swiper-button-prev {
    background-color: var(--white);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.valuesSwiper .swiper-button-next:after,
.valuesSwiper .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

.valuesSwiper .swiper-button-next:hover,
.valuesSwiper .swiper-button-prev:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.values-note {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 154, 0, 0.08);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.values-note p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--secondary);
}

.values-note i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Ajustes responsive para el swiper */
@media (max-width: 768px) {
    .valuesSwiper {
        padding: 15px 5px 50px !important;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
        min-height: 50px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .valuesSwiper .swiper-pagination {
        bottom: 20px !important;
    }
    
    .valuesSwiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .valuesSwiper .swiper-pagination-bullet-active {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .value-card h3 {
        font-size: 1.1rem;
        min-height: 45px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Pagination mejorada */
.valuesSwiper .swiper-pagination {
    position: absolute;
    bottom: 25px !important;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.valuesSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--medium-gray);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.valuesSwiper .swiper-pagination-bullet-active {
    background-color: var(--primary);
    width: 30px;
    transform: scale(1);
}

/* Botones de navegación (opcional) */
.valuesSwiper .swiper-button-next,
.valuesSwiper .swiper-button-prev {
    background-color: var(--white);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.valuesSwiper .swiper-button-next:after,
.valuesSwiper .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

.valuesSwiper .swiper-button-next:hover,
.valuesSwiper .swiper-button-prev:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.values-note {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 154, 0, 0.08);
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.values-note p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--secondary);
}

.values-note i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Ajustes responsive para el swiper */
@media (max-width: 768px) {
    .valuesSwiper {
        padding: 15px 5px 50px !important;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-card h3 {
        font-size: 1.2rem;
        min-height: 50px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .valuesSwiper .swiper-pagination {
        bottom: 20px !important;
    }
    
    .valuesSwiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .valuesSwiper .swiper-pagination-bullet-active {
        width: 25px;
    }
}

@media (max-width: 480px) {
    .value-card h3 {
        font-size: 1.1rem;
        min-height: 45px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* GARANTÍA */
.warranty-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.warranty-coverage, .warranty-conditions {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.warranty-coverage h3, .warranty-conditions h3 {
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.warranty-coverage h3 i, .warranty-conditions h3 i {
    margin-right: 10px;
}

.coverage-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.coverage-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.coverage-item h4 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.coverage-item h4 i {
    color: var(--safety-green);
    margin-right: 10px;
}

.coverage-item p {
    color: var(--text);
    line-height: 1.7;
}

.conditions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.conditions-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.conditions-list li i {
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* QUEJAS Y RECLAMOS */
.complaint-process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.process-description h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.process-description h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.process-description p {
    margin-bottom: 30px;
    color: var(--text);
    line-height: 1.7;
    font-size: 1.05rem;
}

.process-steps {
    margin-top: 40px;
}

.step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.complaint-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.complaint-form h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.complaint-form h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.complaint-form p {
    margin-bottom: 30px;
    color: var(--text);
    line-height: 1.7;
}

/* CONTACTO */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info, .contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
}

.contact-info h3, .contact-form h3 {
    color: var(--secondary);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.contact-info h3 i, .contact-form h3 i {
    margin-right: 10px;
    color: var(--primary);
}

.contact-detail {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail:hover .contact-icon {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

.contact-text h4 {
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-text p {
    margin: 0;
    color: var(--text);
    line-height: 1.6;
}

.contact-text a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.small-note {
    font-size: 0.85rem;
    color: var(--dark-gray);
    font-style: italic;
    margin-top: 3px !important;
}

/* Formularios generales */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23616161' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.submit-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Mapa de Google Maps */
.map-container {
    width: 100%;
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    font-weight: 600;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 1.5px;
}

.footer-column p {
    margin-bottom: 15px;
    color: #CCCCCC;
    line-height: 1.7;
}

.footer-column p em {
    color: var(--accent);
    font-style: italic;
}

.footer-certifications {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-certifications h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
    display: flex;
    align-items: center;
}

.footer-certifications h4 i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-certifications p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: #AAAAAA;
}

.footer-certifications p i {
    margin-right: 10px;
    color: var(--safety-green);
    font-size: 0.8rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: rotate(90deg);
}

.footer-contact {
    margin-bottom: 25px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.old-pbx {
    font-size: 0.85rem;
    color: #AAAAAA;
    font-style: italic;
    display: block;
    margin-top: 3px;
}

.footer-social {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-services {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #CCCCCC;
}

.footer-services li i {
    position: absolute;
    left: 0;
    color: var(--primary);
}

.footer-note {
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border-left: 3px solid var(--accent);
}

.footer-note p {
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
}

.footer-note i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #AAAAAA;
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 10px;
}

.copyright .footer-legal {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 5px;
}

.copyright .developer-credit {
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 15px;
    font-style: italic;
}

/* ========== WHATSAPP FLOTANTE SIMPLIFICADO ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp-green);
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    color: var(--white);
    font-size: 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Efecto de pulso */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: var(--shadow-light);
    pointer-events: none;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        font-size: 1.8rem;
    }
    
    .whatsapp-tooltip {
        right: 65px;
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-icon {
        font-size: 1.6rem;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móviles muy pequeños */
    }
}

/* Para tablets en modo vertical */
@media (min-width: 481px) and (max-width: 768px) and (orientation: portrait) {
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
    }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1023px) {
    /* Ocultar sidebar en móviles/tablets */
    .sidebar-nav {
        display: none !important;
    }
    
    /* Mostrar botón de navegación móvil */
    .mobile-nav-toggle {
        display: flex;
        top: 100px;
        right: 20px;
    }
    
    /* Remover padding del body */
    body {
        padding-left: 0 !important;
    }
    
    /* Ajustar header para móviles */
    .logo-img {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    
    .logo-fallback {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-text span {
        font-size: 0.9rem;
    }
    
    .call-text {
        display: none;
    }
    
    .call-icon {
        display: block;
        font-size: 1.2rem;
    }
    
    .call-button i:first-child {
        display: none;
    }
    
    .call-button {
        padding: 10px 15px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .single-product {
        grid-template-columns: 1fr;
    }
    
    .service-highlight {
        grid-template-columns: 1fr;
    }
    
    .warranty-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .complaint-process {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container {
        margin-top: 40px;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .training-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 80px;
        height: 80vh;
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlight-benefits {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        margin-top: 30px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    /* Ajustar posición del toggle en pantallas más pequeñas */
    .mobile-nav-toggle {
        top: 90px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .services-grid, .equipment-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card, .equipment-card, .product-category,
    .training-module, .warranty-coverage, .warranty-conditions,
    .complaint-form, .contact-info, .contact-form {
        padding: 25px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .mobile-nav-toggle {
        top: 85px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
}

/* ========== BOTÓN DE LLAMADA MEJORADO PARA MÓVILES ========== */

/* Para móviles: mostrar solo el icono */
@media (max-width: 1023px) {
    .call-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background-color: var(--primary);
        color: var(--white);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        border: 2px solid var(--primary);
        position: relative;
        overflow: hidden;
        box-shadow: var(--shadow-medium);
        transition: all 0.3s ease;
    }
    
    .call-button:hover {
        background-color: transparent;
        color: var(--primary);
        transform: scale(1.1);
    }
    
    /* Ocultar texto en móviles */
    .call-text {
        display: none !important;
    }
    
    /* Ocultar primer icono (para desktop) */
    .desktop-icon {
        display: none !important;
    }
    
    /* Mostrar icono móvil */
    .mobile-icon {
        display: block !important;
        font-size: 1.3rem;
        color: var(--white);
        transition: all 0.3s ease;
    }
    
    /* Efecto hover para el icono móvil */
    .call-button:hover .mobile-icon {
        color: var(--primary);
        transform: rotate(15deg);
    }
    
    /* Tooltip para móviles (opcional) */
    .call-button::after {
        content: 'Llamar: 323 2328471';
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--secondary);
        color: var(--white);
        padding: 6px 12px;
        border-radius: 4px;
        font-size: 0.8rem;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        box-shadow: var(--shadow-light);
    }
    
    .call-button:hover::after {
        opacity: 1;
        visibility: visible;
        top: -45px;
    }
}

/* Para desktop: mantener diseño original */
@media (min-width: 1024px) {
    .mobile-icon {
        display: none !important;
    }
    
    .desktop-icon {
        display: inline-block !important;
    }
    
    .call-text {
        display: inline-block !important;
    }
}

/* Estilos comunes para el botón */
.call-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.call-button:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Animación de brillo al pasar el cursor */
.call-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.call-button:hover::before {
    left: 100%;
}

/* Efecto de latido para el botón en móviles */
@media (max-width: 1023px) {
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.7);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(230, 81, 0, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(230, 81, 0, 0);
        }
    }
    
    .call-button {
        animation: pulse 2s infinite;
    }
    
    /* Pausar animación al hacer hover */
    .call-button:hover {
        animation: none;
    }
}

/* Ajustes para tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mejoras de accesibilidad - focus states */
.nav-link:focus,
.call-button:focus,
.cta-button:focus,
.submit-btn:focus,
.form-control:focus,
.footer-links a:focus,
.social-icon:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Animación para elementos que aparecen al hacer scroll */
.fade-in {
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el pagination de Swiper */
.swiper-pagination-bullet {
    background-color: var(--medium-gray);
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Estilos para cuando sidebar está expandida en desktop */
@media (min-width: 1024px) {
    .sidebar-nav.expanded {
        width: var(--sidebar-expanded);
    }
    
    .sidebar-nav.expanded .nav-text {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Ajustar padding del body cuando sidebar está expandida */
    body.sidebar-expanded {
        padding-left: var(--sidebar-expanded);
    }
}

/* Placeholder para imágenes mientras se cargan */
.img-placeholder {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

/* Estilos para las transiciones de Swiper */
.swiper-slide {
    transition: transform 0.3s ease;
}

/* Ajustes para las imágenes del hero */
@media (min-width: 768px) {
    .hero-background {
        background-attachment: fixed;
    }
}

/* Mejoras para imágenes en dispositivos móviles */
@media (max-width: 768px) {
    .equipment-img, .product-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .equipment-img, .product-image {
        height: 150px;
    }
}