/* Variables globales - Colores basados en el logo R3CLEV */
:root {
    --primary-color: #1a1a2e; /* Azul oscuro del logo */
    --secondary-color: #D7263D; /* Rojo coral del logo */
    --accent-color: #E63946; /* Rojo más vibrante */
    --text-color: #2d3436;
    --light-gray: #f8f9fa;
    --dark-gray: #636e72;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
    --gradient-secondary: linear-gradient(135deg, #D7263D 0%, #E63946 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #2d3436 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    /* Variables de rendimiento */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Mejoras de accesibilidad y SEO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base para rem units */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Mejoras para imágenes */
img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

/* Focus visible para mejor accesibilidad */
*:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mejoras de rendimiento */
.will-change-transform {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Optimización para móviles */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        background-attachment: scroll; /* Mejor rendimiento en móviles */
    }
}

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

/* Selección de texto personalizada */
::selection {
    background: rgba(214, 38, 61, 0.2);
    color: var(--text-color);
}

::-moz-selection {
    background: rgba(214, 38, 61, 0.2);
    color: var(--text-color);
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

section {
    padding: 5rem 2rem;
    position: relative;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D7263D, #667eea);
    border-radius: 2px;
}

/* Hero Section - Espectacularmente mejorado */
.hero {
    height: calc(100vh - 45px);
    background-image: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(215, 38, 61, 0.85) 50%, rgba(26, 26, 46, 0.95) 100%), url('fondo Home1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Asegurar que el contenido del home sea visible */
#home-page-content.active .hero {
    display: flex !important;
}

#home-page-content.active .product-lines {
    display: block !important;
}

#home-page-content.active .about {
    display: block !important;
}

/* Efectos de partículas flotantes para el hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(215, 38, 61, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: heroPulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 3px, transparent 3px),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.04) 2px, transparent 2px);
    background-size: 200px 200px, 150px 150px, 250px 250px, 180px 180px;
    background-position: 0% 0%, 30% 30%, 70% 70%, 90% 90%;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

@keyframes floatingParticles {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: 1000px;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: heroContentAppear 1.5s ease-out;
}

@keyframes heroContentAppear {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.brand-name {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
    letter-spacing: 12px;
    animation: brandNameGlow 3s ease-in-out infinite alternate;
    position: relative;
}

@keyframes brandNameGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
        transform: scale(1);
    }
    to {
        filter: drop-shadow(0 0 40px rgba(215, 38, 61, 0.6));
        transform: scale(1.02);
    }
}

.brand-tagline {
    font-size: 2.2rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 15px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    animation: taglineAppear 1.5s ease-out 0.5s;
    animation-fill-mode: both;
    position: relative;
}

.brand-tagline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: lineExtend 2s ease-out 1s;
}

@keyframes lineExtend {
    from { width: 0; }
    to { width: 150px; }
}

@keyframes taglineAppear {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-slogan {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: sloganAppear 2s ease-out 1s;
    animation-fill-mode: both;
    position: relative;
    overflow: hidden;
}

.hero-slogan::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: sloganShine 3s ease-in-out infinite;
}

@keyframes sloganShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes sloganAppear {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0);
    }
}

.hero-slogan h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.hero-slogan p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Botones del Hero */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: heroButtonAppear 1.5s ease-out 1.5s;
    animation-fill-mode: both;
}

.hero-btn.primary {
    background: linear-gradient(135deg, #D7263D 0%, #E63946 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(215, 38, 61, 0.4);
}

.hero-btn.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(215, 38, 61, 0.6);
    background: linear-gradient(135deg, #E63946 0%, #D7263D 100%);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

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

/* Indicador de Scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    animation: scrollIndicator 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollArrow {
    0% { top: 8px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Responsive para Hero mejorado */
@media (max-width: 768px) {
    .brand-name {
        font-size: 4rem;
        letter-spacing: 8px;
    }
    
    .brand-tagline {
        font-size: 1.6rem;
        letter-spacing: 10px;
    }
    
    .hero-slogan h2 {
        font-size: 2.2rem;
    }
    
    .hero-slogan p {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-btn {
        width: 250px;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 3rem;
        letter-spacing: 6px;
    }
    
    .brand-tagline {
        font-size: 1.3rem;
        letter-spacing: 8px;
    }
    
    .hero-slogan {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .hero-slogan h2 {
        font-size: 1.8rem;
    }
    
    .hero-slogan p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }

    .hero-slogan h2 {
        font-size: 1.5rem;
    }
}

/* Líneas de Productos - Espectacularmente mejoradas */
.product-lines {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    display: block !important;
}

/* Sobre Nosotros - Mejorado */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    display: block !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 4rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

.product-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(215, 38, 61, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 26, 46, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(215, 38, 61, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(26, 26, 46, 0.04) 0%, transparent 50%);
    pointer-events: none;
    animation: linesBackgroundFloat 10s ease-in-out infinite;
}

@keyframes linesBackgroundFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -10px) scale(1.05); }
}

