/* Reset and Base Styles */
@font-face {
    font-family: 'Sora';
    src: url('sora/Sora-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', sans-serif;
    height: 100vh;
}

/* Full-screen background video */
.bg-video-v1 {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    height: 100vh;
    width: 100vw;
    position: absolute;
    z-index: 1;
    filter: invert(100%);
    mix-blend-mode: difference;
}

/* Background Grid Lines using CSS borders on layout pseudo-elements */
.grid-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 49.91%;
    width: 1px;
    height: 100%;
    background-color: #000;
    z-index: 1;
    filter: invert(100%);
    mix-blend-mode: difference;
}

.grid-container::after {
    content: "";
    position: absolute;
    top: calc(49.89% + (100vh - 100%) / 2);
    /* Centers perfectly between rows 2 and 3 */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    z-index: 1;
    filter: invert(100%);
    mix-blend-mode: difference;
}


/* Navigation Items */
.nav-item {
    display: flex;
    padding: 0 24px;
    font-size: 20px;
    font-weight: 500;
    z-index: 2;
    text-decoration: none;
    color: inherit;
}

.nav-item.nav-video {
    position: relative;
    padding: 0;
}

.nav-item.nav-video .nav-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;

}

.nav-item .num {
    margin-right: 15px;
    font-size: 23px;
}

/* Center Typography */
.main-content {
    grid-column: 3/11;
    grid-row: 5/11;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    filter: invert(100%);
    mix-blend-mode: difference;

}

.main-content h1 {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 0.87;
    letter-spacing: -2.02px;
    margin-bottom: 24px;
}

.location {
    font-size: 24px;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-top: 50px;

}

.eje-x {
    position: absolute;
    top: 49.99%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #666666;
    transform: translateY(-50%);
}

/* Eje Vertical (Y) */
.eje-y {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: #666666;
    transform: translateX(-50%);
}

.punto {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #000000;
    border-radius: 1px;
    /* Ligeramente suavizado como los pixeles de la imagen */
    transform: translate(-50%, -50%);

}

/* Posicionamiento preciso en la cuadrícula de 3x3 */

/* Fila Superior */
.p1 {
    top: 25%;
    left: 18%;
}

.p2 {
    top: 25%;
    left: 50%;
}

.p3 {
    top: 25%;
    left: 82%;
}

.p4 {
    top: 50%;
    left: 18%;
}

.p5 {
    top: 50%;
    left: 50%;
}

.p6 {
    top: 50%;
    left: 82%;
}

.p7 {
    top: 75%;
    left: 18%;
}

.p8 {
    top: 75%;
    left: 50%;
}

.p9 {
    top: 75%;
    left: 82%;
}
.hoy-anim{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 370px;
    object-fit: cover;
    z-index: 1;
}