/* ============================================================
   LIMPIO  ·  capa final de desarrollatuweb.cl

   Referencia: lobocreaciones.cl - esquinas rectas, mucho aire,
   negro sobre blanco, el azul solo donde hay que hacer clic.

   Va cargada DESPUES de styles/visual-upgrade/corporate y todo
   aqui esta acotado a body.dtw-limpio. Para revertir se borra
   el <link> del head y la clase del body: nada mas.
   ============================================================ */

body.dtw-limpio {
  /* Barlow Condensed es una condensada tipo Impact: lee deportiva,
     no amigable. Archivo ya venia cargada y precargada en el head.
     292 de 311 reglas de fuente usan var(), asi que basta el token. */
  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;

  /* Lobo usa esquinas casi rectas. Estos tokens cubren los 63 radios
     que usan var(); los otros 315 son literales y van por clase. */
  --radius-sm: 3px;
  --radius:    4px;
  --radius-lg: 6px;

  /* 209 reglas de sombra hacian flotar cada bloque. Se reemplazan por
     una linea de 1px, que es como separa Lobo. */
  --shadow-sm: none;
  --shadow:    none;
  --shadow-lg: 0 2px 10px rgba(10,10,10,.05);

  --linea:   #E6E6E1;
  --fondo-tarjeta: #fff;
  --apagado: #6E6E6E;
}

/* -- 1 - Etiquetas: fuera la maquina de escribir en mayusculas --
   72 selectores combinaban Courier + uppercase + letter-spacing. En
   pantalla eso lee tecnico, casi militar, y era lo que mas enfriaba la
   pagina. Pasan a la fuente de texto, en minuscula y en gris. */
body.dtw-limpio .addon-card-note,
body.dtw-limpio .addon-card-note,
body.dtw-limpio .agency-kicker,
body.dtw-limpio .agency-proof-card span,
body.dtw-limpio .article-breadcrumb,
body.dtw-limpio .article-meta,
body.dtw-limpio .b-url,
body.dtw-limpio .blog-card__meta,
body.dtw-limpio .blog-cat,
body.dtw-limpio .blog-kicker,
body.dtw-limpio .blog-meta,
body.dtw-limpio .blog-tag,
body.dtw-limpio .bonus-note,
body.dtw-limpio .btn-add-cart,
body.dtw-limpio .calc-bd-value.faded,
body.dtw-limpio .calc-examples-title,
body.dtw-limpio .calc-label,
body.dtw-limpio .calc-live-label,
body.dtw-limpio .calc-result-label,
body.dtw-limpio .calc-row-label,
body.dtw-limpio .canva-editor-title,
body.dtw-limpio .canva-kicker,
body.dtw-limpio .canva-thumb span,
body.dtw-limpio .cart-empty p,
body.dtw-limpio .cart-item-icon,
body.dtw-limpio .cart-item-price,
body.dtw-limpio .cart-kicker,
body.dtw-limpio .cart-line,
body.dtw-limpio .cart-note,
body.dtw-limpio .cart-total-label,
body.dtw-limpio .conversion-shot__caption span,
body.dtw-limpio .currency-btn,
body.dtw-limpio .currency-toggle-label,
body.dtw-limpio .footer-bottom,
body.dtw-limpio .footer-col-title,
body.dtw-limpio .footer-mail,
body.dtw-limpio .footer-phone,
body.dtw-limpio .growth-board__url,
body.dtw-limpio .growth-label,
body.dtw-limpio .hero-badge,
body.dtw-limpio .hero-trust a,
body.dtw-limpio .hstat-l,
body.dtw-limpio .internal-link-card span,
body.dtw-limpio .internal-links__head span,
body.dtw-limpio .kw-count,
body.dtw-limpio .lead-flow span,
body.dtw-limpio .lobo-logos-label,
body.dtw-limpio .market-tag,
body.dtw-limpio .mobile-cta__text,
body.dtw-limpio .mock-nav,
body.dtw-limpio .newsletter h3,
body.dtw-limpio .pack-combo-old-price,
body.dtw-limpio .pack-combo-save,
body.dtw-limpio .pack-combo-tag,
body.dtw-limpio .partners > span,
body.dtw-limpio .plan-col-note,
body.dtw-limpio .plan-col-tag,
body.dtw-limpio .policy-toggle,
body.dtw-limpio .price-label,
body.dtw-limpio .process-step b,
body.dtw-limpio .quien-badge,
body.dtw-limpio .quien-soy-cap,
body.dtw-limpio .result-card figcaption span,
body.dtw-limpio .search-lines b,
body.dtw-limpio .seo-badge,
body.dtw-limpio .seo-boom-kicker,
body.dtw-limpio .seo-footer,
body.dtw-limpio .seo-header,
body.dtw-limpio .seo-metric em,
body.dtw-limpio .seo-score,
body.dtw-limpio .service-cart-btn,
body.dtw-limpio .service-custom__from,
body.dtw-limpio .service-custom__note,
body.dtw-limpio .service-custom__tag,
body.dtw-limpio .service-detail-card h4,
body.dtw-limpio .service-folio,
body.dtw-limpio .service-gift,
body.dtw-limpio .service-landing-kicker,
body.dtw-limpio .service-note,
body.dtw-limpio .service-price-note,
body.dtw-limpio .services-foot,
body.dtw-limpio .services-header__quote > span,
body.dtw-limpio .services-header__quote span,
body.dtw-limpio .services-list-number,
body.dtw-limpio .services-note,
body.dtw-limpio .sh-foot,
body.dtw-limpio .showcase-kicker,
body.dtw-limpio .sol-price small,
body.dtw-limpio .sol-tag,
body.dtw-limpio .stat span,
body.dtw-limpio .strip-label,
body.dtw-limpio .tech-logo-role,
body.dtw-limpio .tech-strip-label,
body.dtw-limpio .terms-foot p,
body.dtw-limpio .terms-term,
body.dtw-limpio .utilbar__claim,
body.dtw-limpio .utilbar__hours,
body.dtw-limpio .utilbar__link,
body.dtw-limpio .ux-command__eyebrow,
body.dtw-limpio .ux-panel__eyebrow,
body.dtw-limpio .ux-panel__label,
body.dtw-limpio versalitas {
  font-family: var(--font-body) !important;
  text-transform: none !important;
  letter-spacing: .01em !important;
  color: var(--apagado);
}

