/* ============================================================
   Top Hat Maintenance — components.css
   Hero, stats, cards, grids, forms, CTA bands, sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 74vh; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(199,154,78,0.14), transparent 62%),
    radial-gradient(600px 400px at 80% 110%, rgba(199,154,78,0.07), transparent 60%);
}
.hero .container { position: relative; z-index: 1; text-align: center; padding-top: 36px; padding-bottom: 36px; }
.hero-crest { height: 96px; width: auto; margin: 0 auto 20px; filter: drop-shadow(0 12px 40px rgba(199,154,78,0.22)); }
.hero .eyebrow { margin-bottom: 14px; }
.hero h1 { max-width: 16ch; margin: 0 auto 18px; }
.hero .lead { margin: 0 auto 28px; text-align: center; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Gold hairline divider */
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--line-gold), transparent); border: 0; }

/* ---------- Stats band ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 60px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.stat .num b { color: var(--gold); font-weight: 600; }
.stat .label { color: var(--text-dimmer); font-size: 0.82rem; font-weight: 300; letter-spacing: 0.06em; margin-top: 8px; text-transform: uppercase; }

/* ---------- Section heads ---------- */
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; }
.section-head .lead { margin-top: 18px; }

/* ---------- Feature rows (value props) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 64px; }
.feature { background: var(--black); padding: 46px 40px; transition: background .4s var(--ease); }
.feature:hover { background: var(--surface); }
.feature .f-ico { color: var(--gold); margin-bottom: 26px; }
.feature .f-ico svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.22rem; margin-bottom: 12px; }
.feature p { color: var(--text-dim); font-size: 0.98rem; font-weight: 300; }

/* ---------- Service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.svc:hover { transform: translateY(-5px); border-color: var(--line-gold); }
.svc .svc-ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: rgba(199,154,78,0.1); color: var(--gold); margin-bottom: 22px; }
.svc .svc-ico svg { width: 26px; height: 26px; }
.svc .svc-kicker { color: var(--gold); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.svc h3 { font-size: 1.16rem; margin-bottom: 10px; }
.svc p { color: var(--text-dim); font-size: 0.94rem; font-weight: 300; }

/* ---------- Split (mission / image) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.split-copy p { color: var(--text-dim); font-size: 1.05rem; font-weight: 300; margin-bottom: 20px; line-height: 1.75; }
.split-copy p b { color: var(--text); font-weight: 500; }
.split-visual {
  border: 1px solid var(--line-gold); border-radius: var(--radius-lg); padding: 60px 48px; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(199,154,78,0.08), transparent 60%), var(--surface-2);
}
.split-visual img { height: 118px; width: auto; margin: 0 auto 26px; }
.split-visual .sv-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.split-visual .sv-sub { color: var(--text-dim); font-size: 0.92rem; font-weight: 300; margin-bottom: 24px; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 60px; }
.value { border-top: 2px solid var(--gold); padding-top: 26px; }
.value .v-ico { color: var(--gold); margin-bottom: 18px; }
.value .v-ico svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.14rem; margin-bottom: 10px; }
.value p { color: var(--text-dim); font-size: 0.93rem; font-weight: 300; }

/* ---------- Area pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 44px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 400; font-size: 1rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease), color .3s var(--ease);
}
.pill:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold); }
.pill svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 380px at 50% 0%, rgba(199,154,78,0.12), transparent 62%); }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 auto 20px; max-width: 16ch; }
.cta-band .lead { margin-bottom: 38px; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-methods { display: grid; gap: 22px; margin-top: 36px; }
.cmethod { display: flex; align-items: center; gap: 16px; }
.cmethod .cm-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(199,154,78,0.1); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.cmethod .cm-ico svg { width: 20px; height: 20px; }
.cmethod .cm-label { color: var(--text-dimmer); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cmethod .cm-val { color: var(--text); font-weight: 500; font-size: 1.02rem; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; }
.form h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form .form-sub { color: var(--text-dim); font-weight: 300; margin-bottom: 26px; font-size: 0.96rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 8px; font-weight: 400; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--black); color: var(--text);
  border: 1px solid var(--line); font-family: var(--font); font-size: 0.98rem; font-weight: 300;
  transition: border-color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 96px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { color: var(--text-dimmer); font-size: 0.82rem; font-weight: 300; text-align: center; margin-top: 16px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 128px 0 20px; text-align: center; position: relative; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 340px at 50% -20%, rgba(199,154,78,0.1), transparent 62%); pointer-events:none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.035em; margin-bottom: 20px; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; padding: 8px 0 40px; }
.prose p, .prose li { color: var(--text-dim); font-weight: 300; font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--text); }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); }
.prose .updated { color: var(--text-dimmer); font-size: 0.9rem; margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 620px) {
  .svc-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .hero-crest { height: 100px; }
  .form { padding: 28px; }
}
