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

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

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

html {
    width: 100%;
    min-height: 100%;

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

    overflow-x: hidden;

    color: var(--text);

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

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


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

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


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

header {
    width: 100%;
    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,
.menu-item:nth-child(4)::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;
}
/* =========================================================
   BOX SIZING
========================================================= */

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


/* =========================================
   DISPONIBILIDAD — DIVAS Y DIVINAS
========================================= */

.disponibilidad,
.disponibilidad * {
    box-sizing: border-box;
}

.disponibilidad {
    --oro: #ffe68b;
    --oro-intenso: #ffd45c;
    --rosa: #ff00aa;
    --blanco: #fff8f6;

    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 100vh;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* Sustituir por la ruta de tu fondo */
    background-image:
        linear-gradient(
            115deg,
            rgba(40, 0, 95, .12),
            rgba(255, 0, 170, .08)
        ),
        url("../IMG/FONDO-DISPONIBILIDAD.png");

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

/* RESPLANDOR AMBIENTAL */

.disponibilidad::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse at 72% 48%,
            rgba(255, 0, 170, .18),
            transparent 65%
        );
}

/* =========================================
   DISTRIBUCIÓN PRINCIPAL
========================================= */

.disponibilidad__layout {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 2fr);
    align-items: start;
    gap: clamp(20px, 3vw, 48px);
}

/* =========================================
   PRESENTACIÓN IZQUIERDA
========================================= */

.disponibilidad__intro {
    min-width: 0;
    text-align: center;
    color: white;
    padding: 20px 0;
}

.disponibilidad__ornamento {
    color: var(--oro-intenso);
    font-size: clamp(24px, 3vw, 40px);
    margin-bottom: 12px;

    text-shadow:
        0 0 10px rgba(255, 215, 100, .6);
}

.disponibilidad__intro h2 {
    margin: 0;
    color: #fff1f4;
    font-family: "Aladin", cursive;
    font-size: clamp(35px, 3.8vw, 64px);
    font-weight: 400;
    line-height: 1.1;

    text-shadow:
        0 3px 7px rgba(40, 0, 45, .65);
}

.disponibilidad__intro h2 strong {
    display: block;
    margin-top: 5px;

    font-weight: 400;
    font-size: clamp(46px, 5.1vw, 85px);

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fffef5 12%,
        #fff9d6 25%,
        #ffe88a 38%,
        #ffd45c 48%,
        #fff6cc 58%,
        #ffffff 72%,
        #ffe991 85%,
        #fffdf0 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(
        0 3px 3px rgba(65, 0, 55, .55)
    );
}

/* SEPARADORES DORADOS */

.disponibilidad__separador {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 85%;
    margin: 27px auto;

    color: var(--oro);
}