/* Los kickers de seccion se quedan en mayuscula: son cortos y ordenan
   la lectura. Solo pierden la fuente mono. */
body.dtw-limpio .section-kicker,
body.dtw-limpio .service-badge {
  font-family: var(--font-body) !important;
  letter-spacing: .08em !important;
  font-weight: 600;
}

/* Los botones no son comandos de terminal. */
body.dtw-limpio .btn-service,
body.dtw-limpio .btn-cart,
body.dtw-limpio .btn-add-cart {
  font-family: var(--font-body) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600;
  font-size: .95rem;
}

/* -- 2 - Esquinas rectas --
   378 reglas de radio y solo 63 con var(): hay que nombrarlas. */
body.dtw-limpio .service-card,
body.dtw-limpio .services-header,
body.dtw-limpio .services-header__quote,
body.dtw-limpio .service-gift,
body.dtw-limpio .service-features,
body.dtw-limpio .featured-card,
body.dtw-limpio .terms,
body.dtw-limpio .results,
body.dtw-limpio .stat-band,
body.dtw-limpio .showcase,
body.dtw-limpio .tech-strip,
body.dtw-limpio .split-cta,
body.dtw-limpio .video-card,
body.dtw-limpio .blog-card,
body.dtw-limpio .btn-service,
body.dtw-limpio .btn-cart,
body.dtw-limpio .btn,
body.dtw-limpio .hero-badge {
  border-radius: var(--radius) !important;
  box-shadow: none !important;
}

/* Lo que si debe seguir redondo: pildoras, banderas y el flotante de
   WhatsApp. Van despues para ganar la cascada. */
body.dtw-limpio .currency-btn,
body.dtw-limpio .cur-flag,
body.dtw-limpio .blog-tag,
body.dtw-limpio .wa-float,
body.dtw-limpio [class*="avatar"],
body.dtw-limpio [class*="pill"] {
  border-radius: 999px !important;
}

/* -- 3 - Separar con linea, no con sombra ni con fondo de color -- */
body.dtw-limpio .service-card,
body.dtw-limpio .featured-card,
body.dtw-limpio .video-card {
  border: 1px solid var(--linea) !important;
  background: var(--fondo-tarjeta) !important;
  transition: border-color 160ms ease;
}
body.dtw-limpio .service-card:hover,
body.dtw-limpio .featured-card:hover {
  border-color: #0A0A0A !important;
  box-shadow: none !important;
}

/* El celeste detras de los precios cortaba la pagina en dos y parecia
   otro sitio. Lobo no cambia de fondo: cambia de aire. */
html:not(.dark) body.dtw-limpio .services-section,
html:not(.dark) body.dtw-limpio .featured-services,
html:not(.dark) body.dtw-limpio .results,
html:not(.dark) body.dtw-limpio .blog-home,
html:not(.dark) body.dtw-limpio .tech-strip {
  background: #fff !important;
}

