
/* =========================================================
   VARIABLES — SE MANTIENEN TUS COLORES
========================================================= */

: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 GLOBAL
========================================================= */

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

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

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

    overflow-x: hidden;

    color: var(--text);

    font-family: "Poppins", sans-serif;

    background-image: url("../IMG/FONDOS.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    background-attachment: scroll;
}


/* =========================================================
   TIPOGRAFÍAS
========================================================= */

.aladin-regular {
    font-family: "Aladin", system-ui;
    font-weight: 400;
    font-style: normal;
}


/* =========================================================
   IMÁGENES / MEDIA
========================================================= */

img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}


/* =========================================================
   HEADER GENERAL
========================================================= */

header {
    width: 100%;
    min-width: 0;
    height: 50px;
}


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

.bottom-menu {

    position: static;

    width: 100%;
    max-width: 100%;

    height: 50px;
    min-height: 50px;

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

    padding: 0 clamp(8px, 2vw, 30px);

    box-sizing: border-box;

    /*
       MISMO DISEÑO.
       Se corrige únicamente la sintaxis del gradiente.
    */
    background:
        linear-gradient(
            135deg,
            #3d1b61 100%
            #c0b8d8 25%,
            #9b7fc7 50%,
            #6b3fb0 75%,
            #3d1b61 100%
        );

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

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    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);

    overflow: visible;
}


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

.menu-item {

    position: relative;
    z-index: 101;

    flex: 1 1 0;
    min-width: 0;

    height: 50px;

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

    padding: 0 clamp(4px, 1vw, 12px);

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

    text-decoration: none;

    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(13px, 1.4vw, 20px);

    cursor: pointer;

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


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

.menu-text {

    position: relative;
    z-index: 2;

    display: block;

    width: auto;
    max-width: 100%;

    height: auto;

    margin: 0;
    padding: 0;

    text-align: center;

    white-space: nowrap;

    pointer-events: none;

    color: inherit;

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

    line-height: 1.1;

    visibility: visible;
    opacity: 1;

    transform: none;

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


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

.menu-item::before {

    content: "༺───༻";

    position: absolute;

    z-index: 1;

    left: 50%;
    bottom: 3px;

    transform: translate(-50%, 8px);

    color: #d6b477;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(8px, 0.8vw, 11px);

    font-weight: normal;

    letter-spacing: 0.5px;

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

    opacity: 0;

    pointer-events: none;

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


.menu-item:hover::before {

    opacity: 1;

    transform: translate(-50%, 0);
}


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

.menu-item:hover {

    color: #f3d8b1;

    text-shadow:
        0 0 6px rgba(243, 216, 177, 0.22);

    background:
        radial-gradient(
            ellipse at center bottom,
            rgba(212, 175, 55, 0.07),
            transparent 65%
        );
}


.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
========================================================= */

.menu-item:not(:last-child)::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;
}


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

.menu-item.active {

    color: rgba(255, 245, 250, 0.95);

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


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

.menu-indicator {

    position: absolute;

    z-index: 3;

    left: 50%;
    bottom: 0;

    width: 48px;
    max-width: 60%;

    height: 2px;

    transform: translateX(-50%);

    background: #e8c58e;

    pointer-events: none;

    opacity: 0;

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


.menu-item:hover .menu-indicator {

    width: 48px;

    opacity: 1;

    background: #d8b77c;

    box-shadow:
        0 0 5px rgba(216, 183, 124, 0.25);
}


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

.bottom-menu .menu-text,
.bottom-menu .menu-item .menu-text {

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    transform: none !important;
}


/* =========================================================
   SECCIÓN EMOCIONES
========================================================= */

.emociones {

    position: relative;

    width: 100%;
    max-width: 100%;

    min-height: 800px;

    padding:
        clamp(20px, 3vw, 35px)
        clamp(10px, 4vw, 60px)
        clamp(30px, 5vw, 60px);

    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 20px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .25);
}


.emociones::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(20, 0, 50, .38),
            rgba(80, 0, 100, .10),
            rgba(20, 0, 50, .38)
        );

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   CONTENEDOR INTERIOR
========================================================= */

.emociones__inner {

    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1800px;

    margin: 0 auto;

    padding: clamp(7px, 1vw, 12px);

    border: 1px solid rgba(0, 0, 0, 0.20);

    border-radius: 15px;

    background:
        linear-gradient(
            90deg,
            rgba(20, 0, 50, .38),
            rgba(80, 0, 100, .10),
            rgba(20, 0, 50, .38)
        );

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.22),
        inset 0 0 20px rgba(255, 255, 255, 0.65);
}


/* =========================================================
   HEADER EMOCIONES
========================================================= */

.emociones__header {

    position: relative;

    width: 100%;

    padding: clamp(14px, 3vw, 26px);

    margin-bottom: clamp(12px, 2vw, 22px);

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #3d1b61 100%
            #c0b8d8 25%,
            #9b7fc7 0%,
            #6b3fb0 75%,
            #3d1b61 100%
        );

    border: 1px solid rgba(212, 175, 55, 0.28);

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

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    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);
}


