:root {
    --primary-red: #dc2626;
    --primary-orange: #f97316;
    --primary-yellow: #fbbf24;
    --primary-black: #1f2937;
    --primary-gray: #6b7280;
    --light-gray: #f9fafb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
}

/* Header y Navegación mejorado */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
    padding: 0.75rem 0;
    border-bottom: 3px solid #dc2626;
    min-height: 70px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 60px;
    line-height: 1;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 12px !important;
    transition: all 0.3s ease;
    border-radius: 5px;
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-orange) !important;
    background-color: rgba(220, 38, 38, 0.1);
}

.nav-link.active {
    color: var(--primary-orange) !important;
    background-color: rgba(220, 38, 38, 0.15);
}

/* Alineación perfecta del navbar */
.navbar-nav {
    align-items: center;
    height: 50px;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-collapse {
    align-items: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('bomberosfondo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: heroImageZoom 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(220, 38, 38, 0.3) 30%, 
        rgba(249, 115, 22, 0.2) 60%, 
        rgba(0, 0, 0, 0.6) 100%);
    animation: overlayPulse 8s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    animation: heroParticleFloat 12s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 0 0 20px var(--primary-orange);
}

.particle-2 {
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-yellow));
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    box-shadow: 0 0 25px var(--primary-red);
}

.particle-3 {
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-orange));
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    box-shadow: 0 0 15px var(--primary-yellow);
}

.particle-4 {
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    top: 40%;
    right: 25%;
    animation-delay: 6s;
    box-shadow: 0 0 18px var(--primary-orange);
}

.particle-5 {
    width: 7px;
    height: 7px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-yellow));
    bottom: 20%;
    right: 30%;
    animation-delay: 8s;
    box-shadow: 0 0 16px var(--primary-red);
}

.particle-6 {
    width: 9px;
    height: 9px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-orange));
    top: 80%;
    left: 40%;
    animation-delay: 10s;
    box-shadow: 0 0 22px var(--primary-yellow);
}

.hero-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.light-beam {
    position: absolute;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: lightSweep 6s ease-in-out infinite;
}

.light-1 {
    width: 200px;
    height: 2px;
    top: 25%;
    left: -200px;
    animation-delay: 0s;
    transform: rotate(15deg);
}

.light-2 {
    width: 150px;
    height: 2px;
    top: 60%;
    right: -150px;
    animation-delay: 2s;
    transform: rotate(-15deg);
}

.light-3 {
    width: 180px;
    height: 2px;
    bottom: 30%;
    left: -180px;
    animation-delay: 4s;
    transform: rotate(25deg);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: contentGlow 4s ease-in-out infinite alternate;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(220, 38, 38, 0.4),
        0 0 60px rgba(251, 191, 36, 0.3);
    background: linear-gradient(45deg, #fff, var(--primary-yellow), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-title::before {
    content: 'Soluciones Integrales en Seguridad y Rescate';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(0, 0, 0, 0.7);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    z-index: -1;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    -webkit-background-clip: initial;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(220, 38, 38, 0.3);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.95), rgba(251, 191, 36, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: subtitleFloat 4s ease-in-out infinite;
}

.hero-subtitle::before {
    content: 'Protegemos vidas y bienes con equipos de alta calidad';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 1);
    z-index: -1;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    -webkit-background-clip: initial;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: buttonPulse 2s ease-in-out infinite;
}

.hero-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.6);
    background: linear-gradient(45deg, var(--primary-red), var(--primary-orange));
}

.hero-btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Secciones */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-black);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border-radius: 2px;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: white !important;
}

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

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

/* Productos */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background-color: white !important;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image {
    height: 280px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gray);
    font-size: 3rem;
    overflow: hidden;
    position: relative;
    border-radius: 10px 10px 0 0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    transform: scale(0.85);
    transform-origin: center;
}

