/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header y Navegación Horizontal */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a192f 0%, #1e3c72 100%); /* Azul profundo */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    display: block;
}

/* Menú de navegación horizontal (Se elimina el comportamiento lateral antiguo) */
.nav-menu {
    display: flex;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    overflow-y: visible;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: none;
    border-radius: 4px;
}

.nav-menu ul li a:hover {
    background: rgba(255,255,255,0.1);
    color: #ff6600; /* Naranja corporativo */
    padding-left: 1rem;
}

/* Estilos del Dropdown (Servicios) */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    color: #0a192f !important;
    padding: 10px 18px !important;
    white-space: nowrap;
    border-left: none !important;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa !important;
    color: #ff6600 !important;
    padding-left: 18px !important;
}

/* Mostrar Menú Desplegable al pasar el cursor */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Botón de Contacto Destacado a la Derecha */
.btn-contacto-nav {
    background-color: #ff6600 !important; /* Destacado en Naranja */
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 6px;
    transition: background 0.3s ease !important;
}

.btn-contacto-nav:hover {
    background-color: #e55b00 !important;
    color: white !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://www.pixeltechpe.com/wp-content/uploads/2020/05/desarrollo-software-PIX.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: #ffd700;
    color: #1e3c72;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,215,0,0.3);
}

/* Sección del Carrusel */
.carousel-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.carousel-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3c72;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.carousel {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Botones del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: #1e3c72;
    border: none;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Indicadores del carrusel */
.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #1e3c72;
    transform: scale(1.3);
}

/* Galería de Habitaciones */
.rooms-gallery {
    padding: 80px 20px;
    background: white;
}

.rooms-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e3c72;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px; 
    border: 1px solid #eaeaea;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #1e3c72;
}

.gallery-item img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    
    object-fit: contain; 
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Modal para imágenes */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255,255,255,0.1);
    animation: zoomIn 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #ffd700;
    transform: rotate(90deg);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    background: rgba(0,0,0,0.7);
    padding: 15px 30px;
    border-radius: 25px;
}


/* sección Por qué trabajar con Pixel Technology */
.services {
    padding: 80px 20px;
    background-color: #f8fafc;
    text-align: center;
}

.services h2 {
    font-size: 2.3rem;
    color: #1e3c72;
    margin-bottom: 50px;
    font-weight: 700;
}

.services h2 span {
    color: #e67e22; /* Tono anaranjado corporativo tal como en la referencia */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    
}

.service-card h3,
.service-card p {
    text-align: center; /* <-- Fuerza a que subtítulo y párrafo queden centrados */
    width: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(30, 60, 114, 0.1);
    border-color: #1e3c72;
}

/* Caja del icono */
.service-icon-box {
    width: 60px;
    height: 60px;
    background: #fff7ed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.service-icon-box i {
    font-size: 1.8rem;
    color: #e67e22; /* Color naranja para los iconos acorde al diseño */
}

.service-card:hover .service-icon-box {
    background: #1e3c72;
}

.service-card:hover .service-icon-box i {
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .carousel {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .nav-menu {
        width: 250px;
    }

    
    
}









/*SOFTWARE

/* Hero compacto específico para la página de Software */
.hero-software-compact {
    height: 45vh; 
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), 
                url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1600&h=900&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px; 
    padding: 0 20px;
}

.hero-software-compact h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-software-compact p {
    font-size: 1.2rem;
}

/*  4 secciones inferiores de Software */
.sw-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    position: relative;
    color: white;
}

/* Capa oscura translúcida sobre cada fondo*/
.sw-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8); 
    z-index: 1;
}

.sw-content-box {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.sw-icon {
    font-size: 4rem;
    color: #ffd700; 
    margin-bottom: 20px;
}

.sw-content-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.sw-content-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Fondos independientes para cada una de las 4 secciones con imágenes de Unsplash */
.sw-bg-1 {
    background-image: url('https://images.unsplash.com/photo-1531482615713-2afd69097998?w=1600&h=900&fit=crop');
}

.sw-bg-2 {
    background-image: url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?w=1600&h=900&fit=crop');
}

.sw-bg-3 {
    background-image: url('https://replica.com.pe/wp-content/uploads/2025/04/img-partner-tecnologico-microsoft-5.png');
}

.sw-bg-4 {
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?w=1600&h=900&fit=crop');
}


/* SOLUCIONES WEB---------------------------------------------------------------------------

/* Hero específico para Soluciones Web */
.hero-web {
    height: 50vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1600&h=900&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    padding: 0 20px;
}

.hero-web h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-web p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* Secciones de Contenido */
.web-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.web-bg-alt {
    background-color: #f8fafc;
}

.web-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: #1e3c72;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: #64748b;
}

