:root {

    --purple: #892be2;
    --purple-light: #a855f7;

    --pink: #ff00aa;
    --pink-light: #ff59c7;

    --gradient:
        linear-gradient(
            110deg,
            #892be2c8 0%,
            #ff00aaa0 100%
        );

    --white: #ffffff;

    --glass:
        rgba(255, 255, 255, 0.78);

    --glass-strong:
        rgba(255, 255, 255, 0.90);

    --dark: #18121c;

    --text: #27212b;

    --muted: #6d6472;

    --radius: 30px;

    --shadow:
        0 20px 60px rgba(57, 0, 80, .18);

    --glow:
        0 0 35px rgba(255, 255, 255, .55);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* =========================================================
   NAV
   ========================================================= */

/*
   El nav permanece en su posición dentro del header
   y NO se mueve ni se pega al hacer scroll.
*/

.bottom-menu {
    position: static;
    /* Posición y tamaño */
    width: 100%;
    height: 50px;
    /* Layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;

    /* Fondo */
    background: linear-gradient(
    135deg,
    #3d1b61 100%     /* lila oscuro/violeta profundo */
    #c0b8d8 25%,     /* plata-lila */
    #9b7fc7 50%,     /* lila medio */
    #6b3fb0 75%,     /* lila intenso */
    #3d1b61 100%     /* lila oscuro/violeta profundo */
  );

    /* Bordes */
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-bottom: 1px solid rgba(212, 175, 55, 0.85);

    /* Efecto glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /* Sombras */
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.45),
        0 -1px 8px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

 
}


/* =========================================================
   ELEMENTOS DEL NAV
   ========================================================= */

.menu-item {
    position: relative;
    z-index: 101;
	flex: 1 1 0;       /* todos los ítems reparten el mismo ancho */
    min-width: 0;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(245, 235, 241, 0.78);

    text-decoration: none;

    font-family: "Edu TAS Beginner", cursive;
    font-size: 20px;
    cursor: pointer;

    /*
       Dejamos espacio inferior para que la
       ornamentación tenga aire.
    */
    padding: 0 12px;

    transition:
        color 0.3s ease,
        background 0.35s ease,
        text-shadow 0.3s ease;
}


/* =========================================================
   TÍTULO
   SIEMPRE VISIBLE
   ========================================================= */

.menu-text {
    position: relative;
    z-index: 2;

    display: block;

    visibility: visible;
    opacity: 1;

    transform: none;

    width: auto;
    height: auto;

    margin: 0;
    padding: 0;

    text-align: center;

    white-space: nowrap;

    pointer-events: none;

    color: inherit;

    font-family: inherit;
    font-size: inherit;

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}


/* =========================================================
   ORNAMENTO INFERIOR
   SOLO APARECE CON HOVER
   ========================================================= */

/*
   ::before se utiliza para la decoración.

   ::after ya está reservado para los
   separadores verticales.
*/

.menu-item::before {
    content: "༺───༻";

    position: absolute;
    z-index: 1;

    left: 50%;
    bottom: 3px;

    /*
       Estado inicial:
       ligeramente desplazado hacia abajo.
    */
    transform: translate(-50%, 8px);

    color: #d6b477;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-weight: normal;

    letter-spacing: 0.5px;

    white-space: nowrap;
    line-height: 1;

    /*
       OCULTO inicialmente.
    */
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.4s ease,
        transform 0.4s cubic-bezier(.22, 1, .36, 1);
}


/* =========================================================
   HOVER DEL ORNAMENTO
   ========================================================= */

.menu-item:hover::before {
    /*
       Aparece suavemente.
    */
    opacity: 1;

    /*
       Sube hasta su posición final.
    */
    transform: translate(-50%, 0);
}


/* =========================================================
   HOVER DEL ELEMENTO
   ========================================================= */

.menu-item:hover {
    color: #f3d8b1;

    /*
       Pequeño brillo dorado.
    */
    text-shadow:
        0 0 6px rgba(243, 216, 177, 0.22);

    /*
       Iluminación muy sutil debajo.
    */
    background:
        radial-gradient(
            ellipse at center bottom,
            rgba(212, 175, 55, 0.07),
            transparent 65%
        );
}


