:root {
  --bg: #0b0f14;
  --bg-alt: #0f141b;
  --surface: #141a22;
  --border: #232b36;
  --text: #e8ebee;
  --text-dim: #a9b2bd;
  --text-faint: #6b7686;
  --gold: #c9a24b;
  --gold-soft: #e3c67a;
  --radius: 10px;
  --max-width: 1140px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap.narrow { max-width: 760px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin: 0 0 16px; color: var(--text-dim); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }
.center.eyebrow { }

h2.center { max-width: 700px; margin: 0 auto 48px; }
p.center { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.brand span { color: var(--gold); }

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gold);
  color: #16130a;
}
.btn-primary:hover { background: var(--gold-soft); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text-faint); }

.btn-small { padding: 10px 20px; font-size: 0.88rem; }
.btn-wide { width: 100%; padding: 16px; font-size: 1rem; }

.btn[disabled] { opacity: 0.6; cursor: default; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(201,162,75,0.14), transparent 70%),
    var(--bg);
}

.hero-inner { max-width: 820px; }

.hero-sub {
  font-size: 1.12rem;
  max-width: 640px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Company bar */
.company-bar {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.company-bar-label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.company-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0;
  margin: 0;
}

.company-list li {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.prose p:last-child { margin-bottom: 0; }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card h3 { font-size: 1.05rem; }

.program-card { display: flex; flex-direction: column; }
.program-card.featured { border-color: var(--gold); }
.program-meta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.82rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}

.badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: #16130a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.95rem;
}
.pricing-note a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201,162,75,0.4);
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps li { border-top: 2px solid var(--gold); padding-top: 18px; }
.step-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.steps p { font-size: 0.92rem; margin-bottom: 0; }

/* Quotes */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
blockquote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
blockquote p {
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--text);
  margin-bottom: 14px;
}
blockquote footer {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  margin-left: 16px;
  transition: transform 0.15s;
}
details[open] summary::after { content: "–"; }
details p { margin-top: 14px; margin-bottom: 0; font-size: 0.95rem; }

/* Inquiry form */
.inquire-sub { }

.inquiry-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  margin-top: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dim);
}

input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}
textarea { resize: vertical; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23a9b2bd' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 14px 0 0;
  text-align: center;
}

.form-success {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  margin-top: 8px;
}
.form-success h3 { color: var(--gold-soft); }
.form-success p { margin-bottom: 0; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(22,19,10,0.3);
  border-top-color: #16130a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: 0.85; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* Responsive */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .company-list { gap: 20px 28px; }
  .inquiry-form { padding: 24px; }
}

.main-nav.open {
  display: flex;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 18px;
}
