/* 5.° Congreso Internacional de Turismo Regenerativo
   Las medidas de los cortes (variables --h1, --nwl, --rw, ...) y los clip-path los calcula assets/js/congreso.js;
   los valores de aquí son los de 1440 px y sirven solo hasta que corre el script.
   Pantallas grandes (2K, 4K): el script agranda .ct completa con zoom y fija --ct-vw = 1vw / zoom,
   por eso los tamaños fluidos usan var(--ct-vw) en lugar de vw. Sin JavaScript se ve sin escalar. */

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.ct-body { margin: 0; background: #FFFFFF; }

.ct {
    --pad: 24px;
    --h1: 712px;
    --nh: 96px; --nhb: 184px;
    --nwl: 372px; --nwr: 280px; --nwb: 296px;
    --notch-pad: 24px;
    --titulo-top: 34px;
    --rw: 500px; --aro-top: 490px;
    --gap: 15.93px; --fila1: 222px; --radio: 28px;
    --p2-pt: 40px; --p2-lado: 56px; --p2-pb: 48px;
    position: relative;
    box-sizing: border-box;
    padding: var(--pad);
    background: #FFFFFF;
    color: #243884;
    font-family: 'Montserrat', system-ui, sans-serif;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}
.ct *, .ct *::before, .ct *::after { box-sizing: border-box; }
.ct h1, .ct h2, .ct p, .ct ul, .ct figure { margin: 0; }
.ct a, .ct a:hover { text-decoration: none; }
.ct img { max-width: none; }
.ct button { font-family: inherit; }

/* ---------- 1.ª sección: panel con cortes ---------- */

.ct-hero { position: relative; height: var(--h1); }

.ct-panel1 {
    position: absolute;
    inset: 0;
    isolation: isolate;
    overflow: hidden;
    background: #D9E2EF;
    border-radius: var(--radio);
}
.ct-panel1__foto {
    position: absolute; inset: 0; display: block;
    width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 55%;
    mix-blend-mode: multiply;
}
.ct-panel1__velo {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 52% at 50% 30%, rgba(255,255,255,0.78), rgba(255,255,255,0));
}

