/* ============================================================
   layout.css — Sons Of Favor
   Grid, wrap, section, spacing
   ============================================================ */

/* WRAP */
.wrap        { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--g); }
.wrap--wide  { max-width: 1280px; }
.wrap--narrow{ max-width: 720px; }

/* SECTION */
.section         { position: relative; overflow: hidden; padding-block: clamp(4rem, 10vw, 8rem); }
.section--deep   { background: var(--deep); }
.section--surface{ background: var(--surface); }
.section--lift   { background: var(--lift); }
.section--cream  { background: var(--cream); color: var(--black); }

/* GRID */
.grid    { display: grid; gap: var(--g); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* BENTO GRID */
.grid--bento { grid-template-columns: repeat(12, 1fr); }
@media (min-width: 768px) {
  .bento-a { grid-column: span 7; }
  .bento-b { grid-column: span 5; }
  .bento-c { grid-column: span 5; }
  .bento-d { grid-column: span 7; }
  .bento-e, .bento-f, .bento-g { grid-column: span 4; }
}
@media (max-width: 767px) { .grid--bento > * { grid-column: 1 / -1; } }

/* FLEX UTILS */
.flex           { display: flex; }
.flex--center   { align-items: center; justify-content: center; }
.flex--between  { align-items: center; justify-content: space-between; }
.flex--col      { flex-direction: column; }
.flex--gap      { gap: var(--g); }

/* SECTION HEADER */
.section-hd { margin-bottom: clamp(2rem, 5vw, 4rem); }

.section-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  padding: .35rem .9rem;
  border: 1px solid var(--border-md);
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.section-kicker::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
  box-shadow: 0 0 6px var(--gold);
  animation: kicPulse 2s ease-in-out infinite;
}
@keyframes kicPulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--cream);
}
.section-title em  { font-style: italic; color: var(--gold); }
.section-title--dark { color: var(--black); }

.section-lead {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--muted);
  max-width: min(52ch, 100%);
  line-height: 1.75;
  margin-top: 1rem;
}
.section-lead--dark { color: rgba(9,9,9,.6); }

/* PULL QUOTE */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--gold);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-md);
  border-radius: 12px;
  background: rgba(212,175,55,.04);
  margin-block: 2rem;
}

/* PROCESS STEPS */
.steps { display: grid; gap: var(--g); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.step-num {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--lift);
  border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: .85rem;
  color: var(--gold); flex-shrink: 0;
}
.step-body h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin-bottom: .35rem; }
.step-body p  { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* STAT */
.stats-bar { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.stat-block { text-align: left; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-top: .3rem;
}

/* DIVIDER */
.divider {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-block: 1.5rem;
}

/* TESTIMONIAL */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  max-width: 640px;
  margin-inline: auto;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 5rem; line-height: .8;
  color: var(--gold); opacity: .3;
  position: absolute; top: 1rem; left: 1.5rem;
}
.testimonial-body {
  font-family: var(--serif); font-style: italic;
  font-size: 1.1rem; line-height: 1.6;
  color: var(--cream);
  margin-bottom: 1.25rem; padding-top: 2.5rem;
}
.testimonial-author {
  font-size: .8rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold);
}

/* CONTACT SPLIT */
.contact-split { display: grid; gap: var(--g); }
@media (min-width: 768px) { .contact-split { grid-template-columns: 1fr 1fr; } }

.contact-path {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: border-color .3s;
}
.contact-path:hover { border-color: var(--border-md); }
.contact-path-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-path-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--cream); margin-bottom: .75rem; }
.contact-path-body  { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }

/* VALUES GRID */
.values-grid { display: grid; gap: var(--g); }
@media (min-width: 640px)  { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4,1fr); } }

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.value-num   { font-family: var(--serif); font-size: 2.5rem; font-weight: 300; color: var(--gold); opacity: .4; line-height: 1; margin-bottom: .75rem; }
.value-name  { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--cream); margin-bottom: .5rem; }
.value-desc  { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* RESPONSIVE UTILS */
@media (max-width: 639px) { .hide-mobile  { display: none; } }
@media (min-width: 640px) { .hide-desktop { display: none; } }
