.layout-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.layout-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.layout-center p,
.layout-center ul {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.layout-center h2 {
  text-align: center;
}

.layout-band {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: stretch;
}

.band-visual {
  min-height: 200px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.1);
  border: 1px solid var(--border);
}

.layout-quote {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--accent);
  padding: 24px;
  background: rgba(212, 175, 55, 0.12);
  border-left: 4px solid var(--primary);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.06);
}

.layout-cards .mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 16px rgba(28, 25, 23, 0.05);
  font-size: 0.92rem;
}

.mini-card strong {
  display: block;
  font-family: var(--font-serif);
  margin-bottom: 6px;
  color: var(--accent);
}

.layout-zigzag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.zig-panel {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(28, 25, 23, 0.05);
}

.zig-panel:nth-child(2) {
  margin-top: 28px;
}

.layout-steps .step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 14px 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  color: #FBF8F3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.layout-rail {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 24px;
  align-items: stretch;
}

.side-rail {
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(34, 120, 68, 0.45), var(--primary), rgba(146, 64, 14, 0.5));
  min-height: 100%;
}

.layout-stat .stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.stat-item {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(28, 25, 23, 0.05);
}

.stat-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.88rem;
  color: var(--muted);
}

.layout-checklist .check-list {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.layout-checklist .check-list li {
  position: relative;
  padding: 10px 12px 10px 36px;
  margin-bottom: 8px;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.layout-checklist .check-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(34, 120, 68, 0.85);
  box-shadow: inset 0 0 0 3px rgba(251, 248, 243, 0.9);
}

.home-float {
  animation: softFloat 6s ease-in-out infinite;
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.fade-in-up {
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .layout-split,
  .layout-band,
  .layout-quote,
  .layout-zigzag {
    grid-template-columns: 1fr;
  }

  .zig-panel:nth-child(2) {
    margin-top: 0;
  }

  .layout-cards .mini-cards,
  .layout-stat .stat-band {
    grid-template-columns: 1fr;
  }

  .band-visual {
    min-height: 160px;
    max-height: 220px;
    width: 100%;
    max-width: 100%;
  }

  .layout-rail {
    grid-template-columns: 1fr;
  }

  .side-rail {
    height: 6px;
    width: 100%;
    border-radius: 99px;
  }

  .decor-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .decor-img {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .band-visual {
    min-height: 120px;
    max-height: 160px;
  }

  .decor-img {
    max-height: 180px;
  }
}
