/* @id cronuts-ui-final-overrides */
/* ============================================================
   Cronuts UI Final Overrides — last in cascade. !important.
   v1.5.0: skip-link + screen-reader-text hidden inline.
   ============================================================ */

/* GLOBAL: skip/screen-reader links — hidden until focused */
:where(html) .skip-link,
:where(html) .screen-reader-text{
  clip:rect(1px,1px,1px,1px)!important;
  clip-path:inset(50%)!important;
  height:1px!important;
  width:1px!important;
  margin:-1px!important;
  overflow:hidden!important;
  padding:0!important;
  position:absolute!important;
  word-wrap:normal!important
}
:where(html) .skip-link:focus,
:where(html) .screen-reader-text:focus{
  clip:auto!important;
  clip-path:none!important;
  display:block!important;
  height:auto!important;
  width:auto!important;
  margin:0!important;
  overflow:visible!important;
  position:fixed!important;
  top:1rem!important;
  left:1rem!important;
  z-index:100000!important;
  background:#fff!important;
  color:#000!important;
  padding:.5rem 1rem!important;
  border-radius:4px!important
}

/* ============================================================
   UXCRO-102 (F2C p2) — kickers/eyebrows rojos AA, GLOBAL.
   Base clara #C71C33; contextos oscuros #FF8A9B (ratios en header).
   Solo texto: los acentos no textuales (dots, borders, fondos)
   conservan --cd-red.
   ============================================================ */
