/* ==========================================================================
   ANSOMA · Composiciones de landing
   Patrones de sección reutilizables (hero, problema, cierre…).
   Lo específico de cada landing va en su propio archivo (ej. pages/licitaciones.css).
   ========================================================================== */

/* --- Hero --------------------------------------------------------------- */

.hero {
  padding-block: clamp(2.25rem, 1rem + 4vw, 5rem) var(--section-y);
}
.hero__grid {
  display: grid;
  gap: var(--sp-7);
}
.hero__grid > * {
  min-width: 0;
}
@media (min-width: 960px) {
  .hero__grid--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    gap: clamp(3rem, 1rem + 5vw, 7rem);
    align-items: center;
  }
}

/* Foto del equipo: la columna de texto termina donde empieza el aire previo a la foto */
.hero__photo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.hero__photo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--r-md);
  background: var(--c-paper);
}
.hero__photo-caption {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.hero__photo-caption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-plum);
}
@media (max-width: 959px) {
  .hero__photo img {
    aspect-ratio: 5 / 4;
    object-position: center 25%;
  }
}
/* Tablet vertical: foto apaisada para no empujar el resto del contenido */
@media (min-width: 600px) and (max-width: 959px) {
  .hero__photo img {
    aspect-ratio: 16 / 10;
    object-position: center 30%;
  }
}
.hero__copy {
  --stack-gap: var(--sp-5);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--s-accent);
}
.hero__kicker .eyebrow__node {
  background: var(--c-mint);
  border-color: var(--c-plum);
}
.hero__title {
  color: var(--c-navy);
  max-width: 15ch;
}
.hero__lead strong {
  color: var(--s-fg);
  font-weight: var(--fw-semibold);
}
.hero__copy .cta-group {
  margin-top: var(--sp-2);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  padding-top: var(--sp-5);
  margin-top: var(--sp-2);
  border-top: 1px solid var(--s-line);
  font-size: var(--fs-small);
  color: var(--s-muted);
}
.hero__meta li {
  min-width: 0;
}
.hero__meta strong {
  color: var(--s-fg);
  font-weight: var(--fw-semibold);
}

/* --- Problema ----------------------------------------------------------- */

.terms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.9rem;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.2rem);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-snug);
  line-height: 1.25;
  color: var(--c-navy);
}
.terms li {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.terms li:nth-child(even) {
  color: var(--c-plum);
}
.terms li + li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: var(--line-w) solid var(--s-line-strong);
  opacity: 0.5;
}
.problem__voices {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.problem__close {
  margin-top: var(--sp-7);
  max-width: 44rem;
}

/* --- Sección de enunciado (fondo de color + diagrama) ------------------ */

.statement-section .split {
  --split-cols: 7fr 5fr;
  align-items: center;
}
.statement-section__copy {
  --stack-gap: var(--sp-5);
}

/* --- Cambio --------------------------------------------------------------- */

.change__head {
  margin-bottom: var(--sp-7);
}
.change__cta {
  margin-top: var(--sp-7);
}

/* --- Aprendizajes ------------------------------------------------------- */

@media (min-width: 900px) {
  .learn__aside {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-6));
  }
}
.learn__aside {
  --stack-gap: var(--sp-5);
}

/* --- Decisión ----------------------------------------------------------- */

.decision {
  overflow: hidden;
}
.decision .split {
  --split-cols: 7fr 5fr;
  align-items: center;
}
.decision__copy {
  --stack-gap: var(--sp-5);
}

/* --- Experiencia -------------------------------------------------------- */

.experience .split {
  --split-cols: 4fr 7fr;
}
.experience__body {
  --stack-gap: var(--sp-5);
}
.experience__triad {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--s-line);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

/* --- Info práctica ------------------------------------------------------- */

.info .split {
  --split-cols: 7fr 5fr;
}
.info__facts {
  --stack-gap: var(--sp-6);
}

/* --- FAQ ------------------------------------------------------------------ */

.faq-section .split {
  --split-cols: 4fr 7fr;
}
.faq-section__aside {
  --stack-gap: var(--sp-5);
}
@media (min-width: 900px) {
  .faq-section__aside {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-6));
  }
}

/* --- Cierre --------------------------------------------------------------- */

.closing {
  text-align: center;
  overflow: hidden;
}
.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.closing__title {
  max-width: 20ch;
}
.closing .t-lead {
  margin-inline: auto;
}
.closing .cta-group {
  justify-content: center;
  margin-top: var(--sp-3);
}
.closing__end {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-mint);
  box-shadow: 0 0 0 10px rgba(194, 238, 212, 0.14), 0 0 0 22px rgba(194, 238, 212, 0.06);
  margin-bottom: var(--sp-4);
}
.closing .eyebrow {
  flex-direction: column;
}
