: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 {
    /* Evita que el texto se desborde en pantallas muy estrechas */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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


.edu-tas-beginner-<uniquifier> {
  font-family: "Edu TAS Beginner", cursive;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}



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


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

    overflow-x: hidden;

    color: var(--text);
    font-family: "Playfair Display", serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-image: url(../IMG/FONDOS.jpg);
    

   
}


/* Mantiene el contenido por encima */
.animacion .wrapper{
    position: relative;
    z-index: 2;
}



/* =========================================
   CONTENIDO DEL HERO
========================================= */

.hero-content {
    position: relative;
    z-index: 2;

    min-height: 97vh;
    min-height: 97svh;

    width: 100%;

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

    padding: 0 1rem;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
}


/* =========================================================
   SOCIAL
========================================================= */

.social-bar {
    position: absolute;
    top: 30%;
    right: 30px;

    transform: translateY(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    z-index: 20;
}


.shiny-btn {
  padding: 15px;
  border-radius: 50%;
  font-family: "Aladin", system-ui;
	width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
/* Camuflar con el fondo */
  background: transparent;
  border: 2px solid rgba(212, 175, 55, 0.85);
  /* Efecto flotante */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
  text-decoration: none;
}


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

    /*
       Permite que la decoración permanezca
       dentro del nav.
    */
    overflow: visible;
}


/* =========================================================
   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: clamp(13px, 1.6vw, 20px);
    cursor: pointer;

    /*
       Dejamos espacio inferior para que la
       ornamentación tenga aire.
    */
    padding: 0 clamp(4px, 1vw, 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;
	line-height: 1.1;
}


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

    
    top: 25px;

    /*
       Estado inicial:
       ligeramente desplazado hacia abajo.
    */
    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;

    /*
       OCULTO inicialmente.
    */
    opacity: 0;

    pointer-events: none;

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


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

}


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

    color: transparent; /* Hace transparente el texto base para mostrar el fondo */
  
  /* Aplicamos el fondo metálico recortado solo al texto */
  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;
  
  /* CLAVE: Recorta el fondo metálico exclusivamente a la forma del texto y los iconos */
  -webkit-background-clip: text;
  background-clip: text;

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

    pointer-events: none;

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

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



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

.hero-logo {
    width: clamp(160px, 50%, 900px);
    height: auto;
    max-height: 40vh;
    left: 25%;
    transform: translateX(-50%);
    top: 10px;
	position: relative;
}

.wrapper video {
    border-radius: 30px;
    overflow: hidden;
    width: 100%;
    height: min(100vh, 900px);
    max-height: 92vh;
    display: block;
    object-fit: cover;
}

.saber {
  display: flex;
  justify-content: center;
  margin-top: 330px;
}

.saber-mas {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 200px;
  aspect-ratio: 2048 / 684;
  box-sizing: border-box;

  background-image: url("../IMG/BTN.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
text-decoration: none;
}

.saber-mas-texto {

  color: #fff3dc;
  font-family: "Aladin", system-ui;
  font-size: 1.5rem;
  font-style: italic;
  
 }

.saber-mas .saber-mas-texto: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%; }
}



/* =========================================================
   VÍDEO DE FONDO EN EL HEADER — SOLO MÓVIL Y TABLET
   Umbral: 900px (por debajo = móvil/tablet, por encima = escritorio)
   ========================================================= */

/* Oculto por defecto (escritorio) */
.hero-video {
    display: none;
}

/* CONTENEDOR PRINCIPAL */

.wrapper {
    font-family: 'Playfair Display';
    width: 96%;
    max-width: 1690px;
    margin: 20px auto 0;
    background: none;
    border-radius: 30px;
    padding: clamp(14px, 3vw, 22px);
    border: 1px solid #E5E4E2;
    box-shadow:
    0 0 0 1px #E5E4E2,
    0 0 2px #E5E4E2,
    0 10px 25px #E5E4E2,
    inset 0 1px 0 #E5E4E2;
}

.wrapper p {
	color: white;
    background: none;
    margin-top: 20px;
    border-radius:22px;
    padding: clamp(16px, 3vw, 26px);
    border:1px solid rgba(255,255,255,.9);
	background: rgba(0, 0, 0, 0.55);
   /* 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),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        0 0 18px rgba(0, 180, 170, 0.20);
    overflow: hidden;
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(0.95rem, 2vw, 25px);
    line-height: 1.6;
}

.titulo {
  margin-top: clamp(24px, 6vw, 60px);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.titulo h2, p, h3 {
  margin: 0;
}

.titulo h2 {
  font-size: clamp(1.7rem, 5.5vw, 3rem);
  line-height: 1.15;
	
	
	 
}

.titulo-destacado {
  font-family: "Aladin", system-ui;
  font-size: clamp(1.5rem, 4.5vw, 2.5rem);
  font-style: italic;
  color: #ffffff;
  font-weight: 600;
}

.titulo .subtitulo {
  
  font-size: clamp(1.3rem, 4.5vw, 40px) !important;
  color: #ffffff;
  background: none !important;
  border: none !important;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.75);
}


/* TITULO */

.title-box {

    padding: clamp(16px, 3vw, 26px);
    margin-bottom:22px;
  
   box-shadow:
   inset 0 2px 1px rgba(255,255,255,.95),
   inset 0 -3px 8px rgba(0,0,0,.05),
    0 0 18px rgba(0,180,170,.20);
	
	 /* 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);

    /*
       Permite que la decoración permanezca
       dentro del nav.
    */
    overflow: hidden;
}

.title-box h1 {
    font-family: "Aladin", system-ui;
    text-align:center;
    color: #ffffff;
    font-size: clamp(1.75rem, 5vw, 48px);
    font-weight:800;
    letter-spacing:-1px;
    text-transform:uppercase;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.75);
	
}