/* Grillas y Tarjetas */
.web-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.web-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: left;
}

.web-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(30, 60, 114, 0.1);
    border-color: #1e3c72;
}

.web-icon {
    font-size: 2.2rem;
    color: #1e3c72;
    margin-bottom: 20px;
    display: block;
}

.web-card h3 {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 12px;
    font-weight: 700;
}

.web-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* Estilos de la sección de Hosting y Precios */
.hosting-section {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.hosting-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.hosting-card.popular {
    border: 2px solid #1e3c72;
    transform: scale(1.03);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e3c72;
    color: white;
    padding: 4px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
}

.hosting-card h3 {
    font-size: 1.5rem;
    color: #1e3c72;
    margin-bottom: 15px;
}

.hosting-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
}

.hosting-card .price span {
    font-size: 1.2rem;
    color: #64748b;
}

.hosting-card .billing {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.hosting-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.hosting-features li {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hosting-features li i {
    color: #10b981; 
}



.sub-category {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2a5298;
    margin-bottom: 10px;
}

.section-footer-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.05rem;
    color: #475569;
    font-weight: 500;
}

.intro-desc {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
}































/* conectividad y redes

/* Hero específico para la página de Redes */
.hero-redes {
    height: 50vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTwO-zT1voEToveQIe_A9qaNv2sGDxpMhbSHucRS4-B29lEKjB9xvhnqvyW&s=10') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    padding: 0 20px;
}

.hero-redes h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-redes p {
    font-size: 1.2rem;
    color: #cbd5e1;
}

/* Sección de la grilla de servicios de redes */
.redes-services-section {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.redes-container {
    max-width: 1200px;
    margin: 0 auto;
}

.redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Tarjetas individuales de servicios */
.redes-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.redes-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 60, 114, 0.12);
    border-color: #3b82f6;
}

/* Contenedor del icono */
.redes-icon-box {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background 0.3s ease;
}

.redes-icon-box i {
    font-size: 2rem;
    color: #1e3c72;
}

.redes-card:hover .redes-icon-box {
    background: #1e3c72;
}

.redes-card:hover .redes-icon-box i {
    color: #ffffff;
}

/* Tipografía de las tarjetas */
.redes-card h3 {
    font-size: 1.4rem;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
}

.redes-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}













/* sistemas de seguridad

/* Hero específico para la página de Sistemas de Seguridad */
.hero-seguridad {
    height: 50vh;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
                url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?w=1600&h=900&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
    padding: 0 20px;
}

.hero-seguridad h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-seguridad p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}

/* Sección de la grilla de sistemas  de seguridad */
.seguridad-services-section {
    padding: 80px 20px;
    background-color: #f8fafc;
}

.seguridad-container {
    max-width: 1200px;
    margin: 0 auto;
}

.seguridad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Tarjetas individuales de sistemas de seguridad */
.seguridad-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.seguridad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(30, 60, 114, 0.12);
    border-color: #1e3c72;
}

/* Contenedor del icono vectorial profesional */
.seguridad-icon-box {
    width: 70px;
    height: 70px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background 0.3s ease;
}

.seguridad-icon-box i {
    font-size: 2rem;
    color: #1e3c72;
}

.seguridad-card:hover .seguridad-icon-box {
    background: #1e3c72;
}

.seguridad-card:hover .seguridad-icon-box i {
    color: #ffffff;
}

/* Tipografía de las tarjetas */
.seguridad-card h3 {
    font-size: 1.4rem;
    color: #1e3c72;
    margin-bottom: 15px;
    font-weight: 700;
}

.seguridad-card p {
    font-size: 0.98rem;
    color: #64748b;
    line-height: 1.6;
}