/* =========================================================
   HOVER DEL TEXTO
   ========================================================= */

.menu-item:hover .menu-text {
    color: #f3d8b1;

    text-shadow:
        0 0 5px rgba(232, 197, 142, 0.25),
        0 0 12px rgba(232, 197, 142, 0.08);
}


/* =========================================================
   SEPARADORES
   ========================================================= */

/*
   Los separadores permanecen siempre visibles.
   NO se confunden con la ornamentación porque
   utilizamos ::after para ellos.
*/

.menu-item:nth-child(1)::after,
.menu-item:nth-child(2)::after,
.menu-item:nth-child(3)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 50%;

    width: 1px;
    height: 34px;

    transform: translateY(-50%);

    background: rgba(212, 175, 55, 0.85);

    pointer-events: none;
}


/* =========================================================
   ELEMENTO ACTIVO
   ========================================================= */

.menu-item.active {
    color: rgba(255, 245, 250, 0.95);

    text-shadow:
        0 0 8px rgba(232, 197, 142, 0.12);
}


/* =========================================================
   INDICADOR ACTIVO
   ========================================================= */

.menu-indicator {
    position: absolute;

    z-index: 3;

    left: 50%;
    bottom: 0;

    width: 48px;
    height: 2px;

    transform: translateX(-50%);

    background: #e8c58e;

    pointer-events: none;

    /*
       Oculto hasta hover.
    */
    opacity: 0;

    transition:
        opacity 0.3s ease,
        background 0.3s ease,
        width 0.35s ease;
}


/* =========================================================
   HOVER DEL INDICADOR
   ========================================================= */

.menu-item:hover .menu-indicator {
    width: 48px;

    opacity: 1;

    background: #d8b77c;
}


/* =========================================================
   HOVER MÁS ELEGANTE DEL INDICADOR
   ========================================================= */

.menu-item:hover .menu-indicator {
    box-shadow:
        0 0 5px rgba(216, 183, 124, 0.25);
}


/* =========================================================
   SEGURIDAD
   EL TEXTO NO SE OCULTA NUNCA
   ========================================================= */

.bottom-menu .menu-text,
.bottom-menu .menu-item .menu-text {
    display: block !important;

    visibility: visible !important;
    opacity: 1 !important;

    transform: none !important;
}


/* =========================================================
   BOX-SIZING
   ========================================================= */

.bottom-menu,
.menu-item,
.menu-icon,
.menu-text,
.menu-indicator {
    box-sizing: border-box;
}


/* =========================================================
   RESPONSIVE — TABLET / MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .bottom-menu {

        /*
           Ya NO es sticky:
           no se pega a la parte superior al hacer scroll.
        */
        position: static;

        width: calc(100% - 24px);
        max-width: none;

        height: 82px;
        min-height: 82px;

        margin: 0 auto;

        padding: 0 12px;

        border-radius: 0;
    }


    /* =====================================
       ELEMENTOS
       ===================================== */

    .menu-item {
        height: 72px;

        gap: 5px;

        padding: 0 5px;

        font-size: 12px;
    }


    /* =====================================
       ICONOS
       ===================================== */

    .menu-icon {
        width: 23px;
        height: 23px;

        font-size: 23px;
    }


    /* =====================================
       SEPARADORES
       ===================================== */

    .menu-item:not(:last-child)::after {
        height: 26px;
    }


    /* =====================================
       TEXTO
       ===================================== */

    .menu-text {
        font-size: 10px;

        line-height: 1.2;

        max-width: 90px;

        white-space: normal;
    }


    /* =====================================
       ORNAMENTO
       ===================================== */

    .menu-item::before {
        bottom: 4px;

        font-size: 9px;

        letter-spacing: 0;
    }


    /* =====================================
       INDICADOR
       ===================================== */

    .menu-indicator {
        width: 42px;
        height: 2px;

        bottom: 5px;
    }


    .menu-item:hover .menu-indicator {
        width: 42px;
    }
}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
   ========================================================= */