/* =========================================================
   MANCHA TURQUESA
========================================================= */

.emociones__header::after {

    content: "";

    position: absolute;

    width: clamp(180px, 30vw, 400px);
    height: clamp(70px, 10vw, 120px);

    right: 25%;
    top: -50px;

    background:
        rgba(57, 190, 176, 0.25);

    filter: blur(35px);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   TÍTULO HEADER
========================================================= */

.emociones__header h2 {

    position: relative;
    z-index: 1;

    margin: 0 0 3px;

    font-family: "Aladin", system-ui;

    font-size:
        clamp(20px, 2vw, 30px);

    line-height: 1.1;

    font-weight: 800;

    color: #ffffff;

    text-transform: uppercase;

    overflow-wrap: break-word;
}


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

.emociones__header p {

    position: relative;
    z-index: 1;

    margin: 0;

    font-family:
        "Edu TAS Beginner",
        cursive;

    font-size:
        clamp(13px, 1vw, 17px);

    line-height: 1.35;

    color: black;

    overflow-wrap: break-word;
}


/* =========================================================
   GRID
========================================================= */

.emociones__cards {

    position: relative;

    width: 100%;
    max-width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap:
        clamp(12px, 1.5vw, 20px);

    padding:
        clamp(7px, 1vw, 10px);

    border-radius: 13px;

    border:
        1px solid rgba(0, 159, 154, 0.20);

    background:
        linear-gradient(
            135deg,
            rgba(220, 255, 250, 0.45),
            rgba(255, 255, 255, 0.30)
        );

    box-shadow:
        0 5px 15px rgba(0, 150, 140, 0.10);

    overflow: visible;
}


/* =========================================================
   FONDO DIFUMINADO
========================================================= */

.emociones__cards::before {

    content: "";

    position: absolute;

    width: clamp(180px, 25vw, 300px);
    height: clamp(250px, 35vw, 400px);

    left: 50%;
    top: -180px;

    transform: translateX(-50%);

    background:
        rgba(58, 198, 184, 0.25);

    filter: blur(60px);

    border-radius: 50%;

    pointer-events: none;

    z-index: 0;
}


/* =========================================================
   CARD
========================================================= */

.card {

    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 400px;
    min-width: 0;

    justify-self: center;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 18px;

    border:
        1px solid rgba(0, 0, 0, 0.65);

    background:
        linear-gradient(
            135deg,
            #9b35e8,
            #e83bc0
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   IMAGEN CARD
========================================================= */

.card__image {

    width: 100%;

    aspect-ratio:
        0.75 / 1;

    overflow: hidden;

    background: #111;
}


.card__image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        transform 0.5s ease;
}


.card:hover .card__image img {

    transform:
        scale(1.025);
}


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

.card__content {

    display: flex;
    flex-direction: column;

    min-height:
        clamp(110px, 9vw, 118px);

    padding:
        12px 13px 11px;

    color: white;

    font-family:
        "Edu TAS Beginner",
        cursive;
}


.card__content h3 {

    margin: 0 0 4px;

    font-family:
        "Aladin",
        system-ui;

    font-size:
        clamp(12px, 1vw, 13px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing:
        clamp(1px, .15vw, 2px);

    color: white;

    overflow-wrap: break-word;
}


.card__content p {

    margin: 0;

    font-family:
        "Edu TAS Beginner",
        cursive;

    font-size:
        clamp(14px, 1vw, 15px);

    line-height: 1.3;

    color: black;

    overflow-wrap: break-word;
}


/* =========================================================
   BOTÓN CARD
========================================================= */

.card__button {

    align-self: flex-start;

    margin-top: auto;

    display: inline-flex;

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

    min-width: 53px;

    min-height: 23px;

    height: auto;

    padding:
        3px 9px;

    border:
        1px solid black;

    border-radius: 20px;

    color: black;

    background:
        linear-gradient(
            to right,
            #892be2c8 0%,
            #ff00aaa0 100%
        );

    font-family:
        "Poppins",
        sans-serif;

    font-size:
        clamp(10px, .8vw, 12px);

    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.card__button:hover {

    background:
        linear-gradient(
            to right,
            #892be21f 0%,
            #ff00aa29 100%
        );

    color: #07211e;
}


/* =========================================================
   CONTENEDOR TOOLTIP
========================================================= */

.button-hover {

    position: relative;

    display: inline-block;

    max-width: 100%;
}


/* =========================================================
   TOOLTIP GENERAL
========================================================= */

.button-tooltip {

    display: none;

    position: absolute;

    z-index: 9999;

    bottom:
        calc(100% + 10px);

    left: 50%;

    transform:
        translateX(-50%);

    width:
        min(260px, 85vw);

    height:
        min(415px, 65vh);

    max-height:
        calc(100vh - 30px);

    padding: 12px;

    background: white;

    border:
        1px solid #ddd;

    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15);

    font-family:
        "Edu TAS Beginner",
        cursive;

    font-size: 14px;

    line-height: 1.4;

    overflow-y: auto;

    overflow-x: hidden;
}


.button-hover:hover .button-tooltip {

    display: block;
}


/* =========================================================
   TOOLTIPS ESPECÍFICOS
========================================================= */

.button-tooltip_1,
.button-tooltip_2,
.button-tooltip_3,
.button-tooltip_4,
.button-tooltip_5 {

    display: none !important;

    position: absolute !important;

    z-index: 9999 !important;

    left: 0;

    width: 100%;

    height:
        min(340px, 60vh);

    max-height:
        calc(100vh - 30px);

    padding: 20px;

    box-sizing: border-box;

    border:
        1px solid #ddd;

    border-radius: 8px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15);

    font-family:
        "Edu TAS Beginner",
        cursive;

    font-size: 14px !important;

    line-height: 1.4 !important;

    overflow-y: auto;
}


.button-hover:hover .button-tooltip_1,
.button-hover:hover .button-tooltip_2,
.button-hover:hover .button-tooltip_3,
.button-hover:hover .button-tooltip_4,
.button-hover:hover .button-tooltip_5 {

    display: block !important;
}


/* =========================================================
   TOOLTIP 1
========================================================= */

.button-tooltip_1 {

    bottom: 148px;

    background:
        #1e8fffe6 !important;

    color: #000 !important;
}


/* =========================================================
   TOOLTIP 2
========================================================= */

.button-tooltip_2 {

    bottom: 148px;

    background:
        #ffd900da !important;

    color: white !important;
}


/* =========================================================
   TOOLTIP 3
========================================================= */

.button-tooltip_3 {

    bottom: 148px;

    background:
        linear-gradient(
            135deg,
            #000000e4,
            #8b0000ce
        );

    color: white !important;
}


/* =========================================================
   TOOLTIP 4
========================================================= */

.button-tooltip_4 {

    bottom: 168px;

    background:
        #28ad28e2;

    color: white !important;
}


/* =========================================================
   TOOLTIP 5
========================================================= */

.button-tooltip_5 {

    bottom: 148px;

    background:
        rgba(255, 255, 255, 0.873);

    color: black !important;
}


/* =========================================================
   BOTÓN AMARILLO
========================================================= */

.yellow-button {

    background:
        linear-gradient(
            135deg,
            #9b35e8,
            #e83bc0
        );

    border-color:
        black;

    border-radius:
        20px;

    padding:
        10px 18px;

    cursor:
        pointer;

    margin-top:
        30px;

    font-family:
        "Edu TAS Beginner",
        cursive;

    max-width: 100%;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    padding:
        clamp(40px, 5vw, 80px)
        clamp(15px, 3vw, 40px)
        30px;

    display: flex;
    flex-direction: column;

    text-align: center;

    color: #f5f5f5;

    background:
        linear-gradient(
            to right,
            #892be2c8 0%,
            #ff00aaa0 100%
        );
}


/* =========================================================
   FOOTER CONTAINER
========================================================= */

.footer-container {

    width: 100%;
    max-width: 1300px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr;

    gap:
        clamp(25px, 4vw, 40px);

    text-align: center;
}


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

.footer-logo {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin-bottom: 25px;

    flex-wrap: wrap;
}


.footer-logo img {

    width:
        clamp(60px, 8vw, 108px);

    max-width: 100%;

    height: auto;
}


/* =========================================================
   INFORMACIÓN FOOTER
========================================================= */

.footer-info p {

    width: 100%;

    max-width: 500px;

    margin: 0 auto;

    line-height: 1.8;

    color: black;

    font-family:
        "Edu TAS Beginner",
        cursive;

    overflow-wrap: break-word;
}


/* =========================================================
   TÍTULOS FOOTER
========================================================= */

.footer h4 {

    margin-bottom: 20px;

    color: white;

    font-size:
        clamp(1.3rem, 2vw, 1.8rem);

    font-family:
        "Aladin",
        system-ui;
}


/* =========================================================
   ENLACES
========================================================= */

.footer-links ul {

    list-style: none;

    padding: 0;

    margin: 0;
}


.footer-links li {

    margin-bottom:
        clamp(9px, 1.2vw, 14px);
}


.footer-links ul li a {

    font-family:
        "Edu TAS Beginner",
        cursive;
}


.footer-links a {

    color: black;

    text-decoration: none;

    transition:
        .3s;
}


.footer-links a:hover {

    color: white;
}


/* =========================================================
   CONTACTO
========================================================= */

.footer-contact p {

    margin-bottom: 14px;

    color: black;

    font-family:
        "Edu TAS Beginner",
        cursive;

    overflow-wrap: break-word;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-bottom {

    width: 100%;
    max-width: 1300px;

    margin:
        clamp(30px, 5vw, 50px)
        auto 0;

    padding-top: 25px;

    text-align: center;

    font-size:
        clamp(.82rem, 1vw, .95rem);

    font-family:
        "Edu TAS Beginner",
        cursive;

    color:
        #d8d8d8;

    border-top:
        1px solid rgba(255,255,255,.15);

    overflow-wrap: break-word;
}


/* =========================================================
   PANTALLAS GRANDES
   1401px+
========================================================= */

@media (min-width: 1401px) {

    .bottom-menu {

        padding-left:
            clamp(30px, 4vw, 60px);

        padding-right:
            clamp(30px, 4vw, 60px);
    }

    .emociones {

        padding-left:
            clamp(40px, 5vw, 80px);

        padding-right:
            clamp(40px, 5vw, 80px);
    }

    .emociones__cards {

        gap:
            clamp(20px, 1.5vw, 30px);
    }

    .footer-container {

        gap:
            clamp(70px, 6vw, 100px);
    }
}


/* =========================================================
   LAPTOP
   1200px — 1400px
========================================================= */

@media (max-width: 1400px) {

    .emociones__cards {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }
}


/* =========================================================
   TABLET GRANDE
   901px — 1200px
========================================================= */

@media (max-width: 1200px) {

    .menu-item {

        font-size:
            clamp(13px, 1.6vw, 18px);
    }

    .emociones {

        min-height: auto;

        padding:
            25px
            clamp(12px, 2vw, 30px)
            45px;
    }

    .emociones__cards {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            clamp(15px, 2vw, 20px);
    }

    .card {

        max-width:
            100%;
    }

    .card__image {

        aspect-ratio:
            .85 / 1;
    }

    .footer-container {

        gap: 50px;
    }
}


/* =========================================================
   TABLET
   701px — 900px
========================================================= */

@media (max-width: 900px) {

    header {

        height: auto;

        min-height: 50px;

        padding:
            0 0 10px;
    }


    /* NAV */

    .bottom-menu {

        width: 100%;

        height: 60px;
        min-height: 60px;

        padding:
            0 8px;
    }

    .menu-item {

        height: 60px;

        padding:
            0 5px;

        font-size:
            clamp(12px, 2vw, 16px);
    }

    .menu-item::before {

        bottom: 3px;

        font-size: 9px;
    }

    .menu-indicator {

        width: 42px;
    }


    /* EMOCIONES */

    .emociones {

        border-radius: 15px;

        padding:
            18px
            2%
            35px;
    }

    .emociones__inner {

        padding: 9px;

        border-radius: 13px;
    }

    .emociones__header {

        padding:
            16px;
    }

    .emociones__cards {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            15px;
    }


    /* FOOTER */

    .footer-container {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        text-align: center;

        gap: 35px;
    }

    .footer-info {

        grid-column:
            1 / -1;
    }

    .footer-logo {

        justify-content:
            center;
    }

    .footer-info p {

        margin:
            0 auto;
    }

    .footer-links,
    .footer-contact {

        text-align:
            center;
    }
}


/* =========================================================
   MÓVIL
   651px — 700px
========================================================= */

@media (max-width: 700px) {

    .bottom-menu {

        width: 100%;

        height: 78px;
        min-height: 78px;

        padding:
            0 5px;
    }

    .menu-item {

        height: 72px;

        gap: 3px;

        padding:
            0 3px;

        font-size:
            11px;
    }

    .menu-text {

        font-size:
            10px;

        line-height:
            1.15;

        max-width:
            90px;

        white-space:
            normal;
    }

    .menu-item::before {

        bottom:
            4px;

        font-size:
            8px;

        letter-spacing:
            0;
    }

    .menu-item:not(:last-child)::after {

        height:
            25px;
    }

    .menu-indicator {

        width:
            40px;

        bottom:
            5px;
    }


    /* EMOCIONES */

    .emociones {

        width: 100%;

        min-height:
            auto;

        padding:
            10px
            7px
            30px;

        margin-top:
            0;

        border-radius:
            14px;
    }

    .emociones__inner {

        width:
            100%;

        padding:
            7px;

        border-radius:
            11px;
    }

    .emociones__header {

        width:
            100%;

        padding:
            13px;

        margin-bottom:
            10px;
    }

    .emociones__header h2 {

        font-size:
            clamp(18px, 5vw, 21px);
    }

    .emociones__header p {

        font-size:
            clamp(11px, 3.5vw, 13px);

        line-height:
            1.35;
    }

    .emociones__cards {

        width:
            100%;

        grid-template-columns:
            1fr;

        gap:
            15px;

        padding:
            8px;

        justify-items:
            center;
    }

    .card {

        width:
            min(100%, 300px);

        max-width:
            300px;
    }

    .card__image {

        aspect-ratio:
            1 / 1.05;
    }

    .card__content {

        min-height:
            115px;

        padding:
            11px 12px 10px;
    }

    .card__content h3 {

        font-size:
            13px;
    }

    .card__content p {

        font-size:
            14px;
    }


    /* TOOLTIPS */

    .button-tooltip {

        width:
            min(260px, 82vw);

        height:
            min(415px, 60vh);

        max-height:
            calc(100vh - 25px);
    }

    .button-tooltip_1,
    .button-tooltip_2,
    .button-tooltip_3,
    .button-tooltip_4,
    .button-tooltip_5 {

        left:
            50%;

        width:
            min(280px, 80vw);

        transform:
            translateX(-50%);

        height:
            min(330px, 55vh);

        max-height:
            calc(100vh - 25px);

        padding:
            14px;

        bottom:
            155px;
    }


    /* FOOTER */

    .footer {

        padding:
            40px
            15px
            25px;
    }

    .footer-container {

        grid-template-columns:
            1fr;

        gap:
            30px;
    }

    .footer-info {

        grid-column:
            auto;
    }

    .footer-logo {

        margin-bottom:
            15px;
    }

    .footer-bottom {

        margin-top:
            35px;
    }
}


/* =========================================================
   MÓVIL PEQUEÑO
   481px — 650px
========================================================= */

@media (max-width: 650px) {

    .menu-item {

        font-size:
            10px;
    }

    .menu-icon {

        width:
            22px;

        height:
            22px;

        font-size:
            22px;
    }

    .menu-text {

        font-size:
            9px;

        max-width:
            75px;
    }

    .emociones__header h2 {

        font-size:
            19px;
    }

    .emociones__header p {

        font-size:
            12px;
    }
}


/* =========================================================
   TELÉFONOS MUY PEQUEÑOS
   400px O MENOS
========================================================= */

@media (max-width: 400px) {

    body {

        width:
            100%;

        min-width:
            0;
    }


    /* NAV */

    .bottom-menu {

        width:
            100%;

        min-width:
            0;

        height:
            76px;

        padding:
            0 2px;
    }

    .menu-item {

        flex:
            1 1 0;

        width:
            20%;

        min-width:
            0;

        height:
            70px;

        padding:
            0 1px;

        font-size:
            9px;
    }

    .menu-icon {

        width:
            20px;

        height:
            20px;

        font-size:
            20px;
    }

    .menu-text {

        max-width:
            62px;

        font-size:
            8px;

        line-height:
            1.1;
    }

    .menu-item::before {

        bottom:
            3px;

        font-size:
            7px;
    }

    .menu-item:not(:last-child)::after {

        height:
            22px;
    }

    .menu-indicator {

        width:
            34px;

        height:
            2px;

        bottom:
            4px;
    }


    /* EMOCIONES */

    .emociones {

        padding:
            7px
            4px
            25px;

        border-radius:
            10px;
    }

    .emociones__inner {

        padding:
            5px;

        border-radius:
            9px;
    }

    .emociones__header {

        padding:
            11px;

        border-radius:
            8px;
    }

    .emociones__header h2 {

        font-size:
            18px;
    }

    .emociones__header p {

        font-size:
            11px;

        line-height:
            1.3;
    }

    .emociones__cards {

        padding:
            6px;

        gap:
            12px;

        border-radius:
            9px;
    }

    .card {

        width:
            100%;

        max-width:
            270px;

        border-radius:
            15px;
    }

    .card__image {

        aspect-ratio:
            1 / 1.05;
    }

    .card__content {

        min-height:
            110px;

        padding:
            10px;
    }

    .card__content h3 {

        font-size:
            12px;

        letter-spacing:
            1px;
    }

    .card__content p {

        font-size:
            13px;
    }

    .card__button {

        min-width:
            50px;

        min-height:
            23px;

        padding:
            2px 8px;

        font-size:
            10px;
    }


    /* TOOLTIPS */

    .button-tooltip {

        width:
            min(250px, 82vw);

        height:
            min(300px, 55vh);

        padding:
            10px;

        font-size:
            13px;
    }

    .button-tooltip_1,
    .button-tooltip_2,
    .button-tooltip_3,
    .button-tooltip_4,
    .button-tooltip_5 {

        width:
            min(250px, 80vw);

        height:
            min(290px, 52vh);

        padding:
            12px;

        bottom:
            150px;

        font-size:
            13px !important;
    }


    /* FOOTER */

    .footer {

        padding:
            35px
            10px
            22px;
    }

    .footer-logo img {

        width:
            70px;
    }

    .footer h4 {

        font-size:
            1.2rem;
    }

    .footer-info p,
    .footer-contact p,
    .footer-links a {

        font-size:
            13px;

        line-height:
            1.6;
    }

    .footer-bottom {

        margin-top:
            30px;

        padding-top:
            18px;

        font-size:
            .78rem;
    }
}


/* =========================================================
   PANTALLAS EXTREMADAMENTE PEQUEÑAS
   320px O MENOS
========================================================= */

@media (max-width: 320px) {

    .menu-item {

        font-size:
            8px;
    }

    .menu-icon {

        width:
            18px;

        height:
            18px;

        font-size:
            18px;
    }

    .menu-text {

        font-size:
            7px;

        max-width:
            55px;
    }

    .menu-item::before {

        display:
            none;
    }

    .menu-item:not(:last-child)::after {

        height:
            18px;
    }

    .emociones__header h2 {

        font-size:
            16px;
    }

    .emociones__header p {

        font-size:
            10px;
    }

    .card {

        max-width:
            245px;
    }

    .card__content p {

        font-size:
            12px;
    }
}


/* =========================================================
   ORIENTACIÓN HORIZONTAL EN MÓVILES
========================================================= */

@media (max-width: 900px) and (orientation: landscape) {

    .bottom-menu {

        height:
            60px;

        min-height:
            60px;
    }

    .menu-item {

        height:
            55px;

        flex-direction:
            row;

        gap:
            5px;
    }

    .menu-text {

        white-space:
            nowrap;

        max-width:
            none;

        font-size:
            10px;
    }

    .menu-item::before {

        display:
            none;
    }

    .emociones {

        padding:
            15px
            2%
            30px;
    }

    .emociones__cards {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


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

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

    html {
        scroll-behavior:
            auto;
    }

    .menu-item,
    .menu-text,
    .menu-item::before,
    .menu-indicator,
    .card,
    .card__image img {

        transition:
            none !important;
    }
}


/* =========================================================
   EVITAR DESBORDAMIENTOS
========================================================= */

.emociones,
.emociones__inner,
.emociones__cards,
.card,
.card__content,
.footer,
.footer-container,
.footer-info,
.footer-links,
.footer-contact {

    min-width:
        0;
}


/* =========================================================
   CORRECCIÓN FINAL PARA ELEMENTOS LARGOS
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {

    overflow-wrap:
        break-word;
}

/* =========================================================
   HEADER / NAV — DISPOSITIVOS PEQUEÑOS
   ========================================================= */

@media (max-width: 600px) {

    header nav {

        /* Tamaño */
        width: calc(100% - 24px);
        min-height: 105px;

        /* Posición */
        margin: 0 auto;
        padding: 0 15px;

        /* Distribución */
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 5px;

        /* Fondo */
        background: linear-gradient(
            135deg,
            rgba(180, 0, 105, 0.88),
            rgba(220, 0, 125, 0.78),
            rgba(255, 0, 170, 0.70)
        );

        /* Bordes */
        border: 1px solid rgba(255, 255, 255, 0.22);

        border-bottom: 1px solid #D4AF37;

        border-radius: 0 0 20px 20px;

        /* Cristal */
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        /* Sombras */
        box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.38),
            inset 0 1px 0 rgba(255, 255, 255, 0.18),
            inset 0 -10px 25px rgba(255, 0, 170, 0.12);

        /* Evita desbordamientos */
        box-sizing: border-box;
    }


    /* =====================================================
       ENLACES DEL NAV
       ===================================================== */

    header nav a {

        flex: 1;

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

        min-width: 0;

        padding: 12px 4px;

        color: rgba(255, 255, 255, 0.90);

        text-decoration: none;

        font-size: clamp(9px, 2.5vw, 12px);

        font-style: italic;

        text-transform: uppercase;

        white-space: nowrap;

        letter-spacing: 0.2px;

        text-align: center;

        transition:
            color 0.25s ease,
            transform 0.25s ease,
            text-shadow 0.25s ease;
    }


    /* =====================================================
       EFECTO HOVER
       ===================================================== */

    header nav a:hover {

        color: #ffffff;

        transform: translateY(-2px);

        text-shadow:
            0 0 8px rgba(255, 255, 255, 0.75),
            0 0 15px rgba(255, 0, 170, 0.60);
    }
}

