:root {
    --icon-dimensions: 4rem;
    --full-w: 100%;
    --full-h: 100%;
    --h1-clamp: clamp(6.5rem, 15vw, 30rem);
    --default-font-size: 1.75rem;
    --duration: 350ms;
    --gap: 0.4rem;
    --default-padding: 1.2rem;
    --z-20: 20;
    --z-30: 30;

    --black: rgb(12, 12, 10);
    --white: rgb(255, 255, 255);
}


/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    caret-color: transparent;
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.45);

}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;

}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

body {

    font-family: Arial, sans-serif;
    background: #000;
}


h1,
h2 {
    margin: 0 auto;
}

h1+h2 {
    border-bottom: var(--gap) solid var(--white);
    order: 3;
}

h2 {
    align-items: center;
    display: grid;
    font-size: calc(var(--default-font-size) * 1.25);
    font-variation-settings: "wght" 750;
    grid-gap: calc(var(--default-padding) * 1.25);
    grid-template-columns: calc(var(--default-padding) * 2) auto calc(var(--default-padding) * 2);
    order: 1;
    width: fit-content;

    &::before,
    &::after {
        content: "";
        border-top: var(--gap) solid var(--white);
    }
}

h2,
h3 {
    color: var(--white);
    position: relative;
}

@media only screen and (min-width: 760px) {


    h2 {
        font-size: calc(var(--default-font-size) * 1.75);
        grid-template-columns: minmax(6rem, 1fr) auto minmax(6rem, 1fr);
        letter-spacing: calc(var(--default-padding) / 1.5);

        &:nth-of-type(2) {
            transform: translatey(-1.75rem);
        }
    }

}

/* Splash screen completo */
#splash {
    position: fixed;
    inset: 0;
    background-color: black;
    /* Cambia por la ruta de tu imagen */
    background-size: cover;
    /* que cubra todo */
    background-position: center;
    /* centrada */
    background-repeat: no-repeat;
    /* sin repetición */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    color: #fff;
    font-family: 'Arial Black', sans-serif;
    text-align: center;
    animation: fadeOut 1s ease forwards;
    animation-delay: 3s;
    /* tiempo que permanece visible */
}


/* Texto central */
#splash h1 {

    letter-spacing: 3px;
    animation: pulse 2s infinite;
}

#splash p {
    margin-top: 1rem;
    font-size: clamp(1rem, 3vw, 1.5rem);
    opacity: 0.8;
    animation: floatText 2s ease-in-out infinite alternate;
}
.glitch-vhs {
    position: relative;
    width: 500px;
    height: 500px;
    overflow: hidden;
    background: #000;
}

/* Imagen base */
.base-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    animation: glitchimg 3s infinite steps(1);
}

/* Capas RGB */
.glitch-vhs::before,
.glitch-vhs::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/logos/logo.PNG');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}

.glitch-vhs::before {
    filter: drop-shadow(-8px 0 red);
    animation: rgbLeft 3s infinite;
}

.glitch-vhs::after {
    filter: drop-shadow(8px 0 cyan);
    animation: rgbRight 3s infinite;
}

@keyframes glitchimg {

    0%,
    85%,
    100% {
        opacity: 1;
    }

    88% {
        opacity: 0.8;
    }

    90% {
        opacity: 1;
    }
}

@keyframes rgbLeft {

    0%,
    80%,
    100% {
        opacity: 0;
        transform: none;
    }

    85% {
        opacity: 1;
        transform: translate(-12px, 3px);
    }

    90% {
        opacity: 1;
        transform: translate(8px, -2px);
    }
}

@keyframes rgbRight {

    0%,
    80%,
    100% {
        opacity: 0;
        transform: none;
    }

    87% {
        opacity: 1;
        transform: translate(10px, -3px);
    }

    92% {
        opacity: 1;
        transform: translate(-6px, 2px);
    }
}

#language-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9998;
    transition: transform 0.4s ease;
}

.lang-box {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease;
}

.lang-box:hover {
    transform: scale(1.02);
}

/* LOGO */
.lang-logo {
    width: 90px;
    margin: 0 auto 25px auto;
    /* centra horizontalmente */
    display: block;
    /* necesario para que margin auto funcione */
    opacity: 0.8;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

#lang-title {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lang-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lang-btn {
    padding: 14px 0;
    font-size: 14px;
    letter-spacing: 3px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Glow hover */
.lang-btn:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* Liquid shine effect */
.lang-btn::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 300%;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    transform: rotate(25deg);
    transition: 0.6s;
}