/* =========================================================
   SECCIÓN CARDS
   Diseño inspirado exactamente en la referencia
========================================================= */

.cards-section {
  width: 96%;
    max-width: 1690px;
    margin: 20px auto 0;
    background: transparent;
    border-radius: 30px;
    padding: clamp(14px, 3vw, 22px);
    border: 1px solid #E5E4E2;
    box-shadow:
    0 0 0 1px #E5E4E2,
    0 0 2px #E5E4E2,
    0 10px 25px #E5E4E2,
    inset 0 1px 0 #E5E4E2;
    position: relative;
}


/* =========================================================
   DESTELLOS DEL FONDO
========================================================= */

.cards-section::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;
    border-radius: inherit;
}


.cards-section::after {

    content: "";

    position: absolute;

    width: clamp(300px, 45vw, 800px);
    height: clamp(160px, 22vw, 400px);

    right: -250px;
    bottom: -180px;

    background:
        radial-gradient(
            ellipse,
            rgba(255, 69, 201, 0.42),
            transparent 70%
        );

    filter: blur(30px);

    pointer-events: none;
}


/* =========================================================
   CONTENEDOR PRINCIPAL DE CRISTAL
========================================================= */

.cards-glass {

    position: relative;

    z-index: 2;

    width: 100%;
    padding:
        clamp(18px, 3vw, 42px)
        clamp(16px, 4vw, 52px);

    display: grid;

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

    gap: 24px;

    align-items: center;

    border-radius: 22px;

    /* Cristal */
    background: transparent;

      /* 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),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        0 0 18px rgba(0, 180, 170, 0.20);
}


/* =========================================================
   BRILLO DEL CONTENEDOR
========================================================= */

.cards-glass::before {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            transparent 15%,
            rgba(255,255,255,.10) 35%,
            transparent 55%
        );

    opacity: .8;
}

/* =========================================================
   CABECERA DE EMOCIONES
========================================================= */

.emociones__header {
    height: 70px;

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

    position: relative;
    overflow: hidden;
    padding: clamp(16px, 3vw, 26px);
    margin-bottom: 22px;

    /* Fondo */
    background: transparent;

    /* 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),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        0 0 18px rgba(0, 180, 170, 0.20);
}

.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: center;

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

/* línea izquierda */
.emociones__header h2::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;

    width: clamp(30px, 8vw, 120px);
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(212, 175, 55, 0.8)
    );
}

/* línea derecha */
.emociones__header h2::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;

    width: clamp(30px, 8vw, 120px);
    height: 1px;

    background: linear-gradient(
        to left,
        transparent,
        rgba(212, 175, 55, 0.8)
    );
}

.emociones__header p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Edu TAS Beginner", cursive;
  font-size: clamp(13px, 1.8vw, 17px);
  color: white;
}


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

.magic-card {
    position: relative;
    z-index: 3;
    width: 100%;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
	justify-content: center;
    border-radius: 24px;
    padding: 10px;

    background: linear-gradient(160deg, #2a0a3d, #4a1259 60%, #6a1a6e);
    border: 1.5px solid transparent;
    background-clip: padding-box;

    box-shadow:
        0 12px 30px rgba(55, 0, 80, .25),
        0 0 18px rgba(255, 155, 239, .22);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

/* Glow difuminado alrededor de la card */
.magic-card::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    background: linear-gradient(160deg, #ff4fd8, #a238ff, #ff4fd8);
    filter: blur(20px);
    opacity: 0.6;
    z-index: -1;
}

/* Borde luminoso fino sobre el contorno */
.magic-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1.5px;
    background: linear-gradient(160deg, #ff9ce8, #a238ff);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* =========================================================
   IMAGEN / VÍDEO DENTRO DE LA CARD
   Mismo tamaño para todas, sin depender del wrapper .card-image
========================================================= */

.magic-card > img,
.magic-card > video {
    width: 100%;
    height: auto; /* ajusta este valor a tu gusto */
    object-fit: cover;
    display: block;
    border-radius: 18px;
    border: 2px solid rgba(255,255,255,.65);
    box-shadow:
        0 4px 15px rgba(130, 45, 180, .20),
        inset 0 0 15px rgba(255,255,255,.35);
    transition: transform .5s ease, filter .5s ease;
}

.magic-card:hover > img,
.magic-card:hover > video {
    transform: scale(1.05);
    filter: brightness(1.05) saturate(1.05);
}


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

.magic-card:hover {

    transform: translateY(-8px);

    box-shadow:

        0 22px 40px
        rgba(52, 0, 75, .30),

        0 0 30px
        rgba(255, 105, 225, .45),

        inset 0 1px 1px
        rgba(255,255,255,.95);
}


/* =========================================================
   ÁREA DE IMAGEN
========================================================= */

.card-image {

    position: relative;

    width: 100%;

    height: 45%;

    overflow: hidden;

    border-radius: 18px;

    border:
        2px solid
        rgba(255,255,255,.65);

    box-shadow:

        0 4px 15px
        rgba(130, 45, 180, .20),

        inset 0 0 15px
        rgba(255,255,255,.35);

}


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

.card-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .5s ease,
        filter .5s ease;
}


.magic-card:hover .card-image img {

    transform: scale(1.05);

    filter:
        brightness(1.05)
        saturate(1.05);
}


/* =========================================================
   BRILLO SOBRE LA IMAGEN
========================================================= */

.card-image::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.18),
            transparent 40%,
            rgba(255,95,211,.12)
        );

    mix-blend-mode: screen;
}


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