:where(html) .eyebrow{ color:#C71C33!important }
:where(html) .hero .eyebrow,
:where(html) .hero__eyebrow,
:where(html) .cases-hero .eyebrow,
:where(html) .blog-hero .eyebrow,
:where(html) .cta-dark .eyebrow,
:where(html) .ai-strip .eyebrow,
:where(html) .senal .eyebrow,
:where(html) .cta-card .eyebrow,
:where(html) .section--dark .eyebrow,
:where(html) [data-ti-section] .eyebrow,
:where(html) #opiniones .eyebrow{ color:#FF8A9B!important }

/* ============================================================
   Eyebrow — separación punto↔texto DISPLAY-AGNÓSTICA (global).
   El gap:8px del flex es inerte cuando .eyebrow computa display:block
   (mayoría de páginas), dejando el punto (::before) pegado al texto.
   Se mueve la separación al propio punto vía margin (funciona sea
   block/inline/flex) y se anula el gap para no duplicar espacio en
   las variantes que sí son inline-flex. NO afecta a los eyebrows de
   línea BEM (.author-hero__eyebrow, .aiabcn-hero__eyebrow, etc.:
   son clases distintas, no .eyebrow).
   ============================================================ */
:where(html) .eyebrow{ gap:0!important }
:where(html) .eyebrow::before{ margin-right:14px!important }

/* ============================================================
   UXCRO-105 (F2C p2) — sticky-cta: target de cierre >=24x24 con
   nombre accesible visual, y altura móvil <=72px (una fila de
   texto compacta + fila de acciones; sin eliminar contenido).
   ============================================================ */
:where(html) .sticky-cta__close{
  width:32px!important;height:32px!important;
  min-width:32px!important;min-height:32px!important;
  display:inline-grid!important;place-items:center!important;
  font-size:18px!important;line-height:1!important;
  border:1px solid rgba(255,255,255,.18)!important;border-radius:50%!important;
  background:transparent;color:rgba(255,255,255,.75);cursor:pointer;
  padding:0!important;flex-shrink:0
}
:where(html) .sticky-cta__close:hover{ color:#fff;border-color:rgba(255,255,255,.45) }
@media(max-width:720px){
  :where(html) .sticky-cta{ flex-direction:column!important;gap:6px!important;padding:7px 14px!important;align-items:stretch!important }
  :where(html) .sticky-cta__left{ display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:8px!important;min-width:0 }
  :where(html) .sticky-cta__title{ font-size:12.5px!important;line-height:1.25!important;margin:0!important;white-space:nowrap }
  :where(html) .sticky-cta__sub{ font-size:12px!important;line-height:1.25!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0 }
  :where(html) .sticky-cta__actions{ justify-content:space-between!important;align-items:center!important;gap:8px!important }
  :where(html) .sticky-cta__actions .btn{ padding:7px 12px!important;font-size:12.5px!important;min-height:34px!important }
  :where(html) .sticky-cta__close{ width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important }
}

/* ============================================================
   AA Z0 fase2d — residuales rojos <4.5:1 no cubiertos por UXCRO-102.
   Texto rojo PERMANENTE (rest, sin regla :hover que cambie color) que
   computaba rgb(230,36,63)/var(--cd-red) con ratio <4.5. Contextos
   OSCUROS -> #FF8A9B (GLOBAL, seguro en cualquier fondo negro):
   - .team-carousel__eyebrow  10.4px/#121212  4.18 -> #FF8A9B + 12px (8.35:1)
   - .cronuts-fmc__eyebrow     10px/#0A0A0A   4.42 -> #FF8A9B + 12px (~8.8:1)
   - .mega__foot-link          13px/#121212   4.18 -> #FF8A9B        (~8.4:1)
   - .case-card__cta           12px/#141414   4.18 -> #FF8A9B        (~8.3:1)
   (Las variantes de contexto CLARO #C71C33 van dentro de !$is_sector.)
   ============================================================ */
:where(html) .team-carousel__eyebrow{ color:#FF8A9B!important; font-size:.75rem!important }
:where(html) .cronuts-fmc__eyebrow{ color:#FF8A9B!important; font-size:12px!important }
:where(html) .mega__foot-link{ color:#FF8A9B!important }
:where(html) .case-card__cta{ color:#FF8A9B!important }

/* AA Z0 fase2d — residuales rojos en contexto CLARO -> #C71C33 (solo
   páginas no-sector; en sector el canvas es oscuro y no aplican):
   - .service-card__stat  13px/#fff      4.48 -> #C71C33 (5.77:1)
   - .service-card__link  13px/#fff      4.48 -> #C71C33 (5.77:1)
   - .product__cta        12px/#E0E5EC   3.54 -> #C71C33 (4.55:1) */
:where(html) .service-card__stat{ color:#C71C33!important }
:where(html) .product__cta{ color:#C71C33!important }

/* 0. Canvas: body light, sections plain transparent (non-sector pages only) */
html, body{ background:#E0E5EC!important; color:#242424 }
:where(html) main, :where(html) #main, :where(html) body > main{
  background:transparent!important
}
:where(html) section.section:not(.section--dark):not([data-ti-section]):not(#opiniones):not(.cta-dark):not(.hero){
  background:transparent!important
}

/* 1. Botones — pill style global (border-radius 999px) */
:where(html) .btn,
:where(html) a.btn,
:where(html) button.btn,
:where(html) .btn--primary,
:where(html) .btn--secondary,
:where(html) .btn--ghost,
:where(html) .btn--light,
:where(html) .btn--large,
:where(html) .btn--dark-primary,
:where(html) .btn--dark-secondary,
:where(html) .btn--outline,
:where(html) .btn--tertiary,
:where(html) .ctc-submit,
:where(html) .ctc-calendly,
:where(html) input[type="submit"],
:where(html) button[type="submit"]{
  border-radius:999px!important
}

/* 2. Hero — primary CTA (rojo solido pill) — AA: #C71C33 (was #e6243f, FASE1 R1) */
:where(html) .btn.btn--dark-primary{
  background:var(--cd-btn-red)!important;
  color:#fff!important;
  border:1.5px solid transparent!important;
  box-shadow:var(--cd-shadow-sm)!important
}
:where(html) .btn.btn--dark-primary:hover{
  background:var(--cd-btn-red-hover)!important;
  color:#fff!important;
  box-shadow:var(--cd-shadow-sm)!important;
  transform:translateY(-1px)
}

/* 3. Hero — secondary ghost (borde 70% alpha) */
:where(html) .btn.btn--dark-secondary{
  background:transparent!important;
  border:1.5px solid rgba(255,255,255,.7)!important;
  color:#fff!important;
  box-shadow:none!important
}
:where(html) .btn.btn--dark-secondary:hover{
  background:rgba(255,255,255,.12)!important;
  border-color:#fff!important;
  color:#fff!important;
  transform:translateY(-1px)
}

/* 4. Header pill CTA — primary rojo siempre */
:where(html) .site-header__pill .btn,
:where(html) .site-header__pill .btn--primary{
  background:var(--cd-red-btn)!important;
  color:#fff!important;
  border:1px solid rgba(230,36,63,.5)!important;
  box-shadow:var(--cd-shadow-sm)!important
}
:where(html) .site-header__pill .btn:hover,
:where(html) .site-header__pill .btn--primary:hover{
  background:var(--cd-btn-red-hover)!important;
  color:#fff!important;
  border-color:rgba(230,36,63,.7)!important;
  box-shadow:var(--cd-shadow-sm)!important
}


/* ============================================================
   UX-VISUAL 2026-11-01 (A7 task 19) — tokens y capa compartida.
   Raiz: los mismos pares de color y sombras estaban repetidos en
   decenas de plantillas. Se definen UNA vez aqui y se aplican por
   familia de componente. Ratios WCAG en el informe
   (ops/logs/cro-review/a7-ux-visual-20261101/t19-contrast.py).
   - --cd-red-text     texto rojo PEQUENO sobre fondo claro (#e0e5ec/#fff)
   - --cd-red-on-dark  texto rojo sobre fondo oscuro (#0a0a0a..#2b2b2b)
   - --cd-red-btn      fondo de boton con texto blanco (4.78:1)
   - --cd-shadow-sm    UNICA sombra de elementos pequenos (sin brillo rojo)
   --cd-red (#e6243f) se conserva para acentos no textuales y titulares grandes.
   ============================================================ */
:root{
  --cd-red-text:#B0172D;
  --cd-red-on-dark:#FF6B7D;
  --cd-red-btn:#DF1F3A;
  --cd-shadow-sm:0 1px 2px rgba(17,24,39,.06),0 2px 6px rgba(17,24,39,.06);
}

/* --- Sombras: elementos pequenos planos, sin bisel ni halo de color --- */
:where(html) .btn--primary,
:where(html) .btn--dark-primary,
:where(html) .btn--secondary,
:where(html) .btn--primary:hover,
:where(html) .btn--dark-primary:hover,
:where(html) .btn--secondary:hover,
:where(html) .btn--primary:focus-visible,
:where(html) .btn--dark-primary:focus-visible,
:where(html) .cta-final__btn--primary,
:where(html) .cta-band__btn--primary,
:where(html) .aside-cta__btn--primary,
:where(html) .case-mid-cta__btn,
:where(html) .case-mobile-bar__btn,
:where(html) .cta-form__submit,
:where(html) .senal__form-submit,
:where(html) .cdx-btn-primary-dark,
:where(html) .cta-dark__submit,
:where(html) .ctc-submit,
:where(html) .chatbot-btn--primary,
:where(html) .cd-intro-casos__foot-btn--primary,
:where(html) .crc-btn,
:where(html) .crc-submit,
:where(html) .lux-submit,
:where(html) .cronuts-fmc__btn,
:where(html) .social--primary,
:where(html) .chip--active,
:where(html) .archive-letter,
:where(html) .archive-letter.is-active,
:where(html) .cases-foot__link,
:where(html) .cases-foot__link:hover,
:where(html) .crcf-ico,
:where(html) .service-card__arrow,
:where(html) .service-card--highlight .service-card__arrow,
:where(html) .service-card__icon,
:where(html) .service-card--highlight .service-card__icon,
:where(html) .value-card__icon,
:where(html) .stat__chip,
:where(html) .stat__delta,
:where(html) .product__icon,
:where(html) .product-card__icon,
:where(html) .int-stack__icon,
:where(html) .benefit-card__icon,
:where(html) .lux-form__icon,
:where(html) .tcard__icon,
:where(html) .site-footer .footer-socials a{
  box-shadow:var(--cd-shadow-sm)!important
}

/* --- Boton: texto blanco sobre rojo >= 4.5 (solo el FONDO del boton) --- */
:where(html) .btn--primary{ --btn-bg:var(--cd-red-btn) }
:where(html) .tag-new,
:where(html) .cronuts-geo-cta > a,
:where(html) .case-mobile-bar__btn,
:where(html) .chatbot-btn--primary,
:where(html) .chip--active{ background-color:var(--cd-red-btn)!important;color:#fff!important }
:where(html) .btn--primary:hover,
:where(html) .btn--dark-primary:hover{ background-color:var(--cd-red-btn) }
:where(html) .review__avatar.c4{ background-color:#8F6A09!important; color:#fff!important }
:where(html) .review__avatar.c1{ background-color:var(--cd-red-btn)!important }

/* --- Texto rojo sobre fondo OSCURO --- */
:where(html) .how-step__n,
:where(html) .loop-stage__n,
:where(html) .ctc-step__n,
:where(html) .site-footer__col > h4,
:where(html) .attr-feature .eyebrow,
:where(html) .system-feature .eyebrow,
:where(html) .geo-feature .eyebrow,
:where(html) #canales .eyebrow,
:where(html) #canales > div > p,
:where(html) #hallazgos .eyebrow,
:where(html) .geo-feature > div > div > p,
:where(html) .diag-callout__title,
:where(html) .sticky-cta__title em,
:where(html) .reviews-band__rating-link,
:where(html) .diag-reviews__link,
:where(html) .cronuts-related__card .kicker,
:where(html) .cronuts-recursos__card .kicker,
:where(html) .lux-hero__trust-num em,
:where(html) .lux__rail span,
:where(html) .hero__badge strong,
:where(html) .hero__meta-num em,
:where(html) .crcf-arr,
:where(html) [data-ti-section] a[rel~="noopener"][target="_blank"][style*="color: var(--cd-red)"]{
  color:var(--cd-red-on-dark)!important
}
/* Texto tinta (#242424) pintado dentro de un bloque oscuro (109 plantillas con style inline) */
:where(html) [data-ti-section][style*="#1a1a1a" i] div[style*="color: var(--cd-ink)"],
:where(html) .diag-reviews__score{ color:#E0E5EC!important }
:where(html) .cronuts-logos-strip__label{ color:#8A8A8A!important }
:where(html) .geo-engine__by,
:where(html) .channel > .channel__meta{ color:#9A9A9A!important }
:where(html) .site-footer__copy{ color:#8E8E8E!important }
:where(html) .hero__quote-author{ color:#fff!important }

/* --- Texto rojo PEQUENO sobre fondo CLARO --- */
:where(html) .strip__claim em,
:where(html) .truth__txt em,
:where(html) .review__text em,
:where(html) .team-card__role,
:where(html) .cite-block__btn,
:where(html) .cronuts-byline a,
:where(html) .cronuts-preferred-source--post a,
:where(html) .post-toc__label,
:where(html) .post-toc__cta a,
:where(html) .reviews-agg__link,
:where(html) .archive-card__cta,
:where(html) .product-card__link,
:where(html) .product-card__subtitle,
:where(html) .product-card__stat em,
:where(html) .product__tag,
:where(html) .article-card__arrow,
:where(html) .cronuts-next-step__eyebrow,
:where(html) .ctc-face__role,
:where(html) .crc-section-eyebrow,
:where(html) .crc-packs-title,
:where(html) .crc-panel-title,
:where(html) .stat__n em,
:where(html) main :is(p,li) > a:not([class]):not(.btn):not(:is(.section--dark,.cta-dark,[data-ti-section],.hero,footer,.site-footer,.attr-feature,#canales) *){
  color:var(--cd-red-text)!important
}
:where(html) .chip__count{ color:#4A4D52!important }
:where(html) .chip--active .chip__count{ color:#fff!important }
:where(html) .team-section__note,
:where(html) .int-stack .section__lead{ color:#545760!important }
:where(html) .cronuts-ti-light .nowrap,
:where(html) .cronuts-ti-light .nowrap strong{ color:var(--cd-ink)!important }

/* t27:begin */
/* ============================================================
   UX-CLEANUP 2026-11-01 (A7 task 27) - cola larga de contraste, boton rojo unico.
   --cd-btn-red (#DF1F3A, 4.78:1 con blanco) es el UNICO rojo de fondo de boton con
   texto blanco; --cd-btn-red-hover (#C8182F, 5.79:1) es su estado hover/active.
   Sustituye a #C71C33 (boton) y a #E6243F (boton con texto blanco). El #C71C33 de
   TEXTO sobre claro es otro token (--cd-red-text) y no se toca aqui.
   Especificidad: `html body` + clase para ganar a las reglas !important de plantilla
   (p.ej. `.post-body .prose a`), sin recurrir a inline.
   ============================================================ */
:root{
  --cd-btn-red:#DF1F3A;
  --cd-btn-red-hover:#C8182F;
  --cd-red-btn:var(--cd-btn-red);
  --cd-green-text:#0B6B3A;
}
html body :is(.btn--primary,.btn--dark-primary,.hero__btn--primary,.aia-btn--primary,.cta-card__btn,.cta-band__btn--primary,.senal__form-submit,.blog-search button,.cta-audit-geo__btn,.cta-pw__btn,.cta-roi__btn,.sl-hero__btn--primary,.sl-cta-banner__btn,.cronuts-fmc__btn,.chip--active,.tag-new,.case-mobile-bar__btn,.chatbot-btn--primary,.featured-card__author-avatar,.aside-cta__btn--primary,.cta-final__btn--primary,.cta-form__submit,.ctc-submit,.crc-btn,.crc-submit,.cd-intro-casos__foot-btn--primary,.cronuts-geo-cta > a,.team-card__badge,.archive-letter.is-active,.social--primary,.testimonial-block__avatar){
  background-color:var(--cd-btn-red)!important;color:#fff!important
}
html body .post-body .prose .cronuts-geo-cta > a:not(#_),html body .cronuts-geo-cta > a:not(#_){background-color:var(--cd-btn-red)!important;color:#fff!important}
html body .post-body .prose .cronuts-geo-cta > a:not(#_):is(:hover,:focus-visible){background-color:var(--cd-btn-red-hover)!important}
/* botones con fondo rojo en style inline (texto blanco): mismo rojo unico */
html body :is(a,button)[style*="background:#E6243F" i]:is([style*="color:#fff" i],[style*="color: #fff" i],[style*="color:#ffffff" i],[style*="color: #ffffff" i]),
html body :is(a,button)[style*="background: #E6243F" i]:is([style*="color:#fff" i],[style*="color: #fff" i],[style*="color:#ffffff" i],[style*="color: #ffffff" i]),
html body :is(a,button)[style*="background:var(--cd-red)" i]:is([style*="color:#fff" i],[style*="color: #fff" i],[style*="color:#ffffff" i],[style*="color: #ffffff" i]),
html body :is(a,button)[style*="background: var(--cd-red)" i]:is([style*="color:#fff" i],[style*="color: #fff" i],[style*="color:#ffffff" i],[style*="color: #ffffff" i]){background-color:var(--cd-btn-red)!important}
html body :is(.btn--primary,.btn--dark-primary,.hero__btn--primary,.aia-btn--primary,.cta-card__btn,.cta-band__btn--primary,.senal__form-submit,.blog-search button,.cta-audit-geo__btn,.cta-pw__btn,.cta-roi__btn,.sl-hero__btn--primary,.sl-cta-banner__btn,.cronuts-fmc__btn,.case-mobile-bar__btn,.chatbot-btn--primary,.aside-cta__btn--primary,.cta-final__btn--primary,.cta-form__submit,.ctc-submit,.cronuts-geo-cta > a):is(:hover,:focus-visible,:active){
  background-color:var(--cd-btn-red-hover)!important;color:#fff!important
}
html body .team-card--linked::after{background:var(--cd-btn-red)!important}
html body .header .btn--primary,html body .site-header__pill .btn,html body .site-header__pill .btn--primary{background-color:var(--cd-btn-red)!important}
html body .site-header__pill .btn:hover,html body .site-header__pill .btn--primary:hover,html body .btn.btn--dark-primary:hover{background-color:var(--cd-btn-red-hover)!important}
html body .btn.btn--dark-primary{background-color:var(--cd-btn-red)!important}
/* CookieHub (solo nuestra CSS): mismo rojo unico, mismo tamano y maquetacion. */
html body #ch2-dialog .ch2-btn.ch2-btn-primary,
html body .ch2-allow-all-btn.ch2-btn-primary,
html body .ch2-deny-all-btn.ch2-btn-primary{background-color:var(--cd-btn-red)!important;border-color:var(--cd-btn-red)!important;color:#fff!important}
html body #ch2-dialog .ch2-btn.ch2-btn-primary:hover,
html body .ch2-allow-all-btn.ch2-btn-primary:hover,
html body .ch2-deny-all-btn.ch2-btn-primary:hover{background-color:var(--cd-btn-red-hover)!important;border-color:var(--cd-btn-red-hover)!important}

/* --- Texto rojo / gris sobre fondo OSCURO --- */
html body .section--dark :is([style*="color: var(--cd-red)"],[style*="color:var(--cd-red)"],[style*="color:#E6243F" i],[style*="color: #E6243F" i]),
html body section[style*="#1a1a1a" i] :is([style*="color: var(--cd-red)"],[style*="color:var(--cd-red)"]),
html body .cdx-step-eyebrow,
html body .geo-social__reviews-link,
html body nav[aria-label="Legal"] > a,
html body .aside-cta__eyebrow,
html body .ctc-eyebrow,html body .ctc-form__kicker,
html body .crcf-wrap .crcf-arr,
html body .crc-results-head span,
html body .tcard__metrics .tcard__metric > *,
html body .case-card__cta > span[aria-hidden],
html body #canals p[style*="cd-red"],html body .proof .eyebrow,html body .cta-dark__guarantee strong,html body .cta-card__eyebrow,html body .site-footer__meta .dot,html body .sector-pain__num,html body .case-mid-cta__eyebrow,html body .ce-formats-cta__arrow,html body .case-mid-cta .eyebrow,
html body .conclusion :is(a,a span,em,strong),html body .cronuts-geo-cta :is(a:not([style*="background"]),em,strong){color:var(--cd-red-on-dark)!important}
html body section[style*="#1a1a1a" i] .container > div > div:is([style*="color: var(--cd-ink)"],[style*="color:var(--cd-ink)"]){color:var(--cd-ink-inv,#EBEAEA)!important}
html body :is(.geo-feature,.system-feature,.attr-feature,.proof) :is([style*="color: var(--cd-red)"],[style*="color:var(--cd-red)"]),
html body .section--dark .cd-btn{color:var(--cd-red-on-dark)!important}
html body .crcf-wrap .crcf-x{color:#A0A0AA!important}
html body .hero__trust-ctx{color:rgba(255,255,255,.66)!important}
html body .hero__scroll > span{color:rgba(255,255,255,.62)!important}
html body .kpi-strip__desc{color:rgba(255,255,255,.7)!important}
html body .case-chip--year{color:rgba(255,255,255,.78)!important}
html body .ctc-opt{color:rgba(255,255,255,.7)!important}
html body .ctc-consent > span > a{color:#FFBCC5!important}
html body .logos-strip--hero .logos-strip__label,html body .cronuts-logos-strip__label{color:rgba(255,255,255,.7)!important}
html body .how-step__meta > span{color:#A8A8A8!important}
html body .proof__label,html body .related__eyebrow{color:#A8A8A8!important}
html body .fit-card--no > .fit-card__title{color:var(--cd-ink-inv,#EBEAEA)!important}
html body .llms-how__n{color:rgba(244,244,245,.5)!important}
html body .ce-format__n{color:rgba(255,255,255,.62)!important}
html body .geo-value__num{color:rgba(244,244,245,.55)!important}
html body :is(.cta-card__hint,.cta-form__hint,.aside-cta__sub){color:rgba(255,255,255,.64)!important}
html body .case-card__metric > span{color:rgba(255,255,255,.95)!important}
html body .crc-insight{color:#D4D4DA!important}
html body .btn--secondary > span[aria-hidden]{opacity:1!important}
html body .use-case__n{opacity:1!important}
html body .prose thead tr[style*="color:#fff" i] > th,html body .prose thead tr[style*="color: #fff" i] > th{color:#fff!important}
html body .hero__btn--primary > span[aria-hidden]{color:#fff!important}
html body .team-carousel__eyebrow{color:#FFA3B0!important}
html body .team-carousel__subtext{color:rgba(255,255,255,.72)!important}
html body .stack-cta{color:rgba(255,255,255,.9)!important}
html body .cdx-analyst__badge{color:#FFB0BA!important}

/* --- Calculadora ROI: tokens neu corregidos en origen; aqui el rojo de texto --- */
html body.crc-page .crc-field-head .crc-val,
html body.crc-page .crc-step em,
html body.crc-page .crc-pk.is-on .crc-pk-tag{color:var(--cd-red-text)!important}
html body.crc-page .crc-step.is-done em{color:#fff!important;background:var(--cd-btn-red)!important}

/* --- CLS: ancho del h1 de hero independiente de la tipografia ---
   `max-width:18ch` depende de la fuente: con la tipografia de reserva (ch = 0,638em) el h1 medía 992 px y con Poppins
   (ch = 0,657em) 1.022 px, asi que al cambiar de fuente el titular pasaba de 3 a 2 lineas (91 px de salto, CLS 0,24
   en /paid-media/, /desarrollo-web/, /seo-geo/). 11,83em = 1.022 px a 86,4 px = 18ch de Poppins 700: mismo aspecto, ancho estable. */
html body .hero__title{max-width:11.83em!important}

/* Cabecera: el elemento header.site-header NO pinta nada fuera del radio de la pildora (medido: 0 sangrados en 154 ejecuciones);
   se deja explicito para que ninguna regla futura le ponga fondo/sombra propios. */
html body header.site-header{background:transparent!important;box-shadow:none!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}

/* --- CLS: reservar la altura de los widgets de reseñas que se hidratan tarde (Trustindex) ---
   Medido (1440 / 390): contacto 293 / 534 px, sector 308 / 549 px. Antes el contenedor medía 0-58 px y al hidratar empujaba
   todo lo de debajo (CLS 0,19 en /ca/contacte/ y en /sectores/*). */
html body .ctc-reviews__widget{min-height:293px}
html body .sector-page .sector-testimonials__widget{min-height:308px}
@media(max-width:720px){
  html body .ctc-reviews__widget{min-height:534px}
  html body .sector-page .sector-testimonials__widget{min-height:549px}
}
/* --- Texto rojo / gris sobre fondo CLARO (no-sector) --- */
html body :is(.cronuts-byline a,.post-body .prose .cronuts-byline a,.cronuts-byline > a),
html body :is(.product-card__chip--price,.product-card__chip,.blog-card__meta-read,.featured-card__cta,.featured-card__cta span,.ctc-cases-foot__cta,.term-card__cta,#archive-count,.roadmap__eta,.cd-tldr__eyebrow,.chatbot-areas .chatbot-section__eyebrow,.chatbot-faq .chatbot-section__eyebrow,.chatbot-conclusion .chatbot-section__eyebrow,.archive-card__letter,.cases-foot__arrow,strong[itemprop="jobTitle"],.social--link,.social--link span,.quote__text > em,.review__source-g,.cmp-hi,.wp-block-paragraph > .cd-btn:not(.section--dark *),.logos-strip__label > em),
html body :is(.cd-comparison__table th,.cd-glossary__item dd a,[itemprop="hasDefinedTerm"] > dt),
html body :is(a[href="#calculadora"][style*="cd-red"],a[href$="auditoria-geo/"][style*="cd-red"]),
html body main dd > a[rel~="noopener"]{color:var(--cd-red-text)!important}
/* texto rojo inline sobre fondo claro: solo fuera de contenedores oscuros conocidos */
html body main :is(p,span,em,strong,a,dt,div,li,td,th)[style*="color: var(--cd-red)"]:not(:is(.section--dark,.cta-dark,[data-ti-section],.hero,.cta-card,.senal,.ai-strip,.conclusion,.attr-feature,.cronuts-geo-cta,#opiniones,#canales,#canals,.cdx-card,.ctc-hero,.lux,.geo-feature,.system-feature,.proof,section[style*="#1a1a1a" i],aside[style*="background"],footer) *),
html body main :is(p,span,em,strong,a,dt,div,li,td,th)[style*="color:var(--cd-red)"]:not(:is(.section--dark,.cta-dark,[data-ti-section],.hero,.cta-card,.senal,.ai-strip,.conclusion,.attr-feature,.cronuts-geo-cta,#opiniones,#canales,#canals,.cdx-card,.ctc-hero,.lux,.geo-feature,.system-feature,.proof,section[style*="#1a1a1a" i],aside[style*="background"],footer) *){color:var(--cd-red-text)!important}
html body .chip__count{color:#4A4D52!important;opacity:1!important}
html body .chip--active .chip__count{color:#fff!important;opacity:1!important}
html body .chatbot-areas__card-num{color:var(--cd-green-text)!important}
html body .fact-pill__k,html body .tldr__label{color:#4F535B!important}
html body .use-case__n{color:rgba(176,23,45,.75)!important}
/* --- #servicios .stack-list: componente de tema oscuro sin superficie oscura (EN/CA de growth, /desarrollo-web/ x3,
   /analitica-datos/): el texto blanco caia sobre el body claro = invisible. Mismo arreglo que ya lleva la plantilla ES de growth,
   acotado a secciones NO oscuras para no tocar las paginas que lo usan dentro de section--dark. --- */
html body section#servicios.section:not(.section--dark) .stack-list{background:linear-gradient(180deg,rgba(255,255,255,.03) 0%,rgba(255,255,255,.01) 100%),var(--cd-canvas-dark,#242424)!important;box-shadow:var(--cd-nmd-out,0 12px 32px rgba(17,24,39,.18))!important}
html body section#servicios.section:not(.section--dark) .stack-item{text-decoration:none!important}
html body section#servicios.section:not(.section--dark) .stack-cta{color:var(--cd-ink,#242424)!important;border-bottom-color:rgba(36,36,36,.28)!important}
html body section#servicios.section:not(.section--dark) .stack-cta:hover{color:var(--cd-red-text)!important;border-bottom-color:var(--cd-red-text)!important}
html body section#servicios.section:not(.section--dark) .stack-item__tag--head{color:#FF8C9E!important}
/* t27:end */
/* t53:begin */
/* ============================================================
   ARREGLALO 2026-11-02 (A7 task 53) - contraste real medido con axe + pixeles en
   /, /contactar-consultora-digital-crecimiento/, /planes/, /desarrollo-web/, /glosario/ y las 3 URL CA.
   Solo color/fondo, con tokens ya existentes: --cd-ink (#242424), --cd-red-on-dark (#FF6B7D).
   - Trustindex (CSS del proveedor con selector [data-layout-id][data-set-id][data-pid] y !important
     de atributo): .ti-read-more #a2a2a2 y .ti-date #acacac sobre #444 (3,81 y 4,29) pasan a #FFFFFF y #C4C4C4
     (>= 10:1 y 5,6:1); .ti-rating blanco sobre el fondo CLARO de .cronuts-ti-light (1,26:1) pasa a --cd-ink.
   - .hero__trust-item:hover: el resplandor rojo (::before) deja el 66 % blanco de .hero__trust-ctx en 2,72:1.
   - .team-carousel__eyebrow sobre la foto del carrusel (3,2-4,1:1): fondo de contraste detras del texto.
   - Los 20 hallazgos estaticos de la linea base (lang-pill, .ctc-*, .section__lead, #opiniones, [data-ti-section])
     miden >= 4,5:1 en render real; la herramienta estatica supone el fondo claro del body. Ver t53-report.
   ============================================================ */
html body .ti-widget[data-layout-id] .ti-read-more,
html body .ti-widget[data-layout-id] .ti-read-more span{color:#FFFFFF!important;opacity:1!important}
html body .ti-widget[data-layout-id] .ti-widget-container .ti-date,
html body .ti-widget[data-layout-id] .ti-profile-details .ti-date{color:#C4C4C4!important}
html body .cronuts-ti-light .ti-widget[data-layout-id] .ti-rating,
html body .cronuts-ti-light .ti-widget[data-layout-id] .ti-rating-large{color:var(--cd-ink,#242424)!important}
html body .hero__trust-item:hover .hero__trust-ctx{color:#FFFFFF!important}
html body .ctc-form__kicker,html body .ctc-form .ctc-req{color:#FF8A9B!important}
html body .team-carousel__eyebrow{display:inline-block!important;background:rgba(18,18,18,.74)!important;padding:4px 10px!important;border-radius:999px!important}
/* Desbordamiento horizontal (todos los idiomas): .btn es inline-flex + nowrap; una etiqueta mas larga que la pantalla
   ensancha el viewport de maquetacion (/planes/ .ai-strip 373px a 360; /desarrollo-web/ 444px a 360 y 390). */
@media(max-width:600px){main .btn{max-width:100%;white-space:normal;text-align:center;justify-content:center}}
/* t53:end */

/* ============================================================
   UX-VISUAL — UNA regla de apilado para elementos flotantes.
   Orden de abajo arriba: CookieHub (#ch2-dialog) > barra sticky /
   barra movil de casos / flotante ROI. El flotante "Visibilidad IA"
   (fmc) se oculta por JS (cronuts-floating-magnet-cta.php 1.6.1) mientras
   haya sticky o CookieHub. El mecanismo de CookieHub ya existe
   (cronuts-a11y-cookiehub-dialog.php): pone body.cronuts-ch2-pad y
   --cronuts-ch2-pad = altura que tapa; aqui solo se reutiliza.
   Al llegar al pie, los flotantes se ocultan (body.cd-footer-in-view)
   para no tapar tel: ni el enlace de fuente preferida. Todo es
   position:fixed: no desplaza contenido (CLS=0).
   Kill switch: wp-content/cronuts-float-stack.off
   ============================================================ */
/* v1.x fix2 (2026-11-01): el desplazamiento por CookieHub se hace con la propiedad individual
   `translate` (compone con el `transform` de mostrar/ocultar de cada barra y NO cuenta como
   layout shift). Cambiar `bottom` en un elemento fixed si lo cuenta (CLS). Cada elemento
   conserva su `bottom` normal (el flotante ROI 12px en movil, 20px en escritorio), asi que el
   hueco sobre CookieHub es ese `bottom` y no un valor fijado aqui. */
body.cronuts-ch2-pad .sticky-cta,
body.cronuts-ch2-pad .case-mobile-bar,
body.cronuts-ch2-pad .crcf-wrap{ translate:0 calc(-1 * var(--cronuts-ch2-pad,0px)) }
body.cd-footer-in-view .sticky-cta,
body.cd-footer-in-view .case-mobile-bar,
body.cd-footer-in-view .crcf-wrap,
body.cd-footer-in-view .cronuts-fmc{ opacity:0!important;visibility:hidden!important;pointer-events:none!important }
/* Icono del flotante ROI: la regla inline de cronuts-roi-cta-global.php (bisel rosa/granate)
   gana a :where(html) .crcf-ico; con html .crcf-wrap .crcf-ico (0,2,1) usa la sombra plana. */
html .crcf-wrap .crcf-ico{ box-shadow:var(--cd-shadow-sm,none)!important }
/* /desarrollo-web/ a 390: el enlace corto «presupuesto cerrado» de .cd-def partia en 2 lineas.
   Solo envoltura (sin tocar copy): no se parte dentro del enlace. */
.cd-def p a[href*="presupuesto-web"],
.cd-def p a[href*="pressupost-web"]{ white-space:nowrap }

/* 5. Service cards */
:where(html) .service-card{
  background:#fff!important;
  border:1px solid rgba(36,36,36,.06)!important;
  color:#242424!important;
  box-shadow:0 12px 32px rgba(17,24,39,.06),0 2px 8px rgba(17,24,39,.04)!important;
  border-radius:14px!important
}
:where(html) .service-card:hover{
  border-color:rgba(230,36,63,.3)!important;
  transform:translateY(-2px);
  box-shadow:0 24px 56px rgba(17,24,39,.09),0 6px 18px rgba(17,24,39,.05)!important
}
:where(html) .service-card .service-card__title{ color:#242424!important }
:where(html) .service-card .service-card__eyebrow{ color:#C71C33!important; font-size:12px!important }
:where(html) .service-card .service-card__desc,
:where(html) .service-card .service-card__description{ color:#545760!important }
:where(html) .service-card .service-card__link{ color:#C71C33!important; font-weight:600!important } /* AA Z0 fase2d: #e6243f 4.48 -> #C71C33 5.77 (texto de enlace permanente sobre blanco) */
:where(html) .service-card .service-card__foot{ border-top-color:rgba(36,36,36,.08)!important }
:where(html) .service-card .service-card__icon{
  background:#fff!important;
  border:1px solid rgba(36,36,36,.08)!important;
  color:#e6243f!important
}
:where(html) .service-card .service-card__arrow{
  background:#fff!important;
  border:1px solid rgba(36,36,36,.12)!important;
  color:#242424!important;
  border-radius:999px!important
}
:where(html) .service-card:hover .service-card__arrow{
  background:#e6243f!important;
  border-color:#e6243f!important;
  color:#fff!important
}

/* 6. Section titles — light context */
:where(html) .section .section__title{ color:#242424 }
:where(html) .section .section__title em{ color:#e6243f; font-style:normal }
:where(html) .section .section__lead{ color:#545760 }

/* 7. Dark sections */
:where(html) .section--dark,
:where(html) [data-ti-section],
:where(html) #opiniones{ color:#fff!important }
:where(html) .section--dark .section__title,
:where(html) [data-ti-section] .section__title,
:where(html) #opiniones .section__title{ color:#fff!important }
:where(html) .section--dark .section__title em,
:where(html) [data-ti-section] .section__title em,
:where(html) #opiniones .section__title em{ color:#e6243f!important; font-style:normal }
:where(html) .section--dark .section__lead,
:where(html) [data-ti-section] .section__lead,
:where(html) #opiniones .section__lead{ color:rgba(255,255,255,.72)!important }

/* 8. Stats band */
:where(html) .stats-band .stat{
  background:#fff!important;
  color:#242424!important;
  border-radius:14px!important;
  box-shadow:0 12px 32px rgba(17,24,39,.06),0 2px 8px rgba(17,24,39,.04)!important
}
:where(html) .stats-band .stat__n{ color:#242424!important }
:where(html) .stats-band .stat__n em{ color:#e6243f!important; font-style:normal }
:where(html) .stats-band .stat__lbl{ color:#545760!important }
/* @id cronuts-blog-cover-aspect-fix */
:where(html) .featured-card__img{aspect-ratio:40/21!important;align-self:center!important}:where(html) .article-card__thumb{aspect-ratio:40/21!important}:where(html) .post-hero-img__wrap{aspect-ratio:40/21!important}:where(html) .related-card__img,:where(html) .aside-related__img{aspect-ratio:40/21!important}
/* @id cronuts-logos-strip-css */
.hero:has(.cronuts-logos-strip){padding-bottom:0!important;min-height:0!important}
.hero:has(.cronuts-logos-strip) .hero__grid,.hero:has(.cronuts-logos-strip) .hero__inner{padding-bottom:0!important;margin-bottom:0!important}
.hero:has(.cronuts-logos-strip) .hero__trust{margin-bottom:0!important}
.hero .cronuts-logos-strip{margin-top:24px;width:100%;margin-left:0}
.cronuts-logos-strip{position:relative;z-index:2;background:#0a0a0a;padding:18px 0 22px;border-top:1px solid rgba(255,255,255,0.08)}
.cronuts-logos-strip__container{max-width:1200px;margin:0 auto;padding:0 24px}
.cronuts-logos-strip__label{text-align:center;color:rgba(255,255,255,0.45);font-family:var(--font-display,'Poppins',sans-serif);font-size:11px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;margin:0 0 14px}
.cronuts-logos-strip__track-wrap{overflow:hidden;position:relative;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.cronuts-logos-strip__track{display:flex;gap:18px;width:max-content;animation:cronutsLogosMarquee 60s linear infinite}
.cronuts-logos-strip__item{flex-shrink:0;height:44px;width:140px;display:flex;align-items:center;justify-content:center;padding:0 20px}
.cronuts-logos-strip__item img{max-height:36px;max-width:100%;width:auto;height:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.6;transition:opacity 320ms ease,transform 320ms ease}
.cronuts-logos-strip__item:hover img{opacity:1;transform:scale(1.05)}
@keyframes cronutsLogosMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.cronuts-logos-strip__track{animation:none}}
/* @id cronuts-article-card-css */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { display: flex; flex-direction: column; background: var(--cd-canvas); border-radius: 14px; box-shadow: var(--nm-out); overflow: hidden; text-decoration: none; color: inherit; transition: transform 240ms, box-shadow 240ms; }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--nm-out-lg); }
.article-card:hover .article-card__thumb img { transform: scale(1.05); }
.article-card:hover .article-card__arrow { color: var(--cd-red); transform: translateX(4px); }
.article-card__thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #1a1a1a 0%, #2a0f15 50%, #4a0c1a 100%); }
.article-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
.article-card__thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,0.4); }
.article-card__thumb-fallback svg { width: 48px; height: 48px; }
.article-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.35) 100%); pointer-events: none; }
.article-card__chip { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(18,18,18,0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.12); font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.article-card__chip svg { width: 12px; height: 12px; color: var(--cd-red); }
.article-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-card__meta { font-family: var(--font-mono, ui-monospace, 'SF Mono', Menlo, monospace); font-size: 10.5px; color: var(--cd-ink-3); letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
.article-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--cd-ink-3); }
.article-card__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.28; letter-spacing: -0.015em; color: var(--cd-ink); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__excerpt { font-size: 13.5px; line-height: 1.55; color: var(--cd-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; margin-top: 4px; border-top: 1px dashed rgba(36,36,36,0.12); }
.article-card__author { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cd-ink-2); font-weight: 500; }
.article-card__author-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--cd-ink-2); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 10px; flex-shrink: 0; }
.article-card__arrow { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--cd-ink-3); transition: color 200ms, transform 200ms; }
@media (max-width: 1024px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .posts-grid { grid-template-columns: 1fr; } }
/* @id cronuts-site-footer-css */
.site-footer{background:#121212;color:rgba(255,255,255,.85);padding:96px 0 48px;font-family:var(--font-body,"Inter",system-ui,sans-serif)}
.site-footer .container{max-width:1400px;margin:0 auto;padding:0 clamp(1rem,4vw,2rem)}
.site-footer__shell{background:#121212;border-radius:16px;padding:48px;box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 24px 64px rgba(0,0,0,.5);display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px}
.site-footer .footer-eyebrow{font-family:var(--font-display,"Poppins",sans-serif);font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.45);margin-bottom:14px}
.site-footer .footer-col a{display:block;font-size:13px;padding:4px 0;color:rgba(255,255,255,.85);text-decoration:none;transition:color 160ms}
.site-footer .footer-col a:hover{color:#ff6b7d}
.site-footer .footer-brand{display:flex;flex-direction:column;gap:16px;max-width:320px}
.site-footer .footer-brand__lockup{display:flex;align-items:center;gap:12px;text-decoration:none}
.site-footer .footer-brand__eye{width:40px;height:40px;display:block;object-fit:contain;flex-shrink:0;background:transparent}
.site-footer .footer-brand__word{font-family:var(--font-display,"Poppins",sans-serif);font-weight:700;font-size:22px;line-height:1;letter-spacing:-.02em;color:#fff;display:inline-flex;align-items:baseline}
.site-footer .footer-brand__word .dot{color:#e6243f;padding:0 1px}
.site-footer .footer-brand p{color:rgba(255,255,255,.72);font-size:14px;line-height:1.55;margin:0}
.site-footer .footer-socials{display:flex;gap:10px;margin-top:4px;flex-wrap:wrap}
.site-footer .footer-socials a{width:40px;height:40px;border-radius:999px;background:#1a1a1a;box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 4px 12px rgba(0,0,0,.4);display:grid;place-items:center;color:#fff;padding:0;transition:color 180ms,transform 180ms}
.site-footer .footer-socials a:hover{color:#e6243f;transform:translateY(-1px)}
.site-footer .footer-socials a svg{width:16px;height:16px;stroke-width:1.8;display:block}
.site-footer__meta{margin-top:32px;padding-top:24px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center;font-family:ui-monospace,Menlo,monospace;font-size:10px;color:rgba(255,255,255,.45);letter-spacing:.04em;text-transform:uppercase;gap:16px;flex-wrap:wrap}
.site-footer__meta .dot{color:#e6243f}
.site-footer__meta-extra a{color:rgba(255,255,255,.7);text-decoration:none;transition:color 160ms}
.site-footer__meta-extra a:hover{color:#e6243f}
@media(max-width:1024px){.site-footer__shell{grid-template-columns:1fr 1fr;gap:32px}}
@media(max-width:720px){.site-footer{padding:64px 0 32px}.site-footer__shell{grid-template-columns:1fr;padding:32px;gap:28px}.site-footer__meta{flex-direction:column;align-items:flex-start}}
/* @id cronuts-ch2-pad-css */
body.cronuts-ch2-pad{padding-bottom:var(--cronuts-ch2-pad,0px)!important}