.lang-btn:hover::before {
    top: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    #lang-title {
        font-size: 22px;
    }

    .lang-box {
        padding: 40px 25px;
    }
}

/* Animación del texto */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes floatText {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Animación de desaparición */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
}



/* DESKTOP MENU */

.desktop-menu {
    position: fixed;
    inset: 0 0 auto 0;
    height: 110px;
    z-index: 1;

    backdrop-filter: blur(20px);
    background: rgba(20, 20, 20, 0.6);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 20px;
}

.menu-logo img {
    width: 40px;
}

.menu-links {
    display: flex;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* reset total del button */
.menu-links button {
    all: unset;
}

/* estilos base */
.menu-links button,
.menu-links a {
    color: white;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    position: relative;
}

/* linea animada */
.menu-links button::after,
.menu-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);

    width: 0%;
    height: 2px;
    background: white;

    transition: width .3s ease;
}

/* hover */
.menu-links button:hover::after,
.menu-links a:hover::after {
    width: 100%;
}

.menu-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-links button.active::after {
    width: 100%;
}

.menu-links button.active {
    opacity: 1;
}

.menu-links button {
    opacity: 0.6;
}

.menu-links button:hover {
    opacity: 1;
}

/* LANGUAGE SWITCH */

.language-switch {
    position: relative;

    display: flex;
    align-items: center;
    gap: 6px;

    color: white;
    font-size: 14px;
    letter-spacing: 1px;

    cursor: pointer;

    opacity: .8;
    transition: .3s;
}

.language-switch:hover {
    opacity: 1;
}

.language-switch i {
    font-size: 16px;
}

/* dropdown */

.language-dropdown {
    position: absolute;
    top: 15px;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;

    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(10px);

    padding: 8px 10px;
    border-radius: 6px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);

    transition: .3s;
}

.language-switch:hover .language-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.language-dropdown button {
    all: unset;

    color: white;
    font-size: 13px;
    cursor: pointer;

    padding: 4px 6px;
    border-radius: 4px;

    transition: .2s;
}

.language-dropdown button:hover {
    background: rgba(255, 255, 255, .1);
}

/* FLAGS */

.country-flags {
    position: relative;
    width: 28px;
    height: 20px;
}

.flag {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 1s ease;
}

.flag.active {
    opacity: 1;
}


/* MOBILE BAR */

.mobile-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 420px;

    height: 65px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);

    border-radius: 40px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);

    z-index: 9999;
}

.mobile-item {
    position: relative;
    color: white;
    font-size: 20px;

    text-decoration: none;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    transition: 0.3s;
    background: rgba(255, 255, 255, 0.1);
}



.mobile-item.center {
    width: 55px;
    height: 55px;

    background: white;
    color: black;

    font-size: 22px;

    transform: translateY(-12px);

}

.mobile-item.center img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: invert(1);
}

.mobile-item.active::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.7),
        0 0 20px rgba(255, 255, 255, 0.45),
        0 0 35px rgba(255, 255, 255, 0.25);
    animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow:
            0 0 5px rgba(255, 255, 255, 0.6),
            0 0 10px rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow:
            0 0 7px rgba(255, 255, 255, 0.9),
            0 0 15px rgba(255, 255, 255, 0.6);
    }
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .desktop-menu {
        display: none;
    }

    #gallery {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }

    .gallery-header {

        padding-top: 120px !important;

    }


}

@media (min-width: 901px) {

    .mobile-bar {
        display: none;
    }

}

#app {
    overflow: hidden;
    width: 100%;
    position: relative;
    max-height: fit-content;
}

/* páginas */
.page {
    
    position: absolute;
    inset: 0;

    width: 100%;
    max-width: 100vw;

    display: flex;
    flex-direction: column;

    opacity: 0;
    transform: translateX(60px);
    filter: blur(8px);

    pointer-events: none;
    transition:
        transform .6s cubic-bezier(.22, .61, .36, 1),
        opacity .6s,
        filter .6s;
}

/* página visible */

.page.active {
    overflow: hidden;
    position: relative;
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);

    pointer-events: auto;
}


/* salida hacia la izquierda */
.page.exit-left {
    transform: translateX(-80px);
    opacity: 0;
    filter: blur(8px);
}

/* salida hacia la derecha */
.page.exit-right {
    transform: translateX(80px);
    opacity: 0;
    filter: blur(8px);
}

/* entrada desde izquierda */
.page.enter-left {
    transform: translateX(-80px);
}

