/* CSS para la landing Campus Lebalap (Página ID 19087) */

/* El body hereda de style.css global, pero aplicamos overrides específicos */
body.page-id-19087 {
    background: #343a40;
    color: #eeeeee;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Efectos de partículas de fondo */
body.page-id-19087::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

body.page-id-19087 .site-inner {
    max-width: 100%;
    padding: 0;
}

/* Ajustes estructurales para Genesis */
body.page-id-19087 .content-full {
    float: none;
    margin: 0 auto;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.campus-header {
    background: linear-gradient(135deg, #343a40 0%, #2c3136 100%);
    color: #eeeeee;
    padding: 60px 20px 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #00ced1;
    box-shadow: 0 5px 30px rgba(0, 206, 209, 0.3);
    margin-top: -20px;
    /* Corrección de margen Genesis si es necesario */
}

.campus-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.campus-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 30px;
    position: relative;
}

.campus-text {
    font-family: 'Roboto Slab', serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #343a40;
    text-shadow:
        1px 1px 0 #eeeeee,
        -1px -1px 0 #eeeeee,
        1px -1px 0 #eeeeee,
        -1px 1px 0 #eeeeee;
    margin-bottom: 10px;
    position: relative;
}

.logo-line {
    width: 95%;
    max-width: 1080px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 15px 0;
    position: relative;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    border-radius: 1px;
}

.logo-line::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    border-radius: 1px;
}

.logo-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
    filter: blur(2px);
    border-radius: 2px;
}

.campus-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(0, 206, 209, 0.5);
    position: relative;
    z-index: 1;
    color: #eeeeee;
    font-family: 'Montserrat', sans-serif;
}

.campus-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: #00ced1;
    text-shadow: 0 0 5px rgba(0, 206, 209, 0.3);
}

.section-campus {
    max-width: 1000px;
    margin: 40px auto;
    background-color: #343a40;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 25px, rgba(212, 175, 55, 0.1) 0px 0px 20px, rgba(212, 175, 55, 0.1) 0px 1px 0px inset;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2)
}

.section-campus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(212, 175, 55), transparent);
    border-radius: 20px 20px 0 0;
}

.section-campus:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

.section-campus h2 {
    color: #00ced1;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
    font-family: 'Roboto Slab', serif;
}

.section-campus h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00ced1, #00a8ab);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 206, 209, 0.6);
}

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.flex-img {
    flex: 1 1 350px;
}

.flex-content {
    flex: 2 1 400px;
}

.flex-img img,
.flex-img div {
    width: 100%;
    border-radius: 15px;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 206, 209, 0.2),
        inset 0 0 10px rgba(0, 206, 209, 0.1);
    background: linear-gradient(45deg, #2c3136, #1a1d20);
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ced1;
    font-size: 16px;
    border: 1px solid rgba(0, 206, 209, 0.3);
    transition: all 0.3s ease;
}

.flex-img img:hover,
.flex-img div:hover {
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(0, 206, 209, 0.4),
        inset 0 0 20px rgba(0, 206, 209, 0.2);
    transform: scale(1.02);
}

/* Video Facade (Optimización) */
.vimeo-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 206, 209, 0.2),
        inset 0 0 10px rgba(0, 206, 209, 0.1);
    border: 1px solid rgba(0, 206, 209, 0.3);
}

.vimeo-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.vimeo-facade:hover img {
    opacity: 0.9;
}

.vimeo-facade .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 206, 209, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
    box-shadow: 0 0 20px rgba(0, 206, 209, 0.6);
}

.vimeo-facade .play-button::before {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent white;
    margin-left: 5px;
}

.vimeo-facade:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(0, 206, 209, 1);
}

.flex-img iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    border: none;
}

.section-campus ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

.section-campus li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
    color: #eeeeee;
}

.section-campus li:hover {
    color: #00ced1;
    text-shadow: 0 0 5px rgba(0, 206, 209, 0.3);
    transform: translateX(5px);
}

.section-campus li b {
    color: #00ced1;
    text-shadow: 0 0 3px rgba(0, 206, 209, 0.3);
}

.price {
    font-size: 3rem;
    color: #00ced1;
    text-align: center;
    margin: 40px 0;
    font-weight: bold;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 206, 209, 0.6);
    animation: neonPulse 2s ease-in-out infinite;
    position: relative;
}