.product-img:hover {
    transform: scale(0.88);
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

/* Contenedor mejorado para imágenes de productos */
.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

.product-img {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 90%;
}

/* Estilos específicos para diferentes tipos de productos */
.product-card:nth-child(1) .product-img {
    transform: scale(0.80);
    object-fit: contain;
    object-position: center;
}

.product-card:nth-child(2) .product-img {
    transform: scale(0.80);
    object-fit: contain;
    object-position: center;
}

.product-card:nth-child(3) .product-img {
    transform: scale(0.75);
    object-fit: contain;
    object-position: center;
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.product-card:nth-child(4) .product-img {
    transform: scale(0.80);
    object-fit: contain;
    object-position: center;
    filter: brightness(1.05) contrast(1.1) saturate(1.15);
}

.product-card:nth-child(5) .product-img {
    transform: scale(0.75);
    object-fit: contain;
    object-position: center;
    filter: brightness(1.08) contrast(1.12) saturate(1.18);
}

.product-card:nth-child(6) .product-img {
    transform: scale(0.80);
    object-fit: contain;
    object-position: center;
    filter: brightness(1.05) contrast(1.1) saturate(1.15);
}

.product-card:nth-child(7) .product-img {
    transform: scale(0.75);
    object-fit: contain;
    object-position: center;
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
}

.product-card:nth-child(8) .product-img {
    transform: scale(0.80);
    object-fit: contain;
    object-position: center;
    filter: brightness(1.05) contrast(1.1) saturate(1.15);
}

/* Hover effects ajustados para cada producto */
.product-card:nth-child(1):hover .product-img {
    transform: scale(0.83);
}

.product-card:nth-child(2):hover .product-img {
    transform: scale(0.83);
}

.product-card:nth-child(3):hover .product-img {
    transform: scale(0.78);
}

.product-card:nth-child(4):hover .product-img {
    transform: scale(0.83);
}

.product-card:nth-child(5):hover .product-img {
    transform: scale(0.78);
}

.product-card:nth-child(6):hover .product-img {
    transform: scale(0.83);
}

.product-card:nth-child(7):hover .product-img {
    transform: scale(0.78);
}

.product-card:nth-child(8):hover .product-img {
    transform: scale(0.83);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

/* Testimonios Mejorados */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        var(--light-gray) 0%, 
        #ffffff 50%, 
        var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="%23dc2626" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 15px;
    position: relative;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border-radius: 2px;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    color: var(--primary-gray);
    margin-bottom: 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.2);
}

.testimonial-quote {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.quote-icon {
    font-size: 1.5rem;
    color: white;
}

.testimonial-content {
    flex-grow: 1;
    margin-top: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.author-info {
    text-align: center;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 5px;
}

.author-position {
    color: var(--primary-gray);
    font-size: 0.9rem;
}

.author-rating {
    display: flex;
    gap: 3px;
}

.author-rating i {
    color: var(--primary-yellow);
    font-size: 0.9rem;
    animation: starTwinkle 2s ease-in-out infinite;
}

.author-rating i:nth-child(1) { animation-delay: 0s; }
.author-rating i:nth-child(2) { animation-delay: 0.2s; }
.author-rating i:nth-child(3) { animation-delay: 0.4s; }
.author-rating i:nth-child(4) { animation-delay: 0.6s; }
.author-rating i:nth-child(5) { animation-delay: 0.8s; }

@keyframes starTwinkle {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* FAQ */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: var(--light-gray);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: #e5e7eb;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

/* Contacto */
.contact-info {
    background: linear-gradient(135deg, var(--primary-black), #374151);
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

/* Footer mejorado */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 50px 0 20px;
    border-top: 3px solid #dc2626;
}

/* Logo en footer mejorado */
.footer .logo-img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 8px;
    backdrop-filter: blur(10px);
    height: 50px;
}

.footer .logo-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(220, 38, 38, 0.5));
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.footer h5 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-orange);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-particles .particle-4,
    .hero-particles .particle-5,
    .hero-particles .particle-6 {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    
    .hero-content {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-particles .particle-2,
    .hero-particles .particle-3 {
        display: none;
    }
    
    .light-beam {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-particles {
        display: none;
    }
}

/* Responsive General */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-img {
        image-rendering: auto;
    }
    
    /* Grid de productos responsivo */
    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1.5rem;
    }
    
    .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Productos en 2 columnas en tablet */
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-card .card-body {
        padding: 1.25rem;
    }
    
    .product-card .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .product-card .card-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .product-price {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    /* Mejoras para móviles */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-lg-3, .col-lg-4, .col-lg-6, .col-md-6 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Botones más grandes en móvil */
    .btn {
        padding: 12px 20px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .btn-lg {
        padding: 15px 25px;
        font-size: 1.1rem;
        min-height: 52px;
    }
    
    /* Cards más espaciadas */
    .card {
        margin-bottom: 20px;
    }
    
    /* Texto más legible */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 220px;
    }
    
    .product-img {
        filter: brightness(1.02) contrast(1.05);
    }
    
    /* Productos en 1 columna en móvil */
    .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Productos más compactos en móvil */
    .product-card {
        margin-bottom: 1rem;
    }
    
    .product-card .card-body {
        padding: 1rem;
    }
    
    .product-card .card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-card .card-text {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .product-price {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    /* Botones de productos más grandes */
    .product-card .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Ajustes para pantallas muy pequeñas */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Botones de ancho completo en móvil */
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
    
    /* Espaciado reducido */
    .mb-4, .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-4, .mt-5 {
        margin-top: 1.5rem !important;
    }
    
    /* Texto más pequeño pero legible */
    .lead {
        font-size: 1.1rem;
    }
    
    /* Cards más compactas */
    .card-body {
        padding: 1.25rem;
    }
    
    /* Formularios más grandes */
    .form-control {
        padding: 12px 15px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .form-label {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

/* Mejoras para tablets */
@media (max-width: 992px) and (min-width: 769px) {
    .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Mejoras para pantallas muy grandes */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .section {
        padding: 100px 0;
    }
}

/* Footer responsivo */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer .row {
        text-align: center;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    .footer h5 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer ul {
        text-align: center;
    }
    
    .footer ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer .d-flex {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .footer ul li a {
        font-size: 0.9rem;
    }
    
    .footer .d-flex.gap-3 {
        gap: 1rem !important;
    }
    
    .footer .d-flex.gap-3 a {
        font-size: 1.2rem;
    }
}

/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mejoras adicionales para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    /* Desactivar hover en dispositivos táctiles */
    .card:hover,
    .product-card:hover,
    .btn:hover {
        transform: none;
        box-shadow: initial;
    }
    
    /* Botones más grandes para touch */
    .btn {
        min-height: 48px;
        padding: 12px 20px;
    }
    
    .btn-lg {
        min-height: 52px;
        padding: 15px 25px;
    }
    
    /* Links más grandes */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Mejoras para orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Mejoras para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .product-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Logo styles mejorados */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 10px;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0;
    background: transparent !important;
    border: none !important;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(220, 38, 38, 0.6));
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

/* Fondo sutil para el logo - REMOVIDO */

/* Responsive logo y navegación */
@media (max-width: 768px) {
    .logo-img {
        height: 55px;
        padding: 8px;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar {
        min-height: 60px;
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 8px 12px !important;
        margin: 0 4px;
        font-size: 0.95rem;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-nav {
        height: auto;
        padding-top: 10px;
        text-align: center;
    }
    
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        border-radius: 10px;
        margin-top: 10px;
        padding: 15px;
    }
    
    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        padding: 8px 12px;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
    }
}

@media (max-width: 576px) {
    .logo-img {
        height: 50px;
        padding: 7px;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar {
        min-height: 55px;
        padding: 0.4rem 0;
    }
    
    .nav-link {
        padding: 10px 15px !important;
        margin: 2px 0;
        font-size: 1rem;
        height: 45px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-nav {
        width: 100%;
    }
    
    .navbar-collapse {
        margin-top: 15px;
        padding: 20px;
    }
    
    /* Botón del carrito en móvil */
    .navbar .btn-outline-light {
        width: 100%;
        margin: 10px 0;
        padding: 12px;
        font-size: 1rem;
    }
}

/* Color strip mejorada para mejor contraste con el logo */
.color-strip {
    height: 12px;
    background: linear-gradient(90deg, 
        #2d2d2d 0%, 
        #1a1a1a 8%, 
        #dc2626 20%, 
        #ff6b35 35%, 
        #f7931e 50%, 
        #ff6b35 65%, 
        #dc2626 80%, 
        #1a1a1a 92%, 
        #2d2d2d 100%);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    border-bottom: 2px solid #dc2626;
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo en la tira de colores */
.color-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.2) 50%, 
        transparent 100%);
    animation: shine 3s infinite;
}

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

/* Carrito flotante */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border: none;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.6);
    color: white;
}

.floating-cart .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-yellow) !important;
    color: var(--primary-black) !important;
    font-weight: bold;
    font-size: 0.8rem;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Botón del carrito en navbar mejorado */
.navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin-left: 15px;
}

.navbar .btn-outline-light:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.navbar .btn-outline-light .badge {
    animation: pulse 2s infinite;
}

/* Alineación perfecta del botón del carrito */
.navbar .btn-outline-light i {
    font-size: 1rem;
    margin-right: 5px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive para carrito flotante */
@media (max-width: 768px) {
    .floating-cart {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-cart .badge {
        font-size: 0.7rem;
        min-width: 18px;
        height: 18px;
    }
    
    .navbar .btn-outline-light {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Quiénes Somos Section */
.quienes-somos-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        var(--primary-black) 0%, 
        #374151 50%, 
        var(--primary-red) 100%);
    position: relative;
    overflow: hidden;
}

.quienes-somos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(220, 38, 38, 0.1) 0%, 
        rgba(249, 115, 22, 0.1) 50%, 
        rgba(220, 38, 38, 0.1) 100%);
    z-index: 1;
}

.quienes-somos-section .container {
    position: relative;
    z-index: 2;
}

.quienes-somos-content {
    color: white;
    padding: 40px 0;
    animation: slideInLeft 1s ease-out;
}

.quienes-somos-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quienes-somos-text {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 500;
    opacity: 0.95;
}

.quienes-somos-description {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.7;
}

.quienes-somos-btn {
    background: linear-gradient(45deg, #fff, #fbbf24);
    color: var(--primary-black);
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quienes-somos-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    color: var(--primary-black);
    background: linear-gradient(45deg, #fbbf24, #fff);
}

.quienes-somos-image {
    padding: 40px 0;
    animation: slideInRight 1s ease-out;
}

.image-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quienes-somos-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

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

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(251, 191, 36, 0.4));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.4), rgba(251, 191, 36, 0.5));
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    background: linear-gradient(45deg, rgba(251, 191, 36, 0.4), rgba(255, 255, 255, 0.3));
}

.element-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(220, 38, 38, 0.3));
}

/* Animaciones */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Nuevas animaciones avanzadas para contacto */
@keyframes containerFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-3px) rotate(-0.3deg);
    }
    75% {
        transform: translateY(-7px) rotate(0.2deg);
    }
}