/* entrada desde derecha */
.page.enter-right {
    transform: translateX(80px);
}

/* HERO VIDEO */

.hero-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* video fondo */
.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* overlay oscuro */
.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);
}

/* contenido encima */
.hero-content {
    min-height: 100vh;
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.hero-video {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* titulo */
.hero-content h1 {
    font-size: clamp(40px, 6vw, 90px);
    letter-spacing: 3px;
}

/* subtitulo */
.hero-content p {
    margin-top: 10px;
    font-size: clamp(16px, 2vw, 24px);
    opacity: 0.8;
}

.tour-dates {

    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;

    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, .35);

    padding: 20px 50px;
    border-radius: 60px;

    border: 1px solid rgba(255, 255, 255, .15);

}

/* cada región */

.tour-item {

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

/* EUROPA / LATAM */

.tour-region {

    font-size: 14px;
    letter-spacing: 4px;
    opacity: .6;

}

/* fechas */

.tour-date {

    font-size: 24px;
    letter-spacing: 2px;
    margin-top: 5px;

}

/* línea separadora */

.tour-divider {

    width: 1px;
    height: 40px;

    background: rgba(255, 255, 255, .25);

}

/* ---------- MOBILE ---------- */

@media (max-width:768px) {

    .tour-dates {
        margin-bottom: 0px;
        margin-top: 80px;

        flex-direction: column;

        gap: 20px;

        padding: 20px 30px;

        border-radius: 25px;

    }

    .tour-divider {

        width: 60%;
        height: 1px;

    }

    .tour-date {

        font-size: 20px;

    }

}

/* botón */
.hero-btn {
    backdrop-filter: blur(5px);
    margin-top: 50px;

    padding: 15px 30px;

    border: 1px solid white;
    background: transparent;

    color: white;
    font-size: 16px;
    letter-spacing: 2px;

    cursor: pointer;

    transition: .3s;
}

.hero-btn:hover {
    background: white;
    color: black;
}


@media (max-width:768px) {

    .hero-content h1 {
        font-size: clamp(52px, 12vw, 70px);
        letter-spacing: 4px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-btn {
        padding: 12px 24px;
        margin-top: 75px;
    }




    .hero-swiper .swiper-pagination-bullet,
    .country-swiper .swiper-pagination-bullet {

        width: 10px !important;

    }

    .hero-swiper .swiper-pagination-bullet-active,
    .country-swiper .swiper-pagination-bullet {

        width: 20px !important;
    }

    .swiper-pagination {

        bottom: 30px !important;


    }
}

#gallery {
    margin-top: 110px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.gallery-header {

    text-align: center;

    max-width: 100%;
}

.gallery-header h2 {

    font-size: clamp(40px, 6vw, 70px);
    letter-spacing: 4px;
}

.gallery-header p {
    color: #fff;
    margin-top: 10px;
    font-size: 18px;
    opacity: .6;
}

.country-title {

    text-align: center;
    margin-top: 100px;
    position: relative;

}

.country-title h3 {

    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 6px;
    font-weight: 500;

    text-transform: uppercase;

    position: relative;

}

/* línea decorativa */

.country-title h3::after {

    content: "";

    display: block;

    width: 150px;
    height: 1px;

    background: white;

    margin: 18px auto 14px;

    opacity: .5;

}

/* dirección del estudio */

.country-title p {
    color: #fff;
    font-size: 14px;
    letter-spacing: 2px;

    opacity: .6;

}

.gallery-swiper,
.country-swiper {
    width: 100%;
    padding: 60px 0;
}

.country-section,
.lightbox-content {
    width: 100%;
}

.hero-swiper .swiper-slide,
.country-swiper .swiper-slide {

    height: 500px;

    border-radius: 10px;
    overflow: hidden;

    transform: scale(.9);
    transition: transform .4s ease;
}

.swiper-slide-active {
    transform: scale(1);
}

.swiper-slide img {

    width: 100%;
    height: 100%;
    object-fit: cover;

    display: block;
}

.hero-swiper .swiper-pagination-bullet,
.country-swiper .swiper-pagination-bullet {

    width: 20px;
    height: 8px;

    border-radius: 3px;

    background: rgba(255, 255, 255, .7);

    transition: .4s;

}

.hero-swiper .swiper-pagination-bullet-active,
.country-swiper .swiper-pagination-bullet {

    width: 40px;

    background: white;

    animation: bulletGlow 2s infinite;

}

.swiper-pagination {

    bottom: 35px !important;

    display: flex;
    justify-content: center;
    gap: 10px;

}

@keyframes bulletGlow {

    0%,
    100% {
        box-shadow: 0 0 6px rgba(255, 255, 255, .5);
    }

    50% {
        box-shadow:
            0 0 10px rgba(255, 255, 255, .9),
            0 0 20px rgba(255, 255, 255, .6);
    }

}

.lightbox {
    overflow: hidden;
    width: 100%;
    height: 100vh;
    position: fixed;
    inset: 0;

    background: black;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;

    transition: .4s;

    z-index: 10000;
}

.lightbox.active {

    opacity: 1;
    pointer-events: auto;
}

.lightbox-swiper {

    width: 90%;
    height: 90%;
}

.lightbox-swiper img {

    width: 100%;
    height: 100%;
    object-fit: contain;
}

.artist-container{

    max-width:1200px;
    margin:auto;

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;

    align-items:center;

    padding:110px 40px;
}

/* TEXTO */

.artist-text{

    color:white;
}

.artist-text h2{

    margin-bottom:80px;
    white-space: nowrap;
}

.artist-subtitle{

    opacity:.6;
    margin-bottom:25px;
    font-weight: 900;
}

.artist-text p{

    line-height:1.7;
    margin-bottom:18px;
    opacity:.9;
}

/* IMAGEN */

.artist-image{

    position:relative;
    width:100%;
    display:flex;
    justify-content:center;
}

/* imagen base */

.artist-base{

    width:100%;
    max-width:420px;
}

/* frasco recortado */

.ink-bottle{

    position:absolute;
     will-change: transform;
    width:100%;
    max-width:420px;

    pointer-events:none;

    animation: bottleFloat 5s ease-in-out infinite;

    filter: drop-shadow(0 15px 20px rgba(0,0,0,.8))
            drop-shadow(0 0 12px rgba(255,255,255,.10));

    transition: transform .2s ease;
}
@media (max-width:900px){

.artist-container{

    grid-template-columns:1fr;
    gap:50px;

    padding:120px 25px;

}

/* texto primero */

.artist-text{
    order:1;
}
.artist-text p{

    text-align: center;
}
/* imagen después */

.artist-image{
    order:2;
}


}
/* flotación natural */

@keyframes bottleFloat{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-12px);
    }

    100%{
        transform: translateY(0px);
    }

}




/*///////////// UNDER CONSTRUCTION //////*/
.construction {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;

    gap: 22px;

}

/* icono */

.construction-icon {

    font-size: 44px;
    opacity: .9;

}


/* título */

.construction h2 {

    font-size: 28px;
    letter-spacing: 3px;

}

/* subtitulo */

.construction p {

    opacity: .6;
    font-size: 14px;

}

/* barra */

.progress-container {

    width: 280px;
    height: 10px;

    background: rgba(255, 255, 255, .08);

    border-radius: 20px;

    overflow: hidden;

}

/* barra progreso */

.progress-bar {

    position: relative;

    width: 0%;
    height: 100%;

    background: white;

    border-radius: 20px;

    box-shadow:
        0 0 10px rgba(255, 255, 255, .9),
        0 0 25px rgba(255, 255, 255, .8),
        0 0 45px rgba(255, 255, 255, .6),
        0 0 80px rgba(255, 255, 255, .4);

    animation: glowPulse2 2s ease-in-out infinite;

}

/* energía moviéndose */

.progress-bar::before {

    content: "";
    position: absolute;

    top: 0;
    left: -40%;

    width: 40%;
    height: 100%;

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .9),
            transparent);

    filter: blur(4px);

    animation: energyMove 1.6s linear infinite;

}

/* glow pulsante */

@keyframes glowPulse2 {

    0%,
    100% {

        box-shadow:
            0 0 10px rgba(255, 255, 255, .9),
            0 0 25px rgba(255, 255, 255, .7),
            0 0 50px rgba(255, 255, 255, .5),
            0 0 90px rgba(255, 255, 255, .3);

    }

    50% {

        box-shadow:
            0 0 15px rgba(255, 255, 255, 1),
            0 0 35px rgba(255, 255, 255, .9),
            0 0 70px rgba(255, 255, 255, .7),
            0 0 120px rgba(255, 255, 255, .5);

    }

}

/* movimiento de energía */

@keyframes energyMove {

    from {
        left: -40%;
    }

    to {
        left: 120%;
    }

}

/* porcentaje */

.progress-text {

    font-size: 14px;
    opacity: .8;
    letter-spacing: 2px;

}