.card-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    align-items: center;

    padding:
        clamp(14px, 2.5vw, 28px)
        clamp(12px, 2vw, 20px)
        clamp(14px, 2.5vw, 25px);

    min-height: 0;
}


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

.card-content h3 {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin: 0;

    color: #ffffff;

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

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

    font-style: italic;

    text-align: center;

    white-space: normal;
    line-height: 1.3;

    text-shadow:
        0 1px 2px
        rgba(255,255,255,.8);
}


/* =========================================================
   LÍNEAS DECORATIVAS
========================================================= */

.decor-line {

    position: relative;

    display: block;

    width: clamp(24px, 5vw, 55px);

    height: 1px;

    flex-shrink: 1;

    background:
        linear-gradient(
            90deg,
            transparent,
            #db65c9
        );
}


.decor-line::after {

    content: "";

    position: absolute;

    top: 50%;

    right: -1px;

    width: 5px;
    height: 5px;

    transform:
        translateY(-50%)
        rotate(45deg);

    background: #db65c9;
}


/* Línea izquierda */
.card-content h3 .decor-line:first-child {

    transform: scaleX(-1);
}


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

.card-button {

    position: relative;
    background: url("../IMG/BTN.png");
    width: 50%;
	height: 50px;
    max-width: 225px;

    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 10px clamp(14px, 3vw, 24px);

    border-radius: 50px;
	text-decoration: none;
	
}



.card-button-text {


    font-size: clamp(18px, 2.2vw, 25px);

    line-height: 1;

    transition:
        transform .3s ease;
	letter-spacing: 2px;   
    color: white;

    text-decoration: none;

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

    font-size: clamp(14px, 1.8vw, 19px);

    font-weight: 600;
	text-shadow: 0 2px 3px rgba(0, 0, 0, 0.75);
	
	
   
}


.card-button:hover {

    transform: translateY(-3px);

    filter: brightness(1.08);
        inset 0 1px 2px
        rgba(255,255,255,.85);
}


.card-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%; }
}



/* MARCO FOTO */

.image-box {
    padding: clamp(10px, 2vw, 16px);
    background: transparent;
    border-radius:24px;
       /* 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),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        0 0 18px rgba(0, 180, 170, 0.20);
    box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 0 5px rgba(0,180,170,.22),
    0 8px 18px rgba(0,0,0,.08);
    overflow: hidden;
}

.image-box img {
    display:block;
    width:100%;
    height: auto;
    border-radius:18px;
}

/* CONTENEDOR */
.carousel_1{
    width: 100%;
    padding: clamp(30px, 6vw, 60px) clamp(12px, 4vw, 20px);
    background: linear-gradient(135deg,#f3eef6,#ece6ef);
    border-radius: 30px;
}

/* GRID */
.track_1{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(280px, 100%),1fr));
    gap: clamp(18px, 3vw, 30px);
    max-width: 1300px;
    margin: auto;
}

/* TARJETA */
.card_1{
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    transition: .3s;
    display: flex;
    flex-direction: column;
}

.card_1:hover{
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.18);
}

/* CABECERA DEL CALENDARIO */
.fecha{
    background: linear-gradient(to right, #892be234 0%, #ff00aa88 100%);
    color: white;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    font-weight: bold;
    text-align: center;
    padding: 18px;
    letter-spacing: .5px;
    position: relative;
}

/* Simula los agujeros del calendario */
.fecha::before,
.fecha::after{
    content:"";
    position:absolute;
    width:16px;
    height:16px;
    background:#fff;
    border-radius:50%;
    top:-8px;
}

.fecha::before{
    left:35px;
}

.fecha::after{
    right:35px;
}

/* CONTENIDO */
.card_1 h2{
    font-size: clamp(1.1rem, 2.6vw, 1.7rem);
    text-align: center;
    margin: 30px 20px 15px;
    font-weight: 700;
	font-family: "Aladin", system-ui;
}

.lugar{
    margin: 0 20px;
    padding: 18px;
    background: #f5f5f7;
    border-radius: 15px;
    text-align: center;
    color: #555;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    border: 1px solid #eee;
}

/* BOTÓN */
.btn{
    margin: 30px auto;
    text-decoration: none;
    background: linear-gradient(90deg,#d8b6ff,#ff59ba);
    color: #111;
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 40px;
    transition: .3s;
}

.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255,89,186,.35);
}

.fecha{
    color:#666;
    font-size: clamp(0.95rem, 1.6vw, 18px);
    margin-bottom:22px;
    font-family: "Poppins", Sans-serif;
}

.card_1 h2{
    color: #000000;
    font-family: "Aladin", system-ui;
    font-size: clamp(1.1rem, 2vw, 22px);
    font-weight:700;
    line-height:1.2;
    text-transform:uppercase;
    margin-bottom:auto;
}

