:root {
    --bg-dark: #0a0a0b;
    --accent-purple: #8113fe; /* Morado brillante */
    --text-gray: #888;
    --text-white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #121214;
}

/* NAVBAR PC */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--bg-dark);
    border-bottom: 1px solid #222;
}

.logo img {
    height: 30px;   /* ajusta a tu gusto */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Efecto Hover PC */
.nav-links a:hover {
    color: var(--text-white);
    background: rgba(123, 58, 243, 0.3);
    box-shadow: 0 0 15px rgba(58, 80, 247, 0.6);
    text-shadow: 0 0 5px var(--accent-purple);
}

/* NAVBAR MÓVIL (Estilo Bottom Bar) */
.mobile-nav {
    display: none; /* Oculto en PC */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-radius: 20px;
    padding: 10px 20px;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.7rem;
    transition: 0.3s;
}

.nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* Hover (PC principalmente) */
.nav-item:hover {
    color: var(--accent-purple);
    text-shadow: 0 0 10px var(--accent-purple);
}

/* Activo (estado permanente) */
.nav-item.active {
    color: var(--accent-purple);
    text-shadow: 0 0 10px var(--accent-purple);
}


/* RESPONSIVE LOGIC */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Esconde links de PC */
    .mobile-nav { display: flex; } /* Muestra barra de iconos */
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    max-height: 800px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Imagen */
.carousel-slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto */
.slide-content {
    position: relative;
    z-index: 2;
    background: rgba(36, 3, 111, 0.4);
    
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slide-content h1 {
    font-size: 3.5rem;
    color: #ffffff;
}

.slide-content p {
    color: white;
    font-size: 1rem;
}

/* Flechas */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    background: rgba(0,0,0,0.2);
    color: rgb(172, 88, 250);
    border: none;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 30%;
    z-index: 1;
    transition: background 0.3s ease;
    
}


.carousel-btn:hover {
    background: rgba(0,0,0,0.7);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #aaa;
    cursor: pointer;
}

.dot.active {
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .slide-content h1 { font-size: 2.5rem; }
    .carousel-btn { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .slide-content h1 { font-size: 2rem; }
}

/* CONTENEDOR PRINCIPAL */
.row {
    display: flex;          /* 🔴 ESTO ES OBLIGATORIO */
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* COLUMNAS */
.column {
    flex: 1 1 calc(50% - 20px); /* 2 columnas */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* IMÁGENES */
.column img {
    width: 100%;            /* 🔴 SIN ESTO NO SE ADAPTAN */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .column {
        flex: 1 1 calc(25% - 20px); /* 4 columnas */
    }
}

.galeria-title {
    position: relative;
    height: 80px;
    background-color: #1a1a1c;
    color: rgb(255, 255, 255);
    padding: 50px;
    text-align: center;
    overflow: hidden; /* 🔴 importante */
}

/* CÍRCULO IZQUIERDO */
.galeria-title::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(106, 14, 227, 0.8) 20%, rgba(129, 19, 254, 0) 200%);
    filter: blur(100px);
    top: -150px;
    left: -100px;
}

/* CÍRCULO DERECHO */
.galeria-title::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(140, 28, 253, 0.8) 20%, rgba(129, 19, 254, 0) 200%);
    filter: blur(100px);
    top: 80px;
    right: -2%;
}

/* Mantener el texto arriba */
.galeria-title h2 {
    position: relative;
    z-index: 1;
}

