/* ============================================
   Homepage styles
   ============================================ */

.hero {
  padding: 88px 0 80px;
  text-align: center;
  position: relative;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-sub {
  display: block;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 20px auto 0;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

h1 { margin-top: 20px; }

/* ---------- Section head ---------- */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head p { margin-top: 8px; }

/* ---------- Box grid / cards ---------- */
.box-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.box-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: block;
}

.box-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.box-card-art {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-card-body { padding: 18px 20px 22px; }

.box-card-body h3 { margin-bottom: 6px; font-size: 1.1rem; }

.box-card-body p.text-muted { font-size: 0.88rem; margin-bottom: 12px; }

.box-price {
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

/* ---------- How it works strip ---------- */
.how-strip {
  background: var(--color-bg-soft);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}

.how-step h3 { margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  margin: 0 24px;
  max-width: calc(var(--max-width) - 48px);
  margin-left: auto;
  margin-right: auto;
}

.cta-band .container { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .box-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 540px) {
  .box-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
}