/* -- 4 - Aire --
   Lobo respira. Aca las secciones venian pegadas una sobre otra. */
body.dtw-limpio .services-section,
body.dtw-limpio .featured-services,
body.dtw-limpio .results,
body.dtw-limpio .showcase,
body.dtw-limpio .videos-home,
body.dtw-limpio .blog-home,
body.dtw-limpio .split-cta {
  padding-top: clamp(72px, 9vw, 128px) !important;
  padding-bottom: clamp(72px, 9vw, 128px) !important;
}
body.dtw-limpio .stat-band,
body.dtw-limpio .tech-strip {
  padding-top: clamp(48px, 6vw, 80px) !important;
  padding-bottom: clamp(48px, 6vw, 80px) !important;
}

/* -- 5 - El azul, solo donde se hace clic --
   Habia mas de veinte ticks azules en la grilla de precios. El check
   pasa a gris y el azul queda para botones y enlaces. */
body.dtw-limpio .service-features li::before,
body.dtw-limpio .service-features li::marker {
  color: #9A9A9A !important;
}

/* Titulares: Archivo respira distinto que una condensada. */
body.dtw-limpio h1,
body.dtw-limpio h2,
body.dtw-limpio h3 {
  letter-spacing: -.02em;
  text-wrap: balance;
  font-weight: 700;
}
body.dtw-limpio h2 { line-height: 1.12; }

/* Texto: ancho de lectura comodo. */
body.dtw-limpio p { max-width: 68ch; }
body.dtw-limpio .service-card p { max-width: none; }


/* ============================================================
   Correcciones de la segunda pasada
   ============================================================ */

/* -- El check no era un caracter --
   corporate.css lo dibuja con dos bordes rotados:
     border: 1.6px solid var(--c-blue)
   Por eso "color" no lo apagaba. Hay mas de veinte en la grilla de
   precios y todos gritaban en azul. */
body.dtw-limpio .service-features li::before {
  border-color: #A3A3A3 !important;
}

/* -- El precio se leia en tres estilos a la vez --
   "$300" grande en display, ".000" chico en gris y "+ IVA" en Courier
   azul. Es la cifra mas importante de la pagina ahora que los precios
   van primero: se lee como un solo numero. */
body.dtw-limpio .price-k {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
  letter-spacing: inherit !important;
}
body.dtw-limpio .price-iva {
  font-family: var(--font-body) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: .8rem !important;
  color: #6E6E6E !important;
  font-weight: 400 !important;
}

/* -- Dos botones por tarjeta duplicaban la decision --
   El secundario ("Agregar a cotizacion") baja a enlace de texto: sigue
   ahi para quien arma varios planes, pero deja de competir. */
body.dtw-limpio .btn-cart {
  background: transparent !important;
  border: 0 !important;
  color: #6E6E6E !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 10px 0 0 !important;
  font-weight: 400 !important;
}
body.dtw-limpio .btn-cart:hover { color: #0A0A0A !important; }

/* El boton principal: negro como en Lobo, el azul se guarda para los
   enlaces. Un solo elemento azul por pantalla, no siete. */
body.dtw-limpio .btn-service {
  background: #0A0A0A !important;
  border-color: #0A0A0A !important;
  color: #fff !important;
}
body.dtw-limpio .btn-service:hover {
  background: #2563EB !important;
  border-color: #2563EB !important;
}


/* ============================================================
   Tercera pasada: medidas tomadas sobre la captura
   ============================================================ */

/* -- El aire se paso de la raya --
   La franja de datos cerraba con 80px y la seccion de precios abria con
   128px: 208px de nada entre dos bloques a 1440. Se recorta a la mitad
   y siguen respirando. */
body.dtw-limpio .services-section,
body.dtw-limpio .featured-services,
body.dtw-limpio .results,
body.dtw-limpio .showcase,
body.dtw-limpio .videos-home,
body.dtw-limpio .split-cta {
  padding-top: clamp(56px, 5.5vw, 88px) !important;
  padding-bottom: clamp(56px, 5.5vw, 88px) !important;
}
body.dtw-limpio .stat-band,
body.dtw-limpio .tech-strip {
  padding-top: clamp(36px, 3.5vw, 52px) !important;
  padding-bottom: clamp(36px, 3.5vw, 52px) !important;
}

/* -- La letra chica de los precios --
   #64748b sobre blanco a menos de 13px queda al limite de lo legible, y
   es justo donde dice que los valores son netos. Se oscurece. */
body.dtw-limpio .services-note {
  color: #4A4A4A !important;
  line-height: 1.75;
}

/* -- Menos azul de fondo --
   El showcase venia en celeste, que empuja toda la pagina hacia el frio.
   Un neutro tibio separa igual y da el tono amable. */
html:not(.dark) body.dtw-limpio .showcase {
  background: #FAFAF8 !important;
}


/* ============================================================
   Cuarta pasada: la mitad derecha vacia, los logos y el azul
   ============================================================ */

/* -- 1 - Servicios ocupaba el 30% izquierdo --
   .featured-services-grid es de dos columnas y la derecha llevaba un
   .service-visual-card: una mancha abstracta y una pantalla falsa con
   cuatro barras grises, marcada aria-hidden. Es relleno decorativo y se
   comia media pagina a 1440. Fuera, y los cuatro servicios reales pasan a
   dos columnas. */
body.dtw-limpio .service-visual-card { display: none !important; }
body.dtw-limpio .featured-services-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}
/* Los cuatro servicios pasan de rejilla 2x2 a carrusel que avanza solo.
   El !important es obligatorio: corporate.css fija display en la lista. */