.disponibilidad__separador::before,
.disponibilidad__separador::after {
    content: "";
    height: 1px;
    flex: 1;

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

.disponibilidad__separador::after {
    transform: rotate(180deg);
}

.disponibilidad__separador span {
    font-size: 29px;

    text-shadow:
        0 0 12px rgba(255, 220, 90, .8);
}

/* TEXTOS INTRODUCTORIOS */

.disponibilidad__intro p {
    max-width: 410px;
    margin: 16px auto;

    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(15px, 1.55vw, 23px);
    font-style: italic;
    line-height: 1.7;

    color: #fff9ff;

    text-shadow:
        0 2px 5px rgba(30, 0, 45, .7);
}

.disponibilidad__intro p b {
    font-weight: 600;
}

/* =========================================
   COLUMNA DERECHA
========================================= */

.disponibilidad__derecha {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* =========================================
   CONTENEDOR CRISTAL
========================================= */

.disponibilidad__formulario {
    width: 100%;
    padding: clamp(14px, 1.5vw, 24px);
    height: 615px;
    border: 1.5px solid var(--oro);
    border-radius: 30px;

    background: linear-gradient(
        135deg,
        rgba(97, 0, 105, .48),
        rgba(156, 0, 115, .28),
        rgba(55, 0, 90, .52)
    );

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

    box-shadow:
        0 0 0 1px rgba(255, 235, 160, .15),
        0 0 22px rgba(255, 190, 85, .18),
        0 18px 45px rgba(40, 0, 70, .35),
        inset 0 1px 15px rgba(255, 255, 255, .08);
}

/* =========================================
   GRID DE CAMPOS
========================================= */

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

.campo {
    position: relative;
    min-width: 0;
    height: 64px;

    display: flex;
    align-items: center;
    gap: 17px;

    padding: 12px 15px;

    border: 1px solid rgba(255, 220, 255, .72);
    border-radius: 17px;

    background: linear-gradient(
        110deg,
        rgba(255, 160, 240, .23),
        rgba(255, 0, 170, .17),
        rgba(255, 180, 220, .18)
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .17),
        0 5px 14px rgba(60, 0, 65, .12);

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}

/* HOVER Y FOCUS */

.campo:hover,
.campo:focus-within {
    border-color: #ffe99b;

    background: linear-gradient(
        110deg,
        rgba(255, 170, 240, .30),
        rgba(255, 0, 170, .23),
        rgba(255, 190, 220, .24)
    );

    box-shadow:
        0 0 15px rgba(255, 217, 100, .22),
        inset 0 1px 0 rgba(255, 255, 255, .24);

    transform: translateY(-1px);
}

.campo--completo {
    grid-column: 1 / -1;
}

/* =========================================
   ICONOS
========================================= */
.campo__icono {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

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

    border-radius: 0;

    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fff9dc 20%,
        #ffe78a 45%,
        #fff5bd 60%,
        #ffffff 75%,
        #ffe99b 100%
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;

    font-size: 25px;
    text-shadow: none;
    box-shadow: none;

    filter: drop-shadow(
        0 1px 1px rgba(65, 20, 55, .3)
    );

    transition: transform .3s ease;
}

.campo:hover .campo__icono,
.campo:focus-within .campo__icono {
    color: transparent;
    box-shadow: none;
    transform: scale(1.04);
}

/* =========================================
   ETIQUETAS E INPUTS
========================================= */

.campo__contenido {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
	
}

.campo__contenido label {
    color: #ffffff;
    padding: 5px;
    font-family: "Aladin", cursive;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.1;

    text-shadow:
        0 2px 4px rgba(45, 0, 50, .65);
}

.campo__contenido input,
.campo__contenido select,
.campo__contenido textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 27px;

    padding: 0;
    margin: 0;

    border: none;
    outline: none;
    border-radius: 0;

    background: transparent;

    color: #ffffff;
    font-family: "Edu TAS Beginner", cursive;
    font-size: 1.2rem;
    line-height: 1.6;
}

.campo__contenido input::placeholder,
.campo__contenido textarea::placeholder {
    color: rgba(255, 224, 247, .78);
    -webkit-text-fill-color: rgba(255, 224, 247, .78);
    opacity: 1;
}

.campo__contenido input:focus,
.campo__contenido textarea:focus,
.campo__contenido select:focus {
    box-shadow: none;
    outline: none;
}

/* SELECT */

.campo__contenido select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;

    padding-right: 30px;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffe68b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 23px;
}

.campo__contenido select:invalid {
    color: rgba(255, 224, 247, .78);
    -webkit-text-fill-color: rgba(255, 224, 247, .78);
}

.campo__contenido select option {
    color: #49204e;
    background: #fff0fa;
}

/* =========================================
   CAMPO DE FECHA
========================================= */

.campo--fecha {
    height: auto;
    min-height: 64px;
}

.campo--fecha .campo__contenido {
    gap: 3px;
}

.campo--fecha .campo__contenido label {
    margin: 0;
    padding: 0;
}

.campo__contenido .calendario__nativo {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.calendario__abrir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 27px;
    padding: 0 8px 0 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(13px, 1.1vw, 17px);
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
}

.calendario__abrir[hidden] {
    display: none;
}

.calendario__abrir.es-placeholder {
    color: rgba(255, 224, 247, .78);
}

.calendario__abrir i {
    flex-shrink: 0;
    color: #ffe77c;
}

.calendario__abrir:focus-visible {
    outline: 2px solid #ffe77c;
    outline-offset: 4px;
    border-radius: 4px;
}

.calendario__abrir[aria-invalid="true"] {
    outline: 2px solid #ffb9d4;
    outline-offset: 4px;
}

#fecha-texto {
font-family: "Edu TAS Beginner", cursive;
font-size: 1.2rem;
}

/* =========================================
   VENTANA DEL CALENDARIO
========================================= */