@media (max-width: 400px) {

    .bottom-menu {
        width: 100%;

        padding: 0 5px;
    }


    /* =====================================
       ELEMENTOS
       ===================================== */

    .menu-item {
        font-size: 10px;

        padding: 0 3px;
    }


    /* =====================================
       ICONOS
       ===================================== */

    .menu-icon {
        width: 21px;
        height: 21px;

        font-size: 21px;
    }


    /* =====================================
       TEXTO
       ===================================== */

    .menu-text {
        font-size: 9px;

        max-width: 70px;
    }


    /* =====================================
       ORNAMENTO
       ===================================== */

    .menu-item::before {
        bottom: 4px;

        font-size: 8px;
    }


    /* =====================================
       INDICADOR
       ===================================== */

    .menu-indicator {
        width: 38px;
    }


    .menu-item:hover .menu-indicator {
        width: 42px;
    }
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

/*
   Para personas que prefieren menos movimiento,
   reducimos las animaciones.
*/

@media (prefers-reduced-motion: reduce) {

    .menu-item,
    .menu-text,
    .menu-item::before,
    .menu-indicator {
        transition: none;
    }
}

body {
    width: 100%;
    min-height: 100vh;

    overflow-x: hidden;

    color: var(--text);

    font-family: "Poppins", sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../IMG/FONDOS.jpg);
    

   
}

/* =========================================
   PÁGINA
========================================= */

.construction-page {
    position: relative;
	width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;

    overflow: hidden;

}


/* =========================================
   CONTENIDO
========================================= */

.content {
    position: relative;
    z-index: 10;

    width: min(100%, 850px);

    min-height: 100vh;

    padding:
        clamp(40px, 7vh, 90px)
        25px
        230px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    color: #fff5fb;
}


/* =========================================
   ILUSTRACIÓN
========================================= */

.illustration {
    width: 100%;
    max-width: 560px;

    position: relative;

    margin-bottom: 10px;
}

.heart-top {
    position: absolute;

    top: -5px;
    left: 50%;

    transform: translateX(-50%);

    font-size: 38px;

    color: #ffd5e9;

    filter:
        drop-shadow(
            0 3px 8px rgba(255, 255, 255, .25)
        );
}


/* =========================================
   DIBUJO DE CONSTRUCCIÓN
========================================= */

.construction-art {
    position: relative;

    width: 100%;
    height: 290px;

    margin-top: 40px;
}


/* Flores */

.flowers {
    position: absolute;

    font-size: 90px;

    opacity: .9;

    filter:
        drop-shadow(
            0 5px 8px rgba(80, 20, 100, .2)
        );
}

.flowers-left {
    left: 2%;
    bottom: 25px;

    transform: rotate(-15deg);
}

.flowers-right {
    right: 2%;
    bottom: 25px;

    transform: scaleX(-1) rotate(-15deg);
}


/* =========================================
   BARRERA
========================================= */

.barrier {
    position: absolute;

    width: 62%;
    height: 190px;

    left: 19%;
    top: 45px;
}


/* Luces */

.warning-lights {
    position: absolute;

    top: -35px;
    left: 0;
    right: 0;

    display: flex;
    justify-content: space-between;

    padding: 0 20px;

    z-index: 5;
}

.warning-lights span {
    width: 43px;
    height: 43px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle,
            #fff2f6,
            #ffb7ce 55%,
            #d88b9d
        );

    border: 4px solid #cda6a5;

    color: #fff;

    font-size: 25px;

    box-shadow:
        0 3px 6px rgba(70, 20, 60, .25);
}


/* Tablero */

.barrier-board {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 88px;

    overflow: hidden;

    border-radius: 4px;

    border: 2px solid rgba(170, 110, 130, .55);

    background:
        repeating-linear-gradient(
            -55deg,
            #fff8f7 0px,
            #fff8f7 55px,
            #ffd7dc 56px,
            #ffd7dc 88px
        );

    box-shadow:
        0 7px 12px rgba(80, 20, 80, .18);
}

.barrier-board span {
    display: none;
}