@keyframes borderGlow {
    0% {
        opacity: 0.6;
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.8;
        filter: hue-rotate(180deg);
    }
    100% {
        opacity: 0.6;
        filter: hue-rotate(360deg);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-15px) translateX(10px) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px) translateX(-5px) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) translateX(8px) scale(1.05);
        opacity: 0.9;
    }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes overlayPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-8px) scale(1.1);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
    }
    75% {
        transform: translateY(-10px) scale(1.08);
    }
}

/* Animaciones avanzadas para Hero */
@keyframes heroImageZoom {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) contrast(1.1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.1) contrast(1.2);
    }
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 0.8;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.7) 0%, 
            rgba(220, 38, 38, 0.3) 30%, 
            rgba(249, 115, 22, 0.2) 60%, 
            rgba(0, 0, 0, 0.6) 100%);
    }
    50% {
        opacity: 0.9;
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.6) 0%, 
            rgba(220, 38, 38, 0.4) 30%, 
            rgba(249, 115, 22, 0.3) 60%, 
            rgba(0, 0, 0, 0.5) 100%);
    }
}

@keyframes heroParticleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) translateX(15px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-10px) scale(0.9);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-25px) translateX(12px) scale(1.1);
        opacity: 0.95;
    }
}

@keyframes lightSweep {
    0% {
        transform: translateX(-200px) rotate(15deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) rotate(15deg);
        opacity: 0;
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
        filter: brightness(1);
    }
    100% {
        text-shadow: 0 0 40px rgba(251, 191, 36, 0.8), 0 0 60px rgba(220, 38, 38, 0.6);
        filter: brightness(1.1);
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.95;
    }
    50% {
        transform: translateY(-5px);
        opacity: 1;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 30px rgba(220, 38, 38, 0.6);
    }
}

