/* Camelead · widgets para Elementor
   Estilos base neutros: heredan la tipografía del sitio y usan el color de acento global de Elementor.
   Todo se puede cambiar desde la pestaña Estilo de cada widget. */

.elementor-widget[class*="elementor-widget-cml-"] {
	--cml-accent-final: var(--cml-accent, var(--e-global-color-accent, #15803d));
	--cml-on-accent-final: var(--cml-on-accent, #fff);
	--cml-border: rgba(0, 0, 0, .1);
	--cml-soft: color-mix(in srgb, var(--cml-accent-final) 10%, transparent);
	--cml-radius: 14px;
}

.cml-stars { display: inline-flex; gap: .1em; color: var(--cml-star, #f5a623); font-size: 1rem; line-height: 1; }
.cml-star--empty { opacity: .25; }
.cml-star--half { background: linear-gradient(90deg, currentColor 50%, rgba(0, 0, 0, .2) 50%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.cml-lift-yes .cml-card, .cml-lift-yes .cml-plan, .cml-lift-yes .cml-chip { transition: transform .25s ease, box-shadow .25s ease, background-color .25s, border-color .25s; }
.cml-lift-yes .cml-card:hover, .cml-lift-yes .cml-plan:hover, .cml-lift-yes .cml-chip:hover { transform: translateY(-4px); }

/* ---------- FAQ */
.cml-faq { display: flex; flex-direction: column; gap: var(--cml-gap, 12px); }
.cml-faq__item { border: 1px solid var(--cml-border); border-radius: var(--cml-radius); background: #fff; overflow: hidden; }
.cml-faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 600; }
.cml-faq__q::-webkit-details-marker { display: none; }
.cml-faq__q-text { margin: 0; font: inherit; color: inherit; }
.cml-faq__q:focus-visible { outline: 2px solid var(--cml-accent-final); outline-offset: -2px; }
.cml-faq__icon { position: relative; flex: 0 0 auto; width: 1.1em; height: 1.1em; color: var(--cml-accent-final); transition: transform .25s ease; }
.cml-faq--plus .cml-faq__icon::before, .cml-faq--plus .cml-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 2px; background: currentColor; transform: translate(-50%, -50%); border-radius: 2px; }
.cml-faq--plus .cml-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.cml-faq--plus details[open] .cml-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.cml-faq--chevron .cml-faq__icon::before { content: ""; position: absolute; inset: 20% 25% 35%; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.cml-faq--chevron details[open] .cml-faq__icon { transform: rotate(180deg); }
.cml-faq__a { padding: 0 1.25rem 1.2rem; }
.cml-faq__a > :last-child { margin-bottom: 0; }

/* ---------- Carrusel (testimonios) */
.cml-carousel { --cml-per: 3; --cml-gap: 24px; position: relative; }
.cml-carousel__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cml-per) - 1) * var(--cml-gap)) / var(--cml-per)); gap: var(--cml-gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.cml-carousel__track::-webkit-scrollbar { display: none; }
.cml-carousel__slide { scroll-snap-align: start; min-width: 0; }
.cml-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.cml-carousel__prev, .cml-carousel__next { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--cml-nav, var(--cml-accent-final)); background: transparent; color: var(--cml-nav, var(--cml-accent-final)); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; transition: background .2s, color .2s; }
.cml-carousel__prev:hover, .cml-carousel__next:hover { background: var(--cml-nav, var(--cml-accent-final)); color: #fff; }
.cml-carousel__prev:disabled, .cml-carousel__next:disabled { opacity: .35; cursor: default; }
.cml-carousel__dots { display: flex; gap: 8px; }
.cml-carousel__dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: 0; background: var(--cml-nav, var(--cml-accent-final)); opacity: .25; cursor: pointer; transition: width .25s, opacity .25s; }
.cml-carousel__dots button[aria-current="true"] { opacity: 1; width: 24px; }

.cml-tcard { position: relative; margin: 0; height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: #fff; border: 1px solid var(--cml-border); border-radius: var(--cml-radius); }
.cml-tcard__quote { position: absolute; top: 6px; right: 20px; font-size: 72px; line-height: 1; font-family: Georgia, serif; color: var(--cml-accent-final); opacity: .18; }
.cml-tcard__text { margin: 0; padding: 0; border: 0; font-style: normal; flex: 1; }
.cml-tcard__author { display: flex; align-items: center; gap: 12px; }
.cml-tcard__author > span { display: flex; flex-direction: column; }
.cml-tcard__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.cml-tcard__name { font-weight: 700; }
.cml-tcard__role { font-size: .88em; opacity: .7; }
.cml-rating-summary { display: flex; justify-content: center; margin-bottom: 20px; }
.cml-rating-summary__inner { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; color: inherit; text-decoration: none; }
.cml-rating-summary__value { font-size: 1.6em; line-height: 1; }
.cml-rating-summary .cml-stars { font-size: 1.3em; }

/* ---------- Pasos */
.cml-steps { --cml-marker: 48px; --cml-gap: 28px; --cml-line: var(--cml-border); list-style: none; margin: 0; padding: 0; display: grid; gap: var(--cml-gap); counter-reset: none; }
.cml-steps--horizontal { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cml-step { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.cml-steps--vertical .cml-step { flex-direction: row; align-items: flex-start; }
.cml-step__marker { position: relative; z-index: 1; flex: 0 0 auto; width: var(--cml-marker); height: var(--cml-marker); border-radius: 50%; display: grid; place-items: center; background: var(--cml-accent-final); color: var(--cml-on-accent-final); font-weight: 700; font-size: calc(var(--cml-marker) * .38); }
.cml-step__marker svg { width: 45%; height: 45%; fill: currentColor; }
.cml-step__body { flex: 1; }
.cml-step__title { margin: 0 0 6px; font-size: 1.1em; }
.cml-step__text { margin: 0; }
.cml-step__link { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--cml-accent-final); }
.cml-steps--line.cml-steps--horizontal .cml-step:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--cml-marker) / 2); left: calc(var(--cml-marker) + 8px); right: calc(var(--cml-gap) * -1 + 8px); height: 2px; background: var(--cml-line); }
.cml-steps--line.cml-steps--vertical .cml-step:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--cml-marker) / 2 - 1px); top: calc(var(--cml-marker) + 6px); bottom: calc(var(--cml-gap) * -1 + 6px); width: 2px; background: var(--cml-line); }
.cml-steps--marker-none .cml-step::after { display: none; }
@media (max-width: 767px) {
	.cml-steps--horizontal { grid-template-columns: 1fr; }
	.cml-steps--horizontal .cml-step { flex-direction: row; align-items: flex-start; }
	.cml-steps--line.cml-steps--horizontal .cml-step:not(:last-child)::after { top: calc(var(--cml-marker) + 6px); bottom: calc(var(--cml-gap) * -1 + 6px); left: calc(var(--cml-marker) / 2 - 1px); right: auto; width: 2px; height: auto; }
}

