
/* =========================================================
   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%;
    min-height: 100%; 
}

body {
    position: relative; /* necesario para el ::before */
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    overflow-x: hidden;

    color: var(--text);

}

body::before {
    content: "";

    position: fixed;
    inset: 0;
    z-index: -1;

    background-image: url("../IMG/FONDOS.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* =========================================================
   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
========================================================= */
.bottom-menu {
    position: static;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
 
    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 */
    );
 
    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;
    color: rgba(245, 235, 241, 0.78);
    text-decoration: none;
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(13px, 1.6vw, 20px);
    cursor: pointer;
    padding: 0 clamp(4px, 1vw, 12px);
    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;
    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;
	font-weight: bold;
    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
    line-height: 1.1;
}
 
/* =========================================================
   ORNAMENTO (solo hover)
========================================================= */
.menu-item::before {
    content: "༺───༻";
    position: absolute;
    z-index: 1;
    top: 25px;
    transform: translate(-50%, 8px);
    color: #d6b477;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    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);
}
 
/* =========================================================
   HOVER
========================================================= */
.menu-item:hover {
    color: #f3d8b1;
    text-shadow: 0 0 6px rgba(243, 216, 177, 0.22);
    background: linear-gradient(
        135deg,
        #7a5c1e 0%,
        #d4af37 15%,
        #fff6d5 25%,
        #ffffff 32%,
        #fff6d5 40%,
        #d4af37 50%,
        #a67c1e 62%,
        #f9e08c 75%,
        #b8860b 88%,
        #7a5c1e 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shine 4s linear infinite;
 
 
@keyframes shine {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
 
}
 
.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: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;
}
 
/* =========================================================
   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;
    height: 2px;
    transform: translateX(-50%);
    color: transparent;
    background-color: #cca638;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 80%),
        linear-gradient(135deg,
            #996515 0%,
            #d4af37 20%,
            #fff3a8 40%,
            #aa771c 55%,
            #ffe875 70%,
            #8c6218 85%,
            #e6ca65 100%
        );
    background-blend-mode: overlay;
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 6px rgba(243, 216, 177, 0.22);
    pointer-events: none;
    opacity: 0;
    transition:
        opacity 0.3s ease,
        background 0.3s ease,
        width 0.35s ease;
}
 
/* =========================================================
   SEGURIDAD TEXTO
========================================================= */
.bottom-menu .menu-text,
.bottom-menu .menu-item .menu-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
}
 
.bottom-menu,
.menu-item,
.menu-icon,
.menu-text,
.menu-indicator {
    box-sizing: border-box;
}

/* =========================================================
   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%;
    height: auto;

    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 {
    height: 70px;
    position: relative;

    width: 100%;

    padding: 10px;

    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;
    padding: 0 25px;

    font-family: "Aladin", system-ui;
    font-size: 3rem;
    line-height: 1.1;
    text-align: left;

    text-shadow:
        0 3px 6px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(255, 255, 255, 0.35);
font: 400 clamp(2rem, 3vw, 2.7rem)/1.1 "Aladin", system-ui;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #fff 0%, #fff1cc 28%, #f5cf83 55%, #b97b32 80%, #fff1b8 100%);
    background-clip: text; -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 2px rgba(60,0,45,.6));
}


/* =========================================================
   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%;
    height: 90%;

    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;
	height: 90vdh;
    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(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
            linear-gradient(to right, #892be2c8 0%, #ff00aaa0 100%);

    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%;
	height: 300px;
	
    overflow: hidden;

    background: #111;
}


.card__image img {

    display: block;
	height: 300px;
    width: 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;

    /*background-image: url(../IMG/CARDN.png);*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.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: #ff00aa;

    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: white;

    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;

    

    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: 70px;
    width: 100%;
    height: 370px;

    background-image: url("../IMG/HOVER.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    background-color: #1e8fff;
    box-sizing: border-box;
	
}

.button-tooltip_1 p {
 padding: 5px;
 margin-top: 20px;
 font-size: 1.17rem;
 background-color: rgba(0, 0, 0, 0.293);
 border-radius: 10px;

}

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

.button-tooltip_2 {

    bottom: 70px;
    width: 100%;
    height: 370px;

    background-image: url("../IMG/HOVER_1.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    background-color: #1e8fff;
    box-sizing: border-box;
    
	
}


.button-tooltip_2 p {
 padding: 5px;
 margin-top: 20px;
 font-size: 1.1rem;
 background-color: rgba(0, 0, 0, 0.293);
 border-radius: 10px;

}

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

.button-tooltip_3 {

    bottom: 70px;
    width: 100%;
    height: 370px;

    background-image: url("../IMG/HOVER_3.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    background-color: #1e8fff;
    box-sizing: border-box;
    
	
}


.button-tooltip_3 p {
  padding: 5px;
  margin-top: 20px;
  font-size: 1.1rem;
  background-color: rgba(0, 0, 0, 0.293);
  border-radius: 10px;
}


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

.button-tooltip_4 {

    bottom: 70px;
    width: 100%;
    height: 370px;

    background-image: url("../IMG/HOVER_2.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    background-color: #1e8fff;
    box-sizing: border-box;
    
	
}


.button-tooltip_4 p {
  padding: 5px;
  margin-top: 20px;
  font-size: 1.1rem;
  background-color: rgba(0, 0, 0, 0.293);
  border-radius: 10px;

}


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

.button-tooltip_5 {


    bottom: 70px;
    width: 100%;
    height: 370px;

    background-image: url("../IMG/HOVER_2.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;

    background-color: #1e8fff;
    box-sizing: border-box;
    
	
}


.button-tooltip_5 p {
  padding: 3px;
  margin-top: 20px;
  font-size: 1.1rem;
  border-radius: 10px;
  color: black;

}



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

.yellow-button {
  width: 150px;
  height: 50px;
  background-image: url(../IMG/BTN.png);
  background-size: cover;   /* o cover, ver abajo */
  background-repeat: no-repeat;
  cursor: pointer;
  margin-top: 30px;
  font-family: "Edu TAS Beginner", cursive;
  color: white;
  border-radius: 20px;
	  /* centrado */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
 
}