.product-lines h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: linesTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes linesTitleGlow {
    from { filter: drop-shadow(0 0 20px rgba(215, 38, 61, 0.3)); }
    to { filter: drop-shadow(0 0 40px rgba(26, 26, 46, 0.4)); }
}

.product-lines h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #D7263D, #1a1a2e, #D7263D);
    border-radius: 2px;
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { transform: translateX(-50%) scaleX(1); }
    50% { transform: translateX(-50%) scaleX(1.2); }
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.line-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.line-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.line-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 38, 61, 0.08), transparent);
    transition: left 0.8s ease;
}

.line-card:hover::after {
    left: 100%;
}

.line-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.line-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #D7263D 0%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(215, 38, 61, 0.2));
}

.line-card:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(26, 26, 46, 0.3));
}

.line-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.line-card:hover h3 {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.line-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.line-card .btn-ver-mas {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3);
}

.line-card .btn-ver-mas::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.line-card .btn-ver-mas:hover::before {
    width: 400px;
    height: 400px;
}

.line-card .btn-ver-mas:hover {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(26, 26, 46, 0.4);
}

.products-hero h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-hero p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Productos más grandes - Espectacularmente mejorados */
.products {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(215, 38, 61, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(26, 26, 46, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(215, 38, 61, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(26, 26, 46, 0.03) 0%, transparent 60%);
    pointer-events: none;
    animation: productsBackgroundFloat 12s ease-in-out infinite;
}

@keyframes productsBackgroundFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5px, 5px) rotate(1deg); }
}

.products h2 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: productsTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes productsTitleGlow {
    from { filter: drop-shadow(0 0 25px rgba(215, 38, 61, 0.4)); }
    to { filter: drop-shadow(0 0 45px rgba(26, 26, 46, 0.5)); }
}

/* Hero section de productos espectacular */
.products-hero {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.08) 0%, rgba(215, 38, 61, 0.06) 50%, rgba(26, 26, 46, 0.08) 100%);
    border-bottom: 2px solid rgba(215, 38, 61, 0.1);
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: productsHeroShine 4s ease-in-out infinite;
}

@keyframes productsHeroShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.products-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.products-hero h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #D7263D, #1a1a2e, #D7263D);
    border-radius: 2px;
}

.products-hero p {
    font-size: 1.3rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}

/* Showcase de productos espectacular */
.products-showcase {
    padding: 3rem;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Grid 4x4 para productos - Diseño estético premium */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: linear-gradient(145deg, var(--white) 0%, #f8f9fa 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(26, 26, 46, 0.08);
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(214, 38, 61, 0.2);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

/* Zoom específico para la imagen del CORAZON */
.product-card img[src*="CORAZON.webp"] {
    object-fit: cover;
    object-position: center;
    transform: scale(1.3);
}

/* Zoom específico para la imagen del TIPO EMBUDO */
.product-card img[src*="CANECA TIPO EMBUDO.webp"] {
    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
}

/* Zoom específico para la imagen del FRONTAL INOXIDABLE */
.product-card img[src*="FRONTAL INOXIDABLE.webp"] {
    object-fit: cover;
    object-position: center;
    transform: scale(1.3);
}

.product-card:hover img[src*="FRONTAL INOXIDABLE.webp"] {
    transform: scale(1.35);
}

.product-card img[src*="MODULO TIPO C.webp"] {
    object-fit: cover;
    object-position: center;
    transform: scale(1.25);
}

.product-card:hover img[src*="MODULO TIPO C.webp"] {
    transform: scale(1.3);
}

.product-card img[src*="TIPO C INVERTIDO.webp"] {
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
}

.product-card:hover img[src*="TIPO C INVERTIDO.webp"] {
    transform: scale(1.15);
}

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

/* Hover específico para CORAZON - mantiene el zoom pero añade efecto sutil */
.product-card:hover img[src*="CORAZON.webp"] {
    transform: scale(1.35);
}

/* Hover específico para TIPO EMBUDO - mantiene el zoom pero añade efecto sutil */
.product-card:hover img[src*="CANECA TIPO EMBUDO.webp"] {
    transform: scale(1.25);
}

/* Hover específico para FRONTAL INOXIDABLE - mantiene el zoom pero añade efecto sutil */
.product-card:hover img[src*="FRONTAL INOXIDABLE.webp"] {
    transform: scale(1.2);
}

.product-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 1.5rem 1rem 1.5rem;
    text-align: center;
    line-height: 1.3;
    transition: color var(--transition-normal);
}

.product-card:hover h3 {
    color: var(--secondary-color);
}

.product-line {
    text-align: center;
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 1.5rem 1.5rem 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(26, 26, 46, 0.05);
    border-radius: var(--border-radius-sm);
    display: inline-block;
}

.product-link {
    display: block;
    margin: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d3436 100%);
    color: var(--white);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.product-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-slow);
}