body.dtw-limpio .services-list {
  display: flex !important;
  /* styles.css deja esta lista en flex-direction: column. Sin pisarlo,
     heredar solo el display dejaba las fichas apiladas en movil. */
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1.5rem !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
body.dtw-limpio .services-list::-webkit-scrollbar { display: none; }
body.dtw-limpio .services-list:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 4px;
}
body.dtw-limpio .services-list-item {
  /* styles.css la arma como grid de tres columnas (numero | texto | hueco).
     Dentro de una ficha de 340px eso partia el titulo en tres lineas y
     dejaba el texto en una columna de dos palabras de ancho. */
  display: block !important;
  flex: 0 0 min(340px, 82%);
  scroll-snap-align: start;
  border: 1px solid var(--linea) !important;
  border-radius: var(--radius) !important;
  padding: 24px !important;
  background: #fff;
}
/* El numero ya separa con su propio padding; el margen que el navegador
   le pone al h3 encima abria 31px muertos dentro de la ficha. */
body.dtw-limpio .services-list-item h3 { margin-top: 0; }

/* styles.css dibuja una barra teal absoluta (left:25px, de arriba abajo):
   era el hilo que unia los cuatro pasos cuando iban apilados en una sola
   columna. Con fichas sueltas cae justo encima del texto y ademas es el
   unico teal que queda en la pagina. */
body.dtw-limpio .featured-services .services-list-item::after { display: none; }
@media (min-width: 900px) {
  body.dtw-limpio .services-list-item {
    /* Tres a la vista: la cuarta asomando es lo que avisa que hay mas. */
    flex-basis: calc((100% - 3rem) / 3);
  }
}

/* -- 2 - Los logos no necesitan tarjeta --
   Estaban dentro de una caja de 250x148 con borde y fondo. Lobo los pone
   sobre el fondo de la seccion y ya. */
body.dtw-limpio .tech-logo-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 24px !important;
  opacity: .55;
  filter: grayscale(1);
  transition: opacity 180ms ease, filter 180ms ease;
}
body.dtw-limpio .tech-logo-card:hover { opacity: 1; filter: none; }
body.dtw-limpio .tech-logo-row { gap: clamp(28px, 5vw, 72px) !important; }

/* -- 3 - Resultados iba centrado y el resto a la izquierda --
   Ademas traia dos SVG decorativos: una flecha azul en diagonal y un
   degradado de fondo. Es clip art; el dato son las capturas. */
body.dtw-limpio .results-head,
body.dtw-limpio .results-title,
body.dtw-limpio .results-head p {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.dtw-limpio .results-bg,
body.dtw-limpio .results-arrow,
body.dtw-limpio .results-line { display: none !important; }

/* -- 4 - El azul estaba en todo --
   Los numeros de la franja los pintaba corporate.css con
   color: var(--c-blue) !important. Pasan a negro: el dato pesa por lo que
   dice, no por el color. El azul se guarda para lo que se hace clic. */
body.dtw-limpio .stat-number {
  color: #0A0A0A !important;
  font-weight: 700 !important;
}
body.dtw-limpio .showcase-kicker,
body.dtw-limpio .section-kicker,
body.dtw-limpio .results .showcase-kicker,
body.dtw-limpio .split-cta .showcase-kicker,
body.dtw-limpio .tech-strip-label,
body.dtw-limpio .lobo-logos-label {
  color: #6E6E6E !important;
  text-shadow: none !important;
}

/* La franja traia border-radius: 12px 78px 12px 12px, una esquina
   inflada que no se repite en ninguna otra parte. */
body.dtw-limpio .lobo-stats .stat-card {
  border-radius: var(--radius) !important;
  background: transparent !important;
  min-height: 0 !important;
  padding: 0 2.5rem 0 0 !important;
}

/* Al sacar la tarjeta de 250x148 cada logo volvio a su tamano natural, y
   las proporciones no se parecen en nada: cliniccel es 121x108 y lordxfit
   372x88. Se topan alto Y ancho para que queden opticamente parejos, y la
   fila deja de envolverse (WAMJ caia solo a una segunda linea). */
body.dtw-limpio .tech-logo-card img {
  height: 42px !important;
  width: auto !important;
  max-width: 168px !important;
  object-fit: contain !important;
}
body.dtw-limpio .tech-logo-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(32px, 6vw, 88px) !important;
}