@keyframes contentGlow {
    0% {
        background: rgba(0, 0, 0, 0.3);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        background: rgba(0, 0, 0, 0.4);
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 30px rgba(220, 38, 38, 0.2);
    }
}

/* Responsive para Quiénes Somos */
@media (max-width: 992px) {
    .quienes-somos-title {
        font-size: 3rem;
    }
    
    .image-container {
        height: 350px;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .quienes-somos-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .quienes-somos-title {
        font-size: 2.5rem;
    }
    
    .quienes-somos-text {
        font-size: 1.2rem;
    }
    
    .quienes-somos-description {
        font-size: 1rem;
    }
    
    .image-container {
        height: 300px;
    }
    
    .floating-element {
        display: none;
    }
}

@media (max-width: 576px) {
    .quienes-somos-title {
        font-size: 2rem;
    }
    
    .quienes-somos-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .image-container {
        height: 250px;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, 
        var(--light-gray) 0%, 
        #ffffff 50%, 
        var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(220, 38, 38, 0.05) 0%, 
        rgba(249, 115, 22, 0.05) 50%, 
        rgba(220, 38, 38, 0.05) 100%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-image {
    padding: 40px 0;
    animation: slideInLeft 1s ease-out;
}

.contact-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(249, 115, 22, 0.1) 50%, 
        rgba(220, 38, 38, 0.1) 100%);
    border-radius: 25px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 3px solid transparent;
    background-clip: padding-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: containerFloat 6s ease-in-out infinite;
}

.contact-image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-orange), 
        var(--primary-red), 
        var(--primary-yellow), 
        var(--primary-orange));
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.contact-image-container:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(220, 38, 38, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.image-wrapper {
    position: relative;
    width: 90%;
    height: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.8) 0%, 
        rgba(249, 115, 22, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-wrapper:hover .contact-img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.3) contrast(1.2) saturate(1.4);
}