.yellow-button-text {
font-family: "Aladin", system-ui;

}


.yellow-button-text:hover {

	background: linear-gradient(
    135deg,
    #7a5c1e 0%,
    #d4af37 15%,
    #fff6d5 25%,
    #ffffff 32%,
    #fff6d5 40%,
    #d4af37 50%,
    #a67c1e 62%,
    #f9e08c 75%,
    #b8860b 88%,
    #7a5c1e 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================================
   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;
}

/* ===========================
   FOOTER
=========================== */
.footer{
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
            linear-gradient(to right, #892be2c8 0%, #ff00aaa0 100%);
    color:#f5f5f5;
    padding:clamp(40px,5vw,80px) clamp(14px, 4vw, 20px) 30px;
    width: 100%;
    margin:auto;
    display: flex;
    flex-direction: column;
    text-align:center;
}

/* ===== Contenedor principal ===== */
.footer-container{
    display: grid;
    grid-template-columns: 1fr; /* apilado por defecto (móvil) */
    gap: 40px;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* ===== Logo ===== */
.footer-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-bottom:25px;
}
.footer-logo img{
    width: clamp(120px, 15.96vw, 216px);
    height:auto;
}
/* ===== Información ===== */
.footer-info p {
    max-width:500px;
    margin: 0 auto;
    line-height:1.8;
    color: #ffffff;
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(1.549rem, 2.753vw, 1.721rem);
	text-align: center;
}
/* ===== Títulos ===== */
.footer h4{
    margin-bottom:20px;
    color: #e0468f;
    font-size: clamp(1.631rem, 2.898vw, 1.812rem);
	text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
	letter-spacing: 2px;
    font-family: "Aladin", system-ui;
}
/* ===== Enlaces ===== */
.footer-links ul{
    list-style:none;
    padding:0;
}
.footer-links li{
    margin-bottom:14px;
}
.footer-links ul li a{
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(1.549rem, 2.753vw, 1.721rem);
	color: #ffffff;
}
.footer-links a{
    color: #ffffff;
    text-decoration:none;
    transition:.3s;
}
.footer-links a:hover{
    color:white;
}
/* ===== Contacto ===== */
.footer-contact p{
    margin-bottom:14px;
    color: #ffffff;
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(1.549rem, 2.753vw, 1.721rem);
    word-break: break-word;
}

.footer-contact p a {
text-decoration: none;
color: #ffffff;
font-size: 1.5rem;
font-family: "Edu TAS Beginner", cursive;	
}

/* ===== Copyright ===== */
.footer-bottom{
    max-width:1300px;
    margin:50px auto 0;
    padding-top:25px;
    text-align:center;
    font-size: clamp(1.035rem, 1.84vw, 1.15rem);
    font-family:"Edu TAS Beginner", cursive;
    color:#d8d8d8;
    border-top:1px solid rgba(255,255,255,.15);
}



/* =========================================================================
   MEDIA QUERIES — RESPONSIVE DESDE MÓVILES PEQUEÑOS HASTA MONITORES 4K
========================================================================= */
 
/* ---------- Monitores muy grandes / 4K y 5K ---------- */
@media (min-width: 1800px) {
 
    .emociones__inner {
        max-width: 2200px;
    }
 
    .emociones__cards {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
 
@media (min-width: 2400px) {
 
    .emociones__inner {
        max-width: 2600px;
    }
 
    .emociones__cards {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}
 
/* ---------- Laptops / tablets grandes ---------- */
@media (max-width: 1200px) {
 
    .emociones__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
 
/* ---------- Tablets ---------- */
@media (max-width: 860px) {
 
    .emociones__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
 
    .card {
        max-width: 100%;
    }
}
 
/* ---------- Móviles ---------- */
@media (max-width: 560px) {
 
    .emociones__cards {
        grid-template-columns: 1fr;
    }
 
    .card {
        max-width: 420px;
    }
 
    .bottom-menu {
        padding: 0 4px;
    }
 
    /* El ornamento decorativo no cabe en pantallas muy angostas */
    .menu-item::before {
        display: none;
    }
 
    /* En móvil no hay :hover real; se centra el tooltip en pantalla
       para que sea legible al hacer tap en vez de desbordarse.
       Se mantiene el disparador por :hover tal cual ya funcionaba. */
    .button-tooltip_1,
    .button-tooltip_2,
    .button-tooltip_3,
    .button-tooltip_4,
    .button-tooltip_5 {
        position: fixed !important;
        left: 5vw;
        right: 5vw;
        width: 90vw;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        height: clamp(160px, 60vh, 340px);
        max-height: calc(100dvh - 40px);
    }
 
    .footer-logo {
        flex-direction: column;
        gap: 8px;
    }
}
 
/* ---------- Móviles muy pequeños (320–360px) ---------- */
@media (max-width: 380px) {
 
    .yellow-button {
        max-width: 130px;
        height: 42px;
    }
}
 
/* =========================================================
   PANTALLAS BAJAS / ORIENTACIÓN HORIZONTAL
   (móviles en landscape, ventanas partidas, tablets tumbadas
   con poco alto): se centra y encoge el tooltip igual que en
   móvil vertical, pero activado por altura de viewport en vez
   de por ancho, para cubrir cualquier caso de poco espacio.
========================================================= */
@media (max-height: 480px) {
 
    .button-tooltip_1,
    .button-tooltip_2,
    .button-tooltip_3,
    .button-tooltip_4,
    .button-tooltip_5 {
        position: fixed !important;
        left: 5vw;
        right: 5vw;
        width: 90vw;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        height: min(85vh, 220px);
        max-height: calc(100dvh - 20px);
        padding: 8px;
    }
}


/* ============================================================
   NAV — RESPONSIVE
   ============================================================ */

/* MÓVIL/TABLET: fijado arriba del header */
@media (max-width: 899px) {
    .bottom-menu {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        z-index: 1000 !important;
    }
}

/* MÓVILES MUY PEQUEÑOS — 320px – 359px */
@media (max-width: 359px) {
    .bottom-menu {
        height: 40px !important;
        padding: 0 2px !important;
        border-radius: 10px;
    }

    .menu-item {
        height: 40px !important;
        padding: 0 3px !important;
        min-width: 0;
    }

    .menu-text {
		font-family: "Edu TAS Beginner", bold;
        font-size: 11.5px;
        white-space: nowrap;
		font-weight: bold;
		
	}
    .menu-indicator {
        width: 26px;
        max-width: 70%;
    }
}

/* MÓVILES — 360px – 479px */
@media (min-width: 360px) and (max-width: 479px) {
    .bottom-menu {
        height: 40px !important;
        padding: 0 3px !important;
        border-radius: 10px;
    }

    .menu-item {
        height: 40px !important;
        padding: 0 5px !important;
    }

    .menu-text {
		font-family: "Edu TAS Beginner", bold;
        font-size: 11.5px;
		font-weight: bold;
		
		
    }
}

/* MÓVILES GRANDES — 480px – 599px */
@media (min-width: 361px) and (max-width: 599px) {
    .bottom-menu {
        height: 40px !important;
        padding: 0 3px !important;
        border-radius: 10px;
    }

    .menu-item {
        height: 40px !important;
        padding: 0 8px !important;
    }

    .menu-text {
		font-family: "Edu TAS Beginner", bold;
        font-size: 11.5px;
		font-weight: bold;
	
    }
}

/* TABLETS — 600px – 767px */
@media (min-width: 600px) and (max-width: 767px) {
    .bottom-menu {
        height: 50px !important;
        padding: 0 3px !important;
        border-radius: 10px;
    }

    .menu-item {
        height: 50px !important;
        padding: 0 9px !important;
    }

    .menu-text {
		font-family: inherit;
        font-size: 11.5px;
		font-weight: bold;
    }
}

/* TABLETS GRANDES — 768px – 899px */
@media (min-width: 768px) and (max-width: 899px) {
    .bottom-menu {
        height: 50px !important;
        padding: 0 3px !important;
        border-radius: 10px;
    }

    .menu-item {
        height: 50px !important;
        padding: 0 11px !important;
    }

    .menu-text {
		font-family: inherit;
        font-size: 13px;
		font-weight: bold;
		
    }
}

/* 4K — 2000px – 2559px */
@media (min-width: 2000px) and (max-width: 2559px) {
    .bottom-menu {
        height: 58px;
    }

    .menu-item {
        height: 58px;
    }

    .menu-text {
		font-family: inherit;
        font-size: 19px;
	font-weight: bold;
		
    }
}

/* ULTRAWIDE — 2560px+ */
@media (min-width: 2560px) {
    .bottom-menu {
        height: 64px;
    }

    .menu-item {
        height: 64px;
    }

    .menu-text {
		font-family: inherit;
        font-size: 21px;
		font-weight: bold;
		
    }
}

/* ORIENTACIÓN HORIZONTAL (móvil/tablet) */
@media (max-width: 899px) and (orientation: landscape) {
    .bottom-menu {
        height: 48px !important;
    }

    .menu-item {
        height: 48px !important;
    }

    .menu-text {
		font-family: inherit;
        font-size: 11.5px;
		font-weight: bold;
    }
}

/* TÁCTIL: sin hover de desplazamiento */
@media (hover: none) and (pointer: coarse) {
    .menu-item:hover {
        transform: none !important;
    }
}
 
/* En pantallas medianas/grandes: 3 columnas como en la imagen 2 */
@media (min-width: 768px) {
    .footer-container{
        grid-template-columns: 1fr 1fr 1fr;
        text-align: center;
    }

    .footer-logo{
        justify-content: center;
    }

    .footer-info p{
        margin: 0;
    }
}