/* Patas */

.barrier-leg {
    position: absolute;

    top: 80px;

    width: 27px;
    height: 105px;

    background:
        linear-gradient(
            90deg,
            #d7aaa7,
            #ffe3dc,
            #c89594
        );

    border-radius: 0 0 6px 6px;
}

.barrier-leg.left {
    left: 14%;
}

.barrier-leg.right {
    right: 14%;
}


/* Barra central */

.barrier-middle {
    position: absolute;

    top: 130px;
    left: 14%;

    width: 72%;
    height: 30px;

    background:
        linear-gradient(
            to bottom,
            #ffd9dc,
            #fff4ef,
            #d9aaa7
        );

    border-radius: 5px;

    box-shadow:
        0 3px 5px rgba(70, 20, 60, .15);
}


/* =========================================
   CONOS
========================================= */

.cone {
    position: absolute;

    bottom: 0;

    width: 48px;
    height: 105px;

    background:
        repeating-linear-gradient(
            to bottom,
            #fff5f2 0px,
            #fff5f2 18px,
            #f2b5bb 19px,
            #f2b5bb 36px
        );

    clip-path: polygon(
        50% 0,
        75% 100%,
        25% 100%
    );

    filter:
        drop-shadow(
            2px 4px 4px rgba(70, 20, 60, .25)
        );
}

.cone::after {
    content: "";

    position: absolute;

    left: -14px;
    bottom: -5px;

    width: 76px;
    height: 10px;

    border-radius: 50%;

    background: #c9979a;
}

.cone-left {
    left: 12%;
}

.cone-right {
    right: 7%;

    transform: rotate(65deg);

    bottom: 5px;
}


/* =========================================
   CASCO
========================================= */

.helmet {
    position: absolute;

    bottom: 5px;
    left: 50%;

    transform: translateX(-50%);

    width: 110px;
    height: 75px;

    border-radius:
        55px
        55px
        12px
        12px;

    background:
        linear-gradient(
            100deg,
            #e99da8,
            #ffe4df,
            #dc8d9c
        );

    border: 3px solid #bc818b;

    color: transparent;

    box-shadow:
        0 6px 8px rgba(70, 20, 60, .22);
}

.helmet::before {
    content: "";

    position: absolute;

    width: 75px;
    height: 25px;

    top: 10px;
    left: 15px;

    border-left: 3px solid rgba(180, 100, 110, .35);
    border-right: 3px solid rgba(180, 100, 110, .35);

    border-radius: 50%;
}


/* =========================================
   LOGO
========================================= */

.brand {
    position: relative;

    margin-top: 0;
}

.brand-title {
    position: relative;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(80px, 11vw, 125px);

    line-height: .8;

    font-weight: 500;

    color: #ffe8f0;

    letter-spacing: -5px;

    text-shadow:
        0 3px 8px rgba(110, 30, 100, .15);
}

.brand-title span {
    font-family: "Cormorant Garamond", serif;
}

.brand-heart {
    position: absolute;

    right: -40px;
    bottom: 10px;

    font-family: "Montserrat", sans-serif !important;

    font-size: 45px !important;

    letter-spacing: 0;
}


/* =========================================
   SUBTÍTULO
========================================= */

.brand-subtitle {
    margin-top: 8px;

    font-family: "Great Vibes", cursive;

    font-size: clamp(40px, 5.5vw, 62px);

    line-height: 1;

    color: #fff4fa;

    text-shadow:
        0 2px 5px rgba(100, 20, 100, .2);
}


/* =========================================
   SEPARADOR
========================================= */

.separator {
    width: min(420px, 75%);

    margin-top: 38px;

    display: flex;

    align-items: center;

    gap: 15px;
}

.separator span {
    flex: 1;

    height: 1px;

    background: rgba(255, 240, 248, .8);
}

.separator b {
    font-size: 23px;

    font-weight: 400;

    color: #ffe9f3;
}


/* =========================================
   MENSAJE
========================================= */

.message {
    margin-top: 35px;

    color: #fff5fa;
}

