/* Landings por sector (/casos). Paleta y botones en site.css. */
.c-kicker {
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: 0.01em;
  color: rgba(247, 243, 234, 0.82);
}
.c-kicker--tinta {
  color: var(--mute);
}

/* Hero: la escena a todo el ancho, el texto sobre un velo petróleo. */
.c-hero {
  position: relative;
  isolation: isolate;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: var(--petrol);
}
.c-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.c-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 38, 44, 0.9) 0%, rgba(16, 38, 44, 0.72) 48%, rgba(16, 38, 44, 0.12) 100%);
}
.c-hero__in {
  display: grid;
  gap: 18px;
  width: 100%;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(48px, 7vw, 88px);
}
.c-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  font-weight: 790;
  font-stretch: 86%;
  line-height: 1;
  letter-spacing: -0.028em;
  max-width: 16ch;
  text-wrap: balance;
}
.c-hero__lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  max-width: 52ch;
  color: rgba(247, 243, 234, 0.88);
  text-wrap: pretty;
  margin-bottom: 8px;
}
.c-hero__chip {
  position: absolute;
  right: var(--gut);
  bottom: clamp(24px, 4vw, 48px);
}
.c-crumbs {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.75);
}
.c-crumbs a {
  color: inherit;
}

/* Tres columnas de problemas: filete arriba, sin tarjetas. */
.c-problemas .h2,
.c-otros .h2 {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.c-tres {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}
.c-tres li {
  border-top: 2px solid var(--petrol);
  padding-top: 18px;
}
.c-tres h3,
.c-escena h3,
.c-pasos__lista h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 700;
  font-stretch: 92%;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}
.c-tres p,
.c-escena p {
  color: var(--mute);
  line-height: 1.5;
  text-wrap: pretty;
}

/* Escenas: imagen y texto, alternando. */
.c-escenas__lista {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}
.c-escena {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.c-escena:nth-child(even) figure {
  order: 2;
}
.c-escena figure {
  position: relative;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
}
.c-escena figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.c-escena figure .chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin-right: 14px;
}
.c-escena h3 {
  margin-top: 14px;
}
.c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.c-tags li {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--mute);
}
.c-tags .c-tag--pilot {
  border-style: dashed;
}

/* El estado de cada función: lo primero que se tiene que leer. */
.c-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.5;
}
.c-badge--ok {
  background: var(--petrol);
  color: var(--ivory);
}
.c-badge--pilot {
  background: transparent;
  color: var(--petrol);
  box-shadow: inset 0 0 0 1.5px var(--petrol);
}
.c-nota {
  margin-top: 28px;
  font-size: 0.875rem;
  color: var(--mute);
  max-width: 70ch;
}
.c-enlace {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 28px;
  color: var(--mute);
}

.c-func__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.c-func__nota {
  margin-top: 10px;
  color: var(--mute);
  font-size: 0.95rem;
}
.c-func ul {
  margin-top: 18px;
}
.c-func li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.c-func li b {
  font-weight: 650;
}
.c-func li span {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
  text-wrap: pretty;
}

/* Pasos, sobre tinta */
.c-pasos {
  background: var(--ink);
  color: var(--ivory);
}
.c-pasos__lista {
  counter-reset: paso;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.c-pasos__lista li {
  counter-increment: paso;
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
}
.c-pasos__lista li::before {
  content: counter(paso);
  display: block;
  margin-bottom: 12px;
  color: var(--eye);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.c-pasos__lista p {
  color: rgba(247, 243, 234, 0.72);
  line-height: 1.5;
}

/* Cuidados y límites */
.c-cuidado__in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.c-cuidado__in > div {
  display: grid;
  gap: 18px;
}
.c-cuidado .notes a {
  color: var(--petrol);
}
.c-limites {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r);
  background: var(--ivory);
}
.c-limites h2 {
  font-size: 1.375rem;
  font-weight: 720;
  font-stretch: 92%;
  margin-bottom: 8px;
}
.c-limites li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.45;
  text-wrap: pretty;
}
.c-limites li:first-child {
  border-top: 0;
}

/* Tarjetas de casos */
.c-indice {
  padding: clamp(56px, 8vw, 104px) 0;
}
.c-indice h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 790;
  font-stretch: 86%;
  line-height: 1;
  letter-spacing: -0.028em;
  margin: 12px 0 18px;
  max-width: 16ch;
  text-wrap: balance;
}
.c-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.c-cards--todos {
  margin-top: clamp(36px, 5vw, 64px);
}
.c-card {
  display: grid;
  gap: 2px;
  text-decoration: none;
  color: inherit;
}
.c-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r);
  margin-bottom: 12px;
  transition: opacity 0.2s;
}
.c-card:hover img {
  opacity: 0.86;
}
.c-card__t {
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 92%;
  letter-spacing: -0.01em;
}
.c-card:hover .c-card__t {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.c-card__d {
  color: var(--mute);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .c-hero {
    min-height: 0;
  }
  .c-hero__media::after {
    background: rgba(16, 38, 44, 0.76);
  }
  .c-hero__chip {
    display: none;
  }
  .c-tres,
  .c-escena,
  .c-func__grid,
  .c-cuidado__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .c-escena:nth-child(even) figure {
    order: 0;
  }
  .c-pasos__lista,
  .c-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .c-pasos__lista,
  .c-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
