* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Arial', sans-serif;
    background: white;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.menu-container {
    background: linear-gradient(90deg, #001f3f 0%, #003366 50%, #002244 100%);
    box-shadow: 0 4px 20px rgba(0, 150, 255, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    overflow: hidden;
}

.menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    animation: slide 3s infinite;
}

@keyframes slide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.logo::before {
    content: '💻';
    font-size: 2rem;
    animation: bounce 2s infinite, rotate 3s infinite linear;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes colorWave {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-items li {
    position: relative;
}

.menu-items a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.menu-items a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff3333, #ff6b6b);
    transition: left 0.3s ease;
    z-index: -1;
}

.menu-items a:hover::before {
    left: 0;
}

.menu-items a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 51, 0.4);
}

.menu-items li:nth-child(2) a::before {
    background: linear-gradient(90deg, #00ffff, #00cccc);
}

.menu-items li:nth-child(2):hover a {
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.menu-items li:nth-child(3) a::before {
    background: linear-gradient(90deg, #00ff00, #00cc00);
}

.menu-items li:nth-child(3):hover a {
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.menu-items li:nth-child(4) a::before {
    background: linear-gradient(90deg, #ff6b6b, #ff3333);
}

.menu-items li:nth-child(4):hover a {
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Breakpoint intermedio para pantallas medianas */
@media (max-width: 1024px) {
    .menu-items {
        gap: 1rem;
    }

    .menu-items a {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 900px) {
    .menu-items {
        gap: 0.5rem;
    }

    .menu-items a {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }

    .logo {
        font-size: 1.2rem;
    }

    nav {
        padding: 1rem 2%;
    }
}

@media (max-width: 850px) {
    .menu-items {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 31, 63, 0.75);
        backdrop-filter: blur(10px);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: none;
        padding: 3rem 0;
        z-index: 1200;
        overflow-y: auto;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

    .menu-items.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .menu-items {
        top: 70px;
    }

    .menu-items a {
        font-size: 1.5rem;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.inicio {
    position: relative;
    min-height: 75vh;
    background: white;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    /* Ajustado por la nueva altura del header */
    scroll-margin-top: 120px;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.contenido-inicio {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Botones Navegación */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
    border: 2px solid rgba(0, 102, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-nav:hover {
    background: #0066ff;
    color: white;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.hero-nav.prev {
    left: 30px;
}

.hero-nav.next {
    right: 30px;
}

/* Indicadores Dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #0066ff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-nav.prev {
        left: 10px;
    }

    .hero-nav.next {
        right: 10px;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-texto {
    text-align: center;
}

/* Status Label Style */
.status-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.status-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 255, 127, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(0, 255, 127, 0.3);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.1);
    transition: all 0.3s ease;
}

.status-container:hover {
    background: rgba(0, 255, 127, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 127, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #00ff7f;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #00ff7f;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00ff7f;
    border-radius: 50%;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #008f4c;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Arial', sans-serif;
}

.hero-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.imagen-perfil {
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    object-fit: contain;
    object-position: center;
    border: 4px solid rgba(0, 102, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    background: rgba(255, 255, 255, 0.05);
}

.imagen-perfil:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
}

/* Imagen de optimización más pequeña en desktop */
.imagen-optimizacion {
    max-width: 90%;
    margin: 0 auto;
}

.hero-titulo {
    font-size: 4rem;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #0066ff, #ff3333, #0066ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-subtitulo {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-botones {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.btn-hero {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0066ff 0%, #004499 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #0066ff;
    border: 2px solid #0066ff;
}

.btn-secondary:hover {
    background: #0066ff;
    color: white;
    transform: translateY(-3px);
}

/* Responsive Breakpoints */

/* Tablets grandes y pantallas medianas (landscape) */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-titulo {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .hero-subtitulo {
        font-size: 1.3rem;
    }

    .hero-imagen {
        max-width: 450px;
    }
}

/* Tablets (portrait) y pantallas pequeñas - Cambiar a columna única */
@media (max-width: 900px) {
    .inicio {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        width: 100%;
    }

    .hero-titulo {
        font-size: 2.8rem;
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }

    .hero-subtitulo {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        padding: 0 2rem;
    }

    .hero-botones {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .btn-hero {
        width: auto;
        min-width: 180px;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .hero-imagen {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .imagen-perfil:hover {
        transform: scale(1.01);
    }
}

/* Móviles medianos */
@media (max-width: 768px) {
    .inicio {
        padding: 1.5rem 0;
    }

    .hero-content {
        gap: 2.5rem;
    }

    .hero-titulo {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }

    .hero-subtitulo {
        font-size: 1.2rem;
        padding: 0 1.5rem;
    }

    .btn-hero {
        min-width: 170px;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-imagen {
        max-width: 450px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .inicio {
        padding: 1.5rem 0;
    }

    .contenido-inicio {
        padding: 1rem 0.5rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-titulo {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-subtitulo {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.5;
    }

    .btn-hero {
        min-width: 140px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-imagen {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }

    .imagen-perfil:hover {
        transform: none;
        box-shadow: 0 0 25px rgba(0, 102, 255, 0.3);
    }

    .imagen-optimizacion {
        max-width: 100%;
    }
}

/* Móviles extra pequeños */
@media (max-width: 360px) {
    .hero-titulo {
        font-size: 1.8rem;
    }

    .hero-subtitulo {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .btn-hero {
        min-width: 130px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

.quienes-somos {
    padding: 4rem 2rem;
    background: linear-gradient(90deg, #001f3f 0%, #003366 50%, #002244 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 100px;
}

.contenedor-quienes {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.quienes-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.quienes-imagen {
    flex: 1;
    min-width: 300px;
    opacity: 1;
}



.quienes-imagen img {
    width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    border: 2px solid rgba(0, 255, 255, 0.3);
    display: block;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.quienes-imagen img:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
    border-color: rgba(0, 255, 255, 0.6);
}

.contenido-tarjeta {
    flex: 1.5;
    text-align: left;
    color: white;
    padding: 1rem;
    opacity: 0;
}

.contenido-tarjeta.reveal {
    animation: slideInRight 1.2s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .quienes-flex {
        flex-direction: column;
        text-align: center;
    }

    .contenido-tarjeta {
        text-align: center;
    }
}

.contenido-tarjeta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #ff3333, #00ffff, #00ff00, #00ffff, #ff3333);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contenido-tarjeta p {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.95;
    max-width: none;
}

/* Estadísticas en Quiénes Somos */
.quienes-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #00ffff, #0066ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    color: white;
}

@media (max-width: 768px) {
    .quienes-stats {
        justify-content: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .quienes-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* Sección Planes */
.planes {
    padding: 5rem 2rem;
    background: white;
    scroll-margin-top: 100px;
}

.contenedor-planes {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-planes {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #0066ff, #ff3333, #0066ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
}

.descripcion-planes {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.plan-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 102, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1;
}



@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    60% {
        opacity: 1;
        transform: translateX(20px);
    }

    80% {
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    60% {
        opacity: 1;
        transform: translateX(-20px);
    }

    80% {
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceInDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }

    60% {
        opacity: 1;
        transform: translateY(20px);
    }

    80% {
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-card {
    will-change: transform, opacity;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan-card.destacado {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
    border: 2px solid #0066ff;
    transform: scale(1.05);
}

.plan-card.destacado:hover {
    transform: translateY(-10px) scale(1.05);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff3333;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-card.destacado .plan-badge {
    background: #0066ff;
}

.plan-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.plan-precio {
    font-size: 3rem;
    font-weight: bold;
    color: #0066ff;
    margin-bottom: 2rem;
}

.plan-precio span {
    font-size: 1rem;
    color: #666;
}

.plan-caracteristicas {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
}

.plan-caracteristicas li {
    margin-bottom: 1rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.plan-caracteristicas li i {
    color: #2ecc71;
}

.plan-caracteristicas li i.fa-times {
    color: #ff3333;
}

.btn-plan {
    display: block;
    padding: 1rem;
    background: linear-gradient(135deg, #0066ff 0%, #004499 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-plan:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

/* Sección Video Banner */
.seccion-video-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.video-fondo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    z-index: 0;
}

.contenido-video {
    position: relative;
    z-index: 1;
    padding: 2rem;
    animation: fadeInDown 1s ease-out;
}

.expertos-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    display: block;
    color: #00d4ff;
    font-weight: bold;
}

.laptops-titulo {
    font-size: 5rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    background: linear-gradient(45deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subrayado tipo Firma */
.subrayado-firma {
    width: 600px;
    height: 80px;
    margin: -20px auto 30px;
    position: relative;
}

.subrayado-firma svg {
    width: 100%;
    height: 100%;
}

.subrayado-firma path {
    fill: none;
    stroke: #ff0000;
    /* Color Rojo */
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dibujaFirma 2s ease-out forwards infinite;
}

.subrayado-firma .linea-1 {
    animation-delay: 0.2s;
}

.subrayado-firma .linea-2 {
    animation-delay: 0.6s;
    stroke-width: 4;
}

.subrayado-firma .linea-3 {
    animation-delay: 1s;
    stroke-width: 3;
}

@keyframes dibujaFirma {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40%,
    80% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
        /* Desvanece para reiniciar el bucle */
    }
}

@media (max-width: 768px) {
    .subrayado-firma {
        width: 100%;
        max-width: 350px;
        height: 50px;
    }
}

.quito-subtitulo {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.necesitas-texto {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .laptops-titulo {
        font-size: 3rem;
    }

    .quito-subtitulo {
        font-size: 1.8rem;
    }

    .seccion-video-banner {
        height: 60vh;
        min-height: 400px;
    }

    .necesitas-texto {
        font-size: 1.1rem;
    }
}


.servicios {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    scroll-margin-top: 100px;
}

.contenedor-servicios {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-servicios {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #0066ff, #ff3333, #0066ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    will-change: transform, opacity;
}

.servicio-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
}



.servicio-card {
    background: transparent;
    perspective: 1000px;
    height: 380px;
    /* Altura fija para el giro */
    border: none;
    padding: 0;
}

.servicio-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.servicio-card:hover .servicio-card-inner {
    transform: rotateY(180deg);
}

.servicio-card-front,
.servicio-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    background: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* El frente solo tiene el título */
.servicio-card-front {
    z-index: 2;
}

.servicio-card-front h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.servicio-img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 15px rgba(0, 102, 255, 0.2));
    transition: transform 0.5s ease;
}

.servicio-card:hover .servicio-img {
    transform: scale(1.1);
}

/* La parte de atrás tiene toda la info */
.servicio-card-back {
    transform: rotateY(180deg);
    text-align: left;
    justify-content: space-evenly;
}

.servicio-card-back h3 {
    font-size: 1.2rem;
    color: #0066ff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.servicio-card-back p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Aplicar el borde neon al contenedor interno */
.servicio-card-inner::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 17px;
    padding: 2px;
    background: linear-gradient(45deg, #0066ff, #ff0000, #0066ff, #ff0000);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.servicio-card:hover .servicio-card-inner::before {
    opacity: 1;
    animation: blueRedNeonBorder 2s ease-in-out infinite;
}

/* Estilos para tarjetas oscuras (igual al header) */
.dark-card .servicio-card-front,
.dark-card .servicio-card-back {
    background: linear-gradient(90deg, #001f3f 0%, #003366 50%, #002244 100%);
    color: #ffffff;
}

.dark-card .servicio-card-front h3,
.dark-card .servicio-card-back h3 {
    color: #ffffff;
}

.dark-card .servicio-card-back p {
    color: rgba(255, 255, 255, 0.9);
}

.dark-card .servicio-item {
    background: rgba(255, 255, 255, 0.1);
}

.dark-card .servicio-item span {
    color: #ffffff;
}

.dark-card .servicio-item i {
    color: #00d4ff;
    /* Un azul más brillante para destacar sobre el fondo oscuro */
}

.dark-card .servicio-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Estilos para tarjetas gris tecnológico */
.tech-grey-card .servicio-card-front,
.tech-grey-card .servicio-card-back {
    background: linear-gradient(90deg, #1a1a1b 0%, #374151 50%, #1a1a1b 100%);
    color: #ffffff;
}

.tech-grey-card .servicio-card-front h3,
.tech-grey-card .servicio-card-back h3 {
    color: #ffffff;
}

.tech-grey-card .servicio-card-back p {
    color: rgba(255, 255, 255, 0.9);
}

.tech-grey-card .servicio-item {
    background: rgba(255, 255, 255, 0.1);
}

.tech-grey-card .servicio-item span {
    color: #ffffff;
}

.tech-grey-card .servicio-item i {
    color: #00d4ff;
}

.tech-grey-card .servicio-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes blueRedNeonBorder {

    0%,
    100% {
        filter: drop-shadow(0 0 8px #0066ff);
    }

    50% {
        filter: drop-shadow(0 0 15px #ff0000);
    }
}





.servicios-lista {
    margin-top: 1rem;
    text-align: left;
}

.servicio-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.servicio-item:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateX(5px);
}

.servicio-item i {
    color: #0066ff;
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
}

.servicio-item span {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.productos {
    padding: 5rem 2rem 2rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    scroll-margin-top: 100px;
}

.contenedor-productos {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-productos {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #00ff00, #0066ff, #ff3333, #0066ff, #00ff00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
}

.descripcion-productos {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.producto-card {
    will-change: transform, opacity;
}

.producto-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
}



@keyframes dropAndBounce {
    0% {
        opacity: 0;
        transform: translateY(-200px) scale(0.7);
    }

    /* El overshoot del cubic-bezier hará el rebote automáticamente */
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.producto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, #0066ff, #ff0000, #0066ff, #ff0000);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.8;
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(0, 0, 0, 0.2);
}

.producto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 0 25px rgba(0, 102, 255, 0.4),
        0 0 40px rgba(255, 0, 0, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.2);
}

.producto-card:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, #ff0000, #0066ff, #ff0000, #0066ff);
    animation: blueRedNeonBorder 2s ease-in-out infinite;
}



.producto-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.producto-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.producto-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.componentes-lista {
    margin: 1.5rem 0;
    text-align: left;
}

.componente-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.componente-item:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateX(5px);
}

.componente-item i {
    color: #0066ff;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.componente-item span {
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
}

.producto-precio {
    background: linear-gradient(90deg, #001f3f 0%, #003366 50%, #002244 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 150, 255, 0.3);
    transition: all 0.3s ease;
}

.producto-precio:hover {
    box-shadow: 0 6px 25px rgba(0, 150, 255, 0.4);
    transform: translateY(-2px);
}

.programacion {
    padding: 4rem 2rem;
    background: linear-gradient(90deg, #1a1a1b 0%, #374151 50%, #1a1a1b 100%);
    color: #ffffff;
    scroll-margin-top: 100px;
}

.contenedor-programacion {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.titulo-programacion {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #0066ff, #ff3333, #0066ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
}

.descripcion-programacion {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.programacion-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, #0066ff, #ff0000, #0066ff, #ff0000);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.8;
    box-shadow:
        inset 0 0 15px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 0 25px rgba(0, 102, 255, 0.4),
        0 0 40px rgba(255, 0, 0, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-item:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, #ff0000, #0066ff, #ff0000, #0066ff);
    animation: blueRedNeonBorder 2s ease-in-out infinite;
}

.feature-icono {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #0066ff;
}

.feature-item p {
    opacity: 0.8;
    font-size: 0.9rem;
    color: #555;
}

.btn-consulta {
    background: linear-gradient(135deg, #0066ff 0%, #004499 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-consulta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.proyectos {
    padding: 5rem 2rem;
    background: white;
    scroll-margin-top: 100px;
}

.contenedor-proyectos {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-proyectos {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #0066ff, #ff3333, #0066ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
}

.descripcion-proyectos {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.proyecto-card {
    will-change: transform, opacity;
}

.proyecto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 1;
    transform-origin: top left;
}



@keyframes unfoldSheet {
    0% {
        transform: scale(0) rotate(-5deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.proyecto-card::before {
    content: '';
    position: absolute;
    top: 200px;
    /* Altura de la imagen */
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 0 20px 20px;
    padding: 2px;
    background: linear-gradient(45deg, #0066ff, #ff0000, #0066ff, #ff0000);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.8;
    z-index: 2;
    pointer-events: none;
    transition: all 0.3s ease;
}

.proyecto-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 0 25px rgba(0, 102, 255, 0.3),
        0 0 40px rgba(255, 0, 0, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.15);
}

.proyecto-card:hover::before {
    opacity: 1;
    background: linear-gradient(45deg, #ff0000, #0066ff, #ff0000, #0066ff);
    animation: blueRedNeonBorder 2s ease-in-out infinite;
}

.proyecto-imagen {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.proyecto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.proyecto-card:hover .proyecto-imagen img {
    transform: scale(1.1);
}

.proyecto-contenido {
    padding: 2rem;
}

.proyecto-contenido h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.proyecto-contenido p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.proyecto-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(0, 102, 255, 0.12);
    color: #0066ff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 102, 255, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.tech-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ffff;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #ffffff;
    border-color: #00ffff;
    color: #0088aa;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 255, 255, 0.15);
}

.tech-tag:hover::before {
    background: #ff3333;
    box-shadow: 0 0 8px #ff3333;
}

.proyecto-links {
    display: flex;
    gap: 1rem;
}

.proyecto-link {
    text-decoration: none;
    color: #0066ff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #0066ff;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.proyecto-link:hover {
    background: #0066ff;
    color: white;
    transform: translateY(-2px);
}

.carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    isolation: isolate;
    z-index: 1;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 2;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.contacto {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    scroll-margin-top: 100px;
}

.contenedor-contacto {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-contacto {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    background: linear-gradient(90deg, #3498db, #e74c3c, #2ecc71, #3498db);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: colorWave 3s ease-in-out infinite;
}

.descripcion-contacto {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contacto-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
    opacity: 1;
}



.contacto-card::before,
.social-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a56db, #6fa0ff, #1a56db);
    background-size: 200% 100%;
    animation: moveLeftLine 2s linear infinite;
}

.contacto-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contacto-subtitulo {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    line-height: 1.5;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f9f9f9;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item:hover {
    transform: translateX(5px);
}

.info-icono {
    font-size: 1.2rem;
    min-width: 40px;
    height: 40px;
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.info-texto h4 {
    color: #3498db;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.info-texto p {
    color: #555;
    margin: 0;
}

.social-links {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 1;
}



.social-links h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.contacto-form {
    background: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Sombra suave y difusa */
    position: relative;
    overflow: hidden;
    /* Para que la línea respete el border-radius */
    opacity: 1;
}



.contacto-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1a56db, #6fa0ff, #1a56db);
    background-size: 200% 100%;
    animation: moveLeftLine 2s linear infinite;
}

@keyframes moveLeftLine {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    /* Bordes redondeados modernos */
    padding: 1.2rem;
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #1a56db;
    /* Azul intenso al enfocar */
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.form-group select option {
    background: white;
    color: #333;
}

.btn-enviar {
    background: #1a56db;
    /* Azul intenso sólido */
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}



.btn-enviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

@media (max-width: 768px) {
    .contacto {
        padding: 2rem 1rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacto-info {
        order: 2;
    }

    .contacto-form {
        order: 1;
    }

    .info-item {
        padding: 1rem;
    }

    .info-icono {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .info-texto h4 {
        font-size: 1rem;
    }

    .info-texto p {
        font-size: 0.9rem;
    }

    .social-links {
        padding: 1rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .contacto-form {
        padding: 1.5rem;
    }

    .contacto-card {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .btn-enviar {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contacto {
        padding: 1.5rem 0.5rem;
    }

    .contacto-grid {
        gap: 1.5rem;
    }

    .info-item {
        padding: 0.8rem;
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        align-items: flex-start;
    }

    .info-icono {
        font-size: 1.3rem;
    }

    .info-texto h4 {
        font-size: 0.9rem;
    }

    .info-texto p {
        font-size: 0.8rem;
    }

    .social-links {
        padding: 0.8rem;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .contacto-form {
        padding: 1rem;
    }

    .contacto-card {
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .btn-enviar {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

.footer {
    background: linear-gradient(90deg, #001f3f 0%, #003366 50%, #002244 100%);
    color: white;
    padding: 3rem 2rem 1rem;
}

.contenedor-footer {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-seccion h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.footer-seccion:nth-child(2) h3 {
    text-align: left;
}

.footer-seccion p {
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.footer-social-icon {
    width: 35px;
    height: 35px;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social-icon:hover {
    background: #00ffff;
    transform: translateY(-3px);
}

.footer-social-icon i {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00ffff;
    opacity: 1;
    transform: translateX(5px);
}

.footer-contacto {
    list-style: none;
    padding: 0;
}

.footer-contacto li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
}

.footer-contacto li i {
    min-width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Widget de WhatsApp */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b858;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* Chat Box */
.whatsapp-chat {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
}

.whatsapp-chat.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, #0a6a5f 0%, #11897c 100%);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.chat-info h4 {
    color: white;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chat-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.chat-close {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-body {
    padding: 20px;
    background: #e5ddd5;
    min-height: 100px;
}

.chat-message {
    background: white;
    padding: 12px 15px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 90%;
}

.chat-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid white;
    border-left: 8px solid transparent;
}

.chat-message p {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.chat-footer {
    padding: 15px;
    background: #f0f0f0;
    display: flex;
    justify-content: flex-end;
}

.chat-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-send-btn:hover {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: bounceBadge 2s infinite;
}

@keyframes bounceBadge {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(-3px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
}


@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .imagen-perfil {
        max-width: 300px;
        width: 100%;
        height: auto;
        border-radius: 15px;
        border-width: 3px;
    }
}

/* Media queries adicionales para imagen ultra-responsiva */
@media (max-width: 1200px) {
    .imagen-perfil {
        max-width: 550px;
    }
}

@media (max-width: 992px) {
    .imagen-perfil {
        max-width: 450px;
    }
}

@media (max-width: 600px) {
    .imagen-perfil {
        max-width: 350px;
        border-radius: 18px;
    }
}

@media (max-width: 400px) {
    .imagen-perfil {
        max-width: 250px;
        border-radius: 12px;
        border-width: 2px;
    }
}

@media (max-width: 320px) {
    .imagen-perfil {
        max-width: 220px;
        border-radius: 10px;
    }
}

/* Carrusel de Marcas */
.marcas-carousel {
    background: transparent;
    padding: 2rem 0;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    border-bottom: none;
    z-index: 5;
}

.marcas-carousel::before,
.marcas-carousel::after {
    display: none;
}

.marcas-track {
    display: flex;
    width: calc(200px * 44);
    /* 22 logos + 22 duplicados */
    animation: scrollMarcas 60s linear infinite;
    /* Ajuste de tiempo por más logos */
}

/* Ajuste específico para imagen de slide 2 */
.imagen-optimizacion {
    max-width: 450px !important;
}

@media (max-width: 600px) {
    .imagen-optimizacion {
        max-width: 350px !important;
    }
}

@media (max-width: 480px) {
    .imagen-optimizacion {
        max-width: 300px !important;
    }
}

@media (max-width: 400px) {
    .imagen-optimizacion {
        max-width: 250px !important;
    }
}

@media (max-width: 320px) {
    .imagen-optimizacion {
        max-width: 220px !important;
    }
}

.marca-slide {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.marca-slide img {
    height: 40px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.marca-slide img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollMarcas {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 22));
        /* Se desplaza el total de 22 marcas originales */
    }
}

/* Pausar al pasar el mouse */
.marcas-carousel:hover .marcas-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marca-slide {
        width: 150px;
    }

    .marcas-track {
        width: calc(150px * 44);
    }

    @keyframes scrollMarcas {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 22));
        }
    }

    .marca-slide img {
        height: 30px;
        max-width: 100px;
        object-fit: contain;
    }
}

/* Modal de Planes */
.modal-planes {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 5000;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: fadeInModal 0.3s ease;
}

.modal-planes.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-contenido {
    background: white;
    width: 95%;
    max-width: 550px;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 102, 255, 0.1);
    animation: scaleInModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleInModal {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-cerrar {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-cerrar:hover {
    color: #ff3333;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    color: #001f3f;
    font-size: 1.5rem;
    margin-top: 15px;
}

.plan-badge-modal {
    display: inline-block;
    background: #ff3333;
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.modal-body {
    text-align: center;
}

.plan-info-confirmacion {
    background: #f8faff;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid #eef2f7;
    text-align: center;
}

#modalPlanNombre {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #0066ff;
    margin-bottom: 0.5rem;
}

.plan-precio-modal {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
}

.modal-separador {
    height: 1px;
    background: linear-gradient(90deg, transparent, #0066ff33, transparent);
    margin: 1.5rem 0;
}

.plan-features-modal {
    text-align: left;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 15px;
}

.plan-features-modal::-webkit-scrollbar {
    width: 6px;
}

.plan-features-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.plan-features-modal::-webkit-scrollbar-thumb {
    background: #0066ff33;
    border-radius: 10px;
}

.plan-features-modal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-modal li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.plan-features-modal li i {
    color: #2ecc71;
    font-size: 1rem;
    margin-top: 3px;
}

.modal-acciones {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-confirmar {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    font-family: inherit;
    flex: 1;
}

.btn-confirmar:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.btn-cancelar {
    padding: 1rem 1.5rem;
    background: #f1f1f1;
    color: #666;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    flex: 1;
}

.btn-cancelar:hover {
    background: #e5e5e5;
    color: #333;
}

@media (max-width: 480px) {
    .modal-contenido {
        padding: 2rem 1.5rem;
    }

    .modal-acciones {
        flex-direction: column;
    }

    .btn-confirmar,
    .btn-cancelar {
        width: 100%;
        flex: none;
    }
}