/* Zavia Marketing - página «Para clínicas»: la agenda que se llena.
   Usa los colores y la tipografía del sitio (styles.css) más tres tonos de apoyo. Todas las ilustraciones están dibujadas en código, sin fotos de stock. */
:root { --cl-night: #0a1622; --cl-night-2: #12263a; --cl-peach: #f9d9c3; --cl-coral: #e0764a; --cl-sky: #cfe4f2; --cl-lilac: #e5def5; --cl-sun: #f2b84b; }

.cl-kicker { margin: 0 0 12px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-deep); }
.cl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-head .cl-kicker { margin-bottom: 8px; }

/* Aparición suave al bajar (solo si hay JavaScript) */
.cl-js .cl-rv { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.cl-js .cl-rv.in { opacity: 1; transform: none; }

/* ---------- Portada oscura con teléfono animado ---------- */
.cl-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px); background: var(--cl-night); color: #fff; }
.cl-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.cl-glow-a { width: 420px; height: 420px; right: -90px; top: -120px; background: rgba(180, 211, 137, 0.34); }
.cl-glow-b { width: 320px; height: 320px; left: -120px; bottom: -140px; background: rgba(224, 118, 74, 0.22); }
.cl-hero-g { position: relative; display: grid; gap: 44px; align-items: center; }
.cl-hero .cl-kicker { color: var(--green); }
.cl-hero h1 { max-width: 14ch; color: #fff; text-wrap: balance; }
.cl-lead { font-size: 1.12rem; color: #c8d3dd; max-width: 50ch; margin: 18px 0 0; }
.cl-pills { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cl-pills li { padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; color: #fff; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18); }
.cl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cl-cta .btn { white-space: normal; text-align: center; }
.cl-hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: transparent; }
.cl-hero .btn-ghost:hover, .cl-hero .btn-ghost:focus-visible { background: rgba(255, 255, 255, 0.12); color: #fff; }
.cl-hero :focus-visible { outline-color: var(--green); }
.cl-fine { margin: 14px 0 0; color: #9fb0bf; }

.cl-phwrap { position: relative; width: min(100%, 320px); margin-inline: auto; }
.cl-ph { position: relative; padding: 11px; border-radius: 42px; background: #000; box-shadow: 0 0 0 2px #26384a, 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.cl-ph-notch { position: absolute; left: 50%; top: 17px; z-index: 5; width: 74px; height: 20px; margin-left: -37px; border-radius: 12px; background: #000; }
.cl-ph-screen { position: relative; aspect-ratio: 9 / 17; overflow: hidden; border-radius: 32px; background: #f1f4ee; color: var(--ink); }
.cl-sc { position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: 40px; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .4s ease, transform .4s ease, visibility 0s .4s; }
.cl-sc.on { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .4s ease; }
.cl-tag { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; padding: 3px 11px; border-radius: 999px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); }

/* escena 1: anuncio */
.cl-ad { margin: 8px 10px 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px -14px rgba(6, 14, 23, 0.4); }
.cl-ad-top { display: flex; align-items: center; gap: 9px; padding: 10px 12px 6px; }
.cl-ad-av { width: 32px; height: 32px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060e17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5c-1.600-1.200-4-.8-4.800 1.100-.7 1.800.2 3.400.5 4.800.4 1.700.3 4.800 1.500 6.300.7.800 1.500.3 1.700-.7.300-1.100.5-2.500.7-2.500s.4 1.400.7 2.500c.2 1 1 1.500 1.700.7 1.200-1.500 1.100-4.600 1.500-6.300.3-1.400 1.200-3 .5-4.800C16 4.200 13.600 3.800 12 5z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.cl-ad-top strong { display: block; font-size: 0.82rem; line-height: 1.15; }
.cl-ad-top small { display: block; font-size: 0.68rem; color: var(--ink-soft); }
.cl-ad-tx { margin: 0; padding: 0 12px 9px; font-size: 0.8rem; line-height: 1.35; }
.cl-ad-img svg { width: 100%; height: auto; }
.cl-ad-bar { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: #eef2ea; font-size: 0.8rem; font-weight: 800; }
.cl-ad-bar span { padding: 6px 12px; border-radius: 8px; background: var(--green); }
.cl-ad-bar::after { content: "›"; font-size: 1.3rem; line-height: 1; color: var(--ink-soft); }
.cl-tap { position: absolute; left: 62px; top: 22px; width: 26px; height: 26px; border-radius: 50%; background: rgba(6, 14, 23, 0.16); border: 2px solid rgba(6, 14, 23, 0.55); opacity: 0; }
.cl-sc.on .cl-tap { animation: cl-tap 1.6s 1.3s ease-out 1 both; }
.cl-sc.on .cl-ad-bar span { animation: cl-press 1.6s 1.3s ease-out 1; }
@keyframes cl-tap { 0% { opacity: 0; transform: translate(14px, 18px) scale(1.2); } 25% { opacity: 1; transform: none; } 55% { transform: scale(.75); } 100% { opacity: 0; transform: scale(2); } }
@keyframes cl-press { 30%, 50% { transform: scale(.94); } }

/* escenas 2 y 4: conversación */
.cl-mini-h { display: flex; align-items: center; gap: 9px; margin: 0; padding: 8px 14px; background: var(--ink); color: #fff; }
.cl-mini-h strong { display: block; font-size: 0.82rem; line-height: 1.15; }
.cl-mini-h small { display: block; font-size: 0.68rem; color: var(--green); }
.cl-av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--ink); }
.cl-mini-b { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px; }
.cl-mini-b .b { margin: 0; max-width: 84%; padding: 8px 11px; border-radius: 14px; font-size: 0.8rem; line-height: 1.35; opacity: 0; }
.cl-mini-b .p { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.cl-mini-b .a { align-self: flex-end; background: #d4e8b9; border-bottom-right-radius: 4px; }
.cl-sc.on .b { animation: cl-pop .45s ease-out both; }
.cl-sc.on .b1 { animation-delay: .25s; } .cl-sc.on .b2 { animation-delay: 1.15s; } .cl-sc.on .b3 { animation-delay: 2s; } .cl-sc.on .b4 { animation-delay: 2.8s; }
@keyframes cl-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

/* escena 3: cita agendada */
.cl-ok { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 16px 30px; text-align: center; }
.cl-ok h3 { margin: 0; font-size: 1.15rem; }
.cl-ok-c { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: var(--ink); }
.cl-sc.on .cl-ok-c { animation: cl-bounce .7s .2s cubic-bezier(.3, 1.6, .5, 1) both; }
.cl-ok-card { width: 100%; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 10px 26px -16px rgba(6, 14, 23, 0.45); }
.cl-ok-card small { display: block; font-size: 0.72rem; color: var(--ink-soft); }
.cl-ok-card strong { display: block; margin: 2px 0 4px; font-size: 1.28rem; }
.cl-ok-card span { font-size: 0.74rem; font-weight: 700; color: var(--green-deep); }
.cl-sc.on .cl-ok-card { animation: cl-pop .5s .55s ease-out both; }
.cl-sp { position: absolute; width: 10px; height: 10px; background: var(--cl-sun); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; }
.cl-sp1 { left: 22%; top: 22%; } .cl-sp2 { right: 20%; top: 18%; background: var(--green); width: 14px; height: 14px; } .cl-sp3 { left: 14%; top: 46%; background: var(--cl-coral); width: 8px; height: 8px; } .cl-sp4 { right: 14%; top: 42%; }
.cl-sc.on .cl-sp { animation: cl-twinkle 1.8s .5s ease-in-out infinite; }
.cl-sc.on .cl-sp2 { animation-delay: .9s; } .cl-sc.on .cl-sp3 { animation-delay: 1.3s; } .cl-sc.on .cl-sp4 { animation-delay: .7s; }
@keyframes cl-bounce { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes cl-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(40deg); } }

/* cintas de pasos con barra de avance */
.cl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.cl-ps { position: relative; padding: 12px 0 0; border: 0; background: none; text-align: left; font: inherit; font-size: 0.74rem; font-weight: 700; color: #9fb0bf; cursor: pointer; }
.cl-ps i { position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.cl-ps i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--green); }
.cl-ps b { display: block; color: var(--green); font-size: 0.8rem; }
.cl-ps span { display: block; padding-top: 2px; line-height: 1.25; }
.cl-ps.on { color: #fff; }
.cl-ps.done i::after, .cl-steps.manual .cl-ps.on i::after { transform: scaleX(1); }
.cl-steps:not(.manual) .cl-ps.on i::after { animation: cl-bar var(--cl-dur, 4.6s) linear forwards; }
@keyframes cl-bar { to { transform: scaleX(1); } }
.cl-ps:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 6px; }

/* globos flotantes alrededor del teléfono */
.cl-chip { position: absolute; z-index: 6; display: none; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; font-size: 0.82rem; font-weight: 800; color: var(--ink); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.6); animation: cl-float 5s ease-in-out infinite; }
.cl-chip-a { left: -70px; top: 64%; background: var(--cl-peach); }
.cl-chip-a i { width: 9px; height: 9px; border-radius: 50%; background: var(--cl-coral); box-shadow: 0 0 0 4px rgba(224, 118, 74, 0.25); }
.cl-chip-b { right: -58px; top: 11%; bottom: auto; background: var(--green); animation-delay: -2.4s; }
@keyframes cl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (min-width: 900px) { .cl-hero-g { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } .cl-chip { display: inline-flex; } }

/* ---------- Franja de tratamientos ---------- */
.cl-marq { overflow: hidden; display: flex; background: var(--green); border-block: 1px solid var(--green-hover); }
.cl-marq-t { display: flex; flex: none; align-items: center; gap: 36px; margin: 0; padding: 14px 18px; list-style: none; min-width: 100%; justify-content: space-around; animation: cl-marq 34s linear infinite; }
.cl-marq-t li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 800; font-size: 0.98rem; color: var(--ink); }
.cl-marq-t li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.cl-marq:hover .cl-marq-t { animation-play-state: paused; }
@keyframes cl-marq { to { transform: translateX(-100%); } }

/* ---------- Agenda que se llena ---------- */
.cl-agenda { background: linear-gradient(180deg, var(--white), var(--green-soft)); }
.cl-ag-g { display: grid; gap: 36px; align-items: center; }
.cl-ag-t h2 { max-width: 18ch; text-wrap: balance; }
.cl-ag-t > p { color: var(--ink-soft); max-width: 46ch; margin: 14px 0 0; }
.cl-ag-count { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 8px !important; }
.cl-ag-count b { font-size: 3.2rem; line-height: 1; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.cl-ag-count span { font-weight: 700; color: var(--ink-soft); }
.cl-ag-bar { height: 8px; max-width: 320px; margin-bottom: 20px; border-radius: 8px; background: var(--line); overflow: hidden; }
.cl-ag-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--green-deep), var(--green)); transition: width .4s ease; }
.cl-ag-fine { margin: 12px 0 0 !important; }
.cl-ag-card { padding: 14px; background: #fff; border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: 0 26px 54px -30px rgba(6, 14, 23, 0.35); }
.cl-ag-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; font-size: 0.82rem; font-weight: 800; }
.cl-ag-dots { display: flex; gap: 5px; }
.cl-ag-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.cl-ag-grid { display: grid; grid-template-columns: 38px repeat(5, minmax(0, 1fr)); gap: 5px; }
.cl-ag-h { padding-bottom: 4px; text-align: center; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.cl-ag-t { min-width: 0; }
.cl-ag-tm { align-self: center; font-size: 0.66rem; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.cl-sl { display: grid; place-items: center; min-width: 0; height: 40px; border-radius: 8px; border: 1.5px dashed var(--line-strong); background: transparent; transition: background .3s, border-color .3s, transform .3s; }
.cl-sl em { font-style: normal; font-size: 0; font-weight: 800; line-height: 1.1; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cl-sl.on { border: 1.5px solid transparent; transform: scale(1); }
.cl-sl.on.c0 { background: #c8ebac; } .cl-sl.on.c1 { background: var(--cl-peach); } .cl-sl.on.c2 { background: var(--cl-sky); } .cl-sl.on.c3 { background: var(--cl-lilac); }
.cl-sl.on em { opacity: 1; }
.cl-sl.pop { animation: cl-slot .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes cl-slot { from { transform: scale(.55); } to { transform: scale(1); } }
@media (min-width: 560px) { .cl-sl { height: 46px; } .cl-sl em { font-size: 0.7rem; } .cl-ag-grid { grid-template-columns: 46px repeat(5, minmax(0, 1fr)); gap: 6px; } .cl-ag-card { padding: 20px; } }
@media (min-width: 900px) { .cl-ag-g { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }

/* ---------- Camino del paciente ---------- */
.cl-trail { position: relative; }
.cl-stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.cl-line { position: absolute; left: 21px; top: 20px; bottom: 20px; width: 4px; margin-left: -2px; border-radius: 4px; background-image: linear-gradient(var(--line-strong) 55%, transparent 0); background-size: 4px 14px; }
.cl-fill { position: absolute; left: 0; top: 0; width: 4px; height: var(--cl-h, 100%); border-radius: 4px; background: var(--green-deep); }
.cl-walker { position: absolute; z-index: 2; left: 50%; top: var(--cl-h, 0); display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--ink); color: var(--green); box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(6, 14, 23, 0.4); opacity: 0; }
.cl-js .cl-walker { opacity: 1; }
.cl-js .cl-fill { height: var(--cl-h, 0px); }
.cl-stop { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 12px; }
.cl-pin { grid-row: 1 / span 2; align-self: start; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--green-deep); font-weight: 800; color: var(--ink); z-index: 1; transition: background .3s, color .3s, transform .3s; }
.cl-js .cl-stop:not(.lit) .cl-pin { background: #fff; color: var(--ink-soft); box-shadow: 0 0 0 2px var(--line-strong); }
.cl-stop.lit .cl-pin { transform: scale(1.08); }
.cl-art { grid-column: 2; max-width: 220px; border-radius: 22px; background: var(--green-soft); border: 1px solid var(--green-line); overflow: hidden; transition: transform .5s ease, opacity .5s ease; }
.cl-art svg { width: 100%; height: auto; }
.cl-js .cl-stop:not(.lit) .cl-art { transform: scale(.94) rotate(-2deg); opacity: .55; }
.cl-card { grid-column: 2; display: flex; flex-direction: column; gap: 10px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 14px 34px -26px rgba(6, 14, 23, 0.4); }
.cl-n { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: var(--ink-soft); }
.cl-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.cl-lose, .cl-win { margin: 0; font-size: 0.94rem; line-height: 1.5; color: var(--ink); }
.cl-lose b, .cl-win b { display: block; margin-bottom: 2px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.cl-lose { padding: 10px 12px; border-radius: 10px; background: var(--alert-bg); }
.cl-lose b { color: var(--alert); }
.cl-win b { color: var(--green-deep); }
.cl-link { padding-top: 2px; font-size: 0.92rem; font-weight: 700; color: var(--green-deep); text-decoration: none; }
.cl-link:hover, .cl-link:focus-visible { text-decoration: underline; }
@media (min-width: 900px) {
  .cl-stops { gap: 44px; }
  .cl-line { left: 50%; }
  .cl-stop { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); column-gap: 28px; align-items: center; }
  .cl-pin { grid-row: 1; grid-column: 2; align-self: center; width: 56px; height: 56px; font-size: 1.2rem; }
  .cl-art, .cl-card { grid-row: 1; max-width: none; }
  .cl-stop:nth-of-type(odd) .cl-art, .cl-stop:nth-of-type(even) .cl-card { grid-column: 1; }
  .cl-stop:nth-of-type(odd) .cl-card, .cl-stop:nth-of-type(even) .cl-art { grid-column: 3; }
  .cl-art { width: min(100%, 300px); }
  .cl-stop:nth-of-type(odd) .cl-art { justify-self: end; } .cl-stop:nth-of-type(even) .cl-art { justify-self: start; }
}

/* ---------- Conversación de ejemplo ---------- */
.cl-chat { background: var(--green-soft); }
.cl-chat-g { display: grid; gap: 36px; align-items: center; }
.cl-chat-t h2 { max-width: 20ch; text-wrap: balance; }
.cl-chat-t > p { color: var(--ink-soft); max-width: 48ch; margin: 14px 0 0; }
.cl-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.cl-checks li { position: relative; padding-left: 28px; }
.cl-checks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060e17' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cl-phone { width: min(100%, 400px); margin-inline: auto; padding: 14px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 28px; box-shadow: 0 24px 50px -28px rgba(6, 14, 23, 0.35); }
.cl-tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 12px; background: var(--green-soft); border-radius: 999px; }
.cl-chat .cl-tabs { background: var(--green-soft); }
.cl-tab { flex: 1; padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.cl-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.cl-tab:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 2px; }
.cl-chathead { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px 14px 0 0; background: var(--ink); color: #fff; }
.cl-chathead strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.cl-chathead small { display: block; font-size: 0.75rem; color: var(--green); }
.cl-panel[hidden] { display: none; }
.cl-msgs { list-style: none; margin: 0; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 420px; background: #eef2ea; border-radius: 0 0 14px 14px; }
.cl-m { max-width: 84%; padding: 8px 12px 6px; border-radius: 14px; font-size: 0.92rem; line-height: 1.4; color: var(--ink); }
.cl-m span { display: block; }
.cl-m time { display: block; margin-top: 2px; font-size: 0.68rem; text-align: right; color: var(--ink-soft); }
.cl-m-p { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.cl-m-a { align-self: flex-end; background: #d4e8b9; border-bottom-right-radius: 4px; }
.cl-m.pend { display: none; }
.cl-m.show { animation: cl-pop .4s ease-out both; }
.cl-typing { align-self: flex-end; display: flex; gap: 5px; padding: 12px 14px; border-radius: 14px; border-bottom-right-radius: 4px; background: #d4e8b9; }
.cl-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-deep); animation: cl-dot 1s infinite ease-in-out; }
.cl-typing i:nth-child(2) { animation-delay: .15s; } .cl-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cl-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }
.cl-chatnote { margin: 12px 4px 2px; font-size: 0.8rem; color: var(--ink-soft); }
@media (min-width: 900px) { .cl-chat-g { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------- Tarjetas por tratamiento ---------- */
.cl-trat .cl-tabs-w { width: min(100%, 360px); margin: 0 auto 26px; background: var(--green-soft); border: 1px solid var(--green-line); }
.cl-trgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cl-tr { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.cl-tr:hover { transform: translateY(-5px) rotate(-.4deg); border-color: var(--green-line); box-shadow: 0 22px 40px -26px rgba(6, 14, 23, 0.45); }
.cl-tr-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--green-soft); color: var(--green-deep); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), background .25s; }
.cl-tr:hover .cl-tr-ic { transform: rotate(-8deg) scale(1.1); background: var(--green); color: var(--ink); }
.cl-tr:nth-child(2) .cl-tr-ic { background: var(--cl-peach); color: #8a4b12; }
.cl-tr:nth-child(3) .cl-tr-ic { background: var(--cl-sky); color: #25506f; }
.cl-tr h3 { margin: 0; font-size: 1.2rem; }
.cl-tr-q, .cl-tr-w { margin: 0; font-size: 0.94rem; line-height: 1.5; }
.cl-tr-q b, .cl-tr-w b { display: block; margin-bottom: 3px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.cl-tr-q q { display: block; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #f1f4ee; font-weight: 700; quotes: none; }
.cl-tr-w b { color: var(--green-deep); }
@media (min-width: 760px) { .cl-trgrid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Video ---------- */
.cl-vsec { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px); background: var(--cl-night); color: #fff; }
.cl-glow-c { width: 380px; height: 380px; left: 6%; top: -60px; background: rgba(180, 211, 137, 0.26); }
.cl-vsec-g { position: relative; display: grid; gap: 36px; align-items: center; }
.cl-vsec .cl-kicker { color: var(--green); }
.cl-vsec h2 { color: #fff; max-width: 20ch; text-wrap: balance; }
.cl-vsec-t > p { color: #c8d3dd; max-width: 48ch; margin: 14px 0 0; }
.cl-vsec .cta-row { margin-top: 24px; }
.cl-vsec .btn { white-space: normal; text-align: center; }
.cl-vsec :focus-visible { outline-color: var(--green); }
.cl-vidfig { margin: 0; }
.cl-vid { position: relative; width: min(100%, 280px); margin-inline: auto; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 6px #26384a, 0 30px 60px -22px rgba(0, 0, 0, 0.7); }
.cl-vid img, .cl-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 0 0 36%; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(6, 14, 23, 0) 30%, rgba(6, 14, 23, 0.4) 100%); color: #fff; font: inherit; }
.cl-playic { width: 66px; height: 66px; border-radius: 50%; background: var(--green); position: relative; transition: transform .15s; box-shadow: 0 0 0 0 rgba(180, 211, 137, 0.6); animation: cl-pulse 2.4s infinite; }
.cl-playic::after { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.cl-play:hover .cl-playic, .cl-play:focus-visible .cl-playic { transform: scale(1.08); }
.cl-play:focus-visible { outline: 3px solid var(--green); outline-offset: -4px; }
.cl-playtxt { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
@keyframes cl-pulse { 70% { box-shadow: 0 0 0 18px rgba(180, 211, 137, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 211, 137, 0); } }
.cl-vidfig figcaption { margin-top: 18px; text-align: center; font-size: 0.85rem; color: #9fb0bf; }
@media (min-width: 860px) { .cl-vsec-g { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }

/* ---------- Quién trabaja contigo ---------- */
.cl-who-g { display: grid; gap: 32px; align-items: center; }
.cl-who img { display: block; width: min(100%, 300px); height: auto; margin-inline: auto; border-radius: 22px; box-shadow: 0 20px 44px -24px rgba(6, 14, 23, 0.45); }
.cl-who h2 { max-width: 20ch; text-wrap: balance; }
.cl-who p { color: var(--ink-soft); max-width: 50ch; margin: 14px 0 0; }
.cl-who .cl-kicker { margin: 0 0 12px; color: var(--green-deep); }
@media (min-width: 800px) { .cl-who-g { grid-template-columns: 300px 1fr; gap: 56px; } .cl-who img { margin: 0; } }

/* ---------- Preguntas frecuentes ---------- */
.cl-faq-w { max-width: 760px; }
.cl-faq { border-bottom: 1px solid var(--line); }
.cl-faq:first-of-type { border-top: 1px solid var(--line); }
.cl-faq summary { cursor: pointer; padding: 16px 28px 16px 0; position: relative; font-weight: 700; list-style: none; }
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--green-deep); }
.cl-faq[open] summary::after { content: "–"; }
.cl-faq summary:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 2px; border-radius: 6px; }
.cl-faq p { margin: 0 0 18px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .cl-js .cl-rv { opacity: 1; transform: none; transition: none; }
  .cl-marq { display: block; }
  .cl-marq-t { animation: none; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
  .cl-marq-c { display: none; }
  .cl-chip, .cl-playic, .cl-sc.on .cl-tap, .cl-sc.on .cl-sp, .cl-typing i { animation: none; }
  .cl-sc, .cl-sc.on { transition: none; }
  .cl-mini-b .b { opacity: 1; animation: none !important; }
  .cl-sc.on .cl-ok-c, .cl-sc.on .cl-ok-card, .cl-m.show { animation: none; }
  .cl-steps:not(.manual) .cl-ps.on i::after { animation: none; transform: scaleX(1); }
  .cl-tr, .cl-tr-ic, .cl-art, .cl-pin, .cl-ag-bar i, .cl-sl { transition: none; }
}