.footer {
    background-color: #0a0a0b;
    background: radial-gradient(circle at top, #1b0f3a, #0a0a0b 70%);
    color: #cfc8ff;
    padding: 40px 5% 20px;
    border-top: 1px solid #222;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: start;
}

/* Logo */
.footer-logo img {
    
    margin-top: 10%;
    width: 150px;
    opacity: 0.5;
    padding: 10%;
}

/* Títulos */
.footer h4 {
    margin-top: 10%;
    color: #a689f8;
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Directorio */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    text-decoration: none;
    color: #b6b5b8;
;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #8113fe;
}

/* Contacto */
.footer-contact a {
    color: #b6b5b8;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #8113fe;
}

/* Línea inferior */
.footer-bottom {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
    font-size: 0.85rem;
    color: #777;
}

.banner {
    min-height: 80vh;
    background: radial-gradient(circle at top, #1b0f3a, #0a0a0b 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 5%;
    overflow: hidden;
}

.banner-content {
    max-width: 700px;
    text-align: center;
    color: white;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.banner-subtitle {
    display: block;
    color: #a689f8;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #d6d6e0;
    margin-bottom: 35px;
}

/* BOTÓN */
.banner-btn {
    padding: 14px 42px;
    font-size: 1rem; 
    border: none;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, #a689f8, #8113fe);
    box-shadow: 0 0 20px rgba(129, 19, 254, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.banner-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 35px rgba(129, 19, 254, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.2rem;
    }
}

/* ========================= */
/* PANEL DE PARTÍCULAS */
/* ========================= */

.particles-section {
    position: relative;
    height: 80vh;
    background: radial-gradient(circle at top, #1b0f3a, #0a0a0b 75%);
    overflow: hidden;
}

/* Canvas ocupa todo */
#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Contenido encima */
.particles-overlay {
    position: relative;
    z-index: 2;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.particles-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(129, 19, 254, 0.6);
}

.particles-overlay p {
    max-width: 600px;
    font-size: 1rem;
    color: #d6d6e0;
}

/* Responsive */
@media (max-width: 768px) {
    .particles-overlay h2 {
        font-size: 2rem;
    }
}

/* ========================= */
/* SECCIÓN DE CARDS */
/* ========================= */

.cards-section {
    padding: 80px 5%;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* CARD */
.card {
    flex: 1;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(129, 19, 254, 0.4);
}

/* IMAGEN */
.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* CONTENIDO */
.card-content {
    padding: 10px;
    text-align: center;
}

.card-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-content p {
    color: #cfc8ff;
    font-size: 0.95rem;
    margin-bottom: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }}

/* ========================= */
/* CARD CONTACTO DESTACADA */
/* ========================= */

.card-contact {
    background: linear-gradient(135deg, #290c88, #8f6bf4);
    box-shadow: 0 40px 80px rgba(129, 19, 254, 0.3);
}

.card-contact:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 70px rgba(129, 19, 254, 0.8);
}

/* Texto */
.card-contact h3 {
    color: white;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.contact-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    align-items: center;
}

.contact-phone {
    font-size: 1rem;
    color: rgba(241, 234, 255, 0.6);
    margin-bottom: 40px;
}

/* Botón */
.contact-btn {
    background: white;
    color: #8113fe;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.contact-btn:hover {
    background: #f1eaff;
    color: #8113fe;
}
.card-contact {
    display: flex;
    align-items: center;      /* centro vertical */
    justify-content: center;  /* centro horizontal */
    text-align: center;
}

.card-contact .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========================= */
/* BANNER CON VIDEO */
/* ========================= */

.video-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video fondo */
.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay oscuro */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(10, 10, 11, 0.7),
        rgba(10, 10, 11, 0.9)
    );
    z-index: 1;
}

/* Contenido */
.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 700px;
    padding: 20px;
}

.video-subtitle {
    display: block;
    color: #a689f8;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.video-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(129, 19, 254, 0.6);
}

.video-content p {
    color: #d6d6e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .video-content h2 {
        font-size: 2.2rem;
    }

    .video-banner {
        height: 70vh;
    }
}

/* ========================= */
/* BANNER EDITORIAL 3 BLOQUES */
/* ========================= */

.editorial-banner {
    position: relative;
    padding: 120px 5%;
    background: radial-gradient(
        circle at top,
        rgba(129, 19, 254, 0.25),
        #0a0a0b 70%
    );
    overflow: hidden;
}

/* Blur radial decorativo */
.editorial-banner::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(88, 27, 255, 0.4),
        rgba(129, 19, 254, 0)
    );
    filter: blur(250px);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

/* Contenedor */
.editorial-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    z-index: 1;
}

/* Bloques */
.editorial-block {
    color: white;
}