.product-link:hover::before {
    width: 300px;
    height: 300px;
}

.product-link:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #E63946 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 38, 61, 0.3);
}

/* Meta información del producto */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 1.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
}

.product-category {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-code {
    background: rgba(26, 26, 46, 0.1);
    color: var(--dark-gray);
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.link-text {
    position: relative;
    z-index: 2;
}

.product-link i {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

.product-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   PÁGINA DE DETALLES DE PRODUCTO
   ============================================ */

/* Breadcrumb de navegación */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb li {
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin: 0 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.breadcrumb li a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb li a:hover {
    color: var(--secondary-color);
}

.breadcrumb li.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Sección principal de detalles */
.product-detail {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 80vh;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

/* Sección de imagen */
.product-image-section {
    position: sticky;
    top: 2rem;
}

.product-image-container {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: transform var(--transition-normal);
}

.product-image-container:hover {
    transform: translateY(-8px);
}

.product-image-container img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    transition: transform 0.4s ease;
}

.product-image-container:hover img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: background var(--transition-normal);
}

.product-image-container:hover .image-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.zoom-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-image-container:hover .zoom-btn {
    opacity: 1;
    transform: scale(1);
}

.zoom-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Galería de imágenes */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.product-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.product-gallery img:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

/* Sección de información */
.product-info-section {
    padding: 2rem 0;
}

.product-header {
    margin-bottom: 3rem;
}

.product-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-line i {
    color: var(--secondary-color);
}

.product-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.premium {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
}

.badge.available {
    background: linear-gradient(135deg, #25D366, #20BF6B);
    color: var(--white);
}

/* Descripción del producto */
.product-description {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.product-description h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-description h2 i {
    color: var(--secondary-color);
}

.product-description p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Especificaciones técnicas */
.product-specifications {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.product-specifications h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-specifications h2 i {
    color: var(--secondary-color);
}

.specifications-list {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--secondary-color);
    transition: all var(--transition-normal);
}

.spec-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.spec-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.spec-text {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
}

/* Características */
.product-features {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.product-features h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features h2 i {
    color: var(--secondary-color);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(214, 38, 61, 0.1), rgba(230, 57, 70, 0.05));
    border: 1px solid rgba(214, 38, 61, 0.2);
    border-radius: var(--border-radius-xl);
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.feature-tag:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    transform: translateY(-2px);
}

/* Acciones del producto */
.product-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(214, 38, 61, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 38, 61, 0.4);
}

.action-btn.secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.action-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.action-btn.outline {
    background: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--dark-gray);
}

.action-btn.outline:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

/* Productos relacionados */
.related-products {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.related-products h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.related-products h2 i {
    color: var(--secondary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.related-product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    text-align: center;
}

.related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.related-product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.related-product-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 1rem 1rem 1rem;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #2d3436);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.related-link:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    transform: translateY(-2px);
}

/* Modal de zoom */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(26, 26, 46, 0.1);
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

/* Responsive para detalles de producto */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-image-section {
        position: static;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .product-image-container img {
        height: 500px;
    }

    .product-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .product-detail {
        padding: 2rem 0;
    }
    
    .product-image-container img {
        height: 400px;
    }

    .product-header h1 {
        font-size: 2rem;
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .breadcrumb ol {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .product-header h1 {
        font-size: 1.8rem;
    }
    
    .product-description,
    .product-specifications,
    .product-features {
        padding: 1.5rem;
    }
    
    .product-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.product-card button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.product-card button:hover {
    background-color: #A31621;
    transform: translateY(-2px);
}

.product-card .product-link {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card .product-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: left 0.8s ease;
}

.product-card .product-link:hover::before {
    left: 100%;
}

.product-card .product-link:not(.cotizar-btn) {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}

.product-card .product-link:not(.cotizar-btn):hover {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3);
}

.product-card .cotizar-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.product-card .cotizar-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Botón Cotizar en página de detalle de producto */
.contact-maintenance-btn.cotizar-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
}

.contact-maintenance-btn.cotizar-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%) !important;
}

/* Sobre Nosotros - Mejorado */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(26, 26, 46, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(215, 38, 61, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D7263D, #1a1a2e);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 0 auto;
    padding: 0 2rem;
    max-width: 1400px;
    position: relative;
    z-index: 1;
}

.about-content > div {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-content > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.about-content > div::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(215, 38, 61, 0.08), transparent);
    transition: left 0.8s ease;
}

.about-content > div:hover::after {
    left: 100%;
}

.about-content > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.about-content .mission i,
.about-content .vision i,
.about-content .values i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #D7263D 0%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(215, 38, 61, 0.2));
}

.about-content > div:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(26, 26, 46, 0.3));
}