/* ============================================================
   Quinta pasada: el hero
   ============================================================ */

/* Era el unico bloque oscuro de una pagina que despues es toda blanca, y
   se leia como dos sitios pegados. Lobo abre en claro, con el titular en
   negro y aire alrededor. Se conserva el mockup del navegador, que es la
   pieza que sostiene el lado derecho.

   Lo pintaban tres capas a la vez:
     styles.css        .hero
     visual-upgrade    background: var(--upgrade-ink) !important
     corporate.css     background: var(--c-ink)
   Por eso van todas las declaraciones con !important. */
html:not(.dark) body.dtw-limpio .hero {
  background: #F7F6F2 !important;
  color: #0A0A0A !important;
  border-bottom: 1px solid var(--linea) !important;
  min-height: 0 !important;
  padding-top: clamp(52px, 6.5vw, 96px) !important;
  padding-bottom: clamp(52px, 6.5vw, 96px) !important;
}

/* Adornos que solo funcionaban sobre fondo oscuro: una linea vertical al
   57%, una "DW" gigante al 2.5% de opacidad, una grilla de puntos y dos
   resplandores cian. Sobre claro no se ven o ensucian. */
body.dtw-limpio .hero::before,
body.dtw-limpio .hero::after,
body.dtw-limpio .hero-visual::before,
body.dtw-limpio .hero-right::after {
  display: none !important;
  content: none !important;
}

/* El titular ocupaba seis lineas: 6.65rem con max-width 600px y
   line-height .83. Se baja el cuerpo y se ensancha la medida para que
   caiga en tres o cuatro. */
body.dtw-limpio .hero-title {
  max-width: 17ch !important;
  color: #0A0A0A !important;
  font-size: clamp(2.35rem, 4.4vw, 3.9rem) !important;
  line-height: 1.04 !important;
  font-stretch: 100% !important;
  letter-spacing: -.025em !important;
  text-shadow: none !important;
}
/* "clientes" es el unico acento de color de toda la pantalla. */
body.dtw-limpio .hero-title em {
  color: #2563EB !important;
  font-style: normal !important;
}

body.dtw-limpio .hero-sub {
  max-width: 52ch !important;
  color: #4A4A4A !important;
  font-size: 1.08rem !important;
}
body.dtw-limpio .hero-sub strong { color: #0A0A0A !important; }

/* El badge tenia borde, fondo translucido y blur: sobre claro sobra. */
body.dtw-limpio .hero-badge {
  padding: 0 0 9px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--linea) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #6E6E6E !important;
  -webkit-text-fill-color: currentColor !important;
  backdrop-filter: none !important;
}

/* Botones: negro solido y contorno fino, igual que en la grilla de
   precios. Antes eran dos azules distintos. */
body.dtw-limpio .hero .btn-primary {
  background: #0A0A0A !important;
  border: 1px solid #0A0A0A !important;
  color: #fff !important;
}
body.dtw-limpio .hero .btn-primary:hover {
  background: #2563EB !important;
  border-color: #2563EB !important;
}
body.dtw-limpio .hero .btn-outline {
  background: transparent !important;
  border: 1px solid #0A0A0A !important;
  color: #0A0A0A !important;
}
body.dtw-limpio .hero .btn-outline:hover {
  background: #0A0A0A !important;
  color: #fff !important;
}

