/* Cómo trabajamos (inicio) */
body .ct { padding: 90px 0 !important; }
body .ct-in { display: grid; grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); gap: 36px; }
body .ct-txt { display: flex; flex-direction: column; align-items: flex-start; padding-top: 6px; }
body .ct-tag { display: inline-flex; gap: 4px; font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: 22px; }
body .ct-tag b, body .ct-tag i { background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-style: normal; font-family: inherit; }
body .ct-tag b { padding: 6px 12px; color: var(--lime); }
body .ct .ct-txt h2 { color: #fff; font-size: clamp(2.4rem, 3.9vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 22px; text-transform: none; }
body .ct-txt p { color: rgba(255,255,255,.75); line-height: 1.6; margin: 0; }
body .ct-flecha { margin-top: auto; font-size: 4rem; line-height: 1; color: var(--lime); }
body .ct-nav { display: none; gap: 10px; margin-top: 24px; }
body .ct-nav button { width: 48px; height: 48px; border: 1px solid #77777c; border-radius: 50%; background: var(--surface); color: #fff; font-size: 1.2rem; }
body .ct-nav button:is(:hover, :focus-visible) { background: var(--lime); border-color: var(--lime); color: #0D0D0E; }
body .ct-fila { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; border-radius: 34px; }
body .ct-fila:focus-visible { outline: 2px solid var(--cta-yellow); outline-offset: 4px; }
body .ct-card { position: relative; overflow: hidden; min-height: 640px; border-radius: 34px; background: #0E0E0F; border: 1px solid var(--border); display: flex; align-items: flex-end; isolation: isolate; transition: border-color .3s; }
body .ct-card img { position: absolute; inset: 0 0 auto; width: 100%; height: 420px; object-fit: cover; object-position: 50% 40%; z-index: -2; transition: transform .6s; }
body .ct-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 421px; z-index: -1; background: linear-gradient(to bottom, transparent 58%, rgba(14,14,15,.55) 76%, #0E0E0F 98%); }
body .ct-num { position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0D0D0E; font-weight: 800; display: flex; align-items: center; justify-content: center; transition: background-color .3s; }
body .ct-cuerpo { width: 100%; padding: 18px; }
body .ct .ct-card h3 { color: #fff; font-size: 1.4rem; font-weight: 800; line-height: 1.12; margin: 0 0 10px; }
body .ct-card p { color: #fff; font-size: .92rem; line-height: 1.45; margin: 0 0 16px; }
body .ct-pill { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: #0D0D0E; font-weight: 700; font-size: .92rem; }
body .ct-pill i { font-size: 1.1rem; }
body .ct-card:hover { border-color: var(--lime); }
body .ct-card:hover img { transform: scale(1.04); }
body .ct-card:hover .ct-num { background: var(--lime); }
@media (max-width: 1199.98px) {
  body .ct-in { grid-template-columns: minmax(0, 1fr); }
  body .ct-flecha { display: none; }
  body .ct-nav { display: flex; }
  body .ct-fila { grid-auto-columns: 290px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  body .ct-fila::-webkit-scrollbar { display: none; }
  body .ct-card { scroll-snap-align: start; }
}
@media (max-width: 575.98px) { body .ct { padding: 60px 0 !important; } body .ct-fila { grid-auto-columns: min(290px, 82%); } body .ct-card { min-height: 600px; } }
@media (prefers-reduced-motion: reduce) { body .ct-card, body .ct-card img, body .ct-num { transition: none; } body .ct-card:hover img { transform: none; } }
/* Títulos a la misma altura y píldora en una línea */
body .ct-card { align-items: stretch; padding-top: 390px; }
body .ct-cuerpo { display: flex; flex-direction: column; }
body .ct-cuerpo p { flex: 1; }
body .ct-pill { white-space: nowrap; }
body .ct-card img { height: 440px; }
body .ct-card::after { height: 441px; background: linear-gradient(to bottom, transparent 52%, rgba(14,14,15,.8) 82%, #0E0E0F 98%); }
@media (min-width: 1200px) and (max-width: 1399.98px) { body .ct-in { grid-template-columns: 235px minmax(0, 1fr); gap: 26px; } body .ct-fila { gap: 12px; } body .ct .ct-card h3 { font-size: 1.16rem; } body .ct .ct-txt h2 { font-size: 2.6rem; } body .ct-cuerpo { padding: 14px; } body .ct-pill { padding: 10px 13px; font-size: .86rem; } }
