/* ===================================
   ISM - Modern Security Website Styles
   =================================== */

/* Variables CSS */
:root {
    --primary-color: #003f74;
    --secondary-color: #0056b3;
    --accent-color: #ff6b35;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --gradient-primary: linear-gradient(135deg, #003f74 0%, #0056b3 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
}

/* Reset y Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Navbar Styles */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section - Mejorado */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.hero-slider {
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.hero-content {
    color: white;
    z-index: 2;
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .text-primary {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones mejorados */
.btn {
    border-radius: var(--border-radius);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 63, 116, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Swiper Navigation - Mejorado */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
    transform: scale(1.2);
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Empresa Section - Mejorado */
.empresa-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.empresa-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transform: rotate(-2deg);
}

.empresa-image img {
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.empresa-image:hover img {
    transform: scale(1.05);
}

/* Service Cards - Mejorados */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon img {
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.service-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Product Cards - Mejorados */
.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Accordion Styles - Mejorados */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--light-color);
    border: none;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1rem 1.5rem;
    transition: var(--transition);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    transition: var(--transition);
}

.accordion-body {
    background: white;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 1.5rem;
}

/* Value Cards - Mejorados */
.value-card {
    padding: 2rem 1.5rem;
    transition: var(--transition);
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.value-icon {
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.value-card h6 {
    font-weight: 600;
    font-size: 1rem;
}

/* Clients Slider - Mejorado */
.clients-slider {
    padding: 3rem 0;
}

.clients-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.clients-slider img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
    opacity: 0.6;
    border-radius: 8px;
}

.clients-slider img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Testimonials - Mejorados */
.testimonials-slider {
    padding: 3rem 0;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 1rem;
    position: relative;
    border-left: 4px solid var(--accent-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author h6 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

/* Contact Section - Mejorado */
.contact-info {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(10px);
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    padding: 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h5,
.contact-details h6 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-details p {
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 63, 116, 0.3);
    color: white;
}

/* Contact Form - Mejorado */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    transition: var(--transition);
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 63, 116, 0.25);
    transform: translateY(-2px);
}

/* Footer - Mejorado */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.footer .social-link {
    color: white;
    margin-left: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.footer .social-link:hover {
    background: var(--accent-color);
    color: white;
}

/* Responsive Design - Completamente Mejorado */
/* ============================================= */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-padding {
        padding: 120px 0;
    }
    
    .service-card,
    .product-card {
        padding: 3rem 2.5rem;
    }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-padding {
        padding: 100px 0;
    }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-padding {
        padding: 90px 0;
    }
    
    .service-card,
    .product-card {
        padding: 2rem 1.5rem;
    }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
    }
    
    .stats-section {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .service-card,
    .product-card {
        margin-bottom: 2rem;
    }
    
    .empresa-image::before {
        top: -15px;
        left: -15px;
        right: 15px;
        bottom: 15px;
    }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
        width: 50px;
        height: 50px;
        padding: 0.75rem;
    }
    
    .contact-icon i {
        font-size: 1.5rem !important;
    }
    
    .stats-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    .scroll-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .product-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .service-title,
    .product-title {
        font-size: 1.1rem;
    }
    
    .service-description,
    .product-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .empresa-image::before {
        top: -5px;
        left: -5px;
        right: 5px;
        bottom: 5px;
    }
    
    .empresa-image img {
        border-radius: 8px;
    }
    
    .value-card {
        padding: 1rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .value-icon {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .value-icon i {
        font-size: 1.25rem !important;
    }
    
    .value-card h6 {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 1rem;
        margin: 0.25rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .testimonial-author h6 {
        font-size: 0.9rem;
    }
    
    .testimonial-author small {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
        text-align: center;
    }
    
    .footer p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer .social-links {
        justify-content: center;
        margin-top: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        margin: 0 0.25rem;
    }
    
    .social-link i {
        font-size: 1rem !important;
    }
    
    .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .clients-slider img {
        max-width: 100px;
    }
    
    .particles {
        display: none;
    }
}

/* Mobile Devices (up to 575px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0.125rem 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-content {
        padding: 0 0.75rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
        width: 45px;
        height: 45px;
        padding: 0.5rem;
    }
    
    .contact-icon i {
        font-size: 1.25rem !important;
    }
    
    .contact-details h5,
    .contact-details h6 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        margin-bottom: 0.125rem;
    }
    
    .stats-section {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    .scroll-indicator {
        bottom: 10px;
    }
    
    .scroll-arrow {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .service-card,
    .product-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .service-icon,
    .product-image {
        margin-bottom: 1rem;
    }
    
    .service-title,
    .product-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-description,
    .product-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .contact-info,
    .contact-form {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .empresa-image::before {
        top: -5px;
        left: -5px;
        right: 5px;
        bottom: 5px;
    }
    
    .empresa-image img {
        border-radius: 8px;
    }
    
    .value-card {
        padding: 1rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .value-icon {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .value-icon i {
        font-size: 1.25rem !important;
    }
    
    .value-card h6 {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 1rem;
        margin: 0.25rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .testimonial-author h6 {
        font-size: 0.9rem;
    }
    
    .testimonial-author small {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
        text-align: center;
    }
    
    .footer p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer .social-links {
        justify-content: center;
        margin-top: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        margin: 0 0.25rem;
    }
    
    .social-link i {
        font-size: 1rem !important;
    }
    
    .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    .clients-slider img {
        max-width: 100px;
    }
    
    .particles {
        display: none;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        margin-top: 1rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-size: 20px 20px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .scroll-indicator,
    .particles,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
    }
    
    .hero-section {
        height: auto;
        min-height: 200px;
        background: #f8f9fa !important;
    }
    
    .hero-title {
        color: #000 !important;
        font-size: 24pt;
        -webkit-text-fill-color: #000 !important;
    }
    
    .hero-subtitle {
        color: #333 !important;
        font-size: 14pt;
    }
    
    .section-padding {
        padding: 20pt 0;
    }
    
    .service-card,
    .product-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .contact-info,
    .contact-form {
        border: 1px solid #ddd;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline;
    }
    
    .btn {
        border: 1px solid #000;
        background: #fff !important;
        color: #000 !important;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .particles,
    .scroll-indicator {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #0000ff;
        --accent-color: #ff4500;
        --text-color: #000;
        --text-muted: #333;
        --border-color: #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .form-control {
        border: 2px solid #000;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #2d3748;
        --text-color: #e2e8f0;
        --text-muted: #a0aec0;
        --border-color: #4a5568;
    }
    
    body {
        background-color: #1a202c;
        color: var(--text-color);
    }
    
    .service-card,
    .product-card,
    .testimonial-card,
    .contact-form {
        background-color: #2d3748;
        border-color: #4a5568;
    }
    
    .contact-info {
        background-color: #4a5568;
    }
}

/* Focus Visible for Keyboard Navigation */
@media (any-hover: none) {
    .btn:hover,
    .nav-link:hover,
    .service-card:hover,
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
    
    .btn:focus,
    .nav-link:focus,
    .service-card:focus,
    .product-card:focus {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
}

/* Animation Classes - Mejoradas */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos de partículas para el hero */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Custom Scrollbar - Mejorado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Loading Animation - Mejorado */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility - Mejorados */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        height: auto;
        min-height: 300px;
    }
}

/* Efectos adicionales */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.glow-effect:hover::after {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    cursor: pointer;
}

.scroll-arrow:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Estadísticas */
.stats-section {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

/* Mejoras en las partículas */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(odd) {
    animation-duration: 10s;
    animation-delay: 1s;
}

.particle:nth-child(even) {
    animation-duration: 12s;
    animation-delay: 2s;
}

/* Mejoras en el navbar */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
}

/* Mejoras en las cards */
.service-card:hover .service-icon img,
.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

/* Efecto de hover mejorado para botones */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Mejoras en testimonios */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

/* Mejoras en el formulario */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 63, 116, 0.25);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

/* Efecto de carga mejorado */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Mejoras en responsive */
@media (max-width: 768px) {
    .stats-section {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .particles {
        display: none;
    }
}

/* Efectos de hover adicionales */
.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card:hover .value-icon {
    background: var(--accent-color);
    transform: scale(1.1) rotate(10deg);
}

/* Mejoras en accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .particles {
        display: none;
    }
}

/* Mejoras en el scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--light-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Efectos de focus mejorados */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* Mejoras en las animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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);
    }
}

/* Clases de animación personalizadas */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* Mejoras en el hero */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Efectos de hover para imágenes */
.empresa-image img,
.service-icon img,
.product-image img {
    transition: all 0.5s ease;
}

.empresa-image:hover img,
.service-card:hover .service-icon img,
.product-card:hover .product-image img {
    transform: scale(1.05) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

/* Mejoras en los testimonios */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Efectos de hover para iconos sociales */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 63, 116, 0.3);
}

/* Mejoras en el formulario de contacto */
.contact-form {
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Efectos de hover para elementos de contacto */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(10px);
    border-radius: var(--border-radius);
}

/* Mejoras en los valores */
.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Efectos de hover para iconos de valores */
.value-icon {
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--accent-color);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Mejoras en el footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

/* Efectos de hover para enlaces del footer */
.footer .social-link {
    transition: all 0.3s ease;
}

.footer .social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}