/* Los tres enlaces de abajo quedaban flotando muy separados. */
body.dtw-limpio .hero-trust,
body.dtw-limpio .hero-trust a { color: #6E6E6E !important; }
body.dtw-limpio .hero-trust a:hover { color: #0A0A0A !important; }

/* El mockup venia calculado para flotar sobre fondo oscuro. Sobre claro
   necesita un borde fino para no desaparecer. */
body.dtw-limpio .growth-board {
  background: #fff !important;
  border: 1px solid var(--linea) !important;
  box-shadow: 0 18px 50px rgba(10, 10, 10, .09) !important;
}

/* El punto del badge esta posicionado en absoluto a left:.8rem, contando
   con el padding que la caja tenia antes. Al sacar el padding se monto
   encima de la primera letra. */
body.dtw-limpio .hero-badge::before {
  display: none !important;
  content: none !important;
}

/* Los pilares del hero: contorno fino, sin pildora ni sombra de color. */
body.dtw-limpio .hero .btn-primary,
body.dtw-limpio .hero .btn-outline {
  border-radius: var(--radius) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* -- Coherencia de la llamada a la accion --
   El boton del nav quedaba azul brillante mientras el del hero, cien
   pixeles mas abajo, ya era negro. Se unifican: negro, y el azul aparece
   solo al pasar el mouse. */
body.dtw-limpio .nav-cta {
  background: #0A0A0A !important;
  border-color: #0A0A0A !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
}
body.dtw-limpio .nav-cta:hover {
  background: #2563EB !important;
  border-color: #2563EB !important;
}

/* -- La franja de datos --
   No era una linea azul: eran tres bordes de 4px de colores distintos
   (azul, cian y lima) sobre cada tarjeta, que juntos parecian una regla
   continua. Pasan a una sola hairline gris. */
body.dtw-limpio .stat-card,
body.dtw-limpio .stat-card:nth-child(2),
body.dtw-limpio .stat-card:nth-child(3) {
  border-top: 1px solid var(--linea) !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-bottom: 0 !important;
}
body.dtw-limpio .stat-card::before,
body.dtw-limpio .stat-card::after {
  display: none !important;
  content: none !important;
}

/* El em heredaba otro line-height y abria un renglon de mas justo en la
   linea de "clientes,". */
body.dtw-limpio .hero-title em {
  line-height: inherit !important;
  font-size: inherit !important;
}

/* En movil los tres enlaces del hero quedaban centrados y con 66px de
   aire entre cada uno, mientras el resto de la columna va a la izquierda.
   Se apilan pegados y alineados con el titular. */
@media (max-width: 760px) {
  body.dtw-limpio .hero-trust {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: .6rem !important;
    margin-top: 1.75rem !important;
    text-align: left !important;
  }
  /* Cada enlace era inline-flex con width:100% y justify-content:center,
     por eso el texto salia centrado aunque la columna vaya a la izquierda. */
  body.dtw-limpio .hero-trust a {
    width: auto !important;
    justify-content: flex-start !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    text-align: left !important;
  }
}

/* La linea sobre los enlaces del hero era blanca al 16%: sobre el fondo
   claro no se ve. Pasa a la hairline del resto del sitio. */
body.dtw-limpio .hero-trust {
  border-top-color: var(--linea) !important;
}
body.dtw-limpio .hero-trust a {
  border-bottom-color: transparent !important;
}


/* ============================================================
   Carrusel de precios
   ============================================================ */

/* Las siete fichas caian en una grilla de 3 columnas: la ultima quedaba
   sola en su fila y en movil se apilaban en una columna larguisima. Pasan
   a una pista horizontal con scroll-snap nativo. El navegador hace el
   desplazamiento; el script solo pone flechas y puntos, asi que sin JS las
   siete siguen alcanzables arrastrando o con el teclado. */
body.dtw-limpio .carrusel-precios { position: relative; }

body.dtw-limpio .services-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 24px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  scroll-behavior: smooth;
  /* espacio para que la sombra del foco no se corte */
  padding: 4px 4px 20px !important;
  margin-inline: -4px;
  /* la barra nativa sobra: ya hay flechas y puntos */
  scrollbar-width: none;
}
body.dtw-limpio .services-grid::-webkit-scrollbar { display: none; }

body.dtw-limpio .services-grid .service-card {
  flex: 0 0 calc((100% - 48px) / 3) !important;
  scroll-snap-align: start;
  min-width: 0;
}
@media (max-width: 1080px) {
  body.dtw-limpio .services-grid .service-card {
    flex-basis: calc((100% - 24px) / 2) !important;
  }
}
@media (max-width: 720px) {
  body.dtw-limpio .services-grid { gap: 16px !important; }
  body.dtw-limpio .services-grid .service-card {
    flex-basis: 86% !important;
  }
}

/* El foco del teclado tiene que verse: la pista es focusable y sin esto no
   habria forma de saber que las flechas del teclado ya la mueven. */
body.dtw-limpio .services-grid:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 4px;
}

/* ── controles ── */
body.dtw-limpio .carrusel-precios__ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}
body.dtw-limpio .carrusel-precios--sin-controles .carrusel-precios__ctrl {
  display: none;
}

body.dtw-limpio .carrusel-precios__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  background: #fff;
  color: #0A0A0A;
  font-size: 1rem;
  line-height: 1;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}