/* ---------- Línea de tiempo */
.cml-timeline { --cml-gap: 32px; --cml-line: var(--cml-border); --cml-dot: var(--cml-accent-final); list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--cml-gap); }
.cml-timeline--left, .cml-timeline--alternate { padding-left: 32px; }
.cml-timeline--left::before, .cml-timeline--alternate::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--cml-line); }
.cml-tl__item { position: relative; margin: 0; }
.cml-tl__dot { position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--cml-dot); box-sizing: border-box; }
.cml-tl__item.is-highlight .cml-tl__dot { background: var(--cml-dot); }
.cml-tl__date { display: inline-block; font-weight: 700; color: var(--cml-accent-final); margin-bottom: 4px; }
.cml-tl__title { margin: 0 0 6px; font-size: 1.1em; }
.cml-tl__text { margin: 0; }
.cml-tl__img { display: block; width: 100%; height: auto; border-radius: 10px; margin-bottom: 12px; }
@media (min-width: 768px) {
	.cml-timeline--alternate { padding-left: 0; }
	.cml-timeline--alternate::before { left: 50%; transform: translateX(-50%); }
	.cml-timeline--alternate .cml-tl__item { width: calc(50% - 32px); }
	.cml-timeline--alternate .cml-tl__item:nth-child(odd) { text-align: right; }
	.cml-timeline--alternate .cml-tl__item:nth-child(even) { margin-left: auto; }
	.cml-timeline--alternate .cml-tl__item:nth-child(odd) .cml-tl__dot { left: auto; right: -40px; }
	.cml-timeline--alternate .cml-tl__item:nth-child(even) .cml-tl__dot { left: -40px; }
}
.cml-timeline--horizontal { padding: 0; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; padding-top: 30px; }
.cml-timeline--horizontal::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--cml-line); }
.cml-timeline--horizontal .cml-tl__dot { left: 0; top: -30px; }