.image-box .eventos .card_1 .lugar{
    color:#555;
    font-family: "Poppins", Sans-serif;
    font-size: clamp(1rem, 1.8vw, 20px);
    margin:23px 0;
    width: 100%;
    height: auto;
    min-height: 60px;
    filter: drop-shadow(0 0 8px #e862a38b);
}

.btn{
    font-family: "Raleway", Sans-serif;
    align-self:center;
    padding:12px 34px;
    border-radius:30px;
    color: #000000;
    border: 1px solid rgba(255,255,255,0.15);
    background: linear-gradient(to right, #892be234 0%, #ff00aa88 100%);
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
  
    color: #838383;
    transform:translateY(-2px);
}


/*====================================================
VARIABLES
====================================================*/

:root{
    --card-width: min(200px, 80vw);
    --card-height: min(200px, 805vh);
    --radius:38px;
    --pink:#ff2c9c;
    --white:#ffffff;
}

/* Contenedor principal */
.carousel {
    width: 100%;
    max-width: 2000px;
    position:relative;
    margin-left: 0;
    margin-inline: auto;
}

/* Oculta las tarjetas que salen del área */
.viewport {
    padding: clamp(10px, 2vw, 20px);
    overflow:hidden;
    perspective:1800px;
}

/* Contenedor que se moverá con JS */
.track {
    display:flex;
    gap: clamp(12px, 2vw, 30px);
    justify-content:center;
    flex-wrap: wrap;
    transform-style:preserve-3d;
    transition:transform .6s;
    transform: translateX(0);
    /* Nota: si tu JS calcula el translateX en píxeles fijos basados en el
       ancho original de las tarjetas (250px), revisa esa lógica: ahora el
       ancho de .carta es fluido (ver var(--card-width)), así que conviene
       calcular el desplazamiento con offsetWidth/getBoundingClientRect()
       en tiempo real en vez de un valor fijo en píxeles. */
}

/* Tarjetas */
.carta{
    flex: 0 0 var(--card-width);
    width: var(--card-width);
    height: min(520px, 70vh);
    border-radius:35px;
    transform-origin:center center;
    transform-style:preserve-3d;
    transition:.6s;
    opacity:.35;
    filter:brightness(.6);
}

/* Tarjeta activa */
.carta.active{
    transform: translateZ(140px) scale(1);
    opacity:1;
    filter:brightness(1);
    z-index:20;
}

.carta.left{
    transform: rotateY(60deg) translateX(70px) translateZ(-120px) scale(.80);
}

.carta.right{
    transform: rotateY(-60deg) translateX(-70px) translateZ(-120px) scale(.80);
}

.carta.hide{
    transform: rotateY(65deg) scale(.7);
    opacity:.15;
}

/* Título */
.carta h2{
    color: #000000;
    font-family: "Aladin", system-ui;
    font-size: clamp(1.4rem, 3.5vw, 40px);
    margin-top:20px;
}

/* Texto */
.carta p{
    margin-top:15px;
    color:#ffffff;
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    background: linear-gradient(to right, #892be234 0%, #ff00aa88 100%);
}


/* ===========================
   TESTIMONIOS
=========================== */

.testimonios{
    padding: clamp(40px, 8vw, 90px) clamp(12px, 4vw, 20px);
    position:relative;
    overflow:hidden;
    background: transparent;
    border-radius: 20px;
}
.testimonios::before{
    content: "";
    position: absolute;
    width: clamp(180px, 25vw, 350px);
    height: clamp(180px, 25vw, 350px);
    top:20px;
    left: 5%;
    pointer-events: none;
}
.testimonios::after{
    content: "";
    position: absolute;
    width: clamp(150px, 20vw, 280px);
    height: clamp(150px, 20vw, 280px);
    bottom:-70px;
    right: 5%;
    pointer-events: none;
}
.container{
    max-width:1200px;
    margin:auto;
    text-align:center;
    position:relative;
    z-index:2;
	background: transparent;
}
.subtitulo{
    color: #ffffff;
    letter-spacing:2px;
    font-size: clamp(20px, 2vw, 22px);
    font-family: "Edu TAS Beginner", cursive;
}
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: center;

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

.descripcion {
	font-family: "Edu TAS Beginner", cursive;
    max-width: 90%;
    margin:auto;
    color: #ffffff;
    margin-bottom: clamp(30px, 6vw, 60px);
    font-size: clamp(2rem, 3vw, 2rem);
	background-color: #160d1d;
	height: 70px;

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

    position: relative;
    padding: clamp(16px, 3vw, 26px);
    margin-bottom: 22px;

    /* Fondo */
    background: transparent;

    /* 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),
        inset 0 -3px 8px rgba(0, 0, 0, 0.05),
        0 0 18px rgba(0, 180, 170, 0.20);
	
}

/* línea izquierda */
.descripcion::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;

    width: clamp(30px, 8vw, 120px);
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        rgba(212, 175, 55, 0.8)
    );
}

/* línea derecha */
.descripcion::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;

    width: clamp(30px, 8vw, 120px);
    height: 1px;

    background: linear-gradient(
        to left,
        transparent,
        rgba(212, 175, 55, 0.8)
    );
}

.emociones__header p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Edu TAS Beginner", cursive;
  font-size: clamp(13px, 1.8vw, 17px);
  color: black;
}