.about-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.about-content > div:hover h3 {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.about-content p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-content li {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.about-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.about-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section de Líneas Específicas - Super Mejorado */
.line-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(215, 38, 61, 0.92) 30%, rgba(26, 26, 46, 0.98) 70%, rgba(215, 38, 61, 0.92) 100%), url('fondo Home1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.line-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(215, 38, 61, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 26, 46, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(215, 38, 61, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(26, 26, 46, 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: heroPulseComplex 8s ease-in-out infinite;
}

@keyframes heroPulseComplex {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    25% { 
        opacity: 0.8;
        transform: scale(1.02) rotate(1deg);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.05) rotate(0deg);
    }
    75% { 
        opacity: 0.8;
        transform: scale(1.02) rotate(-1deg);
    }
}

.line-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    z-index: 2;
    animation: heroContentFloat 6s ease-in-out infinite alternate;
}

@keyframes heroContentFloat {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-15px) scale(1.02); }
}

.line-icon {
    font-size: 8rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 30%, #ffffff 60%, #D7263D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.6));
    animation: iconRotateFloat 4s ease-in-out infinite alternate;
    position: relative;
}

.line-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(215, 38, 61, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: iconGlow 3s ease-in-out infinite alternate;
}

@keyframes iconRotateFloat {
    from { 
        transform: translateY(0) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.4));
    }
    to { 
        transform: translateY(-20px) rotate(5deg) scale(1.1);
        filter: drop-shadow(0 0 60px rgba(215, 38, 61, 0.6));
    }
}

@keyframes iconGlow {
    from { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.line-hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #D7263D 75%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    animation: titleShine 4s ease-in-out infinite alternate;
}

@keyframes titleShine {
    from { 
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
        transform: scale(1);
    }
    to { 
        filter: drop-shadow(0 0 80px rgba(215, 38, 61, 0.6));
        transform: scale(1.05);
    }
}

.line-hero p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.line-features {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 2rem 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature::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 1s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(215, 38, 61, 0.5);
}

.feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    filter: drop-shadow(0 0 20px rgba(215, 38, 61, 0.4));
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.3) rotate(10deg);
    color: #ffffff;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
}

.feature span {
    font-weight: 700;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Productos de Línea */
.line-products {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
}

.line-products-header {
    text-align: center;
    margin-bottom: 4rem;
}

.line-products-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-products-header p {
    font-size: 1.3rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Beneficios de Línea */
.line-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.line-benefits h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-color);
}