body.dtw-limpio .carrusel-precios__btn:hover:not(:disabled) {
  border-color: #0A0A0A;
  background: #0A0A0A;
  color: #fff;
}
body.dtw-limpio .carrusel-precios__btn:disabled {
  opacity: .32;
  cursor: default;
}

body.dtw-limpio .carrusel-precios__puntos {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.dtw-limpio .carrusel-precios__punto {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #D4D4CE;
  transition: background 160ms ease, width 160ms ease;
}
body.dtw-limpio .carrusel-precios__punto.is-activo {
  width: 22px;
  background: #0A0A0A;
}

@media (prefers-reduced-motion: reduce) {
  body.dtw-limpio .services-grid { scroll-behavior: auto; }
  body.dtw-limpio .carrusel-precios__punto { transition: none; }
}


/* ============================================================
   Herramientas  ·  carrusel con degradado a los lados
   ============================================================ */

html:not(.dark) body.dtw-limpio .herramientas {
  background: #fff !important;
  border-top: 1px solid var(--linea);
  padding-block: clamp(56px, 5.5vw, 88px);
}
body.dtw-limpio .herramientas__inner {
  max-width: var(--container, 1240px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 28px);
}
body.dtw-limpio .herramientas__copy {
  margin: .6rem 0 2.2rem;
  max-width: 56ch;
  color: #4A4A4A;
}

/* La pista es el elemento que se desplaza; el degradado va en el padre,
   por encima y sin capturar clics, para que los enlaces sigan pinchables
   debajo de la zona difuminada. */
body.dtw-limpio .carrusel-tools { position: relative; }
body.dtw-limpio .carrusel-tools::before,
body.dtw-limpio .carrusel-tools::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(36px, 7vw, 88px);
  pointer-events: none;
}
body.dtw-limpio .carrusel-tools::before {
  left: 0;
  background: linear-gradient(90deg, #fff 12%, rgba(255, 255, 255, 0) 100%);
}
body.dtw-limpio .carrusel-tools::after {
  right: 0;
  background: linear-gradient(270deg, #fff 12%, rgba(255, 255, 255, 0) 100%);
}

body.dtw-limpio .carrusel-tools__pista {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 4px;
  margin: -4px;
  scrollbar-width: none;
}
body.dtw-limpio .carrusel-tools__pista::-webkit-scrollbar { display: none; }
body.dtw-limpio .carrusel-tools__pista:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 4px;
}

/* Todas las fichas miden exactamente lo mismo: el ancho lo fija la ficha,
   no el logo, asi que las proporciones dispares de cada marca dejan de
   importar. Fue justo lo que descuadro la franja de clientes. */
body.dtw-limpio .tool-card {
  flex: 0 0 232px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  /* La ficha entera es un <a>, asi que el subrayado global de enlaces
     (styles.css, con !important) rayaba las dos lineas de texto. */
  text-decoration: none !important;
  transition: border-color 160ms ease, transform 160ms ease;
}
body.dtw-limpio .tool-card:hover {
  border-color: #0A0A0A;
  transform: translateY(-2px);
}

/* La marca en gris y a color solo al pasar el mouse: mismo trato que la
   franja de clientes, para no meter siete colores de golpe en una pagina
   que quedo en blanco y negro. */
body.dtw-limpio .tool-card__marca {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: filter 160ms ease, opacity 160ms ease;
}
body.dtw-limpio .tool-card:hover .tool-card__marca {
  filter: none;
  opacity: 1;
}

body.dtw-limpio .tool-card__nombre {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.01em;
  color: #0A0A0A;
}
body.dtw-limpio .tool-card__uso {
  font-size: .88rem;
  line-height: 1.5;
  color: #6E6E6E;
}

@media (max-width: 560px) {
  body.dtw-limpio .tool-card { flex-basis: 208px; }
}
@media (prefers-reduced-motion: reduce) {
  body.dtw-limpio .carrusel-tools__pista { scroll-behavior: auto; }
  body.dtw-limpio .tool-card,
  body.dtw-limpio .tool-card__marca { transition: none; }
  body.dtw-limpio .tool-card:hover { transform: none; }
}

/* El H2 de herramientas se estiraba de lado a lado mientras los demas
   caen en dos o tres lineas. Misma medida que el resto. */
body.dtw-limpio .herramientas h2 { max-width: 20ch; }

/* WooCommerce es un wordmark: ancho y bajo. Con la caja cuadrada de los
   demas quedaba diminuto, asi que lleva su propia proporcion. */
body.dtw-limpio .tool-card__marca[src*="woocommerce"] {
  width: 60px;
  height: 26px;
}

/* Los degradados aparecen segun donde este el scroll: a la izquierda solo
   cuando ya hay algo detras. Sin esto, el de la izquierda lavaba la primera
   ficha al cargar, que es justo cuando no hay nada que difuminar. */
body.dtw-limpio .carrusel-tools::before { opacity: 0; transition: opacity 180ms ease; }
body.dtw-limpio .carrusel-tools::after  { opacity: 1; transition: opacity 180ms ease; }
body.dtw-limpio .carrusel-tools.hay-antes::before { opacity: 1; }
body.dtw-limpio .carrusel-tools.sin-despues::after { opacity: 0; }

/* ============================================================
   CARRUSEL DE SERVICIOS  ·  avanza solo

   Se mueve sin que nadie lo toque, asi que lleva boton de pausa:
   el contenido en movimiento que arranca solo y dura mas de cinco
   segundos necesita una forma de detenerlo (WCAG 2.2.2). El script
   ademas lo frena al pasar el mouse, al enfocar con el teclado y
   cuando la seccion no esta a la vista.
   ============================================================ */
body.dtw-limpio .carrusel-servicios { position: relative; }

body.dtw-limpio .carrusel-servicios::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 72px;
  bottom: 52px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 82%);
  opacity: 1;
  transition: opacity 180ms ease;
}
body.dtw-limpio .carrusel-servicios.sin-despues::after { opacity: 0; }