.overlay-content {
    text-align: center;
    color: white;
    animation: overlayPulse 2s ease-in-out infinite;
}

.overlay-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
    animation: iconBounce 1.5s ease-in-out infinite;
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    width: 6px;
    height: 6px;
}

.particle-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
    width: 10px;
    height: 10px;
    background: linear-gradient(45deg, var(--primary-yellow), var(--primary-orange));
}

.particle-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 3s;
    width: 7px;
    height: 7px;
}

.particle-4 {
    top: 40%;
    right: 15%;
    animation-delay: 4.5s;
    width: 9px;
    height: 9px;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-yellow));
}

.particle-5 {
    bottom: 20%;
    right: 35%;
    animation-delay: 6s;
    width: 5px;
    height: 5px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(220, 38, 38, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 3s ease-out infinite;
    z-index: 2;
}

.pulse-ring-2 {
    animation-delay: 1.5s;
    border-color: rgba(249, 115, 22, 0.3);
    width: 120px;
    height: 120px;
}

.contact-content {
    color: var(--primary-black);
    padding: 40px 0;
    animation: slideInRight 1s ease-out;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-black);
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    border-radius: 2px;
}

.contact-text {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 500;
    color: var(--primary-gray);
}

.contact-description {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: var(--primary-gray);
    line-height: 1.7;
}

.contact-btn {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-red));
    color: white;
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    color: white;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-orange));
}