.message p {
    font-size: clamp(14px, 2vw, 18px);

    line-height: 1.8;

    font-weight: 400;
}


/* =========================================
   GRACIAS
========================================= */

.thanks {
    margin-top: 25px;

    font-family: "Great Vibes", cursive;

    font-size: clamp(25px, 4vw, 38px);

    color: #fff3f8;
}

.bottom-heart {
    margin-top: 15px;

    font-size: 25px;

    color: #ffe3ef;
}


/* =========================================
   ESTRELLAS
========================================= */

.sparkle {
    position: absolute;

    z-index: 2;

    color: #fff6fc;

    opacity: .9;

    animation: sparkle 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 15%;
    left: 30%;

    font-size: 20px;
}

.sparkle-2 {
    top: 18%;
    right: 30%;

    font-size: 28px;
}

.sparkle-3 {
    top: 21%;
    left: 55%;

    font-size: 16px;
}

.sparkle-4 {
    top: 27%;
    right: 38%;

    font-size: 30px;
}

@keyframes sparkle {

    0%,
    100% {
        transform: scale(.8);
        opacity: .4;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}


/* =========================================
   NUBES
========================================= */

.clouds {
    position: absolute;

    bottom: -70px;
    left: -5%;

    width: 110%;
    height: 230px;

    z-index: 5;

    pointer-events: none;
}

.cloud {
    position: absolute;

    bottom: 0;

    width: 240px;
    height: 110px;

    border-radius:
        50%
        50%
        0
        0;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(255, 205, 247, .85),
            rgba(215, 135, 235, .65) 70%
        );

    filter: blur(1px);
}


/* Burbujas de las nubes */

.cloud::before,
.cloud::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    background: inherit;
}

.cloud::before {
    width: 130px;
    height: 130px;

    left: 30px;
    bottom: 30px;
}

.cloud::after {
    width: 150px;
    height: 150px;

    right: 15px;
    bottom: 20px;
}

.cloud-1 {
    left: -40px;
}

.cloud-2 {
    left: 18%;
    bottom: -20px;
}

.cloud-3 {
    left: 42%;
    bottom: -35px;
}

.cloud-4 {
    right: 22%;
    bottom: -10px;
}

.cloud-5 {
    right: -50px;
}

.cloud-6 {
    left: 65%;
    bottom: -60px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .content {
        padding-top: 60px;
        padding-bottom: 180px;
    }

    .construction-art {
        height: 240px;
    }

    .barrier {
        width: 65%;
        left: 17.5%;

        transform: scale(.85);
        transform-origin: center top;
    }

    .flowers {
        font-size: 65px;
    }

    .cone {
        transform: scale(.8);
    }

    .cone-right {
        transform:
            rotate(65deg)
            scale(.8);
    }

    .brand-title {
        font-size: clamp(70px, 18vw, 100px);
    }

    .brand-heart {
        right: -30px;
        font-size: 35px !important;
    }

    .brand-subtitle {
        font-size: clamp(36px, 11vw, 55px);
    }

    .separator {
        margin-top: 30px;
    }

    .clouds {
        bottom: -100px;
    }
}


/* =========================================
   MÓVILES PEQUEÑOS
========================================= */

@media (max-width: 420px) {

    .content {
        padding-left: 15px;
        padding-right: 15px;

        padding-top: 45px;
    }

    .construction-art {
        height: 205px;
    }

    .barrier {
        transform: scale(.68);
    }

    .flowers {
        font-size: 50px;
    }

    .brand-title {
        font-size: 72px;
    }

    .brand-heart {
        right: -22px;
        bottom: 3px;

        font-size: 28px !important;
    }

    .brand-subtitle {
        font-size: 39px;
    }

    .message p {
        font-size: 13px;
    }

    .thanks {
        font-size: 27px;
    }

    .sparkle-1 {
        left: 15%;
    }

    .sparkle-2 {
        right: 15%;
    }
}


/* =========================================
   PANTALLAS MUY ALTAS
========================================= */

@media (min-height: 900px) {

    .content {
        padding-top: 80px;
    }

    .construction-art {
        height: 310px;
    }
}