/* Sección CTA Inferior Minimalista */
.seguridad-cta-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
}

.seguridad-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.seguridad-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.seguridad-cta-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.cta-button-seguridad {
    display: inline-block;
    padding: 14px 35px;
    background: #ffd700;
    color: #1e3c72;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button-seguridad:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}



/* Estilos para las Preguntas Frecuentes (FAQ) INDEX */
.faq-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container h2 {
    text-align: center;
    font-size: 2.3rem;
    color: #1e3c72;
    margin-bottom: 40px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3c72;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #ffffff;
}

.faq-answer p {
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

/* Clase activa cuando se abre la pregunta */
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}


/* ==========================================
    ESTILOS PARA LA PÁGINA DE PROYECTOS
   ========================================== */
.projects-hero {
    background: linear-gradient(135deg, #0a192f 0%, #1e3c72 100%);
    color: white;
    text-align: center;
    padding: 140px 20px 80px 20px; /* Compensación para el header fijo */
}

.projects-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.projects-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #cbd5e1;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tag {
    display: inline-block;
    background-color: rgba(255, 102, 0, 0.1);
    color: #ff6600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}

.project-card h3 {
    font-size: 1.3rem;
    color: #0a192f;
    margin-bottom: 10px;
}

.project-card p {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.project-results {
    background-color: #f8fafc;
    border-left: 4px solid #ff6600;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #1e293b;
    border-radius: 0 6px 6px 0;
}

.project-results strong {
    color: #0a192f;
}

/* ==========================================
   ESTILOS PARA LA PÁGINA DE CONTACTO
   ========================================== */
.contact-page-section {
    padding: 140px 20px 80px 20px; /* Compensación para el header fijo */
    background-color: #f8fafc;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    font-size: 2rem;
    color: #0a192f;
    margin-bottom: 15px;
}

.contact-info > p {
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.3rem;
    color: #ff6600;
    background-color: rgba(255, 102, 0, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.info-item h4 {
    font-size: 1.05rem;
    color: #0a192f;
    margin-bottom: 4px;
}

.info-item p {
    color: #64748b;
    font-size: 0.95rem;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: #0a192f;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ff6600;
}

.btn-submit {
    background-color: #0a192f;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #ff6600;
}

/* Alertas de envío */
.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Adaptabilidad en dispositivos móviles */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}





/* ==========================================
   ESTILOS RESPONSIVOS / ADAPTABLES PARA MÓVIL
   ========================================== */

/* Por defecto, el botón hamburguesa está oculto en computadoras */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #0a192f;
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Animación del botón hamburguesa cuando está activo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Media Query para Celulares y Tablets (pantallas menores a 992px) */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex; /* Mostrar hamburguesa en móvil */
    }

    /* Ocultar el menú horizontal y transformarlo en un panel lateral */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0a192f; /* Azul profundo corporativo */
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        transition: right 0.4s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding-top: 90px;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0; /* Mostrar el menú deslizándose */
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-menu ul li {
        width: 100%;
    }

    .nav-menu ul li a {
        color: white !important;
        padding: 1rem 1.5rem;
        width: 100%;
        border-left: 4px solid transparent;
    }

    .nav-menu ul li a:hover {
        background: rgba(255,255,255,0.08);
        border-left: 4px solid #ff6600;
        padding-left: 1.8rem;
    }

    /* Adaptación del menú desplegable (Servicios) en móvil */
    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.2) !important;
        border-radius: 0 !important;
        padding: 0 !important;
        display: none; /* Se puede alternar o dejar visible en móvil según prefieras */
    }

    /* Al mantener cursor o toque en móvil, expandir submenú */
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 2.5rem !important;
        color: #cbd5e1 !important;
    }

    .btn-contacto-nav {
        margin: 15px 1.5rem;
        width: calc(100% - 3rem) !important;
        text-align: center;
    }

    /* Ajustes generales de secciones para móviles */
    .projects-grid {
        grid-template-columns: 1fr; /* Una sola columna en proyectos */
    }

    .contact-container {
        grid-template-columns: 1fr; /* Una sola columna en contacto */
        padding: 25px;
    }
}