/* --- WRAPPER que contiene slider + flechas --- */
.slider-wrapper{
    position:relative;
    width:100%;
    padding: 0 clamp(28px, 6vw, 50px);
}

/* --- SLIDER --- */
.slider{
    position:relative;
    width:100%;
    min-height: auto;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 40px);
}

.slide{
    display:none;
    position:relative;
    box-sizing:border-box;
    width: 470px;
    max-width: calc(50% - 20px);
    margin-top: 55px;
}
.slide.active{
    display:block;
}

.comment{
    width: 100%;
    box-sizing:border-box;
    background: transparent;
    border-radius: 25px;
    padding: clamp(55px, 10vw, 70px) clamp(20px, 4vw, 35px) clamp(30px, 4vw, 40px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position:relative;
}

.avatar-wrap {
  position: absolute;
  top: -51px; /* antes -45px, ajustado por los 6px extra */
  left: 50%;
  transform: translateX(-50%);
  width: calc(clamp(75px, 12vw, 95px) + 12px);
  height: calc(clamp(75px, 12vw, 95px) + 12px);
  border-radius: 50%;
  z-index: 2;
}

.avatar-wrap img {
  position: absolute;
  top: 6px;
  left: 6px;
  width: clamp(75px, 12vw, 95px);
  height: clamp(75px, 12vw, 95px);
  border-radius: 50%;
  object-fit: cover;
  z-index: 1;
}

.avatar-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(
    from 0deg,
    #fceabb,
    #f8b500,
    #fceabb,
    #d4af37,
    #fceabb
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-shadow:
    0 0 10px 2px rgba(255, 215, 0, 0.6),
    0 0 25px 6px rgba(255, 190, 0, 0.4),
    0 0 45px 12px rgba(255, 170, 0, 0.25);
  animation: pulso-dorado 2.5s ease-in-out infinite;
  z-index: 0;
}
.stars{
    color: #f5a623;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    letter-spacing: 4px;
    margin-bottom: 18px;
}

.comment p{
    line-height:1.8;
    color: white;
    margin-bottom:30px;
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(0.9rem, 1.6vw, 1rem);
}
.comment h3{
    font-family: "Aladin", system-ui;
    color: #ff00aa;
    margin-bottom:6px;
    letter-spacing: 1px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}
.comment span{
    color:#888;
    font-family: "Aladin", system-ui;
    font-size:13px;
    letter-spacing: 1px;
	color: white;
}

/* --- FLECHAS: borde dorado + símbolo dorado --- */
.flecha{
    width: clamp(2.4rem, 5vw, 4rem);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    z-index: 10;

    font-size: clamp(1.6rem, 5vw, 55px);

    /* Capa 1: degradado dorado recortado a la forma del símbolo
       Capa 2: tu relleno rosa/violeta, sin dorado */
    background:
        linear-gradient(
            135deg,
            #7a5c1e 0%,
            #d4af37 20%,
            #fff3a8 40%,
            #aa771c 60%,
            #f9e08c 80%,
            #8c6218 100%
        ),
        linear-gradient(to right, #892be215 0%, #ff00aa2d 100%);
    background-clip: text, padding-box;
    -webkit-background-clip: text, padding-box;
    -webkit-text-fill-color: transparent;
    color: transparent;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);

    transition: filter .3s ease, box-shadow .3s ease;
}

/* Aro dorado: solo el borde, el interior queda hueco */
.flecha::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px; /* grosor del borde */
    background: linear-gradient(
        135deg,
        #7a5c1e 0%,
        #d4af37 18%,
        #fff6d5 30%,
        #d4af37 45%,
        #a67c1e 62%,
        #f9e08c 78%,
        #b8860b 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.flecha:hover{
    filter: brightness(1.15);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(212, 175, 55, 0.45);
}

.flecha.izquierda { left: 0; right: auto; }
.flecha.derecha { right: 0; left: auto; }

/* ===========================
   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 (FALTABA ESTO) ===== */
.footer-container{
    display: grid;
    grid-template-columns: 1fr;
    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.3rem, 2vw, 1.5rem);
}





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

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

/* ============================================================
   RESPONSIVE GLOBAL — DIVAS & DIVINAS
   ============================================================ */

/* ============================================================
   1. HEADER — MÓVILES Y TABLETS
   ============================================================ */

@media (max-width: 899px) {

    .hero {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        overflow: visible;
        display: flex;
        flex-direction: column;
        isolation: isolate;
    }

    /* --------------------------------------------------------
       VÍDEO DEL HEADER
       -------------------------------------------------------- */

    .hero-video {
        display: block !important;
        position: relative !important;
        order: 1;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        object-fit: contain !important;
        object-position: center top !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        z-index: 1;
        pointer-events: none;
    }

    /* El vídeo conserva su proporción natural. */

    .hero-video::-webkit-media-controls {
        display: none !important;
    }

    /* --------------------------------------------------------
       BOTONERA
       -------------------------------------------------------- */

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

    /* --------------------------------------------------------
       LOGO — OCULTO EN MÓVIL/TABLET
       -------------------------------------------------------- */

    .hero-logo {
        display: none !important;
    }

    /* --------------------------------------------------------
       SABER MÁS — OCULTO
       -------------------------------------------------------- */

    .saber {
        display: none !important;
    }

    /* --------------------------------------------------------
       CONTENIDO DEL HEADER
       -------------------------------------------------------- */

    .hero-content {
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        height: auto;
        margin: 0;
        padding: 0;
        order: 2;
    }

    /* --------------------------------------------------------
       ELIMINAR ALTURAS / SOMBRAS ARTIFICIALES
       -------------------------------------------------------- */

    .hero::before,
    .hero::after {
        pointer-events: none;
    }
}