.calendario {
    position: fixed;
    inset: 0;
    width: min(360px, calc(100vw - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 20px;
    overflow-y: auto;
    border: 1px solid rgba(255, 231, 124, .75);
    border-radius: 22px;

    background: linear-gradient(
        135deg,
        #260b3d 0%,
        #43185c 35%,
        #63134f 72%,
        #7b254e 100%
    );

    color: #fff7dc;
    font-family: "Montserrat", sans-serif;

    box-shadow:
        0 20px 60px rgba(20, 0, 30, .55),
        inset 0 1px 0 rgba(255, 255, 255, .12);
}

.calendario::backdrop {
    background: rgba(24, 4, 34, .55);
}

.calendario__cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.calendario__cabecera h3 {
    margin: 0;
    color: #fff4c1;
    font-family: "Aladin", cursive;
    font-size: 28px;
    font-weight: 400;
}

.calendario button {
    font-family: inherit;
    cursor: pointer;
}

.calendario__cerrar {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #ffe77c;
    font-size: 25px;
}

.calendario__navegacion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.calendario__navegacion strong {
    color: #fff7dc;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    text-transform: capitalize;
}

.calendario__navegacion button {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 231, 124, .3);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    color: #ffe77c;
    font-size: 27px;
}

.calendario__semana,
.calendario__dias {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.calendario__semana {
    margin-bottom: 8px;
    color: #e8c58e;
    font-size: 12px;
    text-align: center;
}

.calendario__semana span {
    padding: 6px 0;
}

.calendario__dia {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-width: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 11px;
    background: transparent;
    color: #fff7ed;
    font-size: 14px;
}

.calendario__dia:hover {
    background: rgba(255, 80, 190, .22);
    color: #fff5b8;
}

.calendario__dia.es-hoy {
    border-color: #e8c58e;
    color: #ffe77c;
}

.calendario__dia.es-seleccionado {
    border-color: #fff0ad;
    background: linear-gradient(135deg, #ffd45c, #fff2b8);
    color: #43104d;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(255, 212, 92, .22);
}

.calendario__dia:disabled {
    opacity: .3;
    cursor: default;
}

.calendario button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.calendario__pie {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 231, 124, .22);
}

.calendario__pie button {
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, .06);
    color: #ffe77c;
    font-size: 13px;
}

.calendario__pie button:hover,
.calendario__navegacion button:hover,
.calendario__cerrar:hover {
    background: rgba(255, 80, 190, .22);
}

.calendario__nota {
    margin: 14px 0 0;
    color: #efd3e7;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 599px) {
    .campo--fecha {
        min-height: 75px;
    }

    .calendario__abrir {
        font-size: 14px;
    }
}

@media (max-width: 359px) {
    .calendario {
        padding: 14px;
    }

    .calendario__semana,
    .calendario__dias {
        gap: 3px;
    }
}
/* MENSAJE */

.campo--mensaje {
    align-items: flex-start;
    height: 100px;
    padding-top: 15px;
}

.campo--mensaje .campo__contenido {
    padding-top: 5px;
}

.campo__contenido textarea {
    height: 50px;
    resize: vertical;
    overflow-wrap: anywhere;
}

/* =========================================
   BOTÓN ENVIAR CONSULTA
========================================= */

.disponibilidad__boton {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

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

    margin-inline: auto;
    padding: 12px 24px;

    border: none;
    border-radius: 100px;

    background-color: transparent;
    background-image: url("../IMG/BTN.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    color: #fff3dc;
    font-family: "Aladin", system-ui;
    font-size: 1.2rem;
    font-style: italic;
    text-decoration: none;

    cursor: pointer;
    user-select: none;
}

.disponibilidad__boton span {
    text-align: center;
}

.disponibilidad__boton:hover span,
.disponibilidad__boton:focus-visible span {
    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: disponibilidad-shine 4s linear infinite;
}

.disponibilidad__boton:focus-visible {
    outline: 3px solid #fff3dc;
    outline-offset: 5px;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .disponibilidad__boton:hover span,
    .disponibilidad__boton:focus-visible span {
        animation: none;
    }
}

/* =========================================
   RESPONSIVE — TABLETS
========================================= */

@media (max-width: 1050px) {

    .disponibilidad__layout {
        grid-template-columns: 1fr;
        max-width: 850px;
        gap: 22px;
    }

    .disponibilidad__intro {
        padding: 0;
    }

    .disponibilidad__intro p {
        max-width: 620px;
        margin: 10px auto;
		
    }

    .disponibilidad__separador {
        max-width: 450px;
        margin: 14px auto;
    }

}

/* =========================================
   RESPONSIVE — MÓVILES
========================================= */

@media (max-width: 599px) {

    .disponibilidad {
        min-height: auto;
        padding: 30px 12px 45px;
        background-position: center;
    }

    .disponibilidad__layout {
        gap: 20px;
    }

    .disponibilidad__intro h2 {
        font-size: clamp(32px, 8vw, 43px);
    }

    .disponibilidad__intro h2 strong {
        font-size: clamp(42px, 10vw, 58px);
    }

    .disponibilidad__intro p {
        font-size: 15px;
        line-height: 1.6;
    }

    .disponibilidad__formulario {
        padding: 12px;
        border-radius: 22px;
    }

    .disponibilidad__grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .campo {
        grid-column: 1 / -1;
        min-height: 75px;
        padding: 10px 12px;
        gap: 12px;
        border-radius: 14px;
    }

    .campo__icono {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        font-size: 20px;
    }

    .campo__contenido label {
        font-size: 20px;
    }

    .campo__contenido input,
    .campo__contenido select,
    .campo__contenido textarea {
        font-size: 14px;
    }

    .campo--mensaje {
        min-height: 150px;
    }

    .disponibilidad__boton {
        min-height: 65px;
        padding: 12px 18px;
        font-size: 27px;
        border-width: 2px;
        gap: 20px;
    }

}

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

@media (max-width: 359px) {

    .disponibilidad {
        padding-inline: 8px;
    }

    .disponibilidad__formulario {
        padding: 9px;
    }

    .campo {
        padding: 9px;
        gap: 9px;
    }

    .campo__icono {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        font-size: 17px;
    }

    .campo__contenido label {
        font-size: 18px;
    }

    .campo__contenido input,
    .campo__contenido select,
    .campo__contenido textarea {
        font-size: 12px;
    }

    .disponibilidad__boton {
        font-size: 24px;
        gap: 14px;
    }

}

/* ACCESIBILIDAD */

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

    .campo,
    .campo__icono,
    .disponibilidad__boton,
    .disponibilidad__boton::before,
    .disponibilidad__boton i {
        transition: none;
    }

}

/* =========================================
   SELECTOR PERSONALIZADO
========================================= */

/* Evita que el título salga del campo. */
.campo:has(.selector-evento) {
    height: auto;
    min-height: 64px;
    overflow: visible;
}

.campo:has(.selector-evento) .campo__contenido {
    min-width: 0;
    gap: 3px;
}

.campo:has(.selector-evento) .campo__contenido label {
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

/* Contenedor del selector. */
.selector-evento {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* Select nativo: conserva el envío y la validación. */
.campo__contenido .selector-evento__nativo {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    padding: 0;
    margin: -1px;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Botón integrado en la estética del campo. */
.selector-evento__boton {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 27px;
    margin: 0;
    padding: 0 8px 0 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    -webkit-text-fill-color: currentColor;
    font-family: "Edu TAS Beginner", cursive;
    font-size: clamp(13px, 1.1vw, 17px);
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
}

.selector-evento__boton span {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.selector-evento__boton.es-placeholder {
    color: rgba(255, 224, 247, .78);
	font-size: 1.2rem;
}

/* Flecha dorada. */
.selector-evento__boton::after {
    content: "";
    box-sizing: border-box;
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid #ffe77c;
    border-bottom: 2px solid #ffe77c;
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s ease;
}

.selector-evento__boton[aria-expanded="true"]::after {
    transform: translateY(3px) rotate(225deg);
}

.selector-evento__boton:focus-visible {
    outline: 2px solid #ffe77c;
    outline-offset: 3px;
}

/* Opciones desplegadas: degradado oscuro sin transparencias. */
.selector-evento__lista {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    box-sizing: border-box;
    width: 100%;
    max-height: 240px;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    list-style: none;
    border: 1px solid rgba(255, 231, 124, .65);
    border-radius: 14px;
    background: linear-gradient(
        120deg,
        #42155f 30%,
        #603477 50%,
        #791653 70%,
        #87375f 100%
    );
    box-shadow: 0 10px 25px rgba(30, 0, 35, 1);
    font-family: "Edu TAS Beginner", cursive;
    scrollbar-width: thin;
    scrollbar-color: #e8c58e #42155f;
}

.selector-evento__lista[hidden] {
    display: none;
}

/* Cada opción. */
.selector-evento__opcion {
    margin: 0;
    padding: 10px 14px;
    border-radius: 9px;
    color: #fff7dc;
    -webkit-text-fill-color: currentColor;
    font-size: clamp(13px, 1.1vw, 17px);
    line-height: 1.6;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.selector-evento__opcion:hover,
.selector-evento__opcion:focus {
    outline: none;
    background: rgba(255, 80, 190, .25);
    color: #fff5b8;
}

.selector-evento__opcion[aria-selected="true"] {
    background: rgba(255, 231, 124, .14);
    color: #ffe77c;
}

/* Eleva el campo del selector sobre los demás campos. */
.campo:has(.selector-evento) {
    position: relative;
    z-index: 2;
    overflow: visible;
}

.campo:has(.selector-evento__boton[aria-expanded="true"]) {
    z-index: 20;
}

/* Fondo más oscuro para las opciones desplegadas. */
.selector-evento__lista {
    z-index: 100;
    background: linear-gradient(
        120deg,
        #260b3d 0%,
        #3d1754 35%,
        #550e49 70%,
        #651b45 100%
    );
    border: 1px solid rgba(255, 231, 124, .65);
    box-shadow: 0 12px 28px rgba(20, 0, 30, .65);
}

/* Resalta la opción bajo el cursor o seleccionada con teclado. */
.selector-evento__opcion:hover,
.selector-evento__opcion:focus {
    background: rgba(255, 80, 190, .22);
    color: #fff5b8;
    outline: none;
}

/* Mantener la estética al autocompletar */
.campo__contenido input:-webkit-autofill,
.campo__contenido input:-webkit-autofill:hover,
.campo__contenido input:-webkit-autofill:focus,
.campo__contenido input:-webkit-autofill:active {
    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;

    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Estado de autocompletado estándar */
.campo__contenido input:autofill {
    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;

    box-shadow: none;
}

.aviso-consulta {
    box-sizing: border-box;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 30px 24px;
    overflow-y: auto;
    border: 1px solid #e8c58e;
    border-radius: 26px;
    background: linear-gradient(135deg, #391064 0%, #781477 55%, #a50972 100%);
    color: #fff7ef;
    text-align: center;
    box-shadow: 0 18px 60px rgba(25, 0, 35, 0.55);
}

.aviso-consulta::backdrop {
    background: rgba(24, 4, 35, 0.68);
    backdrop-filter: blur(5px);
}

.aviso-consulta__icono {
    display: block;
    margin-bottom: 12px;
    color: #ffe991;
    font-size: 42px;
    text-shadow: 0 2px 12px rgba(255, 215, 100, 0.3);
}

.aviso-consulta h2 {
    margin: 0 0 12px;
    color: #fff3cb;
    font-family: "Aladin", system-ui;
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.15;
}

.aviso-consulta p {
    margin: 0 0 24px;
    color: #fff7ef;
    font-family: "Edu TAS Beginner", cursive;
    font-size: 1.2rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.aviso-consulta__cerrar {
    padding: 10px 30px;
    border: 1px solid #e8c58e;
    border-radius: 999px;
    background: linear-gradient(135deg, #892be2, #c9008b);
    color: #fff3dc;
    font-family: "Aladin", system-ui;
    font-size: 1.2rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.aviso-consulta__cerrar:hover {
    box-shadow: 0 0 16px rgba(255, 200, 110, 0.35);
}

.aviso-consulta__cerrar:focus-visible {
    outline: 2px solid #fff3cb;
    outline-offset: 4px;
}

#enviarConsulta[aria-disabled="true"] {
    opacity: 0.65;
    cursor: wait;
}

/* =========================================================
   BASE RESPONSIVE — NECESARIA EN TODAS LAS DIMENSIONES
========================================================= */

.disponibilidad {
    min-height: 0;
    padding: clamp(12px, 2vw, 32px) clamp(8px, 2.5vw, 40px) 32px;
    overflow: visible;
}

.disponibilidad__layout {
    width: 100%;
    max-width: 1500px;
    margin-inline: auto;
    grid-template-columns: minmax(0, .9fr) minmax(0, 2fr);
    gap: clamp(16px, 2.5vw, 40px);
}

.disponibilidad__layout > *,
.disponibilidad__grid > * {
    min-width: 0;
}

.disponibilidad__intro {
    min-width: 0;
    overflow-wrap: anywhere;
}

.disponibilidad__derecha {
    width: 100%;
    min-width: 0;
    gap: 16px;
}

.disponibilidad__formulario {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: clamp(12px, 1.6vw, 24px);
    overflow: visible;
}

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

.disponibilidad .campo {
    min-width: 0;
    height: auto;
    min-height: 84px;
    padding: 12px 14px;
    gap: 12px;
    overflow: visible;
}

.disponibilidad .campo__icono {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 24px;
}

.disponibilidad .campo__contenido {
    min-width: 0;
    gap: 5px;
}

.disponibilidad .campo__contenido label {
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Conserva ocultos los controles nativos personalizados. */

.disponibilidad .campo__contenido input:not(.calendario__nativo),
.disponibilidad .campo__contenido select:not(.selector-evento__nativo),
.disponibilidad .campo__contenido textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 32px;
    font-size: 1rem;
    line-height: 1.5;
}

.disponibilidad .campo--mensaje {
    height: auto;
    min-height: 160px;
    align-items: flex-start;
}

.disponibilidad .campo--mensaje .campo__contenido {
    padding-top: 0;
}

.disponibilidad .campo__contenido textarea {
    height: 100px;
    min-height: 100px;
    resize: vertical;
    overflow-wrap: anywhere;
}

.disponibilidad .selector-evento__boton,
.disponibilidad .selector-evento__boton.es-placeholder,
.disponibilidad .calendario__abrir,
.disponibilidad #fecha-texto {
    min-width: 0;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.disponibilidad .selector-evento__boton,
.disponibilidad .calendario__abrir {
    min-height: 32px;
}

.disponibilidad .selector-evento__boton span,
.disponibilidad .calendario__abrir span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.disponibilidad .selector-evento__lista {
    z-index: 20;
    max-width: 100%;
    max-height: 240px;
    max-height: min(240px, 45dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.disponibilidad .selector-evento__opcion {
    min-height: 44px;
    padding: 10px;
    font-size: 1rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.disponibilidad .campo:has(.selector-evento__boton[aria-expanded="true"]) {
    z-index: 30;
    transform: none;
}

.disponibilidad .disponibilidad__boton {
    width: min(240px, 100%);
    max-width: 100%;
    height: auto;
    min-height: 60px;
    aspect-ratio: auto;
    margin: 16px auto 0;
    padding: 16px 24px;
    gap: 8px;
    font-size: 1.25rem;
    line-height: 1.25;
    white-space: normal;
}

.disponibilidad__boton span {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Ventanas adaptadas al ancho y a la altura disponibles. */

.calendario,
.aviso-consulta {
    box-sizing: border-box;
    width: min(360px, calc(100% - 16px));
    max-width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: clamp(12px, 3vw, 20px);
    overflow: auto;
    overscroll-behavior: contain;
    overflow-wrap: anywhere;
}

.aviso-consulta {
    width: min(440px, calc(100% - 16px));
}

.calendario__cabecera h3,
.calendario__navegacion strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.calendario__cerrar {
    flex-shrink: 0;
}

.calendario__pie {
    flex-wrap: wrap;
}

/* Menú horizontal de cinco enlaces. */

.hero {
    height: auto;
    min-height: 50px;
}

.bottom-menu {
    height: auto;
    min-height: 50px;
    flex-direction: row;
    flex-wrap: nowrap;
    padding-inline: clamp(2px, 2vw, 30px);
}

.bottom-menu .menu-item {
    flex: 1 1 0;
    min-width: 0;
    height: auto;
    min-height: 50px;
    padding: 8px 3px;
    font-size: clamp(.625rem, 1.5vw, 1.25rem);
}

.bottom-menu .menu-text {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.bottom-menu .menu-indicator {
    max-width: 60%;
}


/* =========================================================
   TABLETS Y PANTALLAS HASTA 1050px
========================================================= */

@media (max-width: 1050px) {

    .disponibilidad__layout {
        max-width: 850px;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .disponibilidad__intro {
        padding: 0;
    }

    .disponibilidad__intro p {
        max-width: 620px;
        margin: 10px auto;
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .disponibilidad__separador {
        max-width: 450px;
        margin: 14px auto;
    }

}


/* =========================================================
   MÓVILES Y TABLETS PEQUEÑAS — HASTA 699px
========================================================= */

@media (max-width: 699px) {

    .disponibilidad {
        padding: 18px 12px 28px;
    }

    .disponibilidad__layout {
        gap: 16px;
    }

    .disponibilidad__intro h2 {
        font-size: clamp(2rem, 7vw, 2.6875rem);
        line-height: 1.15;
    }

    .disponibilidad__intro h2 strong {
        font-size: clamp(2.5rem, 9vw, 3.625rem);
        line-height: 1.15;
    }

    .disponibilidad__intro p {
        font-size: 1rem;
    }

    .disponibilidad__formulario {
        padding: 12px;
        border-radius: 22px;
    }

    .disponibilidad__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .disponibilidad .campo {
        grid-column: 1 / -1;
        padding: 12px;
        border-radius: 14px;
    }

    .disponibilidad .campo__contenido label {
        font-size: 1.25rem;
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS — HASTA 399px
========================================================= */

@media (max-width: 399px) {

    .disponibilidad {
        padding-inline: 10px;
    }

    .disponibilidad__formulario {
        padding: 10px;
    }

    .disponibilidad .campo {
        padding: 10px;
        gap: 9px;
    }

    .disponibilidad .campo__icono {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 22px;
    }

    .disponibilidad .campo__contenido label {
        font-size: 1.125rem;
    }

    .bottom-menu {
        padding-inline: 2px;
    }

    .bottom-menu .menu-item {
        padding-inline: 2px;
        font-size: .625rem;
    }

}


/* =========================================================
   MÓVILES MUY PEQUEÑOS — HASTA 359px
========================================================= */

@media (max-width: 359px) {

    .disponibilidad {
        padding-inline: 8px;
    }

    .disponibilidad__formulario {
        padding: 9px;
        border-radius: 18px;
    }

    .disponibilidad .campo {
        padding: 10px 8px;
        gap: 8px;
    }

    .disponibilidad .campo__icono {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 20px;
    }

    .disponibilidad .disponibilidad__boton {
        padding-inline: 16px;
        font-size: 1.125rem;
    }

    .calendario__semana,
    .calendario__dias {
        gap: 3px;
    }

}


/* =========================================================
   MONITORES GRANDES — DESDE 1600px
========================================================= */

@media (min-width: 1600px) {

    .disponibilidad {
        padding-block: 32px 48px;
    }

    .disponibilidad__layout {
        max-width: 1500px;
        gap: 40px;
    }

    .disponibilidad__formulario {
        padding: 24px;
    }

    .disponibilidad__grid {
        gap: 18px;
    }

    .disponibilidad .campo__contenido label {
        font-size: 1.375rem;
    }

    .disponibilidad .campo__contenido input:not(.calendario__nativo),
    .disponibilidad .campo__contenido select:not(.selector-evento__nativo),
    .disponibilidad .campo__contenido textarea,
    .disponibilidad .selector-evento__boton,
    .disponibilidad .selector-evento__boton.es-placeholder,
    .disponibilidad .calendario__abrir,
    .disponibilidad #fecha-texto {
        font-size: 1.2rem;
    }

}


/* =========================================================
   PANTALLAS DE POCA ALTURA — INCLUIDO MÓVIL HORIZONTAL
========================================================= */

@media (max-height: 500px) {

    .calendario,
    .aviso-consulta {
        padding: 12px;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }

    .calendario__cabecera,
    .calendario__navegacion {
        margin-bottom: 8px;
    }

    .calendario__pie {
        margin-top: 8px;
        padding-top: 8px;
    }

}


/* =========================================================
   PREFERENCIA DE MOVIMIENTO REDUCIDO
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    .disponibilidad .campo,
    .disponibilidad .campo__icono,
    .disponibilidad .selector-evento__boton::after {
        transition: none;
        transform: none;
    }

    .menu-item:hover,
    .disponibilidad__boton:hover span,
    .disponibilidad__boton:focus-visible span {
        animation: none;
    }

}

@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: 9px !important;
        white-space: nowrap;
    }

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

@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: 9px;
    }
}

@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: 9px;
    }
}