.price::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 206, 209, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 20px rgba(0, 206, 209, 0.6),
            0 0 30px rgba(0, 206, 209, 0.4),
            0 0 40px rgba(0, 206, 209, 0.2);
    }

    50% {
        text-shadow:
            2px 2px 4px rgba(0, 0, 0, 0.8),
            0 0 30px rgba(0, 206, 209, 0.8),
            0 0 50px rgba(0, 206, 209, 0.6),
            0 0 70px rgba(0, 206, 209, 0.4);
    }
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    background: linear-gradient(135deg, #2c3136 0%, #1a1d20 100%);
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    color: #00ced1;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(0, 206, 209, 0.3);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(0, 206, 209, 0.1);
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 206, 209, 0.1), transparent);
    transition: left 0.5s ease;
}

.step:hover::before {
    left: 100%;
}

.step:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #00ced1 0%, #00a8ab 100%);
    color: #1a1d20;
    border-color: #00ced1;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 206, 209, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: none;
}

.whatsapp-btn,
.email-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00ced1 0%, #00a8ab 100%);
    color: #1a1d20;
    padding: 16px 28px;
    border-radius: 10px;
    margin: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(0, 206, 209, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid #00ced1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-btn:hover,
.email-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 206, 209, 0.6),
        0 0 30px rgba(0, 206, 209, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #00e6ea 0%, #00ced1 100%);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    color: #343a40;
}

.campus-contact-space {
    height: 40px;
}

.formulario {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #2c3136 0%, #1a1d20 100%);
    border-radius: 15px;
    border: 2px solid rgba(0, 206, 209, 0.3);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 206, 209, 0.05);
}

.formulario label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    color: #00ced1;
    text-shadow: 0 0 3px rgba(0, 206, 209, 0.3);
}

.formulario input,
.formulario textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 2px solid rgba(0, 206, 209, 0.3);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(52, 58, 64, 0.8);
    color: #eeeeee;
}

.formulario input:focus,
.formulario textarea:focus {
    outline: none;
    border-color: #00ced1;
    background: rgba(52, 58, 64, 0.9);
    box-shadow:
        0 0 10px rgba(0, 206, 209, 0.3),
        inset 0 0 10px rgba(0, 206, 209, 0.1);
}

.formulario input::placeholder,
.formulario textarea::placeholder {
    color: rgba(238, 238, 238, 0.5);
}

.formulario button {
    background: linear-gradient(135deg, #00ced1 0%, #00a8ab 100%);
    color: #1a1d20;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(0, 206, 209, 0.4);
}

.formulario button:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 206, 209, 0.6);
    background: linear-gradient(135deg, #00e6ea 0%, #00ced1 100%);
}

.grecaptcha-badge {
    display: none;
}

.promo-video {
    width: 100%;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 206, 209, 0.2),
        inset 0 0 20px rgba(0, 206, 209, 0.05);
    background: linear-gradient(45deg, #2c3136, #1a1d20);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ced1;
    font-size: 18px;
    border: 1px solid rgba(0, 206, 209, 0.3);
    transition: all 0.3s ease;
}

.promo-video:hover {
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(0, 206, 209, 0.4),
        inset 0 0 30px rgba(0, 206, 209, 0.1);
    transform: scale(1.01);
}

@media (min-width: 901px) {
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .section-campus {
        padding: 30px 20px;
        margin: 20px 15px;
    }

    .flex {
        flex-direction: column;
        gap: 4px;
    }

    .flex-content {
        flex: 2 1 40px;
    }

    .flex-img {
        flex: 2 1 40px;
    }

    .campus-text {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .lebalap-text {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .campus-header::before {
        background: linear-gradient(90deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
        animation: shimmer 5s ease-in-out infinite;
    }

    @keyframes shimmer {
        0% {
            transform: translateX(-120%);
        }

        100% {
            transform: translateX(120%);
        }
    }

    .campus-header h1 {
        font-size: 2rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-btn,
    .email-btn {
        display: block;
        text-align: center;
        margin: 10px 0;
    }

    .campus-contact-space {
        height: 20px;
    }
}

/* Animaciones suaves al cargar */
.section-campus {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-campus:nth-child(2) {
    animation-delay: 0.1s;
}

.section-campus:nth-child(3) {
    animation-delay: 0.2s;
}

.section-campus:nth-child(4) {
    animation-delay: 0.3s;
}

.section-campus:nth-child(5) {
    animation-delay: 0.4s;
}

.section-campus:nth-child(6) {
    animation-delay: 0.5s;
}

.section-campus:nth-child(7) {
    animation-delay: 0.6s;
}

.section-campus:nth-child(8) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}