/* ============================================================
   2. REDES SOCIALES
   ============================================================ */

@media (max-width: 899px) {

    .social-bar {
        position: absolute !important;
        top: 50% !important;
        right: 12px !important;
        z-index: 1100 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 8px;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .shiny-btn {
        flex: 0 0 auto;
        width: 38px;
        height: 38px;
        max-width: none;
        padding: 6px;
        box-sizing: border-box;
    }
}


/* ============================================================
   3. CONTENEDOR PRINCIPAL / WRAPPER
   ============================================================ */

@media (max-width: 899px) {

    .wrapper {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin: 12px auto 0 !important;
        padding: 12px !important;
        min-width: 0;
        overflow: hidden;
    }

    .wrapper > * {
        min-width: 0;
        max-width: 100%;
    }

    .wrapper p {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 14px;
        line-height: 1.5;
    }
}


/* ============================================================
   4. VÍDEO DENTRO DEL WRAPPER
   ============================================================ */

.wrapper video {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   5. TÍTULOS — REGLAS GENERALES
   ============================================================ */

.titulo,
.title-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    text-align: center;
}

.titulo h1,
.titulo h2,
.title-box h1,
.title-box h2 {
    max-width: 100%;
    overflow-wrap: break-word;
}


/* ============================================================
   6. TÍTULOS — MÓVILES Y TABLETS
   ============================================================ */

@media (max-width: 899px) {

    .titulo {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .titulo h2 {
        font-size: clamp(1.35rem, 6vw, 2.3rem);
        line-height: 1.15;
        text-align: center;
    }

    .titulo-destacado {
        font-size: clamp(1.15rem, 5vw, 2rem);
    }

    .titulo .subtitulo {
        font-size: clamp(.95rem, 4vw, 1.3rem) !important;
    }

    .title-box {
        width: 100%;
        padding: 14px 10px;
    }

    .title-box h1 {
        font-size: clamp(1.4rem, 6vw, 2.5rem);
        line-height: 1.15;
    }
}


/* ============================================================
   7. CARDS — CONTENEDOR
   ============================================================ */

.cards-section {
    min-width: 0;
}

.cards-glass {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    align-items: stretch;
}

.magic-card {
    width: 100%;
    max-width: 100%;
	height: 550px;
    min-width: 0;
    overflow: hidden;
}

.magic-card > img,
.magic-card > video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-width: 0;
}

.card-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.card-content h3 {
    max-width: 100%;
    overflow-wrap: break-word;
}


/* ============================================================
   8. CARDS — MÓVIL 320px — 599px
   ============================================================ */

@media (max-width: 599px) {

    .cards-section {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 10px;
    }

    .cards-glass {
        grid-template-columns: 1fr !important;
        width: 100%;
        padding: 12px 8px;
        gap: 16px;
    }

    .emociones__header {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: auto;
        padding: 12px 8px;
        margin-bottom: 14px;
    }

    .emociones__header h2 {
        font-size: clamp(16px, 5vw, 21px);
        line-height: 1.15;
        text-align: center;
    }

    .emociones__header h2::before,
    .emociones__header h2::after {
        display: none !important;
    }

    .magic-card {
        width: 100%;
        min-width: 0;
        padding: 7px;
        border-radius: 18px;
    }

    .card-content {
        padding: 12px 8px;
    }

    .card-content h3 {
        font-size: clamp(13px, 4vw, 16px);
        line-height: 1.25;
    }

    .card-button {
        width: auto !important;
        min-width: 0 !important;
        max-width: 90% !important;
        min-height: 36px;
        padding: 8px 14px;
        font-size: clamp(12px, 3.5vw, 14px);
        margin-left: auto;
        margin-right: auto;
    }
}


/* ============================================================
   9. 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: 52px !important;
        padding: 0 3px !important;
        min-width: 0;
    }

    .menu-text {
        font-size: 10px !important;
        white-space: nowrap;
    }

    .menu-indicator {
        width: 26px;
        max-width: 70%;
    }

    .social-bar {
        right: 5px !important;
        top: 62% !important;
        gap: 6px;
    }

    .shiny-btn {
        width: 30px;
        height: 30px;
        padding: 5px;
    }

    .wrapper,
    .cards-section {
        width: calc(100% - 12px) !important;
        max-width: calc(100% - 12px) !important;
    }

    .wrapper {
        padding: 8px !important;
    }

    .wrapper p {
        padding: 11px;
        font-size: 15px;
    }

    .card-button {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 12px;
    }
}


/* ============================================================
   10. 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: 55px !important;
        padding: 0 5px !important;
    }

    .menu-text {
        font-size: clamp(10px, 3vw, 12px);
    }

    .social-bar {
        right: 7px !important;
		top: 62% !important;
    }

    .shiny-btn {
        width: 33px;
        height: 33px;
    }

    .wrapper,
    .cards-section {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
    }

    .wrapper {
        padding: 9px !important;
    }

    .wrapper p {
        font-size: 16px;
    }
}


/* ============================================================
   11. MÓVILES GRANDES — 480px — 599px
   ============================================================ */

@media (min-width: 480px) and (max-width: 599px) {

    .bottom-menu {
        height: 40px !important;
        padding: 0 3px !important;
		border-radius: 10px;
    }

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

    .menu-text {
        font-size: 13px;
    }

    .social-bar {
        right: 10px !important;
		top: 62% !important;
    }

    .shiny-btn {
        width: 36px;
        height: 36px;
    }

    .wrapper,
    .cards-section {
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
    }

    .cards-glass {
        padding: 16px 12px;
        gap: 18px;
    }

    .wrapper p {
        font-size: 18px;
    }
}


/* ============================================================
   12. 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: 60px !important;
        padding: 0 9px !important;
    }

    .menu-text {
        font-size: 14px;
    }

    .social-bar {
        right: 12px !important;
    }

    .shiny-btn {
        width: 38px;
        height: 38px;
    }

    .wrapper,
    .cards-section {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
    }

    .wrapper {
        padding: 14px !important;
    }

    .wrapper p {
        font-size: 19px;
    }

    .cards-glass {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        padding: 20px 15px;
    }

    .cards-glass .magic-card:last-child {
        grid-column: 1 / -1;
        width: min(50%, 100%);
        max-width: 100%;
        justify-self: center;
    }

    .emociones__header h2 {
        font-size: 22px;
    }
}


/* ============================================================
   13. 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: 62px !important;
        padding: 0 11px !important;
    }

    .menu-text {
        font-size: 15px;
    }

    .social-bar {
        right: 14px !important;
    }

    .shiny-btn {
        width: 40px;
        height: 40px;
    }

    .wrapper,
    .cards-section {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
    }

    .wrapper {
        padding: 16px !important;
    }

    .wrapper p {
        font-size: 20px;
    }

    .cards-glass {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        padding: 22px 18px;
    }

    .cards-glass .magic-card:last-child {
        grid-column: 1 / -1;
        width: min(50%, 100%);
        justify-self: center;
    }

    .emociones__header h2 {
        font-size: 24px;
    }
}


/* ============================================================
   14. EVENTOS
   ============================================================ */

.carousel_1 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.track_1 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
}