/* ---------- Tarjetas */
.cml-cards { --cml-cols: 3; --cml-gap: 24px; --cml-icon: 28px; display: grid; grid-template-columns: repeat(var(--cml-cols), minmax(0, 1fr)); gap: var(--cml-gap); }
.cml-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border: 1px solid var(--cml-border); border-radius: var(--cml-radius); color: inherit; text-decoration: none; min-width: 0; }
.cml-card[hidden] { display: none; }
a.cml-card:hover { color: inherit; }
.cml-cards--icon-left .cml-card { flex-direction: row; align-items: flex-start; }
.cml-card.cml-span-2 { grid-column: span 2; }
.cml-card.cml-span-3 { grid-column: span 3; }
.cml-card.is-featured { background: var(--cml-accent-final); color: var(--cml-on-accent-final); border-color: transparent; }
.cml-card.is-featured .cml-card__icon { background: rgba(255, 255, 255, .16); color: inherit; }
.cml-card.is-featured .cml-card__link, .cml-card.is-featured .cml-card__badge { color: inherit; }
.cml-card__icon { display: inline-grid; place-items: center; width: calc(var(--cml-icon) * 2); height: calc(var(--cml-icon) * 2); border-radius: 14px; background: var(--cml-soft); color: var(--cml-accent-final); font-size: var(--cml-icon); }
.cml-card__icon svg { width: 1em; height: 1em; fill: currentColor; }
.cml-card__img { display: block; max-width: 100%; height: 64px; width: auto; object-fit: contain; }
.cml-align-center .cml-card__img { margin: 0 auto; }
.cml-align-center .cml-card__media { text-align: center; }
.cml-card__body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.cml-card__badge { display: inline-block; align-self: flex-start; font-size: .78em; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cml-accent-final); margin-bottom: 6px; }
.cml-align-center .cml-card__badge { align-self: center; }
.cml-card__title { margin: 0 0 6px; font-size: 1.15em; color: inherit; }
.cml-card__subtitle { margin: 0 0 8px; opacity: .75; font-size: .92em; }
.cml-card__text > :last-child { margin-bottom: 0; }
.cml-card__list { margin: 10px 0 0; padding-left: 1.1em; }
.cml-card__link { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--cml-accent-final); }
.cml-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cml-align-center .cml-filters { justify-content: center; }
.cml-filter { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--cml-border); background: #fff; color: inherit; cursor: pointer; font: inherit; font-size: .92em; transition: background .2s, color .2s; }
.cml-filter.is-active { background: var(--cml-accent-final); color: var(--cml-on-accent-final); border-color: transparent; }
@media (max-width: 767px) { .cml-card.cml-span-2, .cml-card.cml-span-3 { grid-column: auto; } }

/* ---------- Chips */
.cml-chips { --cml-gap: 10px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--cml-gap); }
.cml-chips li { margin: 0; }
.cml-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; color: inherit; text-decoration: none; line-height: 1.2; }
.cml-chips--pill .cml-chip { background: var(--cml-soft); }
.cml-chips--outline .cml-chip { border: 1px solid currentColor; }
.cml-chips--plain .cml-chip { padding: 0; }
.cml-chip__icon { display: inline-flex; color: var(--cml-accent-final); font-size: 1em; }
.cml-chip__icon svg { width: 1em; height: 1em; fill: currentColor; }
.cml-chip__check { font-weight: 700; }