/* Responsive para Contact Section */
@media (max-width: 992px) {
    .contact-title {
        font-size: 3rem;
    }
    
    .contact-image-container {
        height: 350px;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-text {
        font-size: 1.2rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-image-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .contact-image-container {
        height: 250px;
    }
}

/* Page specific styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-black) 0%, #374151 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--primary-orange);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-gray);
}

/* Estilos para la sección de catálogo PDF */
.catalog-content {
    animation: fadeInUp 0.8s ease-out;
}

.catalog-features .d-flex {
    transition: all 0.3s ease;
}

.catalog-features .d-flex:hover {
    transform: translateX(5px);
}

.catalog-actions .btn {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.catalog-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.pdf-icon-container {
    position: relative;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.pdf-icon {
    font-size: 5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    position: relative;
    z-index: 2;
}

.pdf-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.pdf-viewer-container {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive para la sección de catálogo */
@media (max-width: 768px) {
    .catalog-content h2 {
        font-size: 2rem;
    }
    
    .catalog-content .lead {
        font-size: 1rem;
    }
    
    .catalog-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .pdf-icon {
        font-size: 3.5rem;
    }
    
    .pdf-glow {
        width: 80px;
        height: 80px;
    }
}

/* Estilos específicos para la página de nosotros */
.nosotros-page .hero-title::before {
    content: 'Nosotros';
}

.nosotros-page .hero-subtitle::before {
    content: 'Conoce nuestra historia, misión y compromiso con la seguridad';
}

/* Estilos específicos para la página de productos */
.productos-page .hero-title::before {
    content: 'Catálogo de Productos';
}

.productos-page .hero-subtitle::before {
    content: 'Equipos de seguridad y rescate de alta calidad para proteger vidas y bienes';
}

/* Estilos específicos para la página de FAQ */
.faq-page .hero-title::before {
    content: 'Preguntas Frecuentes';
}

.faq-page .hero-subtitle::before {
    content: 'Encuentra respuestas a las preguntas más comunes sobre nuestros productos y servicios';
}

/* Estilos específicos para la página de contacto */
.contacto-page .hero-title::before {
    content: 'Contacto';
}

.contacto-page .hero-subtitle::before {
    content: 'Estamos aquí para ayudarte. Contáctanos para una cotización personalizada';
}

/* Estilos para la sección de historia */
.historia-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.historia-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(220, 53, 69, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.historia-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.historia-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
}

.historia-particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.historia-particle-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2.5s;
}

.historia-particle-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 5s;
}

.historia-light-beam {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: lightSweep 6s ease-in-out infinite;
}

.historia-light-1 {
    top: 25%;
    left: 40%;
    animation-delay: 1s;
}

.historia-light-2 {
    top: 65%;
    right: 35%;
    animation-delay: 3.5s;
}

.historia-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    animation: float 8s ease-in-out infinite;
}

.historia-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.historia-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.historia-circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

.historia-content {
    animation: fadeInLeft 0.8s ease-out;
}

.historia-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    animation: slideInDown 0.6s ease-out;
}

.historia-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.historia-text-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.historia-text-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.historia-text-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-left-color: #dc3545;
    background: rgba(255, 255, 255, 0.98);
}

.historia-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.historia-text {
    flex: 1;
}

.historia-text p {
    margin: 0;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.historia-card-container {
    animation: fadeInRight 0.8s ease-out 0.6s both;
}

.historia-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.historia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.98);
}

.historia-card-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #bd2130 100%);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.historia-card-icon {
    position: relative;
    z-index: 2;
}

.historia-card-icon i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.historia-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.historia-card-body {
    padding: 30px;
}

.historia-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

.historia-card-subtitle {
    color: #6c757d;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1rem;
}

.historia-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.historia-stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #dc3545;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 5px;
}

.historia-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.historia-feature {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.historia-feature i {
    margin-right: 10px;
    font-size: 1rem;
}

/* Animaciones para la sección de historia */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive para la sección de historia */
@media (max-width: 768px) {
    .historia-title {
        font-size: 2rem;
    }
    
    .historia-text-item {
        flex-direction: column;
        text-align: center;
    }
    
    .historia-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .historia-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .historia-particle,
    .historia-light-beam,
    .historia-circle {
        display: none;
    }
    
    .historia-section {
        background-attachment: scroll;
    }
}

/* Estilos para la sección de misión */
.mision-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.mision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(220, 53, 69, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.mision-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.mision-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.mision-particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.mision-particle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.mision-particle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.mision-light-beam {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: lightSweep 3s ease-in-out infinite;
}

.mision-light-1 {
    top: 10%;
    left: 30%;
    animation-delay: 0.5s;
}

.mision-light-2 {
    top: 20%;
    right: 25%;
    animation-delay: 2s;
}

.mision-content {
    animation: fadeInUp 1s ease-out;
}

.mision-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    animation: slideInDown 0.8s ease-out;
}

.mision-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.mision-text-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.mision-text-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mision-text-content {
    margin-bottom: 30px;
}

.mision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: center;
}

.mision-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.mision-feature {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 15px;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.mision-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    background: rgba(220, 53, 69, 0.1);
}

.mision-feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.mision-feature-text h5 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-weight: 600;
}

.mision-feature-text p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Estilos para la sección de visión */
.vision-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(220, 53, 69, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.vision-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.vision-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite;
}

.vision-particle-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.vision-particle-2 {
    top: 70%;
    right: 20%;
    animation-delay: 2s;
}