body.dtw-limpio .carrusel-servicios__barra {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  min-height: 28px;
}

body.dtw-limpio .carrusel-servicios__pausa {
  font-family: var(--font-body);
  font-size: .84rem;
  color: #6E6E6E;
  background: none;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
body.dtw-limpio .carrusel-servicios__pausa:hover,
body.dtw-limpio .carrusel-servicios__pausa:focus-visible {
  border-color: #0A0A0A;
  color: #0A0A0A;
}

body.dtw-limpio .carrusel-servicios__puntos {
  display: flex;
  gap: 8px;
}
body.dtw-limpio .carrusel-servicios__punto {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  background: var(--linea);
  cursor: pointer;
  transition: background 160ms ease;
}
body.dtw-limpio .carrusel-servicios__punto.es-actual { background: #0A0A0A; }
body.dtw-limpio .carrusel-servicios__punto:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body.dtw-limpio .services-list { scroll-behavior: auto; }
}

/* ============================================================
   BLOG EN LA HOME

   El hueco existia desde antes: el comentario BLOG SEO estaba en el
   HTML sin nada dentro. Las fichas las escribe
   tools/generar_blog_home.py desde blog-posts.json; la portada es por
   categoria, no por articulo.
   ============================================================ */
body.dtw-limpio .blog-home__inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
}
body.dtw-limpio .blog-home h2 {
  max-width: 22ch;
  margin: 12px 0 14px;
}
body.dtw-limpio .blog-home__copy {
  max-width: 58ch;
  color: #6E6E6E;
  margin-bottom: 40px;
}

body.dtw-limpio .blog-home__grilla {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

body.dtw-limpio .blog-home__enlace {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  /* Misma trampa que en .tool-card: la ficha entera es un <a> y el
     subrayado global de enlaces raya titulo, bajada y fecha. */
  text-decoration: none !important;
  transition: border-color 160ms ease, transform 160ms ease;
}
body.dtw-limpio .blog-home__enlace:hover {
  border-color: #0A0A0A;
  transform: translateY(-2px);
}

body.dtw-limpio .blog-home__portada {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--linea);
}

body.dtw-limpio .blog-home__tema {
  margin: 20px 24px 0;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2563EB;
}
body.dtw-limpio .blog-home__titulo {
  margin: 10px 24px 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: #0A0A0A;
}
body.dtw-limpio .blog-home__bajada {
  margin: 10px 24px 0;
  font-size: .92rem;
  line-height: 1.6;
  color: #6E6E6E;
}
body.dtw-limpio .blog-home__meta {
  margin: 16px 24px 22px;
  padding-top: 14px;
  border-top: 1px solid var(--linea);
  font-size: .8rem;
  color: #9A9A9A;
  /* Empuja la fecha al fondo para que las fichas de distinto largo
     terminen con la misma linea. */
  margin-top: auto;
}

body.dtw-limpio .blog-home__todos {
  display: inline-block;
  margin-top: 40px;
  font-weight: 600;
  color: #2563EB;
}

@media (prefers-reduced-motion: reduce) {
  body.dtw-limpio .blog-home__enlace { transition: none; }
  body.dtw-limpio .blog-home__enlace:hover { transform: none; }
}