/* ---------- Logos */
.cml-logos { --cml-gap: 56px; --cml-logo-h: 48px; --cml-duration: 30s; --cml-cols: 5; overflow: hidden; }
.cml-logos__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--cml-gap); }
.cml-logo { margin: 0; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.cml-logo img { height: var(--cml-logo-h); width: auto; max-width: none; object-fit: contain; transition: filter .3s, opacity .3s; }
.cml-logo__placeholder { display: inline-grid; place-items: center; height: var(--cml-logo-h); padding: 0 18px; border: 1px dashed var(--cml-border); border-radius: 8px; opacity: .6; }
.cml-logos-gray-yes .cml-logo img { filter: grayscale(1); opacity: .7; }
.cml-logos-gray-yes .cml-logo:hover img { filter: none; opacity: 1; }
.cml-logos--marquee .cml-logos__track { display: flex; gap: var(--cml-gap); width: max-content; animation: cml-marquee var(--cml-duration) linear infinite; }
.cml-logos--pause:hover .cml-logos__track { animation-play-state: paused; }
.cml-logos--fade { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes cml-marquee { to { transform: translateX(calc(-50% - var(--cml-gap) / 2)); } }
.cml-logos--grid .cml-logos__list { display: grid; grid-template-columns: repeat(var(--cml-cols), minmax(0, 1fr)); }
.cml-logos--grid .cml-logo img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
	.cml-logos--marquee .cml-logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.cml-logos--marquee .cml-logos__list[aria-hidden] { display: none; }
}

/* ---------- Aviso */
.cml-callout { --cml-callout: #2563eb; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; border-left: 4px solid var(--cml-callout); background: color-mix(in srgb, var(--cml-callout) 9%, #fff); }
.cml-callout--success { --cml-callout: #15803d; }
.cml-callout--warning { --cml-callout: #c27c0e; }
.cml-callout--danger { --cml-callout: #c0262d; }
.cml-callout--neutral { --cml-callout: var(--cml-accent-final); }
.cml-callout__icon { color: var(--cml-callout); font-size: 22px; line-height: 1; padding-top: 2px; }
.cml-callout__icon svg { width: 1em; height: 1em; fill: currentColor; }
.cml-callout__title { margin: 0 0 4px; font-weight: 700; }
.cml-callout__text > :last-child { margin-bottom: 0; }
.cml-callout__btn { display: inline-block; margin-top: 10px; padding: 8px 16px; border-radius: 8px; background: var(--cml-callout); color: #fff; font-weight: 600; text-decoration: none; }

/* ---------- Precios */
.cml-pricing { --cml-cols: 3; --cml-gap: 24px; display: grid; grid-template-columns: repeat(var(--cml-cols), minmax(0, 1fr)); gap: var(--cml-gap); align-items: stretch; }
.cml-plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border: 1px solid var(--cml-border); border-radius: var(--cml-radius); }
.cml-plan.is-featured { border: 2px solid var(--cml-accent-final); box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--cml-accent-final) 50%, transparent); }
.cml-plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; background: var(--cml-accent-final); color: var(--cml-on-accent-final); font-size: .78em; font-weight: 700; white-space: nowrap; }
.cml-plan__name { margin: 0 0 4px; font-size: 1.2em; }
.cml-plan__desc { margin: 0 0 12px; opacity: .75; }
.cml-plan__price { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; margin: 8px 0 18px; }
.cml-plan__amount { font-size: 2.6em; font-weight: 800; line-height: 1; }
.cml-plan__currency { font-size: 1.3em; font-weight: 700; }
.cml-plan__period { opacity: .65; margin-left: 4px; }
.cml-plan__old { opacity: .5; margin-right: 6px; }
.cml-plan__features { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.cml-plan__features li { margin: 0; display: flex; gap: 8px; }
.cml-plan__features .is-yes span[aria-hidden] { color: var(--cml-accent-final); font-weight: 700; }
.cml-plan__features .is-no { opacity: .5; }
.cml-plan__btn { display: block; text-align: center; padding: 12px 18px; border-radius: 10px; background: var(--cml-accent-final); color: var(--cml-on-accent-final); font-weight: 700; text-decoration: none; }
.cml-plan:not(.is-featured) .cml-plan__btn { background: transparent; color: var(--cml-accent-final); border: 1px solid var(--cml-accent-final); }

/* ---------- WhatsApp */
.cml-wa { --cml-wa-bg: #25d366; --cml-wa-fg: #fff; --cml-wa-size: 58px; --cml-wa-x: 22px; --cml-wa-y: 22px; position: fixed; z-index: 9990; bottom: var(--cml-wa-y); display: inline-flex; align-items: center; gap: 10px; height: var(--cml-wa-size); min-width: var(--cml-wa-size); padding: 0 calc(var(--cml-wa-size) * .22); border-radius: 99px; background: var(--cml-wa-bg); color: var(--cml-wa-fg); box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .35); text-decoration: none; justify-content: center; transition: transform .2s; }
.cml-wa:hover { transform: scale(1.06); color: var(--cml-wa-fg); }
.cml-wa--right { right: var(--cml-wa-x); }
.cml-wa--left { left: var(--cml-wa-x); }
.cml-wa svg { width: calc(var(--cml-wa-size) * .55); height: calc(var(--cml-wa-size) * .55); flex: 0 0 auto; }
.cml-wa__label { font-weight: 700; padding-right: 6px; white-space: nowrap; }
.cml-wa--pulse::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--cml-wa-bg); z-index: -1; animation: cml-pulse 2.2s ease-out infinite; }
@keyframes cml-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cml-wa--pulse::before { animation: none; } }
.cml-wa-editor-note { padding: 10px 14px; border: 1px dashed #25d366; border-radius: 8px; font-size: 13px; color: #15803d; background: #effbf3; }

