/* Landing de curso (educacion-details.php / cursos-details.php) — usa variables del tema e Identidad */
.cl-page { background: var(--color-navy-black, #0f0f0f); color: var(--color-body, #ddd); overflow: hidden; overflow: clip; }
.cl-page h1, .cl-page h2, .cl-page h3, .cl-modal h2 { color: #fff; }
.cl-modal { color: var(--color-body, #ddd); }
.cl-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 15px; }
@media (min-width: 1536px) { .cl-container { max-width: 1440px; } }
.cl-section { position: relative; padding: 60px 0; }
@media (min-width: 768px) { .cl-section { padding: 80px 0; } }
@media (min-width: 1280px) { .cl-section { padding: 100px 0; } }
.cl-section--alt { background: rgba(255, 255, 255, .025); }
.cl-section--shape::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: url(../images/shapes/shape11.png) center / cover no-repeat; opacity: .6;
}
.cl-section > .cl-container { position: relative; z-index: 1; }

.cl-kicker {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
    color: var(--color-secondary); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.cl-kicker img { height: 18px; width: auto; }
.cl-accent { color: var(--color-secondary); }
.cl-script { font-family: var(--font-italic); font-weight: 400; text-transform: none; color: var(--color-secondary); letter-spacing: 0; }

.cl-head { max-width: 820px; margin: 0 auto 36px; text-align: center; }
@media (min-width: 1024px) { .cl-head { margin-bottom: 50px; } }
.cl-head__title { margin: 0; font-family: var(--font-secondary); font-size: 28px; line-height: 1.12; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 768px) { .cl-head__title { font-size: 38px; } }
@media (min-width: 1280px) { .cl-head__title { font-size: 46px; } }
.cl-head__line { display: block; width: 70px; height: 3px; margin: 22px auto 0; background: var(--color-secondary); border-radius: 3px; }
.cl-head__text { max-width: 700px; margin: 20px auto 0; color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 1.75; }
@media (min-width: 1024px) { .cl-head__text { font-size: 18px; } }
.cl-head__text strong { color: #fff; }

/* Botones del tema con ícono */
.cl-page .primary-btn i, .cl-page .secondary-btn i, .cl-modal .primary-btn i { vertical-align: middle; margin-left: 6px; font-size: 1.1em; }
.cl-page .primary-btn span i, .cl-modal .primary-btn span i { margin: 0 6px 0 0; }

/* HERO · fondo full-bleed, contenido centrado */
.cl-hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    min-height: min(92vh, 780px); padding: 110px 0 56px; text-align: center;
}
@media (min-width: 768px) { .cl-hero { min-height: min(88vh, 820px); padding: 140px 0 72px; } }
@media (min-width: 1280px) { .cl-hero { min-height: min(90vh, 900px); padding: 160px 0 90px; } }
.cl-hero__bg {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center top; background-repeat: no-repeat;
    transform: scale(1.02);
}
.cl-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(15, 15, 15, .72) 0%, rgba(15, 15, 15, .55) 42%, rgba(15, 15, 15, .88) 100%),
        radial-gradient(ellipse 80% 60% at 50% 30%, color-mix(in srgb, var(--color-primary) 16%, transparent), transparent 70%);
}
.cl-hero__inner {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    max-width: 860px; margin: 0 auto;
}
.cl-hero__chip {
    display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px;
    margin-bottom: 16px; padding: 11px 18px; border-radius: 999px;
    background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    white-space: nowrap; max-width: 100%;
}
.cl-hero__chip small {
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-secondary);
}
.cl-hero__chip small::after { content: " · "; color: rgba(255, 255, 255, .45); letter-spacing: 0; font-size: 14px; }
.cl-hero__chip strong { color: #fff; font-size: 15px; font-weight: 800; }
@media (min-width: 768px) {
    .cl-hero__chip { padding: 12px 22px; gap: 10px; margin-bottom: 18px; }
    .cl-hero__chip small { font-size: 13px; }
    .cl-hero__chip strong { font-size: 17px; }
}
.cl-hero .cl-kicker { justify-content: center; margin: 4px 0 12px; }
.cl-hero__title {
    margin: 0 0 16px; font-family: var(--font-secondary); font-weight: 800; text-transform: uppercase;
    font-size: 34px; line-height: 1.02; letter-spacing: -.02em; color: #fff;
    text-wrap: balance;
}
@media (min-width: 768px) { .cl-hero__title { font-size: 56px; margin-bottom: 18px; } }
@media (min-width: 1280px) { .cl-hero__title { font-size: 72px; } }
.cl-hero__title .cl-hero__tone {
    color: var(--color-secondary);
    font-family: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
}
/* Póster solo en móvil, debajo del título */
.cl-hero__poster { display: block; width: 100%; max-width: 280px; margin: 4px auto 22px; }
@media (min-width: 1024px) { .cl-hero__poster { display: none; } }
.cl-hero__card {
    position: relative; display: block; width: 100%; border-radius: 12px; overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .16); box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
}
.cl-hero__card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cl-hero__card--video { width: 100%; padding: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.cl-hero__card--video .cl-play { width: 64px; height: 64px; font-size: 32px; }
.cl-hero__text {
    max-width: 620px; margin: 0 auto 26px;
    font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .82);
    text-wrap: pretty;
}
@media (min-width: 768px) { .cl-hero__text { font-size: 18px; line-height: 1.7; margin-bottom: 32px; } }
.cl-hero__text strong { color: #fff; }
.cl-hero__actions {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 16px;
}
.cl-hero__actions .primary-btn { min-width: min(100%, 260px); justify-content: center; }
@media (max-width: 575px) {
    .cl-hero__actions { flex-direction: column; width: 100%; }
    .cl-hero__actions .primary-btn { width: 100%; }
}
.cl-hero__playwrap {
    display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 0; border: 0; background: none; cursor: pointer; color: #fff; flex: none;
}
.cl-hero__play {
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--color-primary); color: #fff; font-size: 26px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: transform .25s ease, background .25s ease;
}
.cl-hero__playwrap:hover .cl-hero__play { transform: scale(1.06); background: var(--color-secondary); color: #111; }
.cl-hero__play-label {
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255, 255, 255, .85); transition: color .25s ease;
}
.cl-hero__playwrap:hover .cl-hero__play-label { color: var(--color-secondary); }
@media (min-width: 768px) { .cl-hero__play { width: 68px; height: 68px; font-size: 30px; } }
/* En móvil el play va en el póster; el botón circular solo en escritorio */
@media (max-width: 1023px) {
    .cl-hero:has(.cl-hero__poster) .cl-hero__playwrap { display: none; }
}

/* EVENTO / CUENTA REGRESIVA */
.cl-event { padding-top: 0; position: relative; z-index: 2; }
.cl-event__box {
    position: relative; overflow: hidden; border-radius: 10px; padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .1);
    display: grid; gap: 28px; align-items: center; text-align: center;
}
@media (min-width: 1024px) {
    .cl-hero:has(+ .cl-event) { padding-bottom: 150px; }
    .cl-hero + .cl-event { margin-top: -110px; padding-bottom: 40px; }
    .cl-hero + .cl-event .cl-event__box {
        background: #161616;
        border-color: rgba(255, 255, 255, .12);
        box-shadow: 0 28px 70px rgba(0, 0, 0, .5);
    }
}
.cl-event__box::after {
    content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 35%, transparent), transparent 70%); pointer-events: none;
}
@media (min-width: 768px) { .cl-event__box { padding: 40px; } }
@media (min-width: 1200px) {
    .cl-event__box { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-areas: "head when" "foot foot"; text-align: left; padding: 40px 46px 26px; gap: 30px 36px; }
    .cl-event__head { grid-area: head; }
    .cl-event__when { grid-area: when; }
    .cl-event__foot { grid-area: foot; }
}
.cl-event__head, .cl-event__when, .cl-event__foot { position: relative; z-index: 1; }
.cl-event__head { display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (min-width: 1200px) { .cl-event__head { align-items: flex-start; } }
.cl-event__head .cl-kicker { margin-bottom: 0; }
.cl-event__title { margin: 0; font-family: var(--font-secondary); font-weight: 800; font-size: 22px; line-height: 1.2; }
@media (min-width: 768px) { .cl-event__title { font-size: 28px; } }
.cl-event__when { display: flex; flex-wrap: wrap; gap: 12px; }
.cl-event__when .cl-event__card { flex: 1 1 260px; }
.cl-event__when--n3 .cl-event__card { flex: 1 1 200px; }
@media (min-width: 1200px) {
    .cl-event__when--prices { flex-wrap: nowrap; }
    .cl-event__when--prices .cl-event__card { flex: 1 1 0; min-width: 0; }
}
.cl-event__card {
    display: flex; align-items: center; gap: 16px; padding: 18px 24px 18px 18px; text-align: left; flex: 1 1 100%; min-width: 0;
    background: rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px;
}
@media (min-width: 768px) { .cl-event__card { padding: 22px 30px 22px 22px; gap: 20px; } }
.cl-event__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #fff; font-size: 24px; line-height: 1; }
.cl-event__icon i { display: block; line-height: 1; }
.cl-event__card > div { min-width: 0; }
.cl-event__card small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--color-secondary); }
.cl-event__card strong { display: block; font-family: var(--font-secondary); font-weight: 800; color: #fff; font-size: 24px; line-height: 1.1; }
@media (min-width: 768px) { .cl-event__card strong { font-size: 28px; } }
@media (min-width: 1400px) { .cl-event__card strong { font-size: 32px; } }
.cl-event__card > div > span { display: block; margin-top: 5px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.cl-event__foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px;
    padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08);
}
@media (min-width: 1200px) { .cl-event__foot { justify-content: flex-start; } }
.cl-countdown { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; }
@media (min-width: 1200px) { .cl-countdown { justify-content: flex-start; } }
.cl-countdown__label { margin-right: 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cl-countdown__unit { display: inline-flex; align-items: baseline; gap: 2px; padding: 5px 9px; border-radius: 6px; background: var(--color-black, #000); border: 1px solid rgba(255, 255, 255, .1); }
.cl-countdown__unit b { font-family: var(--font-secondary); font-weight: 800; color: #fff; font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.cl-countdown__unit small { font-size: 11px; font-weight: 700; color: var(--color-secondary); }
.cl-event__past { margin: 0; font-weight: 700; color: #fff; }
.cl-event__live { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
.cl-event__live span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); animation: cl-pulse 1.8s infinite; }
.cl-event__cal { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--color-secondary); transition: color .3s ease; }
.cl-event__cal:hover { color: var(--color-primary); }
.cl-event__cal i { font-size: 18px; }
.cl-event__card--price strong { font-size: 30px; white-space: normal; }
@media (min-width: 768px) { .cl-event__card--price strong { font-size: 36px; } }
@media (min-width: 1400px) { .cl-event__card--price strong { font-size: 40px; } }
.cl-event__card--featured { border-color: var(--color-secondary); box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-secondary) 35%, transparent), 0 18px 40px rgba(0, 0, 0, .35); }
.cl-event__card--featured strong { color: var(--color-secondary); }
.cl-event__card--regular { background: rgba(0, 0, 0, .25); }
.cl-event__card--regular .cl-event__icon { background: rgba(255, 255, 255, .12); }
.cl-event__card--regular strong { font-size: 24px; color: rgba(255, 255, 255, .85); }
@media (min-width: 768px) { .cl-event__card--regular strong { font-size: 26px; } }

/* TEXT SLIDER DEL TEMA (.marquee de style.css) */
.cl-marquee { position: relative; padding: 20px 0; background: rgba(200, 255, 0, .2); }
.cl-marquee .marquee { color: #fff !important; opacity: 1 !important; }
@media (min-width: 1024px) { .cl-marquee { padding: 30px 0; } }
@media (prefers-reduced-motion: reduce) { .cl-marquee .marquee { animation: none; } }

/* TEMAS */
.cl-topics__kicker { text-align: center; margin: 0 0 26px; font-family: var(--font-secondary); font-size: 14px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.cl-topics { display: grid; gap: 22px; }
@media (min-width: 768px) { .cl-topics--2, .cl-topics--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cl-topics--3 { grid-template-columns: repeat(3, 1fr); } }
.cl-topic {
    position: relative; overflow: hidden; padding: 30px 26px; border-radius: 10px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
    transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
@media (min-width: 1280px) { .cl-topic { padding: 36px 32px; } }
.cl-topic:hover { border-color: var(--color-primary); transform: translateY(-4px); background: rgba(255, 255, 255, .07); }
.cl-topic__num {
    position: absolute; right: 18px; top: 6px; font-family: var(--font-secondary); font-weight: 900; font-size: 74px; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); pointer-events: none;
}
.cl-topic__step { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; font-family: var(--font-secondary); margin-bottom: 18px; }
.cl-topic h3 { margin: 0 0 14px; font-size: 20px; line-height: 1.25; }
@media (min-width: 1280px) { .cl-topic h3 { font-size: 22px; } }
.cl-topic p { margin: 0 0 12px; line-height: 1.75; color: rgba(255, 255, 255, .72); }
.cl-topic p:last-child { margin-bottom: 0; }
.cl-topic strong { color: #fff; }

/* ANFITRIÓN */
.cl-host {
    display: grid; gap: 26px; align-items: center; text-align: center; padding: 30px 22px; border-radius: 10px;
    background: linear-gradient(120deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); border: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 900px) { .cl-host { grid-template-columns: auto 1fr auto; text-align: left; padding: 36px 44px; gap: 36px; } }
@media (min-width: 900px) {
    .cl-host--solo {
        grid-template-columns: auto minmax(0, 420px);
        justify-content: center;
        text-align: left;
    }
}
.cl-host__img { width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; object-fit: cover; border: 4px solid var(--color-secondary); box-shadow: 0 0 0 8px rgba(255, 255, 255, .06); }
@media (min-width: 900px) { .cl-host__img { width: 170px; height: 170px; } }
.cl-host .cl-kicker { margin-bottom: 8px; }
.cl-host__name { margin: 0 0 6px; font-family: var(--font-secondary); font-size: 28px; font-weight: 800; }
@media (min-width: 768px) { .cl-host__name { font-size: 36px; } }
.cl-host__handle { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-secondary); transition: color .3s ease; }
.cl-host__handle:hover { color: var(--color-primary); }
.cl-host__handles { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
@media (min-width: 900px) { .cl-host__handles { justify-content: flex-start; } }
.cl-host__text { margin: 10px 0 0; color: rgba(255, 255, 255, .72); line-height: 1.7; }
.cl-host__text strong { color: #fff; }

/* TESTIMONIOS EN VIDEO */
.cl-vcarousel { max-width: 1100px; margin: 0 auto; }
.cl-vcarousel .swiper { overflow: hidden; border-radius: 10px; }
.cl-vcarousel .swiper-slide { height: auto; }
.cl-vcarousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.cl-vcarousel__btn {
    width: 46px; height: 46px; flex: none; display: grid; place-items: center;
    border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05);
    color: #fff; font-size: 20px; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s;
}
.cl-vcarousel__btn:hover { background: var(--color-primary); border-color: var(--color-primary); }
.cl-vcarousel__btn.swiper-button-disabled { opacity: .35; cursor: default; }
.cl-vcarousel__btn.swiper-button-lock, .cl-vcarousel__dots.swiper-pagination-lock { display: none; }
.cl-vcarousel__dots { display: flex; justify-content: center; gap: 8px; }
.cl-vcarousel__dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: rgba(255, 255, 255, .3); opacity: 1; border-radius: 99px; transition: width .3s, background .3s; }
.cl-vcarousel__dots .swiper-pagination-bullet-active { width: 26px; background: var(--color-primary); }
.cl-video {
    position: relative; display: block; width: 100%; overflow: hidden; border-radius: 10px; cursor: pointer; padding: 0;
    background: var(--color-black, #000); border: 4px solid rgba(255, 255, 255, .12);
}
.cl-video--vertical { aspect-ratio: 9 / 16; }
.cl-video--wide { aspect-ratio: 16 / 9; }
.cl-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; opacity: .85; }
.cl-video:hover img { transform: scale(1.05); opacity: 1; }
.cl-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, transparent 45%); pointer-events: none; }
.cl-video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; pointer-events: none; }
.cl-video iframe, .cl-video.is-playing > video:last-child { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; opacity: 1; object-fit: contain; background: #000; pointer-events: auto; }
.cl-play {
    position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: var(--pr-play, var(--color-primary)); color: #fff; font-size: 32px; transition: background .3s ease, color .3s ease, transform .3s ease;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, .12);
}
.cl-video--wide .cl-play { width: 84px; height: 84px; font-size: 42px; }
.cl-video:hover .cl-play { background: var(--color-secondary); color: var(--color-black, #000); transform: translate(-50%, -50%) scale(1.06); }
.cl-video__cap { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; color: #fff; font-weight: 700; text-align: left; }
.cl-video.is-playing::after, .cl-video.is-playing .cl-play, .cl-video.is-playing .cl-video__cap { display: none; }

/* INFORMACIÓN Y RESERVA (pestañas + formulario) */
.cl-info__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.cl-info__main, .cl-info__side { min-width: 0; }
@media (min-width: 1024px) { .cl-info__grid.has-form { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; } }
.cl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cl-tabs__btn {
    position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 14px;
    border-radius: 6px; border: 1px solid color-mix(in srgb, var(--pr-cat-hover, #e10600) 70%, transparent);
    background: color-mix(in srgb, var(--pr-cat-hover, #e10600) 14%, #141414); cursor: pointer;
    font-family: var(--font-secondary); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #fff;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
@media (min-width: 768px) { .cl-tabs__btn { min-height: 40px; padding: 9px 16px; font-size: 13px; } }
.cl-tabs__btn:hover { background: var(--pr-cat-hover, #e10600); border-color: var(--pr-cat-hover, #e10600); color: #fff; }
.cl-tabs__btn[aria-selected="true"] { background: var(--pr-cat-active, #ffc107); border-color: var(--pr-cat-active, #ffc107); color: var(--pr-cat-active-text, #111); }
.cl-tabs__btn[aria-selected="true"]:hover { background: color-mix(in srgb, var(--pr-cat-active, #ffc107) 80%, #fff); border-color: color-mix(in srgb, var(--pr-cat-active, #ffc107) 80%, #fff); color: var(--pr-cat-active-text, #111); }
.cl-tabs__btn:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; }
.cl-tabs__panel {
    padding: 26px 20px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); animation: cl-tab-in .35s ease;
}
@media (min-width: 768px) { .cl-tabs__panel { padding: 36px 40px; } }
.cl-tabs__panel:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 2px; }
@keyframes cl-tab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cl-rich { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.75; overflow-wrap: break-word; }
@media (min-width: 1024px) { .cl-rich { font-size: 16px; } }
.cl-rich > :first-child { margin-top: 0; }
.cl-rich > :last-child { margin-bottom: 0; }
.cl-rich p { margin: 0 0 16px; }
.cl-rich h3, .cl-rich h4 { margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-family: var(--font-secondary); font-weight: 800; color: #fff; line-height: 1.3; }
.cl-rich h3 { font-size: 18px; }
.cl-rich h4 { font-size: 17px; color: var(--color-secondary); border-bottom-color: rgba(255, 255, 255, .08); }
.cl-rich h3 + p strong, .cl-rich h3 + p b { font-size: 18px; }
.cl-day { margin: 22px 0 12px; padding: 16px 18px; border-radius: 10px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); }
.cl-day h3 { margin: 0 0 6px; padding: 0; border: 0; font-size: 17px; }
.cl-day p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .95em; font-style: italic; line-height: 1.6; }
.cl-day + ol { margin-top: 0; }
.cl-facts { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 6px 0 18px; }
@media (min-width: 700px) { .cl-facts { grid-template-columns: 1fr 1fr; } }
.cl-facts div { padding: 12px 14px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.cl-facts dt { margin: 0 0 3px; color: var(--color-secondary); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cl-facts dd { margin: 0; color: #fff; line-height: 1.45; }
.cl-callout { margin: 18px 0; padding: 14px 16px; border-left: 3px solid var(--color-secondary); border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .88); font-style: italic; }
.cl-rich strong, .cl-rich b { color: #fff; }
.cl-rich a { color: var(--color-secondary); text-decoration: underline; word-break: break-word; }
.cl-rich ul, .cl-rich ol { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.cl-rich li { position: relative; padding-left: 30px; }
.cl-rich ul > li::before {
    content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; margin-top: -4px; border-radius: 50%;
    background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}
.cl-rich ol { counter-reset: cl-ol; }
.cl-rich ol > li::before {
    counter-increment: cl-ol; content: counter(cl-ol); position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
    display: grid; place-items: center; background: var(--color-secondary); color: #000; font-size: 11px; font-weight: 800; line-height: 1;
}
.cl-info__side { position: relative; }
@media (min-width: 1024px) { .cl-info__side { position: sticky; top: 110px; } }
.cl-info__card { padding: 28px 22px; border-radius: 10px; background: #161616; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
@media (min-width: 768px) { .cl-info__card { padding: 32px 30px; } }
.cl-info__card-title { margin: 0; text-align: center; font-family: var(--font-secondary); font-size: 26px; font-weight: 800; color: #fff; }
.cl-info__card .cl-head__line { margin: 14px auto 20px; }
.cl-info__card-intro { margin: 0 0 20px; text-align: center; color: rgba(255, 255, 255, .75); font-size: 14px; line-height: 1.7; }
.cl-info__card-intro strong { color: #fff; }
.cl-info__card .cl-form { gap: 14px; }

/* CTA PEQUEÑO */
.cl-minicta {
    max-width: 860px; margin: 40px auto 0; padding: 22px 24px; border-radius: 10px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 768px) { .cl-minicta { flex-direction: row; justify-content: space-between; text-align: left; padding: 24px 30px; margin-top: 50px; } }
.cl-minicta--solo { justify-content: center; text-align: center; }
@media (min-width: 768px) {
    .cl-minicta--solo { flex-direction: column; justify-content: center; text-align: center; }
}
.cl-minicta__text { margin: 0; font-family: var(--font-secondary); font-weight: 800; font-size: 20px; line-height: 1.25; color: #fff; }
@media (min-width: 1024px) { .cl-minicta__text { font-size: 22px; } }
.cl-minicta .primary-btn { flex: none; }

/* TESTIMONIOS (mismo carrusel que el resto del sitio) */
.cl-testis { background: #161616; }
.cl-testis:has(.cl-testis__cta) .testi-sec { padding-bottom: 50px; }
.cl-testis__cta { padding-bottom: 70px; }
.cl-testis__cta .cl-minicta { margin-top: 0; }
@media (min-width: 1024px) { .cl-testis:has(.cl-testis__cta) .testi-sec { padding-bottom: 60px; } .cl-testis__cta { padding-bottom: 100px; } }

/* CTA */
.cl-cta {
    position: relative; isolation: isolate; overflow: hidden; border-radius: 10px; text-align: center;
    padding: 60px 20px; background-color: var(--color-primary); background-size: cover; background-position: center;
}
@media (min-width: 768px) { .cl-cta { padding: 80px 40px; } }
@media (min-width: 1280px) { .cl-cta { padding: 100px 60px; } }
.cl-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .45) 100%); }
.cl-cta__badge {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 30px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.cl-cta__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 0 var(--color-primary); animation: cl-pulse 1.8s infinite; }
@keyframes cl-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 70%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.cl-cta__title { margin: 0 auto 18px; max-width: 820px; font-family: var(--font-secondary); font-weight: 800; font-size: 28px; line-height: 1.1; }
@media (min-width: 768px) { .cl-cta__title { font-size: 40px; } }
@media (min-width: 1280px) { .cl-cta__title { font-size: 52px; } }
.cl-cta__text { max-width: 620px; margin: 0 auto 28px; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.7; }
@media (min-width: 1024px) { .cl-cta__text { font-size: 18px; } }
.cl-cta__text strong { color: #fff; }

/* GALERÍA · 5 columnas × 2 filas en escritorio */
.cl-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cl-gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .cl-gallery { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.cl-gallery__item { position: relative; display: block; overflow: hidden; border-radius: 10px; background: #000; }
.cl-gallery__item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease, opacity .3s ease; }
.cl-gallery__item:hover img { transform: scale(1.08); opacity: .75; }
.cl-gallery__zoom {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0;
    width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
    background: var(--color-primary); color: #fff; font-size: 24px; transition: all .3s ease;
}
.cl-gallery__item:hover .cl-gallery__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* NOSOTROS */
.cl-about__frame { max-width: 1040px; margin: 0 auto; }

/* MODAL */
.cl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cl-modal[hidden] { display: none; }
.cl-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cl-modal__panel {
    position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain;
    padding: 34px 22px 26px; border-radius: 10px; background: #161616; border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: cl-modal-in .3s ease;
}
@media (min-width: 640px) { .cl-modal__panel { padding: 40px 36px 32px; } }
@keyframes cl-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.cl-modal__close {
    position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; cursor: pointer; transition: background .3s ease;
}
.cl-modal__close:hover { background: var(--color-primary); }
.cl-modal__media { position: relative; width: min(100%, 1100px, calc((100vh - 110px) * 16 / 9)); animation: cl-modal-in .3s ease; }
.cl-modal__media .cl-modal__close { top: -48px; right: 0; background: rgba(255, 255, 255, .14); }
.cl-modal__player { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.cl-modal__player iframe { display: block; width: 100%; height: 100%; border: 0; }
.cl-modal__player.is-vertical { aspect-ratio: 9 / 16; width: min(100%, calc((100vh - 110px) * 9 / 16)); margin: 0 auto; }
.cl-modal__player.is-file { aspect-ratio: auto; background: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: min(56vw, 360px); }
.cl-modal__player.is-file video { display: block; width: 100%; max-width: 100%; max-height: calc(100vh - 110px); border-radius: 10px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.cl-modal__viderr { margin: 0; padding: 14px 18px; max-width: 36rem; text-align: center; color: #fff; background: rgba(180, 40, 40, .92); border-radius: 8px; font-size: 14px; line-height: 1.45; }
.cl-modal--video { padding-top: 64px; }
.cl-modal__title { margin: 0 0 8px; font-family: var(--font-secondary); font-size: 28px; font-weight: 800; }
.cl-modal__intro { margin: 0 0 22px; color: rgba(255, 255, 255, .72); line-height: 1.65; }
.cl-modal__intro strong { color: #fff; }
.cl-modal--ok .cl-modal__panel { text-align: center; }
.cl-modal__icon { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #fff; font-size: 38px; }
.cl-modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

.cl-form { display: grid; gap: 16px; }
.cl-field label, .cl-field__label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; color: #fff; }
.cl-form .form-input { border-radius: 5px; background: var(--color-black, #000); border-color: rgba(255, 255, 255, .14); }
.cl-form .form-input:focus { border-color: var(--color-primary); }
.cl-form select.form-input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ddd' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.cl-form select.form-input option { background: #111; color: #fff; }
.cl-phone { display: grid; grid-template-columns: minmax(7.5rem, .95fr) minmax(0, 1.35fr); gap: 10px; align-items: stretch; }
.cl-phone .form-input { min-width: 0; width: 100%; }
.cl-field__hint { margin: 6px 0 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
.cl-price { margin: 10px 0 0; padding: 10px 14px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); font-size: 14px; color: rgba(255, 255, 255, .75); }
.cl-price strong { color: var(--color-secondary); font-size: 16px; }
.cl-price small { display: block; margin-top: 3px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.cl-price small[hidden] { display: none; }
.cl-price[hidden] { display: none; }
.cl-field--error .form-input { border-color: var(--color-primary) !important; }
.cl-field--error label, .cl-field--error .cl-field__label { color: var(--color-primary); }
.cl-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: rgba(255, 255, 255, .8); cursor: pointer; }
.cl-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--color-primary); flex: none; }
.cl-check a { color: var(--color-secondary); text-decoration: underline; }
.cl-alert { margin: 0 0 16px; padding: 12px 14px; border-radius: 6px; background: color-mix(in srgb, var(--color-primary) 18%, transparent); border: 1px solid var(--color-primary); color: #fff; font-size: 14px; }
.cl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cl-form .primary-btn { width: 100%; padding-top: 14px; padding-bottom: 14px; font-size: 16px; cursor: pointer; }
.cl-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
body.cl-lock { overflow: hidden; }

/* Barra CTA fija en móvil */
.cl-sticky {
    display: none;
}
@media (max-width: 900px) {
    .cl-sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 70;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(0, 0, 0, .88);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
        transition: transform .25s ease;
    }
    .cl-sticky.is-away,
    body.cl-lock .cl-sticky {
        transform: translateY(120%);
        pointer-events: none;
    }
    .cl-sticky .primary-btn {
        display: flex;
        width: 100%;
        justify-content: center;
        padding-top: 14px;
        padding-bottom: 14px;
        font-size: 15px;
    }
    body:has(.cl-sticky) {
        padding-bottom: 82px;
    }
    body:has(.cl-sticky) .pr-float {
        bottom: 96px;
    }
}
