/* ============================================================
   Components — buttons, cards, badges, hairlines, icons
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease),
              background 0.18s var(--ease),
              border-color 0.18s var(--ease),
              color 0.18s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.btn-primary {
  background: var(--bronze);
  color: #0A0A0A;
  border-color: var(--bronze);
}
.btn-primary:hover {
  background: #D6B779;
  border-color: #D6B779;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-strong);
  border-color: rgba(201,168,106,0.55);
}
.btn-ghost:hover {
  background: rgba(201,168,106,0.08);
  border-color: var(--bronze);
}

.btn-lg {
  min-height: 56px;
  padding: 18px 34px;
  font-size: 1rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.card--elev { background: var(--bg-elev); }
.card:hover { border-color: rgba(201,168,106,0.45); }
.card h3 { margin-bottom: var(--s-3); }
.card p:last-child { margin-bottom: 0; }

/* Stat card — horizontal bar layout: number-block left, content right */
.stat-card {
  text-align: left;
  padding: clamp(28px, 3.5vw, 44px);
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  grid-template-areas:
    "num label"
    "num body";
  column-gap: clamp(28px, 5vw, 64px);
  row-gap: var(--s-2);
  align-items: center;
}
@media (max-width: 640px) {
  .stat-card {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "label" "body";
    row-gap: var(--s-3);
    align-items: start;
  }
}
.stat-card .stat-num {
  grid-area: num;
  align-self: center;
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1;
  color: var(--bronze);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.stat-card .stat-num small {
  display: block;
  font-size: 0.32em;
  color: var(--bronze-soft);
  font-weight: 600;
  margin-top: 8px;
  margin-left: 0;
  letter-spacing: 0.04em;
  white-space: normal;
}
.stat-card .stat-label {
  grid-area: label;
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  align-self: end;
}
.stat-card .stat-body {
  grid-area: body;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
  align-self: start;
}
@media (max-width: 640px) {
  .stat-card .stat-num { font-size: 2.5rem; white-space: normal; }
  .stat-card .stat-num small { display: inline; font-size: 0.5em; margin-left: 6px; margin-top: 0; }
}

/* Testimonial card — DK-workshop style: big avatar on top, result-badge, stars, quote, name */
.testimonial {
  background: var(--bg-card);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 3.2vw, 44px) clamp(24px, 2.8vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  text-align: center;
  position: relative;
}

/* Top avatar — bigger, centered, photo-ready */
.testimonial .t-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,168,106,0.28), rgba(201,168,106,0.08));
  border: 2px solid rgba(201,168,106,0.45);
  display: grid;
  place-items: center;
  color: var(--bronze);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.05em;
  flex: 0 0 96px;
  box-shadow: 0 0 0 6px rgba(201,168,106,0.10);
  overflow: hidden;
}
.testimonial .t-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Result badge — bronze pill above the quote */
.t-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(201,168,106,0.12);
  border: 1px solid rgba(201,168,106,0.40);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.testimonial .t-quote {
  font-family: var(--font-disp);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-strong);
  font-style: italic;
  margin: 0;
  position: relative;
}
.testimonial .t-quote::before {
  content: "“";
  display: block;
  font-size: 2.4rem;
  color: var(--bronze);
  opacity: 0.55;
  line-height: 0.6;
  margin-bottom: var(--s-2);
  font-family: var(--font-disp);
}

.testimonial .t-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: var(--hairline-soft);
  width: 100%;
}
.t-name { color: var(--text-strong); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.t-role { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }

/* Mobile-adaptive testimonial card */
@media (max-width: 560px) {
  .testimonial { padding: var(--s-6) var(--s-5); }
  .testimonial .t-avatar { width: 72px; height: 72px; font-size: 1.4rem; flex: 0 0 72px; }
  .testimonial .t-quote { font-size: 1.1rem; }
}

/* Partner card */
.partner-card {
  background: var(--bg-card);
  border: var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.partner-card .p-step {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--bronze);
  text-transform: uppercase;
}
.partner-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.partner-card .p-role {
  font-size: 0.85rem;
  color: var(--bronze-soft);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.partner-card .p-body {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-4);
}
.checklist li {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-4) 0;
  border-bottom: var(--hairline-soft);
}
.checklist li:last-child { border-bottom: 0; }
.checklist .ck-num {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border: 1px solid rgba(201,168,106,0.45);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}
.checklist .ck-body { color: var(--text); font-size: 1rem; line-height: 1.55; flex: 1; }
.checklist .ck-body strong { display: block; margin-bottom: 2px; color: var(--text-strong); }

/* ---------- Hairline divider with caption ---------- */
.divider-tag {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-block: var(--s-7);
  color: var(--bronze-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.divider-tag::before,
.divider-tag::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgba(201,168,106,0.22);
}

/* ---------- Inline note / pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(201,168,106,0.10);
  border: 1px solid rgba(201,168,106,0.30);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 600;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px rgba(201,168,106,0.20);
}