.vision-particle-3 {
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

.vision-light-beam {
    position: absolute;
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: lightSweep 4s ease-in-out infinite;
}

.vision-light-1 {
    top: 20%;
    left: 40%;
    animation-delay: 1s;
}

.vision-light-2 {
    top: 60%;
    right: 35%;
    animation-delay: 3s;
}

.vision-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    animation: float 8s ease-in-out infinite;
}

.vision-circle-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.vision-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -30px;
    animation-delay: 4s;
}

.vision-content {
    animation: fadeInUp 0.8s ease-out;
}

.vision-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    animation: slideInDown 0.8s ease-out;
}

.vision-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.vision-text-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.vision-text-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vision-text-content {
    margin-bottom: 30px;
}

.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
    text-align: center;
}

.vision-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vision-goal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(5px);
}

.vision-goal:hover {
    transform: translateY(-5px);
    border-color: #dc3545;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.vision-goal i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.vision-goal span {
    font-weight: 600;
    color: #2c3e50;
}

/* Animaciones adicionales */
@keyframes lightSweep {
    0%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(20px);
    }
}

/* Responsive para las secciones de misión y visión */
@media (max-width: 768px) {
    .mision-title {
        font-size: 2.2rem;
    }
    
    .vision-title {
        font-size: 2.2rem;
    }
    
    .mision-text-card,
    .vision-text-card {
        padding: 25px;
    }
    
    .mision-features {
        grid-template-columns: 1fr;
    }
    
    .vision-goals {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mision-section {
        background-attachment: scroll;
    }
    
    .mision-particle,
    .mision-light-beam,
    .vision-particle,
    .vision-light-beam,
    .vision-circle {
        display: none;
    }
    
    .vision-section {
        background-attachment: scroll;
    }
}

@media (max-width: 576px) {
    .vision-goals {
        grid-template-columns: 1fr;
    }
    
    .mision-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .mision-feature-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Estilos para la sección de valores */
.valores-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.valores-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(220, 53, 69, 0.3) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.valores-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.valores-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.valores-particle-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.valores-particle-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1.5s;
}

.valores-particle-3 {
    top: 60%;
    left: 20%;
    animation-delay: 3s;
}

.valores-particle-4 {
    bottom: 20%;
    right: 25%;
    animation-delay: 4.5s;
}

.valores-light-beam {
    position: absolute;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: lightSweep 5s ease-in-out infinite;
}

.valores-light-1 {
    top: 15%;
    left: 30%;
    animation-delay: 0.5s;
}

.valores-light-2 {
    top: 50%;
    right: 30%;
    animation-delay: 2.5s;
}

.valores-light-3 {
    bottom: 30%;
    left: 50%;
    animation-delay: 4s;
}

.valores-content {
    animation: fadeInUp 1s ease-out;
}

.valores-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    animation: slideInDown 0.8s ease-out;
}

.valores-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.valor-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.valor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.valor-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.valor-card:hover .valor-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

.valor-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.valor-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Animaciones específicas para las tarjetas de valores */
.valor-card:nth-child(1) { animation-delay: 0.1s; }
.valor-card:nth-child(2) { animation-delay: 0.2s; }
.valor-card:nth-child(3) { animation-delay: 0.3s; }
.valor-card:nth-child(4) { animation-delay: 0.4s; }
.valor-card:nth-child(5) { animation-delay: 0.5s; }
.valor-card:nth-child(6) { animation-delay: 0.6s; }

/* Responsive para la sección de valores */
@media (max-width: 768px) {
    .valores-title {
        font-size: 2.5rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .valor-card {
        padding: 25px;
    }
    
    .valor-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .valores-section {
        background-attachment: scroll;
    }
    
    .valores-particle,
    .valores-light-beam {
        display: none;
    }
}

@media (max-width: 576px) {
    .valores-title {
        font-size: 2rem;
    }
    
    .valor-content h4 {
        font-size: 1.2rem;
    }
    
    .valor-content p {
        font-size: 0.9rem;
    }
}

/* Estilos para la sección de certificaciones */
.certificaciones-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.certificaciones-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(220, 53, 69, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.certificaciones-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.certificaciones-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 7s ease-in-out infinite;
}

.certificaciones-particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.certificaciones-particle-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2.5s;
}

.certificaciones-particle-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 5s;
}