.ct-titulo {
    position: absolute; left: 0; right: 0; top: var(--titulo-top); z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    text-align: center;
}
.ct-edicion { display: flex; align-items: center; gap: 10px; color: #D03028; }
.ct-edicion__num { font-size: clamp(36px, calc(4.2 * var(--ct-vw, 1vw)), 60px); line-height: 0.9; font-weight: 800; }
.ct-edicion__txt {
    display: flex; flex-direction: column; align-items: flex-start;
    font-size: clamp(14px, calc(1.53 * var(--ct-vw, 1vw)), 22px); line-height: 1.05; font-weight: 700; text-align: left;
}
.ct-h1 { display: flex; flex-direction: column; align-items: center; color: #243884; font-weight: 900; }
.ct-h1__pre { font-size: clamp(16px, calc(2.08 * var(--ct-vw, 1vw)), 30px); line-height: 1.1; font-weight: 800; }
.ct-h1__big { position: relative; font-size: clamp(32px, calc(5.56 * var(--ct-vw, 1vw)), 80px); line-height: 0.95; letter-spacing: -0.01em; --ct-centro-mayus: 0.481em; }

.ct-h1__lema { margin-top: 0.45em; font-size: clamp(15px, calc(1.67 * var(--ct-vw, 1vw)), 24px); line-height: 1.2; font-weight: 700; }

/* Destellos del título, medidos en Figma sobre cada palabra: x y ancho en % del ancho de la palabra; alto y
   desplazamiento vertical en em (las mayúsculas de Montserrat miden 0,70 em; su centro cae a 0,481 em del borde
   superior de la línea con line-height 0,95). Se mezclan con las letras porque .ct-titulo tiene su propio z-index. */
.ct-destello { position: absolute; inset: 0; pointer-events: none; }
.ct-destello__linea, .ct-destello__ovalo { position: absolute; display: block; border-radius: 50%; mix-blend-mode: overlay; }
.ct-destello__linea {
    left: var(--linea-x); width: var(--linea-w); height: 0.096em;
    top: calc(var(--ct-centro-mayus) + var(--linea-dy, 0em) - 0.048em);
    background: radial-gradient(closest-side, #FFFFFF, rgba(255, 255, 255, 0));
}
.ct-destello__ovalo {
    left: calc(var(--ovalo-cx) - var(--ovalo-w) / 2); width: var(--ovalo-w); height: 0.433em;
    top: calc(var(--ct-centro-mayus) + var(--ovalo-dy, 0em) - 0.2165em);
    background: radial-gradient(closest-side,
        #FFFFFF 0%, rgba(255, 255, 255, 0.82) 10%, rgba(255, 255, 255, 0.61) 23%, rgba(255, 255, 255, 0.42) 37%,
        rgba(255, 255, 255, 0.27) 50%, rgba(255, 255, 255, 0.15) 63%, rgba(255, 255, 255, 0.07) 76%,
        rgba(255, 255, 255, 0.02) 88%, rgba(255, 255, 255, 0) 100%);
}
.ct-destello--turismo { --linea-x: 0%; --linea-w: 119.5%; --ovalo-cx: 59.4%; --ovalo-w: 64.6%; }
.ct-destello--regenerativo-a { --linea-x: 13.3%; --linea-w: 94.9%; --linea-dy: -0.061em; --ovalo-cx: 60.7%; --ovalo-w: 51.3%; --ovalo-dy: -0.056em; }
.ct-destello--regenerativo-b { --linea-x: 4.9%; --linea-w: 94.9%; --linea-dy: -0.018em; --ovalo-cx: 52.3%; --ovalo-w: 51.3%; --ovalo-dy: -0.013em; }

.ct-banderas {
    list-style: none; margin: 4px 0 0; padding: 0 12px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.ct-banderas li { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #FFFFFF; }
.ct-banderas svg { display: block; width: 100%; height: 100%; }

/* Contenido de los cortes (los cortes los hace el clip-path del panel) */
.ct-notch { position: absolute; z-index: 4; display: flex; }
.ct-notch--tl { left: 0; top: 0; width: var(--nwl); height: var(--nh); padding-left: var(--notch-pad); align-items: center; }
.ct-notch--tr { right: 0; top: 0; width: var(--nwr); height: var(--nh); padding-right: var(--notch-pad); align-items: center; justify-content: flex-end; }
.ct-notch--bl, .ct-notch--br {
    bottom: 0; width: var(--nwb); height: var(--nhb);
    flex-direction: column; justify-content: flex-end; gap: 10px;
}
.ct-notch--bl { left: 0; padding: 24px 24px 22px; }
.ct-notch--br { right: 0; padding: 22px 24px; }

.ct-logo { display: block; line-height: 0; }
/* El logo ocupa el ancho del corte (lo calcula congreso.js) menos un margen para la curva del corte. */
.ct-logo img { display: block; width: calc(var(--nwl) - var(--notch-pad) - 32px); height: auto; }

.ct-cta { display: flex; align-items: center; gap: 6px; color: #243884; }
.ct-cta:hover { color: #243884; }
.ct-cta__txt {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
    border: 1px solid #243884; border-radius: 999px;
    font-size: 14px; font-weight: 700; white-space: nowrap;
}
.ct-cta__circulo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; background: #243884; color: #FFFFFF;
}

.ct-fecha {
    font-size: clamp(28px, calc(2.5 * var(--ct-vw, 1vw)), 36px); line-height: 1; font-weight: 800; letter-spacing: -0.01em;
    color: #243884; white-space: nowrap;
}
.ct-fecha span { color: #D03028; }
.ct-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
    font-size: 14px; font-weight: 500; color: #2B3A5C;
}
.ct-meta span { color: #D03028; font-weight: 700; }
.ct-descarga {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
    color: #D03028; font-size: 14px; font-weight: 700;
}
.ct-descarga:hover { color: #A8231C; }
.ct-descarga__circulo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: 2px solid currentColor; border-radius: 50%;
}

.ct-cuenta-titulo { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: #5A6785; }
.ct-cuenta {
    display: flex; align-items: flex-start; justify-content: space-between;
    font-variant-numeric: tabular-nums; color: #243884;
}
.ct-cuenta__grupo { display: flex; flex-direction: column; align-items: center; }
.ct-cuenta__num { font-size: 32px; line-height: 1; font-weight: 800; }
.ct-cuenta__lbl { margin-top: 4px; font-size: 11px; font-weight: 500; color: #5A6785; }
.ct-cuenta__sep { font-size: 26px; line-height: 1.1; font-weight: 700; color: #A9B6CC; }

.ct-boton {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
    font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer;
}
.ct-boton--azul { min-height: 44px; padding: 0 20px; background: #243884; color: #FFFFFF; font-size: 14px; }
.ct-boton--azul:hover { background: #1A2A66; color: #FFFFFF; }
.ct-boton--blanco { background: #FFFFFF; color: #243884; }
.ct-boton--blanco:hover { background: #E8EDF7; color: #243884; }
.ct-boton.ct-boton--inscribete, .ct-boton.ct-boton--inscribete:hover { color: #fff; font-size: 20px; }
.ct-boton--inscribete svg { flex-shrink: 0; }
/* En la cuenta regresiva el corte es angosto en laptops: el texto baja de 20 px solo lo necesario para que entre con la flecha. */
.ct-notch--br { container-type: inline-size; }
.ct-notch--br .ct-boton.ct-boton--inscribete { padding: 0 12px; gap: 8px; font-size: 16px; font-size: clamp(15px, calc((100cqi - 54px) / 8.8), 20px); }
.ct-boton--linea { border: 1px solid rgba(255,255,255,0.85); color: #FFFFFF; }
.ct-boton--linea:hover { background: rgba(255,255,255,0.1); color: #FFFFFF; }
.ct-boton--rojo { min-height: 52px; background: #E10A17; color: #FFFFFF; font-size: 16px; }
.ct-boton--rojo:hover { background: #C00813; }
.ct-boton--azul-grande { min-height: 52px; background: #243884; color: #FFFFFF; font-size: 16px; }
.ct-boton--azul-grande:hover { background: #1A2A66; }
/* Bloqueados hasta completar todo y marcar la autorización (o por exceso de intentos) */
.ct-boton:disabled { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.35); }
.ct-boton--rojo:disabled:hover { background: #E10A17; }
.ct-boton--azul-grande:disabled:hover { background: #243884; }
.ct-boton.is-ocupado:disabled { opacity: 0.7; cursor: progress; filter: none; }
.ct-falta { margin-bottom: -6px; font-size: 12px; line-height: 1.4; font-weight: 600; color: #4A5A80; }
.ct-falta:empty { display: none; }
.ct-acciones { display: flex; flex-wrap: wrap; gap: 10px; }

/* Botones de redes: cinco círculos centrados con el logo y el color de cada marca */
.ct-redes-bloque { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ct-redes__titulo { font-size: 14px; font-weight: 700; color: #243884; text-align: center; }
.ct-redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ct-red {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
    color: #FFFFFF; cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease;
}
.ct-red svg { display: block; flex: 0 0 auto; }
.ct-red:hover { transform: translateY(-2px); filter: brightness(1.06); }
.ct-red:focus-visible { outline: 3px solid #E6B526; outline-offset: 2px; }
.ct-red:disabled { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.5); transform: none; }
.ct-red.is-ocupado:disabled { opacity: 0.7; cursor: progress; filter: none; }
.ct-red--facebook { background: #1877F2; }
.ct-red--instagram { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 80%, #515BD4 100%); }
.ct-red--whatsapp { background: #128C7E; }
.ct-red--tiktok { background: #111111; }
.ct-red--linkedin { background: #0A66C2; }
.ct-acepto {
    display: flex; align-items: flex-start; gap: 10px; margin: 0;
    font-size: 12px; line-height: 1.4; font-weight: 500; color: #4A5A80; cursor: pointer;
}
.ct-acepto input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: #243884; cursor: pointer; }
.ct-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-acepto a { color: #243884; text-decoration: underline; }
.ct-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-acciones .ct-boton { flex: 1 1 170px; }
.ct-boton:focus-visible, .ct-cta:focus-visible, .ct-descarga:focus-visible, .ct-logo:focus-visible { outline: 3px solid #E6B526; outline-offset: 3px; }

/* ---------- El aro ---------- */

.ct-aro {
    position: absolute; z-index: 5; left: 50%; top: var(--aro-top);
    width: var(--rw); aspect-ratio: 720 / 701;
    margin: 0; transform: translateX(-50%);
    mix-blend-mode: multiply; pointer-events: none;
}
.ct-aro__marco { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.ct-aro__foto {
    position: absolute; left: 9.722%; top: 8.559%; width: 80.614%; height: 82.8%;
    border-radius: 50%; object-fit: cover; display: block;
}
.ct-aro__texto {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%;
    fill: #243884; transform-origin: 50.03% 49.96%;
    animation: ct-giro 28s linear infinite;
}
@keyframes ct-giro { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ct-aro__texto { animation: none; } }

/* ---------- 2.ª sección: panel azul ---------- */

.ct-panel2 {
    position: relative; margin-top: var(--gap);
    padding: var(--p2-pt) var(--p2-lado) var(--p2-pb);
    border-radius: var(--radio); background: #243884; color: #FFFFFF;
}
.ct-h2 { font-size: 28px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; color: #FFFFFF; }
.ct-texto { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.85); }

.ct-p2 { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; min-height: var(--fila1); }
.ct-p2__col { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.ct-p2__col .ct-boton { align-self: flex-start; margin-top: 4px; }

/* Enlace de Zoom + botón para copiarlo */
.ct-zoom { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.ct-zoom .ct-boton { margin-top: 0; }
.ct-copiar-caja { position: relative; flex: 0 0 auto; }
.ct-copiar {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,0.85); border-radius: 50%;
    background: transparent; color: #FFFFFF; cursor: pointer; transition: background 0.15s ease;
}
.ct-copiar:hover { background: rgba(255,255,255,0.1); }
.ct-copiar:focus-visible { outline: 3px solid #E6B526; outline-offset: 3px; }
.ct-copiar svg { display: block; }
.ct-copiar .ct-copiar__listo, .ct-copiar.is-copiado .ct-copiar__icono { display: none; }
.ct-copiar.is-copiado .ct-copiar__listo { display: block; }
.ct-copiar__aviso {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    padding: 4px 10px; border-radius: 999px; background: #FFFFFF; color: #243884;
    font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none;
}
.ct-copiar__aviso:empty { display: none; }

.ct-p2m { display: none; max-width: 640px; margin: 0 auto; flex-direction: column; gap: 22px; text-align: center; }
.ct-p2m__datos { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 18px 32px; }
.ct-p2m__fecha { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ct-fecha--clara { font-size: 28px; color: #FFFFFF; }
.ct-fecha--clara span, .ct-meta--clara span { color: #FF6B61; }
.ct-meta--clara { justify-content: center; font-size: 13px; color: rgba(255,255,255,0.85); }
.ct-p2m__cuenta { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ct-cuenta-titulo--clara { font-size: 11px; color: rgba(255,255,255,0.75); }
.ct-cuentam { display: flex; align-items: flex-start; gap: 8px; font-variant-numeric: tabular-nums; }
.ct-cuentam__grupo { display: flex; flex-direction: column; align-items: center; min-width: 30px; }
.ct-cuentam__num { font-size: 24px; line-height: 1; font-weight: 800; }
.ct-cuentam__lbl { margin-top: 3px; font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.75); }
.ct-cuentam__sep { font-size: 20px; line-height: 1.1; font-weight: 700; color: rgba(255,255,255,0.45); }
.ct-p2m__botones { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-p2m__botones .ct-boton { flex: 1 1 150px; padding: 0 18px; gap: 8px; }
.ct-p2m__linea { height: 1px; background: rgba(255,255,255,0.2); }
.ct-p2m__tarjeta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ct-p2m__tarjeta .ct-h2 { font-size: 24px; }

/* ---------- Editor del post ---------- */

.ct-editor {
    margin-top: 16px; padding: 48px 56px;
    border-radius: var(--radio); background: #EEF2F8;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px;
}

.ct-vista { flex: 0 1 480px; min-width: 0; }
.ct-vista figcaption { margin-top: 12px; font-size: 13px; text-align: center; color: #5A6785; }
.ct-vista__post {
    position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
    border-radius: 16px; background: #FFFFFF; container-type: inline-size;
    box-shadow: 0 18px 44px rgba(36,56,132,0.18);
}
.ct-vista__capa { position: absolute; display: block; margin: 0; }
.ct-vista__fondo { inset: 0; width: 100%; height: 100%; }
.ct-vista__logo { left: 6.333%; top: 7.75%; width: 30.524%; height: auto; }
.ct-vista__titulo { left: 62.917%; top: 7.75%; width: 33.333%; height: auto; }
.ct-vista__aro { left: 20%; top: 20.833%; width: 60%; height: auto; mix-blend-mode: multiply; }
/* Marco circular de la foto: se arrastra para mover y se hace zoom (congreso.js fija tamaño y posición de la imagen) */
.ct-vista__marco {
    left: 25.833%; top: 25.833%; width: 48.368%; height: 48.368%;
    border-radius: 50%; overflow: hidden; background: #E3E8F0;
    cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none;
}
.ct-vista__marco.is-arrastrando { cursor: grabbing; }
.ct-vista__marco:focus-visible { outline: 3px solid #E6B526; outline-offset: 3px; }
.ct-vista__foto { position: absolute; display: block; max-width: none; pointer-events: none; -webkit-user-drag: none; }
.ct-vista__marco[hidden], .ct-vista__vacio[hidden] { display: none; }
.ct-vista__vacio {
    left: 25.833%; top: 25.833%; width: 48.368%; height: 48.368%; border-radius: 50%;
    background: #E3E8F0; color: #5A6785;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2cqw; font-size: 13px; font-size: 3cqw; font-weight: 600;
}
.ct-vista__vacio svg { width: 18%; height: auto; }
.ct-vista__rol {
    left: 6.297%; top: 79.904%;
    font-family: 'Gilroy', 'Montserrat', sans-serif; font-weight: 500;
    font-size: 17px; font-size: 3.54cqw; line-height: 1.22; color: #223987; white-space: nowrap;
}
.ct-vista__barra { left: -17.638%; top: 85.001%; width: 74.215%; height: 6.481%; border-radius: 999px; background: #E10A17; }
.ct-vista__nombre {
    left: 6.297%; top: 85.001%; height: 6.481%;
    display: flex; align-items: center;
    font-family: 'Gilroy', 'Montserrat', sans-serif; font-weight: 500;
    font-size: 21px; font-size: 4.349cqw; color: #FFFFFF; white-space: nowrap;
}
.ct-vista__nombre.is-vacio { opacity: 0.75; }
.ct-vista__fecha { left: 66.417%; top: 82.667%; width: 26.333%; height: auto; }
.ct-vista__escuela { left: 60.917%; top: 88.083%; width: 30.75%; height: auto; }

.ct-form {
    flex: 0 1 420px; min-width: 0; padding: 28px;
    border-radius: 24px; background: #FFFFFF; color: #243884;
    display: flex; flex-direction: column; gap: 18px;
}
.ct-form__titulo { font-size: 22px; line-height: 1.2; font-weight: 800; }
.ct-roles { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: #EEF2F8; }
.ct-roles button {
    flex: 1 1 0; min-height: 44px; border: 0; border-radius: 999px;
    background: transparent; color: #243884; font-size: 14px; font-weight: 700; cursor: pointer;
}
.ct-roles button.is-activo { background: #243884; color: #FFFFFF; }
.ct-roles button:focus-visible { outline: 3px solid #E6B526; outline-offset: 2px; }

.ct-subir {
    position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; margin: 0;
    padding: 12px 16px; border: 1.5px dashed #A9B6CC; border-radius: 16px; cursor: pointer;
}
.ct-subir:focus-within { border-color: #243884; box-shadow: 0 0 0 3px rgba(36,56,132,0.15); }
.ct-subir__icono {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%; background: #243884; color: #FFFFFF;
}
.ct-subir__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct-subir__txt strong { font-size: 15px; font-weight: 700; }
.ct-subir__txt span { font-size: 13px; font-weight: 500; color: #5A6785; }
.ct-subir input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.ct-ajuste { display: flex; flex-direction: column; gap: 8px; margin-top: -6px; }
.ct-ajuste[hidden] { display: none; }
.ct-ajuste__fila { display: flex; align-items: center; gap: 12px; }
.ct-ajuste__zoom { margin: 0; font-size: 14px; font-weight: 700; }
.ct-ajuste input[type="range"] { flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; accent-color: #243884; cursor: pointer; }
.ct-ajuste__centrar {
    flex: 0 0 auto; min-height: 36px; padding: 0 14px; border: 1px solid #CBD4E2; border-radius: 999px;
    background: #FFFFFF; color: #243884; font-size: 13px; font-weight: 700; cursor: pointer;
}
.ct-ajuste__centrar:hover { border-color: #243884; }
.ct-ajuste__centrar:focus-visible { outline: 3px solid #E6B526; outline-offset: 2px; }
.ct-ajuste__ayuda { font-size: 12px; line-height: 1.4; color: #5A6785; }
.ct-ayuda-tactil { display: none; }
@media (pointer: coarse) {
    .ct-ayuda-mouse { display: none; }
    .ct-ayuda-tactil { display: inline; }
}

.ct-campo { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 14px; font-weight: 700; }
.ct-campo input {
    min-height: 48px; padding: 0 16px; border: 1.5px solid #CBD4E2; border-radius: 12px;
    font-family: inherit; font-size: 16px; font-weight: 500; color: #243884; background: #FFFFFF;
}
.ct-campo input::placeholder { color: #8A97B3; }
.ct-campo input:focus { outline: none; border-color: #243884; box-shadow: 0 0 0 3px rgba(36,56,132,0.15); }
.ct-aviso { margin-top: -6px; font-size: 12px; line-height: 1.4; text-align: center; color: #5A6785; }
.ct-aviso:empty { display: none; }

/* ---------- Inscripción («Inscríbete aquí»): ventana emergente <dialog> ----------
   Vive fuera de .ct (así no la agranda el zoom de 2K/4K), por eso repite la tipografía y los reinicios de .ct. */

html.ct-modal-abierto { overflow: hidden; }
.ct-modal {
    box-sizing: border-box;
    width: min(880px, calc(100% - 48px)); max-width: none;
    max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
    margin: auto; padding: 0; border: 0; border-radius: 24px;
    background: #FFFFFF; color: #243884;
    font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.4; -webkit-font-smoothing: antialiased;
    box-shadow: 0 24px 64px rgba(16, 28, 72, 0.35);
    overflow-y: auto; overscroll-behavior: contain;
}
.ct-modal::backdrop { background: rgba(16, 28, 72, 0.6); }
.ct-modal *, .ct-modal *::before, .ct-modal *::after { box-sizing: border-box; }
.ct-modal h2, .ct-modal p, .ct-modal fieldset { margin: 0; }
.ct-modal a { text-decoration: none; }
.ct-modal button { font-family: inherit; }
.ct-modal__caja { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.ct-modal__cerrar {
    position: absolute; top: 16px; right: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
    background: #EEF2F8; color: #243884; cursor: pointer;
}
.ct-modal__cerrar:hover { background: #DDE4F0; }
.ct-modal__cerrar:focus-visible { outline: 3px solid #E6B526; outline-offset: 2px; }
.ct-modal__cabecera { display: flex; flex-direction: column; gap: 6px; padding-right: 48px; }
.ct-registro__titulo { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; color: #243884; }
.ct-registro__texto { font-size: 14px; line-height: 1.55; color: #4A5A80; }
.ct-registro__form, .ct-registro__listo { display: flex; flex-direction: column; gap: 16px; }
.ct-registro__form[hidden], .ct-registro__listo[hidden] { display: none; }
.ct-registro__listo:focus { outline: none; }
.ct-registro__aviso { font-size: 13px; line-height: 1.45; font-weight: 600; color: #C00813; }
.ct-registro__aviso:empty { display: none; }

.ct-campo[hidden], .ct-nota[hidden] { display: none; }
.ct-campo select {
    min-height: 48px; padding: 0 12px; border: 1.5px solid #CBD4E2; border-radius: 12px;
    font-family: inherit; font-size: 16px; font-weight: 500; color: #243884; background: #FFFFFF; cursor: pointer;
}
.ct-campo select:focus { outline: none; border-color: #243884; box-shadow: 0 0 0 3px rgba(36,56,132,0.15); }
.ct-campo [aria-invalid="true"] { border-color: #C00813; }
.ct-campo__error { font-size: 12px; line-height: 1.4; font-weight: 600; color: #C00813; }
.ct-campo__error:empty { display: none; }

.ct-opciones { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.ct-opciones legend { margin-bottom: 6px; padding: 0; font-size: 14px; font-weight: 700; }
.ct-opciones__precios { margin: -4px 0 2px; font-size: 12px; line-height: 1.5; font-weight: 500; color: #4A5A80; }
.ct-opciones__precios span { display: block; }
.ct-opciones label {
    display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 0 14px;
    border: 1.5px solid #CBD4E2; border-radius: 12px; font-size: 15px; font-weight: 500; cursor: pointer;
}
.ct-opciones label:has(input:checked) { border-color: #243884; background: #EEF2F8; }
.ct-opciones input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: #243884; cursor: pointer; }
.ct-opciones[aria-invalid="true"] label { border-color: #C00813; }
.ct-nota { margin-top: -8px; padding: 12px 14px; border-radius: 12px; background: #EEF2F8; font-size: 13px; line-height: 1.5; color: #4A5A80; }
.ct-registro__listo .ct-nota { margin-top: 0; }

/* Pantallas anchas: campos de a dos (Apellidos | Nombres, Teléfono | Correo, Tipo | Campus o Institución) y las
   dos opciones del certificado en una fila, para que el formulario entre completo sin scroll. */
@media (min-width: 720px) {
    .ct-registro__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-items: start; }
    .ct-registro__form > .ct-opciones, .ct-registro__form > .ct-nota, .ct-registro__form > .ct-acepto,
    .ct-registro__form > .ct-campo__error, .ct-registro__form > .ct-registro__aviso, .ct-registro__form > .ct-boton { grid-column: 1 / -1; }
    .ct-registro__form > .ct-nota { margin-top: -4px; }
    .ct-opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
    .ct-opciones .ct-campo__error, .ct-opciones__precios { grid-column: 1 / -1; }
    .ct-registro__listo .ct-boton { align-self: flex-start; padding: 0 40px; }
}

/* ---------- Tablet y móvil ---------- */

@media (max-width: 1099.98px) {
    .ct {
        --nh: 64px; --nwl: 150.5px; --nwr: 250px; --notch-pad: 14px;
        --titulo-top: 72px; --radio: 20px; --h1: 500px; --rw: 380px; --aro-top: 320px;
        --p2-pt: 200px; --p2-lado: 32px; --p2-pb: 28px;
    }
    .ct-solo-escritorio { display: none !important; }
    /* En tablet y móvil va el logo general (_assets/img/logo-ucv.svg). Su dibujo mide 193.89 × 67.46 dentro de un
       viewBox de 203.89 × 77.46 (5 de aire por lado): lo visible queda de 44 px de alto, como el botón, a 10 px del
       banner por abajo y por la derecha (--nwl), y el margen negativo quita el aire de la izquierda. */
    .ct-logo img { width: auto; height: calc(44px * 77.46 / 67.46); margin-left: calc(-44px * 5 / 67.46); }
    .ct-p2m { display: flex; }
    .ct-banderas { gap: 6px; }
    .ct-banderas li { width: 24px; height: 24px; }
    .ct-editor { padding: 40px 32px; gap: 28px; }
    .ct-vista { order: 2; }
}

@media (max-width: 559.98px) {
    .ct {
        --pad: 12px; --nwr: 68px; --h1: 400px; --rw: 242px; --aro-top: 295px;
        --p2-pt: 142px; --p2-lado: 16px;
    }
    .ct-cta__txt { display: none; }
    .ct-editor { padding: 24px 16px; }
    .ct-form { padding: 20px; }
    .ct-modal { width: calc(100% - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); border-radius: 20px; }
    .ct-modal__caja { padding: 24px 18px; }
    .ct-modal__cerrar { top: 12px; right: 12px; }
    .ct-registro__titulo { font-size: 22px; }
}

/* ---------- Ponentes (Figma TURISMO: Wireframe 1, Mobile-Pop-up y Recursos) ----------
   Las medidas son las del diseño (panel de 1401 × 924 en escritorio, 362 × 557 en tablet y móvil) multiplicadas
   por --pu, que fija congreso.js según el ancho y el alto de la ventana; el corte del panel también sale de ahí.
   El valor de --pu de aquí solo sirve hasta que corre el script. La tipografía es Montserrat, como el resto
   de la landing (el Figma usa Gilroy), por eso los tamaños de letra van un poco por debajo de los del diseño. */

.ct-ponentes {
    --pu: calc((100 * var(--ct-vw, 1vw) - 48px) / 1401);
    position: relative; margin-top: var(--gap); height: calc(924 * var(--pu));
    color: #243884;
}
.ct-ponentes__panel {
    position: absolute; inset: 0; overflow: hidden;
    border-radius: calc(40 * var(--pu)); background: #E4E7EA;
}
.ct-ponentes__fondo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-ponentes__titulo {
    position: absolute; left: calc(25.5 * var(--pu)); top: calc(26.5 * var(--pu)); z-index: 1;
    font-size: calc(45 * var(--pu)); line-height: calc(52 * var(--pu)); font-weight: 500; letter-spacing: -0.02em;
    color: #002B9D;
}
.ct-ponentes__titulo span { display: block; white-space: nowrap; }
.ct-ponentes__titulo strong { font-weight: 800; }

/* Escena: forma blanca, los ponentes y los nombres de los costados. Centrada si el panel es más ancho. */
.ct-ponentes__escena {
    position: absolute; left: 50%; top: 0; width: calc(1401 * var(--pu)); height: 100%;
    transform: translateX(-50%); overflow: hidden; touch-action: pan-y;
}
.ct-ponentes__filtro { position: absolute; width: 0; height: 0; }
.ct-ponentes .ct-ponentes__lista { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
/* Capa de los círculos blancos (84 % de opacidad en el Figma). congreso.js le pone el filtro #ct-goo en
   escritorio para que dos círculos vecinos se unan con una curva, como la forma del diseño. */
.ct-ponentes__blancos { position: absolute; inset: 0; opacity: 0.84; pointer-events: none; }

/* Cada ponente (.ct-ponente) y su círculo blanco (.ct-ponente-blanco) ocupan el marco del centro
   (560 × 600,416) y se mueven y cambian de tamaño juntos según su lugar. */
@property --hueco { syntax: '<number>'; inherits: true; initial-value: 0; }
.ct-ponente, .ct-ponente-blanco {
    --dx: 0px; --dy: 0px; --escala: 1;
    position: absolute; left: calc(420.5 * var(--pu)); top: calc(156.5 * var(--pu));
    width: calc(560 * var(--pu)); height: calc(600.416 * var(--pu));
    transform: translate(var(--dx), var(--dy)) scale(var(--escala));
    /* Curva pareja y sin prisa: se ve cómo el círculo chico crece hasta ser el grande (y al revés). */
    transition: transform 1.05s cubic-bezier(0.6, 0, 0.3, 1), --hueco 1.05s cubic-bezier(0.6, 0, 0.3, 1);
}
.ct-ponente { will-change: transform; }
.ct-ponente.is-centro { z-index: 3; }
.ct-ponente.is-izq, .ct-ponente.is-der { z-index: 2; cursor: pointer; }
.is-izq.ct-ponente, .is-der.ct-ponente, .is-izq.ct-ponente-blanco, .is-der.ct-ponente-blanco { --escala: 0.65357; --dy: calc(3.71 * var(--pu)); }
.is-izq.ct-ponente, .is-izq.ct-ponente-blanco { --dx: calc(-463 * var(--pu)); }
.is-der.ct-ponente, .is-der.ct-ponente-blanco { --dx: calc(463 * var(--pu)); }
/* Fuera de la vista: el círculo nace de un punto detrás del vecino y crece (o se achica hasta desaparecer),
   sin desvanecerse; así el cambio es una sola transformación continua: punto, chico, grande, chico, punto. */
.ct-ponente { transition: transform 1.05s cubic-bezier(0.6, 0, 0.3, 1), opacity 0.3s ease; }
/* La foto solo se esconde cuando el círculo ya es casi un punto: al salir, al final; al entrar, al principio. */
.ct-ponente.is-fuera-izq, .ct-ponente.is-fuera-der {
    z-index: 1; opacity: 0; pointer-events: none;
    transition: transform 1.05s cubic-bezier(0.6, 0, 0.3, 1), opacity 0.3s ease 0.72s;
}
.is-fuera-izq.ct-ponente, .is-fuera-der.ct-ponente, .is-fuera-izq.ct-ponente-blanco, .is-fuera-der.ct-ponente-blanco {
    --escala: 0; --dy: calc(3.71 * var(--pu));
}
.is-fuera-izq.ct-ponente, .is-fuera-izq.ct-ponente-blanco { --dx: calc(-640 * var(--pu)); }
.is-fuera-der.ct-ponente, .is-fuera-der.ct-ponente-blanco { --dx: calc(640 * var(--pu)); }
.ct-ponente.is-lejos, .ct-ponente-blanco.is-lejos { visibility: hidden; transition: none; }
/* Círculo de 592 de diámetro, como el del centro en el Figma; el del centro lleva el hueco del aro (r = 193,5),
   que se abre y se cierra con --hueco. */
.ct-ponente-blanco.is-centro { --hueco: 1; }
.ct-ponente-blanco::before {
    content: ''; position: absolute; left: -2.768%; top: 1.332%; width: 105.714%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle at 50% 52.449%, transparent calc(var(--hueco) * 193.5 * var(--pu)), #FFFFFF calc(var(--hueco) * 193.5 * var(--pu) + 1px));
}
.ct-ponente__aro { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* La foto ya viene recortada con su máscara en un lienzo 16 px más alto que el marco (cabezas que sobresalen). */
.ct-ponente__foto {
    position: absolute; left: 0; top: -2.665%; display: block; width: 100%; height: 102.665%;
    -webkit-user-drag: none; user-select: none;
}
.ct-ponente__bandera {
    position: absolute; left: 71.25%; top: 19.153%; display: block; width: 17.143%; height: auto; aspect-ratio: 1;
}
.ct-ponente__bandera--2 { left: 78.214%; top: 37.197%; }

.ct-ponentes__lado {
    position: absolute; top: calc(649.5 * var(--pu)); z-index: 4; transform: translateX(-50%);
    display: flex; align-items: center; height: calc(42.89 * var(--pu)); padding: 0 calc(20 * var(--pu));
    border-radius: 999px; background: #FFFFFF;
    font-size: calc(21 * var(--pu)); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; color: #243884;
}
.ct-ponentes__lado--izq { left: calc(231.82 * var(--pu)); }
.ct-ponentes__lado--der { left: calc(1157.82 * var(--pu)); }

/* Flechas, nombre y cargo del ponente del centro */
.ct-ponentes__pie {
    position: absolute; left: 50%; top: calc(768.5 * var(--pu)); z-index: 5; transform: translateX(-50%);
    display: flex; align-items: flex-start; justify-content: center; gap: calc(24 * var(--pu));
}
.ct-ponentes__flecha {
    position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: calc(48 * var(--pu)); height: calc(48 * var(--pu)); margin-top: calc(20 * var(--pu)); padding: 0;
    border: 0; border-radius: 50%; background: #243884; color: #FFFFFF; cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.ct-ponentes__flecha svg { display: block; width: 74%; height: 74%; }
.ct-ponentes__flecha--anterior svg { transform: scaleX(-1); }
.ct-ponentes__flecha:hover { background: #1A2A66; }
.ct-ponentes__flecha:active { transform: scale(0.94); }
.ct-ponentes__flecha:focus-visible, .ct-ponentes__agenda:focus-visible { outline: 3px solid #E6B526; outline-offset: 3px; }
/* Ancho fijo para que las flechas no se muevan al cambiar de nombre. */
.ct-ponentes__ficha { display: flex; flex-direction: column; align-items: center; min-width: calc(430 * var(--pu)); }
.ct-ponentes .ct-ponentes__nombre {
    position: relative; z-index: 1; margin-bottom: calc(-10 * var(--pu));
    padding: calc(12 * var(--pu)) calc(30 * var(--pu)); border-radius: calc(40 * var(--pu)); background: #FFFFFF;
    font-size: calc(36 * var(--pu)); line-height: calc(56.28 * var(--pu)); font-weight: 800; letter-spacing: -0.024em;
    white-space: nowrap; color: #243884;
}
.ct-ponentes__cargo {
    padding: calc(12 * var(--pu)) calc(20 * var(--pu));
    border-radius: 0 0 calc(30 * var(--pu)) calc(30 * var(--pu)); background: #FFFFFF;
    font-size: calc(17.5 * var(--pu)); line-height: 1.1; font-weight: 500; letter-spacing: -0.03em;
    text-align: center; white-space: pre-line; color: #243884;
}
.ct-ponentes__nombre.is-entra, .ct-ponentes__cargo.is-entra, .ct-ponentes__lado.is-entra { animation: ct-pon-entra 0.45s ease both; }
@keyframes ct-pon-entra { from { opacity: 0; } to { opacity: 1; } }

.ct-ponentes__agenda {
    position: absolute; right: calc(54.76 * var(--pu)); top: calc(836.5 * var(--pu)); z-index: 5;
    display: inline-flex; align-items: center; gap: calc(19.15 * var(--pu));
    height: calc(63.44 * var(--pu)); padding: 0 calc(28.73 * var(--pu)); border-radius: 999px;
    background: #273984; color: #FFFFFF;
    font-size: calc(27 * var(--pu)); font-weight: 500; letter-spacing: -0.04em; white-space: nowrap;
}
.ct-ponentes__agenda:hover { background: #1A2A66; color: #FFFFFF; }
.ct-ponentes__agenda img { display: block; width: calc(25.14 * var(--pu)); height: calc(25.14 * var(--pu)); }

@media (prefers-reduced-motion: reduce) {
    .ct-ponente, .ct-ponente-blanco { transition: opacity 0.2s ease; }
    .ct-ponentes__nombre.is-entra, .ct-ponentes__cargo.is-entra, .ct-ponentes__lado.is-entra { animation: none; }
}

/* Tablet y móvil: un ponente a la vez (Mobile-Pop-up del Figma, panel de 362 × 557) */
@media (max-width: 1099.98px) {
    .ct-ponentes { --pu: calc((100 * var(--ct-vw, 1vw) - 48px) / 362); height: calc(574 * var(--pu)); }
    .ct-ponentes__panel { inset: 0 0 auto 0; height: calc(557 * var(--pu)); border-radius: calc(13 * var(--pu)); }
    .ct-ponentes__titulo {
        left: calc(9 * var(--pu)); top: calc(12 * var(--pu));
        font-size: calc(21.5 * var(--pu)); line-height: calc(26 * var(--pu));
    }
    .ct-ponentes__escena {
        top: calc(78.76 * var(--pu)); width: calc(342 * var(--pu)); height: calc(380 * var(--pu)); overflow: visible;
    }
    .ct-ponentes__blancos { opacity: 1; }
    .ct-ponente, .ct-ponente-blanco {
        left: 0; top: 0; width: calc(342 * var(--pu)); height: calc(366.68 * var(--pu));
        transition: transform 0.75s cubic-bezier(0.6, 0, 0.3, 1), opacity 0.5s ease;
    }
    /* Solo se ve el del centro: el que entra llega chico desde un costado y crece; el que sale se achica hacia
       el otro lado, cada uno con su forma blanca. */
    .ct-ponente.is-izq, .ct-ponente.is-der, .ct-ponente.is-fuera-izq, .ct-ponente.is-fuera-der,
    .ct-ponente-blanco.is-izq, .ct-ponente-blanco.is-der, .ct-ponente-blanco.is-fuera-izq, .ct-ponente-blanco.is-fuera-der {
        --escala: 0.4; --dy: 0px; opacity: 0; pointer-events: none;
    }
    .ct-ponente.is-izq, .ct-ponente.is-fuera-izq, .ct-ponente-blanco.is-izq, .ct-ponente-blanco.is-fuera-izq { --dx: calc(-125 * var(--pu)); }
    .ct-ponente.is-der, .ct-ponente.is-fuera-der, .ct-ponente-blanco.is-der, .ct-ponente-blanco.is-fuera-der { --dx: calc(125 * var(--pu)); }
    /* Forma blanca del móvil (Exclude de 326 × 315 dentro del marco de 342 × 366,68) */
    .ct-ponente-blanco::before {
        left: 2.456%; top: 9.444%; width: 95.322%; height: 85.905%; aspect-ratio: auto; border-radius: 0;
        background: url('../img/ponentes-forma-movil.svg') center / 100% 100% no-repeat;
    }
    .ct-ponentes__lado { display: none; }
    .ct-ponentes__pie { top: calc(425.76 * var(--pu)); gap: calc(13 * var(--pu)); }
    .ct-ponentes__flecha { width: calc(26 * var(--pu)); height: calc(26 * var(--pu)); margin-top: calc(10.85 * var(--pu)); }
    /* Zona táctil más grande que el círculo de 26 px */
    .ct-ponentes__flecha::after { content: ''; position: absolute; inset: -10px; }
    .ct-ponentes__ficha { min-width: calc(236 * var(--pu)); }
    .ct-ponentes .ct-ponentes__nombre {
        margin-bottom: calc(-5.43 * var(--pu)); padding: calc(6.5 * var(--pu)) calc(16.3 * var(--pu));
        border-radius: calc(21.7 * var(--pu)); font-size: calc(19.5 * var(--pu)); line-height: calc(30.5 * var(--pu));
    }
    .ct-ponentes__cargo {
        padding: calc(6.5 * var(--pu)) calc(10.85 * var(--pu));
        border-radius: 0 0 calc(16.3 * var(--pu)) calc(16.3 * var(--pu));
        font-size: max(10.5px, calc(10.67 * var(--pu))); letter-spacing: -0.02em;
    }
    .ct-ponentes__agenda {
        right: auto; left: 50%; top: calc(534 * var(--pu)); transform: translateX(-50%);
        height: calc(37.47 * var(--pu)); padding: 0 calc(14.6 * var(--pu)); gap: calc(9.74 * var(--pu));
        font-size: calc(14.5 * var(--pu));
    }
    .ct-ponentes__agenda img { width: calc(12.78 * var(--pu)); height: calc(12.78 * var(--pu)); }
}

/* ---------- Popup «Nuestra programación» (usa la base de .ct-modal) ---------- */

.ct-agenda {
    width: min(906px, calc(100% - 48px)); padding: 56px 40px 36px; border-radius: 32px; overflow: hidden;
    max-height: min(860px, calc(100vh - 48px)); max-height: min(860px, calc(100dvh - 48px));
    background: linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)), #FFFFFF url('../img/fondo-ponentes.webp') center bottom / cover no-repeat;
    color: #273984;
}
.ct-agenda[open] { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ct-agenda ul, .ct-agenda ol { margin: 0; padding: 0; list-style: none; }
.ct-agenda__titulo {
    flex: 0 0 auto; padding: 0 44px; font-size: 41px; line-height: 1.12; font-weight: 500; letter-spacing: -0.02em;
    text-align: center; color: #273984;
}
.ct-agenda__titulo strong { font-weight: 700; }
.ct-agenda__dias {
    flex: 0 0 auto; display: flex; gap: 4.41px; width: min(768px, 100%); padding: 4.41px;
    border-radius: 22px; background: rgba(150, 156, 170, 0.16);
}
.ct-agenda__dia {
    flex: 1 1 0; min-width: 0; min-height: 48.5px; padding: 0 12px; border: 0; border-radius: 9px;
    background: transparent; color: #273984; font-size: 18.5px; line-height: 22px; font-weight: 700;
    text-transform: uppercase; cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.ct-agenda__dia[aria-selected="true"] { border-radius: 22px; background: #273984; color: #FFFFFF; font-weight: 800; }
.ct-agenda__dia:focus-visible { outline: 3px solid #E6B526; outline-offset: 2px; }
.ct-agenda .ct-agenda__lista {
    flex: 1 1 auto; min-height: 0; width: 100%; padding: 16px 24px 6px 40px;
    display: flex; flex-direction: column; gap: 24px; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: #273984 rgba(39, 57, 132, 0.12);
}
.ct-agenda .ct-agenda__lista[hidden] { display: none; }
.ct-agenda__lista::-webkit-scrollbar { width: 6px; }
.ct-agenda__lista::-webkit-scrollbar-track { border-radius: 3px; background: rgba(39, 57, 132, 0.12); }
.ct-agenda__lista::-webkit-scrollbar-thumb { border-radius: 3px; background: #273984; }
.ct-agenda__lista:focus-visible { outline: 2px solid #E6B526; outline-offset: -2px; }
.ct-agenda__item { display: flex; align-items: stretch; gap: 16px; }
.ct-agenda__hora {
    flex: 0 0 190px; font-size: 30px; line-height: 43px; font-weight: 700; letter-spacing: -0.01em;
    white-space: nowrap; color: #273984;
}
.ct-agenda__detalle {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px;
    padding-left: 16px; border-left: 1px solid rgba(39, 57, 132, 0.28);
}
.ct-agenda .ct-agenda__quienes { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-agenda__quien { padding: 4px 16px; border-radius: 100px; font-size: 17.5px; line-height: 1.15; font-weight: 500; white-space: nowrap; }
.ct-agenda__quien--verde { background: #B4CD84; color: #4E5E30; }
.ct-agenda__quien--dorado { background: #C4A84D; color: #FFFFFF; }
.ct-agenda__tema { padding: 0 8px; font-size: 21px; line-height: 1.16; font-weight: 500; color: #273984; }

@media (max-width: 767.98px) {
    .ct-agenda {
        width: calc(100% - 12px); padding: 30px 14px 18px; border-radius: 24px;
        max-height: min(640px, calc(100vh - 32px)); max-height: min(640px, calc(100dvh - 32px));
    }
    .ct-agenda[open] { gap: 14px; }
    .ct-agenda__titulo { padding: 0 36px; font-size: 22px; }
    .ct-agenda__dias { width: min(320px, 100%); gap: 3px; padding: 3px; border-radius: 15px; }
    .ct-agenda__dia { min-height: 30px; padding: 0 6px; border-radius: 6px; font-size: 11.5px; line-height: 14px; }
    .ct-agenda__dia[aria-selected="true"] { border-radius: 15px; }
    .ct-agenda .ct-agenda__lista { padding: 8px 10px 2px 8px; gap: 14px; }
    .ct-agenda__item { gap: 10px; }
    .ct-agenda__hora { flex-basis: 74px; font-size: 16px; line-height: 20px; white-space: normal; }
    .ct-agenda__detalle { gap: 5px; padding-left: 10px; }
    .ct-agenda .ct-agenda__quienes { gap: 5px; }
    .ct-agenda__quien { padding: 3px 10px; font-size: 12px; }
    .ct-agenda__tema { padding: 0 4px; font-size: 14.5px; line-height: 1.2; }
}