.card_1 {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.card_1 img,
.card_1 video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 599px) {

    .carousel_1 {
        width: calc(100% - 16px);
        margin-left: auto;
        margin-right: auto;
        padding: 20px 8px;
    }

    .track_1 {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .card_1 h2 {
        font-size: 1.1rem;
        margin-left: 12px;
        margin-right: 12px;
    }

    .lugar {
        margin-left: 12px;
        margin-right: 12px;
    }

    .btn {
        max-width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 600px) and (max-width: 899px) {

    .carousel_1 {
        width: calc(100% - 28px);
        margin-left: auto;
        margin-right: auto;
    }

    .track_1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}


/* ============================================================
   15. TESTIMONIOS
   ============================================================ */

.testimonios {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.testimonios .container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.descripcion {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    overflow-wrap: break-word;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.slide {
    min-width: 0;
    max-width: 100%;
}

.comment {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
}

.comment p {
    max-width: 100%;
    overflow-wrap: break-word;
}

.avatar-wrap {
    max-width: none;
}


/* ------------------------------------------------------------
   TESTIMONIOS — MÓVIL
   ------------------------------------------------------------ */

@media (max-width: 767px) {

    .testimonios {
        width: calc(100% - 14px);
        margin-left: auto;
        margin-right: auto;
        padding-left: 8px;
        padding-right: 8px;
    }

    .descripcion {
        width: 100%;
        min-height: 0;
        padding: 12px 8px;
        font-size: clamp(.95rem, 4vw, 1.15rem);
        line-height: 1.35;
    }

    .descripcion::before,
    .descripcion::after {
        display: none !important;
    }

    .slider-wrapper {
        width: 100%;
        padding: 0 8px;
    }

    /* NO cambiamos el slider a flex-direction: column. */

    .slider {
        width: 100%;
        max-width: 100%;
    }

    .slide {
        width: 100%;
        max-width: 100%;
    }

    .comment {
        width: 100%;
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .comment p {
        font-size: .9rem;
        line-height: 1.5;
    }
}


/* ============================================================
   16. CARRUSEL 3D
   ============================================================ */

.carousel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.track {
    min-width: 0;
}

.carta {
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 899px) {

    .carousel {
        width: 100%;
        max-width: 100%;
    }

    .viewport {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    /* El track puede ser más ancho que el viewport. */

    .track {
        max-width: none;
        flex-wrap: nowrap;
    }

    .carta {
        flex-shrink: 0;
        width: min(190px, 75vw);
        max-width: 75vw;
    }
}


/* ============================================================
   17. FOOTER
   ============================================================ */

.footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
}

.footer-info,
.footer-links,
.footer-contact,
.footer-logo {
    min-width: 0;
    max-width: 100%;
}

.footer img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {

    .footer {
        width: 100%;
        max-width: 100%;
        padding: 40px 14px 22px;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 28px;
    }

    .footer-logo img {
        width: min(180px, 55vw);
    }

    .footer h4 {
        color: #ff59c7;
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    .footer-info p,
    .footer-links ul li a,
    .footer-contact p {
        color: #ffffff;
        font-size: clamp(.95rem, 4vw, 1.2rem);
        line-height: 1.5;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 18px;
    }
}

@media (min-width: 768px) and (max-width: 899px) {

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}


/* ============================================================
   18. ESCRITORIO — 900px — 1199px
   ============================================================ */

@media (min-width: 900px) and (max-width: 1199px) {

    .wrapper,
    .cards-section {
        width: 94%;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }

    .cards-glass {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

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

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


/* ============================================================
   19. ESCRITORIO MEDIO — 1200px — 1599px
   ============================================================ */

@media (min-width: 1200px) and (max-width: 1599px) {

    .wrapper,
    .cards-section {
        width: 94%;
        max-width: 1450px;
        margin-left: auto;
        margin-right: auto;
    }

    .cards-glass {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .track_1 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 35px;
    }
}


/* ============================================================
   20. ESCRITORIO GRANDE — 1600px — 1999px
   ============================================================ */

@media (min-width: 1600px) and (max-width: 1999px) {

    .wrapper,
    .cards-section {
        width: 92%;
        max-width: 1690px;
        margin-left: auto;
        margin-right: auto;
    }

    .cards-glass {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .track_1 {
        width: 100%;
        max-width: 1450px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .footer-container {
        max-width: 1500px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* ============================================================
   21. 4K — 2000px — 2559px
   ============================================================ */

@media (min-width: 2000px) and (max-width: 2559px) {

    body {
        font-size: 18px;
    }

    .wrapper,
    .cards-section {
        width: 90%;
        max-width: 1850px;
        margin-left: auto;
        margin-right: auto;
    }

    .bottom-menu {
        height: 50px;
    }

    .menu-item {
        height: 58px;
    }

    .menu-text {
        font-size: 19px;
    }

    .cards-glass {
        gap: 32px;
        padding: 35px 50px;
    }

    .magic-card {
        border-radius: 28px;
    }

    .track_1 {
        width: 100%;
        max-width: 1700px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }

    .footer-container {
        width: 100%;
        max-width: 1750px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* ============================================================
   22. ULTRAWIDE — 2560px+
   ============================================================ */

@media (min-width: 2560px) {

    body {
        font-size: 20px;
    }

    .wrapper,
    .cards-section {
        width: 88%;
        max-width: 2100px;
        margin-left: auto;
        margin-right: auto;
    }

    .bottom-menu {
        height: 50px;
    }

    .menu-item {
        height: 64px;
    }

    .menu-text {
        font-size: 21px;
    }

    .cards-glass {
        gap: 38px;
        padding: 42px 60px;
    }

    .magic-card {
        border-radius: 30px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .card-button {
        max-width: 240px;
        min-height: 52px;
        font-size: 18px;
    }

    .track_1 {
        max-width: 1900px;
        margin-left: auto;
        margin-right: auto;
        gap: 40px;
    }

    .footer-container {
        max-width: 2000px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* ============================================================
   23. PANTALLAS EXTREMADAMENTE GRANDES — 3000px+
   ============================================================ */

@media (min-width: 3000px) {

    .wrapper,
    .cards-section,
    .footer-container {
        max-width: 2200px;
        margin-left: auto;
        margin-right: auto;
    }

    .cards-glass {
        max-width: 2100px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* ============================================================
   24. ORIENTACIÓN HORIZONTAL
   ============================================================ */

/* El vídeo conserva siempre su proporción. */

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

    .bottom-menu {
        height: 50px !important;
    }

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

    .menu-text {
        font-size: 11px;
    }

    .social-bar {
        top: 50% !important;
    }

    .hero-video {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }

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


/* ============================================================
   25. PANTALLAS CON POCA ALTURA
   ============================================================ */

@media (max-height: 650px) {

    .social-bar {
        gap: 5px;
    }

    .shiny-btn {
        width: 32px;
        height: 32px;
    }
}


/* ============================================================
   26. TOUCH
   ============================================================ */

@media (hover: none) and (pointer: coarse) {

    .magic-card:hover {
        transform: none !important;
    }

    .magic-card:hover > img,
    .magic-card:hover > video {
        transform: none !important;
        filter: none;
    }

    .card-button:hover {
        transform: none !important;
    }

    .card-button:hover span {
        transform: none !important;
    }

    .menu-item:hover {
        transform: none !important;
    }
}


/* ============================================================
   27. REDUCCIÓN DE MOVIMIENTO
   ============================================================ */

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ============================================================
   28. PROTECCIÓN FINAL
   ============================================================ */

/* Protección horizontal del documento. */

html,
body {
    overflow-x: hidden;
}

/* Protección específica del contenido interno. */

.magic-card,
.card_1 {
    overflow: hidden;
}


/* ============================================================
   29. EVITAR ANCHURAS FANTASMA EN FLEX / GRID
   ============================================================ */

.wrapper,
.cards-section,
.cards-glass,
.carousel_1,
.track_1,
.testimonios,
.slider-wrapper,
.slider,
.footer,
.footer-container {
    min-width: 0;
}


/* ============================================================
   30. BOTONES
   ============================================================ */

.card-button,
.btn {
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* ============================================================
   SEGUNDO VÍDEO — DEBAJO DEL HEADER
   OCULTO HASTA 899px
   VISIBLE DESDE 900px
   ============================================================ */

@media (max-width: 899px) {

    .animacion > .wrapper > video {
        display: none !important;
    }

}

/* ============================================================
   FIN DEL RESPONSIVE
   ============================================================ */

.cards-section .card-button {
    background: url("../IMG/BTN.png") center / 100% 100% no-repeat !important;
}

