/* ==========================================================
   FRONT PAGE — shared utilities + value bar
   All class names mirror design-preview.html exactly.
   ========================================================== */

/* ── Section base ──────────────────────────────────────── */
.section {
  padding-top:    clamp(40px, 6vw, 96px);
  padding-bottom: clamp(40px, 6vw, 96px);
}

/* ── Section backgrounds ───────────────────────────────── */
.bg-navy     { background: #2e363e; color: #f5f5f5; }
.bg-charcoal { background: #3a444e; color: #f5f5f5; }
.bg-surface  { background: #f5f5f5; color: #1a1d20; }
.bg-white    { background: #ffffff; color: #1a1d20; }
.bg-light    { background: #ececec; color: #1a1d20; }

/* ── Section head ──────────────────────────────────────── */
.s-head {
  margin-bottom: clamp(32px, 5vw, 48px);
  text-align: center;
}

.s-head h2 {
  color: #2e363e;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 600;
}

.bg-navy .s-head h2,
.bg-charcoal .s-head h2 {
  color: #f5f5f5;
}

.s-sub {
  color: #6b7280;
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto;
}

/* ── Eyebrow label ─────────────────────────────────────── */
.eyebrow {
  color: #b25516;
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.eyebrow--dim  { color: rgba(245,245,245,0.58); }
.eyebrow--mute { color: #6b7280; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 44px;
  padding: 0 32px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 300ms cubic-bezier(.4,0,.2,1), color 300ms cubic-bezier(.4,0,.2,1), border-color 150ms cubic-bezier(.4,0,.2,1);
}

.btn-dark        { background: #2e363e; color: #fff; }
.btn-dark:hover,
.btn-dark:focus-visible { background: #b25516; color: #fff; border-color: #b25516; }

.btn-gold        { background: #b25516; color: #fff; border-color: #b25516; }
.btn-gold:hover,
.btn-gold:focus-visible { background: #c96a2f; border-color: #c96a2f; color: #fff; }

.btn-outline     { border-color: #2e363e; color: #2e363e; }
.btn-outline:hover,
.btn-outline:focus-visible { background: #2e363e; color: #fff; }

.btn-outline-w   { border-color: rgba(245,245,245,.30); color: #f5f5f5; }
.btn-outline-w:hover,
.btn-outline-w:focus-visible { background: rgba(255,255,255,.08); border-color: rgba(245,245,245,.55); color: #f5f5f5; }

.btn-block { width: 100%; }

/* ── Section footer ────────────────────────────────────── */
.s-foot {
  margin-top: clamp(28px, 4vw, 40px);
  text-align: center;
}

/* ── Section carousel header (team/testimonials) ────────── */
.section-carousel-header {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.section-carousel-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0;
}

.bg-navy .section-carousel-header h2,
.bg-charcoal .section-carousel-header h2 {
  color: #f5f5f5;
}

/* ── Carousel nav buttons ──────────────────────────────── */
.c-nav {
  align-items: center;
  display: flex;
  gap: 12px;
}

.c-btn {
  align-items: center;
  border: 1px solid rgba(245,245,245,.22);
  color: #f5f5f5;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding: 0;
  transition: background 300ms cubic-bezier(.4,0,.2,1), border-color 150ms, color 150ms;
}

.c-btn:hover { background: #b25516; border-color: #b25516; color: #fff; }

/* On light-bg sections */
.c-btn--light { border-color: #dcdcdc; color: #1a1d20; }
.c-btn--light:hover { background: #2e363e; border-color: #2e363e; color: #fff; }

/* ── Carousel track ────────────────────────────────────── */
.carousel-wrap { overflow: hidden; }

.c-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c-track::-webkit-scrollbar { display: none; }

.c-slide {
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* ── VALUE BAR ─────────────────────────────────────────── */
.value-bar {
  background: #f5f5f5;
  border-top: 3px solid #b25516;
  border-bottom: 1px solid #dcdcdc;
  padding: 8px 0;
}

.v-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.v-item {
  align-items: center;
  border-right: 1px solid #dcdcdc;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(10px, 2vw, 16px) clamp(8px, 2vw, 24px);
  text-align: center;
}

.v-item:last-child { border-right: 0; }

.v-num {
  color: #2e363e;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1;
}

.v-label {
  color: #6b7280;
  font-family: var(--font-body);
  font-size: clamp(0.55rem, 1.5vw, 0.6875rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Very small screens: reduce v-label to prevent overflow */
@media (max-width: 399px) {
  .v-num   { font-size: clamp(1.2rem, 7vw, 1.8rem); }
  .v-label { font-size: 0.5rem; letter-spacing: 0.04em; }
  .v-item  { padding: 8px 4px; gap: 4px; }
}

/* ── Arrow link ────────────────────────────────────────── */
.arrow-link {
  align-items: center;
  color: #2e363e;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 300ms cubic-bezier(.4,0,.2,1), color 150ms;
}

.arrow-link:hover { color: #b25516; gap: 16px; }

/* ── Test intro block ──────────────────────────────────── */
.test-intro p {
  color: rgba(245,245,245,0.72);
  font-size: 1rem;
  max-width: 52ch;
}