.certificaciones-light-beam {
    position: absolute;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: lightSweep 6s ease-in-out infinite;
}

.certificaciones-light-1 {
    top: 25%;
    left: 40%;
    animation-delay: 1s;
}

.certificaciones-light-2 {
    top: 60%;
    right: 35%;
    animation-delay: 3.5s;
}

.certificaciones-content {
    animation: fadeInUp 1s ease-out;
}

.certificaciones-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    animation: slideInDown 0.8s ease-out;
}

.certificaciones-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 50px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.certificaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.certificacion-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.certificacion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.certificacion-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.certificacion-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.certificacion-card:hover .certificacion-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.4);
}

.certificacion-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.certificacion-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.certificacion-badge-small {
    display: inline-block;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Animaciones específicas para las tarjetas de certificaciones */
.certificacion-card:nth-child(1) { animation-delay: 0.1s; }
.certificacion-card:nth-child(2) { animation-delay: 0.2s; }
.certificacion-card:nth-child(3) { animation-delay: 0.3s; }
.certificacion-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive para la sección de certificaciones */
@media (max-width: 768px) {
    .certificaciones-title {
        font-size: 2.5rem;
    }
    
    .certificaciones-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .certificacion-card {
        padding: 30px 20px;
    }
    
    .certificacion-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .certificaciones-section {
        background-attachment: scroll;
    }
    
    .certificaciones-particle,
    .certificaciones-light-beam {
        display: none;
    }
}

@media (max-width: 576px) {
    .certificaciones-title {
        font-size: 2rem;
    }
    
    .certificacion-content h4 {
        font-size: 1.3rem;
    }
    
    .certificacion-content p {
        font-size: 0.95rem;
    }
    
    .certificacion-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Estilos para la sección de CV Corporativo */
.cv-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.cv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(220, 53, 69, 0.3) 50%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.cv-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.cv-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cv-particle-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.cv-particle-2 {
    top: 40%;
    right: 25%;
    animation-delay: 3s;
}

.cv-particle-3 {
    bottom: 25%;
    left: 35%;
    animation-delay: 6s;
}

.cv-light-beam {
    position: absolute;
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: lightSweep 7s ease-in-out infinite;
}

.cv-light-1 {
    top: 20%;
    left: 45%;
    animation-delay: 1.5s;
}

.cv-light-2 {
    top: 65%;
    right: 40%;
    animation-delay: 4.5s;
}

.cv-content {
    animation: fadeInUp 1s ease-out;
}

.cv-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 35px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    animation: slideInDown 0.8s ease-out;
}

.cv-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cv-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cv-card-container {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cv-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.cv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.cv-card-header {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #bd2130 100%);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cv-icon-container {
    position: relative;
    display: inline-block;
}

.cv-icon-container i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.cv-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.cv-card-body {
    padding: 40px;
}

.cv-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.cv-card-description {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cv-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 35px;
}

.cv-feature {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(220, 53, 69, 0.05);
    border-radius: 10px;
    border-left: 3px solid #dc3545;
    transition: all 0.3s ease;
}

.cv-feature:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: translateX(5px);
}

.cv-feature i {
    margin-right: 12px;
    font-size: 1.1rem;
}

.cv-feature span {
    font-weight: 500;
    color: #555;
}

.cv-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cv-btn-primary,
.cv-btn-secondary {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cv-btn-primary:hover,
.cv-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cv-viewer-container {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive para la sección de CV */
@media (max-width: 768px) {
    .cv-title {
        font-size: 2.5rem;
    }
    
    .cv-subtitle {
        font-size: 1.1rem;
    }
    
    .cv-card-header {
        padding: 30px;
    }
    
    .cv-card-body {
        padding: 30px;
    }
    
    .cv-features {
        grid-template-columns: 1fr;
    }
    
    .cv-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cv-btn-primary,
    .cv-btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .cv-section {
        background-attachment: scroll;
    }
    
    .cv-particle,
    .cv-light-beam {
        display: none;
    }
}

@media (max-width: 576px) {
    .cv-title {
        font-size: 2rem;
    }
    
    .cv-card-title {
        font-size: 1.5rem;
    }
    
    .cv-icon-container i {
        font-size: 3rem;
    }
    
    .cv-icon-glow {
        width: 80px;
        height: 80px;
    }
}