.benefit-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Características destacadas para páginas de líneas */
.line-features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.line-features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(214, 38, 61, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 26, 46, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.feature-item {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    border: 1px solid rgba(26, 26, 46, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(214, 38, 61, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all var(--transition-normal);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(214, 38, 61, 0.3);
}

.feature-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    transition: color var(--transition-normal);
}

.feature-item:hover h3 {
    color: var(--secondary-color);
}

.feature-item p {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

/* Contacto de Línea */
.line-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
    color: var(--white);
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.line-contact h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.line-contact p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-buttons .whatsapp-btn,
.contact-buttons .email-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-buttons .whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.contact-buttons .whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.contact-buttons .email-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-buttons .email-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

/* Responsive para páginas de líneas */
@media (max-width: 768px) {
    .line-hero {
        padding: 60px 0;
    }
    
    .line-icon {
        font-size: 4rem;
    }
    
    .line-hero h1 {
        font-size: 2.5rem;
    }
    
    .line-hero p {
        font-size: 1.2rem;
    }
    
    .line-features {
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .line-products-header h2,
    .line-benefits h2,
    .line-contact h2 {
        font-size: 2.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .whatsapp-btn,
    .contact-buttons .email-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* Mejorar tamaño de imágenes de productos en móviles */
    .product-card img {
        height: 280px;
    }
    
    /* Zoom específico para TIPO EMBUDO en móviles */
    .product-card img[src*="CANECA TIPO EMBUDO.webp"] {
        transform: scale(1.15);
    }
    
    /* Zoom específico para FRONTAL INOXIDABLE en móviles */
    .product-card img[src*="FRONTAL INOXIDABLE.webp"] {
        transform: scale(1.25);
    }
    
    /* Zoom específico para MODULO TIPO C en versión móvil */
    .product-card img[src*="MODULO TIPO C.webp"] {
        transform: scale(1.2);
    }
    
    /* Zoom específico para TIPO C INVERTIDO en versión móvil */
    .product-card img[src*="TIPO C INVERTIDO.webp"] {
        transform: scale(1.05);
    }
}

    .maintenance::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 50%, rgba(215, 38, 61, 0.08) 0%, transparent 50%), 
                    radial-gradient(circle at 70% 50%, rgba(26, 26, 46, 0.05) 0%, transparent 50%);
        pointer-events: none;
    }

    .maintenance-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }

    .maintenance-header {
        text-align: center;
        margin-bottom: 80px;
        animation: maintenanceHeaderAppear 1s ease-out;
    }

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

    .maintenance-header h2 {
        font-size: 4rem;
        font-weight: 800;
        color: var(--primary-color);
        margin-bottom: 25px;
        background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 40px rgba(215, 38, 61, 0.2);
        letter-spacing: 2px;
        position: relative;
    }

    .maintenance-header h2::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, #D7263D, #1a1a2e);
        border-radius: 2px;
    }

    .maintenance-header h3 {
        font-size: 2.2rem;
        font-weight: 500;
        color: var(--secondary-color);
        margin-bottom: 15px;
        line-height: 1.3;
    }

    .maintenance-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
        animation: maintenanceContentAppear 1.2s ease-out 0.3s;
        animation-fill-mode: both;
    }

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

    .maintenance-text {
        padding: 50px;
        background: var(--white);
        border-radius: 25px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
        border-left: 6px solid var(--secondary-color);
        position: relative;
        overflow: hidden;
    }

    .maintenance-text::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        height: 200px;
        background: linear-gradient(135deg, rgba(215, 38, 61, 0.05) 0%, transparent 70%);
        border-radius: 50%;
        transform: translate(50%, -50%);
    }

    .maintenance-text p {
        font-size: 1.3rem;
        line-height: 1.8;
        color: var(--text-color);
        margin: 0;
        position: relative;
        z-index: 2;
        font-weight: 400;
    }

    .maintenance-images {
        display: flex;
        justify-content: center;
        animation: maintenanceImagesAppear 1.2s ease-out 0.6s;
        animation-fill-mode: both;
    }

    @keyframes maintenanceImagesAppear {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .image-comparison {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        width: 100%;
    }

    .image-item {
        text-align: center;
        background: var(--white);
        border-radius: 20px;
        padding: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }

    .image-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(215, 38, 61, 0.02) 0%, rgba(26, 26, 46, 0.02) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .image-item:hover::before {
        opacity: 1;
    }

    .image-item:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }

    .maintenance-img {
        width: 100%;
        height: 320px;
        object-fit: cover;
        border-radius: 15px;
.maintenance {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.maintenance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(215, 38, 61, 0.08) 0%, transparent 50%), 
                radial-gradient(circle at 70% 50%, rgba(26, 26, 46, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.maintenance-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.maintenance-header {
    text-align: center;
    margin-bottom: 80px;
    animation: maintenanceHeaderAppear 1s ease-out;
}

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

.maintenance-header h2 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1a1a2e 0%, #D7263D 50%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(215, 38, 61, 0.2);
    letter-spacing: 2px;
    position: relative;
}

.maintenance-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #D7263D, #1a1a2e);
    border-radius: 2px;
}

.maintenance-header h3 {
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.maintenance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    animation: maintenanceContentAppear 1.2s ease-out 0.3s;
    animation-fill-mode: both;
}

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

.maintenance-text {
    padding: 50px;
    background: var(--white);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.maintenance-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(215, 38, 61, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.maintenance-text p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

.maintenance-images {
    display: flex;
    justify-content: center;
    animation: maintenanceImagesAppear 1.2s ease-out 0.6s;
    animation-fill-mode: both;
}

@keyframes maintenanceImagesAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.image-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.image-item {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.image-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(215, 38, 61, 0.02) 0%, rgba(26, 26, 46, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-item:hover::before {
    opacity: 1;
}

.image-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.maintenance-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.image-item:hover .maintenance-img {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.image-item h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Responsive para la sección de mantenimiento */
@media (max-width: 968px) {
    .maintenance-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .maintenance-header h2 {
        font-size: 2.8rem;
    }
    
    .maintenance-header h3 {
        font-size: 1.6rem;
    }
    
    .image-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .maintenance-text {
        padding: 30px;
    }
    
    .maintenance-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .maintenance {
        padding: 60px 0;
    }
    
    .maintenance-header h2 {
        font-size: 2.2rem;
    }
    
    .maintenance-header h3 {
        font-size: 1.3rem;
    }
    
    .maintenance-text {
        padding: 20px;
    }
    
    .maintenance-text p {
        font-size: 1rem;
    }
    
    .maintenance-img {
        height: 200px;
    }
}

/* Contacto */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(214, 38, 61, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact h2 {
    position: relative;
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.location-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(214, 38, 61, 0.2);
}

.location-info i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #D7263D 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.location-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.location-info p {
    color: var(--dark-gray);
    margin-bottom: 0.3rem;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.shipping-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(214, 38, 61, 0.2);
}

.shipping-info i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #D7263D 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shipping-info p {
    color: var(--dark-gray);
    font-weight: 500;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.whatsapp-btn, .instagram-btn, .phone-btn, .email-btn {
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.instagram-btn {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.phone-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.email-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.whatsapp-btn:hover, .instagram-btn:hover, .phone-btn:hover, .email-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(215, 38, 61, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 46, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background: var(--white);
    margin: 5% auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 1000px;
    border-radius: 25px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.close-modal:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(90deg);
}

/* Estilos para las tarjetas de productos */
.product-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Zoom específico para CORAZON */
.product-card.producto-corazon img {
    height: 550px !important;
    max-height: 550px !important;
    transform: scale(1.3);
    object-fit: contain;
}

.product-card h3 {
    color: var(--primary-color);
    margin: 1rem 0;
    font-size: 1.3rem;
}

.product-card p.product-line {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-card button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card button:hover {
    background-color: #A31621;
}

/* Estilos para el modal de productos */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.modal-product-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.modal-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

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

.modal-product-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-line {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.product-specs {
    margin-top: 2rem;
}

.product-specs h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-specs ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.product-specs li {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-specs li:before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

/* ===== Página de detalle de producto (producto.html) ===== */
.product-detail-page {
    padding: 2rem 2rem 5rem;
    min-height: 70vh;
}

.product-detail-section {
    max-width: 1100px;
    margin: 0 auto;
}

/* Header del producto - nombre destacado */
.product-detail-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.product-detail-line {
    display: inline-block;
    background: linear-gradient(135deg, rgba(214, 38, 61, 0.15) 0%, rgba(102, 126, 234, 0.15) 100%);
    color: var(--secondary-color);
    padding: 0.35rem 1.2rem;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.product-detail-name {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.02em;
}

.product-detail-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Imagen principal del producto - más grande */
.product-detail-image {
    width: 360px;
    flex-shrink: 0;
    padding: 2rem;
    background: linear-gradient(145deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.product-detail-image img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    display: block;
}


.product-detail-info .product-description {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--dark-gray);
}

.product-detail-info .product-specs {
    background: var(--light-gray);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-top: 1.5rem;
}

.product-detail-info .product-specs h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.product-detail-info .product-specs li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-detail-info .product-specs li:last-child {
    border-bottom: none;
}

.product-detail-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.product-detail-buttons .volver-btn {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 100%);
}

.product-detail-buttons .volver-btn:hover {
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
}

/* Otros productos de la misma línea */
.otros-productos-linea {
    display: none; /* JS lo muestra si hay productos */
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.otros-productos-titulo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.otros-productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.otro-producto-card {
    display: block;
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.otro-producto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(214, 38, 61, 0.3);
}

.otro-producto-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.otro-producto-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.otro-producto-ver {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .product-detail-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }

    .product-detail-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .product-detail-image img {
        max-height: 300px;
    }

    .product-detail-name {
        font-size: 1.75rem;
    }

    .otros-productos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Botones de Ver Productos en las tarjetas */
.ver-productos {
    background: linear-gradient(135deg, #D7263D 0%, #A31621 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(215, 38, 61, 0.3);
}

.ver-productos::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ver-productos:hover::before {
    width: 300px;
    height: 300px;
}

.ver-productos:hover {
    background: linear-gradient(135deg, #A31621 0%, #D7263D 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(215, 38, 61, 0.5);
}

/* Botones de filtrado */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1rem;
}

.filter-btn {
    background: var(--white);
    color: var(--text-color);
    border: 2px solid var(--light-gray);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D7263D 0%, #A31621 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover {
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215, 38, 61, 0.3);
}

.filter-btn.active {
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(215, 38, 61, 0.4);
}

/* Animación para productos */
.product-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .modal-product {
        grid-template-columns: 1fr; /* Una sola columna para apilar */
        flex-direction: column; /* Apilar elementos verticalmente */
    }
}

/* Carrito de Consultas */
.carrito {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.carrito.active {
    right: 0;
}

.carrito-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #667eea 100%);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-carrito {
    font-size: 1.5rem;
    cursor: pointer;
}

.carrito-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}

.carrito-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.carrito-item:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

.carrito-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.carrito-item-info {
    flex-grow: 1;
}

.eliminar-item {
    color: #ff4444;
    cursor: pointer;
    padding: 0.5rem;
}

.carrito-footer {
    padding: 1rem;
    background-color: var(--light-gray);
}

.carrito-total {
    margin-bottom: 1rem;
    font-weight: 500;
}

.consultar-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #D7263D 0%, #A31621 100%);
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(215, 38, 61, 0.3);
    position: relative;
    overflow: hidden;
}

.consultar-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.consultar-btn:hover::before {
    width: 300px;
    height: 300px;
}

.consultar-btn:hover {
    background: linear-gradient(135deg, #A31621 0%, #D7263D 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 38, 61, 0.5);
}

/* Botón flotante del carrito */
.carrito-flotante {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D7263D 0%, #A31621 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(215, 38, 61, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    animation: bounceIn 0.6s ease 0.5s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.carrito-flotante:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 25px rgba(215, 38, 61, 0.6);
}

#carrito-contador {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botón Agregar a Consulta en Modal */
.modal-footer {
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-top: 1rem;
}

.agregar-consulta-btn {
    background: linear-gradient(135deg, #D7263D 0%, #A31621 100%);
    color: var(--white);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(215, 38, 61, 0.3);
}

.agregar-consulta-btn::before {
    content: '+';
    margin-right: 0.5rem;
    font-size: 1.3rem;
    font-weight: bold;
}

.agregar-consulta-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.agregar-consulta-btn:hover::after {
    width: 300px;
    height: 300px;
}

.agregar-consulta-btn:hover {
    background: linear-gradient(135deg, #A31621 0%, #D7263D 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(215, 38, 61, 0.5);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .carrito {
        width: 100%;
        right: -100%;
    }
}

/* Botones flotantes de redes sociales */
.social-floating {
    position: fixed;
    bottom: 30px;
    right: 100px; /* Ajustado para no solapar con el carrito */
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.95;
}

.floating-btn:hover {
    transform: translateY(-8px) scale(1.1);
    opacity: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float {
    background-color: #25D366;
}

.instagram-float {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

/* Animación de entrada */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.floating-btn {
    animation: floatIn 0.5s ease forwards;
}

.whatsapp-float {
    animation-delay: 0.2s;
}

.instagram-float {
    animation-delay: 0.4s;
}

/* Ajuste del botón del carrito para mantener consistencia */
.carrito-flotante {
    right: 30px;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .social-floating {
        right: 80px;
        bottom: 25px;
        gap: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Banner de envíos - Super Mejorado */
.shipping-banner {
    background: linear-gradient(135deg, 
        rgba(215, 38, 61, 0.95) 0%, 
        rgba(163, 22, 33, 0.9) 50%, 
        rgba(215, 38, 61, 0.95) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(215, 38, 61, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: bannerSlideDown 1s ease-out, bannerGlow 4s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

@keyframes bannerSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.shipping-banner i {
    font-size: 1.2rem;
}

.shipping-banner p {
    margin: 0;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .shipping-banner {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .shipping-banner i {
        font-size: 1rem;
    }
} 


/* Espaciado entre secciones - Mejorado */
.page-section {
    min-height: 100vh;
    display: none;
    padding: 0;
}

.page-section.active {
    display: block;
}

/* Asegurar que el home se muestre correctamente */
.page-section#home-page-content.active {
    display: block;
    min-height: auto;
}

.page-section#home-page-content {
    min-height: auto;
}

/* Espaciado adicional para secciones */
.hero + .product-lines {
    margin-top: 0;
}

.product-lines + .about {
    margin-top: 0;
}

.about + .maintenance {
    margin-top: 0;
}

/* Reducir altura mínima para mejor flujo */
.page-section#home-page-content {
    min-height: auto;
}

/* Asegurar que el banner de envíos esté siempre visible */
.shipping-banner {
    position: sticky;
    top: 0;
    z-index: 1000; /* Asegura que esté sobre otros elementos */
    background-color: var(--secondary-color); /* Cambiado a rojo */
    padding: 10px 0;
    text-align: center;
    font-size: 0.9em;
    color: var(--white); /* Asegurar que el texto sea blanco para contraste */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
}

.shipping-banner i {
    color: var(--white); /* Cambiar el icono a blanco para contraste */
} 

/* Ajustes para el botón flotante del carrito y redes sociales en móvil */
@media (max-width: 768px) {
    .social-floating {
        right: 15px; /* Ajustar posición para evitar solapamiento */
        bottom: 80px; /* Mover arriba para que el carrito flotante no lo oculte */
    }

    .carrito-flotante {
        right: 15px;
        bottom: 15px;
    }

    /* Ajustes del menú de navegación en móvil */
    .main-nav ul {
        gap: 15px;
        padding: 0 1rem;
    }

    .main-nav a {
        font-size: 0.95em;
        padding: 6px 0;
    }

    .maintenance-info {
        padding: 2rem 1.5rem;
    }

    .maintenance-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .main-nav a {
        font-size: 0.9em;
    }
} 

/* Header Principal con Logo R3CLEV */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(215, 38, 61, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
}

.logo-container {
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
    height: 90px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: 
        drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25))
        brightness(1.1)
        contrast(1.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

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

.main-nav {
    flex: 1;
    margin-left: 3rem;
}

.main-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.main-nav a:hover::before {
    width: 80%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary-color);
    background: rgba(215, 38, 61, 0.1);
}

/* Responsive para todo en formato cuadrado 2x2 */
@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .line-card,
    .about-content > div,
    .product-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .line-card,
    .about-content > div {
        padding: 2rem 1.5rem;
    }
}

/* Footer - Simplificado y Funcional */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d3436 50%, #1a1a2e 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section {
    text-align: left;
    padding: 0;
    transition: all 0.3s ease;
}

.footer-section h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    font-size: 0.85rem;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
}

.spec-item {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.spec-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.spec-item h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spec-item h3 i {
    font-size: 2rem;
    filter: drop-shadow(0 0 20px rgba(215, 38, 61, 0.3));
}

.spec-item ul {
    list-style: none;
    padding: 0;
}

.spec-item li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(215, 38, 61, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.spec-item li:hover {
    background: rgba(215, 38, 61, 0.1);
    transform: translateX(5px);
}

.spec-item li strong {
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

/* Sección de cotización */
.cotization-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.cotization-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cotization-container h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.cotization-container p {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cotization-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(215, 38, 61, 0.2);
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cotizar-btn {
    background: linear-gradient(135deg, #D7263D 0%, #A31621 100%);
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(215, 38, 61, 0.3);
}

.cotizar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(215, 38, 61, 0.4);
}

.whatsapp-cotizar-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-cotizar-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

/* Botones de navegación en páginas de productos */
.navigation-buttons {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.nav-buttons-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.back-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.3);
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 117, 125, 0.4);
}

.contact-btn {
    background: linear-gradient(135deg, #D7263D 0%, #A31621 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(215, 38, 61, 0.3);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(215, 38, 61, 0.4);
}

/* =====================================================
   MEJORAS ADICIONALES PARA MÓVILES
   ===================================================== */

/* Móviles grandes (481px - 767px) */
@media (max-width: 767px) {
    .main-header {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .main-nav {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .main-nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .shipping-banner {
        font-size: 11px;
        padding: 5px 0;
    }
    
    .shipping-banner p {
        margin: 0;
        font-size: 10px;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .main-header {
        padding: 0.3rem 0;
    }
    
    .header-content {
        padding: 0.6rem 0.8rem;
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .main-nav {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        gap: 0.4rem;
        justify-content: center;
    }
    
    .main-nav a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .shipping-banner {
        font-size: 10px;
        padding: 4px 0;
    }
    
    .shipping-banner p {
        margin: 0;
        font-size: 9px;
    }
    
    /* Hero más compacto en móviles pequeños */
    .line-hero {
        padding: 30px 10px;
        min-height: 40vh;
    }
    
    .line-hero-content {
        padding: 0 10px;
    }
    
    .line-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .line-hero p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .line-icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    /* Features más compactos */
    .line-features {
        flex-wrap: wrap;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .feature {
        padding: 0.8rem;
        min-width: calc(50% - 0.4rem);
        gap: 0.3rem;
    }
    
    .feature i {
        font-size: 1.2rem;
    }
    
    .feature span {
        font-size: 0.75rem;
    }
    
    /* Cards más compactas */
    .line-cards {
        padding: 30px 10px;
    }
    
    .line-cards-header h2 {
        font-size: 1.5rem;
    }
    
    .line-cards-header p {
        font-size: 0.9rem;
    }
    
    .line-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .line-card {
        padding: 1.5rem;
    }
    
    .line-card i {
        font-size: 2rem;
    }
    
    .line-card h3 {
        font-size: 1.1rem;
    }
    
    .line-card p {
        font-size: 0.85rem;
    }
    
    /* Productos en grid de 1 columna */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-card img {
        height: 180px;
    }
    
    .product-card h3 {
        font-size: 1rem;
    }
    
    /* Footer más compacto */
    .main-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
    }
}

/* Touch targets más grandes para móviles */
@media (hover: none) and (pointer: coarse) {
    .main-nav a,
    .line-card,
    .product-card,
    .benefit-card,
    .footer-section a,
    button,
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}