@import url("./oferta01.css");

.timeline-section.before {
  background: var(--paper-alt);
}

.timeline-section.after {
  background: var(--paper);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.timeline-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.timeline-hour {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 700;
  font-family: "Fraunces", serif;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
}

.bridge {
  background: var(--paper-alt);
}

.bridge-quote {
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 30px;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--paper-soft);
  color: #544d63;
  font-size: 1.08rem;
}

.recalc-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.recalc-grid {
  margin-bottom: 28px;
}

.recalc-card,
.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.recalc-card h3,
.feature-card h3 {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1.12rem;
}

.recalc-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.manifesto {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  border: 1px solid rgba(123, 104, 238, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfaff 0%, #f4f1ff 100%);
  box-shadow: 0 18px 42px rgba(58, 42, 128, 0.08);
  color: var(--text);
}

.manifesto p {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(123, 104, 238, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 8px 18px rgba(81, 61, 163, 0.06);
}

.manifesto-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  flex: 0 0 44px;
}

.manifesto-mark.no {
  background: #fff1f3;
  color: var(--primary);
}

.manifesto-mark.yes {
  background: #efeaff;
  color: var(--accent);
}

.manifesto p:nth-child(odd) {
  transform: translateX(-8px);
}

.manifesto p:nth-child(even) {
  transform: translateX(8px);
}

@media (max-width: 920px) {
  .timeline-grid,
  .recalc-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .timeline-card,
  .recalc-card,
  .feature-card {
    padding: 22px;
  }

  .manifesto {
    padding: 14px;
    border-radius: 20px;
    gap: 12px;
  }

  .manifesto p {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    font-size: 1rem;
    line-height: 1.45;
  }

  .manifesto-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1.35rem;
  }

  .manifesto p:nth-child(odd),
  .manifesto p:nth-child(even) {
    transform: none;
  }
}
