/* ============================================================
   HOLISTIC SOUL JOURNEY — layout.css
   Container, sections, grids, dividers
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--max-narrow); }

.section {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0;
}
.section-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.section-hero-simple {
  padding: clamp(6rem, 12vw, 10rem) 0 5rem;
}

.section-tinted { background: rgba(13, 5, 32, 0.6); }
.section-darker {
  background: linear-gradient(180deg, rgba(13,5,32,0.85) 0%, rgba(26,10,61,0.85) 100%);
}

/* Curved SVG wave dividers (top + bottom) using ::before/::after */
.section-wave-top::before,
.section-wave-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  background: no-repeat center / 100% 100%;
  pointer-events: none;
  z-index: 2;
}
.section-wave-top::before {
  top: -1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path fill='%231A0A3D' d='M0,32 C320,80 720,0 1080,40 C1260,60 1380,52 1440,40 L1440,0 L0,0 Z'/></svg>");
}
.section-wave-bottom::after {
  bottom: -1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path fill='%230D0520' d='M0,48 C320,0 720,80 1080,40 C1260,20 1380,28 1440,40 L1440,80 L0,80 Z'/></svg>");
}

/* Section heads */
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head h2 { margin-bottom: 0.6em; }
.section-head .lead { margin-inline: auto; }

/* Grids */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-split {
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 880px) {
  .grid-2, .grid-split { grid-template-columns: 1fr; }
}

/* Utility */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.gap-sm { gap: 0.5rem; }
.gap   { gap: 1rem; }
.gap-lg { gap: 1.6rem; }

.cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
@media (max-width: 480px) {
  .cta-row { width: 100%; }
  .cta-row .btn { width: 100%; }
}

/* Decorative orbs reusable on sections */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.orb-purple {
  background: radial-gradient(circle, #6B2BB8, transparent 70%);
}
.orb-gold {
  background: radial-gradient(circle, #C9A84C, transparent 70%);
}
