/* Hero */
.hero {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.hero__grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.hero__content > * {
  animation: hero-rise 620ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero__content > *:nth-child(1) { animation-delay: 0.04s; }
.hero__content > *:nth-child(2) { animation-delay: 0.08s; }
.hero__content > *:nth-child(3) { animation-delay: 0.12s; }
.hero__content > *:nth-child(4) { animation-delay: 0.16s; }
.hero__content > *:nth-child(5) { animation-delay: 0.20s; }

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.hero__promise {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--brand);
  border-left: 3px solid var(--warm);
  padding-left: 14px;
  margin: var(--space-md) 0 var(--space-lg);
}

.hero__desc {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: var(--space-lg);
}

.hero__map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 240, 249, 0.72));
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.hero__map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.hero__map-cell {
  padding: var(--space-sm);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.hero__map-cell-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--warm);
}

.hero__map-cell-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-deep);
  margin: 4px 0;
}

.hero__map-cell-desc {
  font-size: 14px;
  color: var(--muted);
}

.hero__map-base {
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  background: var(--brand-deep);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 768px) {
  .hero__map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.03fr 0.97fr;
  }

  .hero__visual {
    order: 0;
  }
}

/* About */
.about__card {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

.about__avatar-wrap {
  display: flex;
  justify-content: center;
}

.about__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--brand-soft);
  box-shadow: var(--shadow-sm);
}

.about__tagline {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--brand);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.about__bio {
  color: var(--muted);
  margin-bottom: var(--space-sm);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .about__card {
    grid-template-columns: 200px 1fr;
  }

  .about__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Timeline */
.timeline {
  margin-top: var(--space-2xl);
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 24px;
  width: 2px;
  background: var(--line);
}

.timeline::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--warm);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-lg);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--brand);
}

.timeline__item--highlight::before {
  background: var(--warm);
  box-shadow: 0 0 0 2px var(--warm);
}

.timeline__year {
  font-size: 14px;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 4px;
}

.timeline__item--highlight .timeline__year,
.timeline__item--highlight .timeline__title {
  color: var(--warm);
}

.timeline__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 4px;
}

.timeline__desc {
  font-size: 15px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 0;
    display: grid;
    gap: var(--space-lg);
  }

  .timeline::before,
  .timeline::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline__item {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: start;
    padding-bottom: 0;
  }

  .timeline__item::before {
    left: 50%;
    transform: translateX(-50%);
    top: 6px;
  }

  .timeline__item:nth-child(odd) .timeline__content {
    grid-column: 1;
    text-align: right;
    padding-right: var(--space-md);
  }

  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 3;
    text-align: left;
    padding-left: var(--space-md);
  }

  .timeline__item:nth-child(odd) .timeline__year,
  .timeline__item:nth-child(odd) .timeline__title,
  .timeline__item:nth-child(odd) .timeline__desc {
    text-align: right;
  }
}

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pain-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Delivery panels */
.delivery-panels {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.delivery-panel__header {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, #fffaf2, #ffffff);
  border: 1px solid var(--line);
  border-bottom: none;
}

.delivery-panel__body {
  padding: var(--space-lg);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.delivery-panel--warm .delivery-panel__header {
  background: linear-gradient(180deg, #fffaf2, #ffffff);
}

@media (min-width: 768px) {
  .delivery-panels {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Curriculum */
.curriculum-grid {
  display: grid;
  gap: var(--space-md);
}

.curriculum-day {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.curriculum-day__header {
  padding: var(--space-md) var(--space-lg);
  background: var(--brand-deep);
  color: var(--white);
}

.curriculum-day__header h3 {
  color: var(--white);
  margin-bottom: 4px;
}

.curriculum-day__header p {
  font-size: 14px;
  opacity: 0.85;
}

.curriculum-day.warm .curriculum-day__header {
  background: linear-gradient(180deg, #fffaf2, #f4eadc);
  color: var(--brand-deep);
}

.curriculum-day.warm .curriculum-day__header h3 {
  color: var(--brand-deep);
}

.curriculum-day__body {
  padding: var(--space-md) var(--space-lg);
  background: rgba(255, 255, 255, 0.72);
}

.curriculum-day__item {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--line);
}

.curriculum-day__item:last-child {
  border-bottom: none;
}

.curriculum-day__num {
  font-size: 14px;
  font-weight: 900;
  color: var(--warm);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gains */
.gains-layout {
  display: grid;
  gap: var(--space-md);
}

.gains-primary__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.gains-primary__metric {
  text-align: center;
}

.gains-primary__metric-value {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  color: var(--warm);
}

.gains-primary__metric-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 1024px) {
  .gains-layout {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: stretch;
  }
}

/* Audience */
.audience-grid {
  display: grid;
  gap: var(--space-md);
}

.audience-card--no {
  opacity: 0.85;
}

.audience-card--no .card__num {
  color: var(--muted);
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Cases */
.cases__stats {
  margin-bottom: var(--space-2xl);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.case-card:hover,
.case-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.case-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--brand-soft);
}

.case-card__body {
  padding: var(--space-md);
}

.case-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-xs);
}

.case-card__title {
  margin-bottom: var(--space-xs);
}

.case-card__result {
  font-size: 15px;
  color: var(--muted);
}

.case-card.is-hidden {
  display: none;
}

@media (min-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Pricing */
.pricing-wrap {
  display: flex;
  justify-content: center;
}

.price-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.price-card__amount {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  color: var(--brand-deep);
  line-height: 1.1;
  margin: var(--space-md) 0;
}

.price-card__amount span {
  font-size: 18px;
  font-weight: 700;
}

.price-card__note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.price-card .bullet-list {
  text-align: left;
  margin-bottom: var(--space-lg);
}

/* Apply / Contact */
.apply {
  background: var(--brand-deep);
  color: var(--white);
  padding: var(--space-2xl) 0;
}

.apply h2 {
  color: var(--white);
}

.apply__lead {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: var(--space-md) 0 var(--space-xl);
}

.apply__grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.apply__qr {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
  margin: 0 auto;
}

.apply__hint {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-sm);
  text-align: center;
}

.apply__contact {
  text-align: center;
}

@media (min-width: 768px) {
  .apply__grid {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .apply__contact {
    text-align: right;
  }

  .apply__qr {
    margin: 0;
  }

  .apply__hint {
    text-align: right;
  }
}

/* Footer */
.site-footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a {
  color: var(--brand);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.site-footer__beian {
  margin-top: 8px;
}