.editorial-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #9665f7;
    text-shadow: 0 0 15px rgba(129, 19, 254, 0.6);
}

.editorial-block p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #d6d6e0;
}

/* Responsive */
@media (max-width: 900px) {
    .editorial-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .editorial-block h3 {
        font-size: 1.6rem;
    }
}

/* ========================= */
/* BANNER IMAGEN + TEXTO */
/* ========================= */

.image-text-banner {
    padding: 30px 5%;
    background: #0a0a0b;
}

/* Contenedor */
.image-text-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
}

/* Imagen */
.image-text-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* Contenido con efecto legibilidad */
.image-text-content {
    position: absolute;
    inset: 0;
    max-width: 40%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: linear-gradient(
        to right,
        rgba(12, 12, 58, 0.85),
        rgba(10, 10, 11, 0.5),
        rgba(10, 10, 11, 0)
    );

    backdrop-filter: blur(6px);
}

/* Texto */
.image-text-content h3 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 20px;

}

.image-text-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #d6d6e0;
}

/* Responsive */
@media (max-width: 768px) {
    .image-text-content {
        position: relative;
        max-width: 100%;
        background: rgba(10, 10, 11, 0.85);
        backdrop-filter: blur(8px);
    }

    .image-text-image img {
        height: 300px;
    }
}

/* ========================= */
/* VARIANTE TEXTO A LA DERECHA */
/* ========================= */

.image-text-banner.right .image-text-content {
    left: auto;
    right: 0;
    text-align: right;

    background: linear-gradient(
        to left,
        rgba(12, 12, 58, 0.85),
        rgba(10, 10, 11, 0.5),
        rgba(10, 10, 11, 0)
    );
}

/* Ajuste fino */
.image-text-banner.right .image-text-content h3,
.image-text-banner.right .image-text-content p {
    align-self: flex-end;
}

/* ========================= */
/* FORMULARIO DE CONTACTO */
/* ========================= */

.contact-form-section {
    padding: 120px 5%;
    background: radial-gradient(
        circle at top,
        #0a0a0b 70%
    );
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(20, 20, 30, 0.8);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 15px rgba(129, 19, 254, 0.6);
}

.contact-form-container p {
    font-size: 0.95rem;
    color: #d6d6e0;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #cfc8ff;
}

.form-group input,
.form-group textarea {
    background: rgba(10, 10, 11, 0.7);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.9rem;
    color: white;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8113fe;
    box-shadow: 0 0 15px rgba(129, 19, 254, 0.4);
}

/* Botón (reutiliza banner-btn) */
.contact-form button {
    margin-top: 20px;
    align-self: center;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 40px 25px;
    }

    .contact-form-container h2 {
        font-size: 2rem;
    }
}

/* ========================= */
/* BANNER DE CONTACTO */
/* ========================= */

.contact-banner1 {
    min-height: 70vh;
    padding: 120px 5%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #290c88,
        #5a2bd6,
        #8f6bf4
    );

    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.4);
}

.contact-banner-content {
    max-width: 800px;
    text-align: center;
}

/* Texto */
.contact-banner-content h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 25px;
}

.contact-banner .contact-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.contact-banner .contact-phone {
    font-size: 1.1rem;
    color: rgba(241, 234, 255, 0.75);
    margin-bottom: 50px;
}

/* Botón */
.contact-banner .contact-btn {
    font-size: 1rem;
    padding: 14px 40px;
}


/* ========================= */
/* BANNER DE DISEÑO */
/* ========================= */

.contact-banner2 {
    min-height: 70vh;
    padding: 120px 5%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #050034,
        #300675,
        #ba60ff
    );

    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.4);
}

.contact-banner-content2 {
    max-width: 800px;
    text-align: center;
}

/* Texto */
.contact-banner-content2 h2 {
    font-size: 4rem;
    color: white;
    margin-bottom: 25px;
}
.image-banner {
    width: 100%;
    height: 180px; /* bajo para mobile */
    background-image: url("imagenes/linkedindportada\ 3@2x.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 992px) {
    .image-banner {
        height: 300px; /* banner panorámico */
    }
}

