/* ── Wilson's Lone Star — Global Styles ── */

:root {
  --gold: #C8860A;
  --gold-light: #e8a012;
  --gold-faint: rgba(200,134,10,.12);
  --gold-border: rgba(200,134,10,.22);
  --bg: #0d0d0d;
  --bg-2: #111111;
  --bg-3: #191919;
  --bg-card: #1a1a1a;
  --text: #f0ede6;
  --text-muted: #8a8578;
  --text-subtle: #5c5a55;
  --border: rgba(255,255,255,.07);
  --radius: 6px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

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

/* ── Layout ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--bg-3); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.96);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.nav__logo { font-size: 16px; font-weight: bold; color: var(--text); letter-spacing: .01em; }
.nav__logo span { color: var(--gold); }
.nav__links { display: flex; gap: 28px; list-style: none; }
.nav__links a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__cta {
  background: var(--gold); color: #fff; font-size: 11px; font-weight: bold;
  padding: 9px 18px; border-radius: 3px; letter-spacing: .07em; text-transform: uppercase;
  transition: background .15s;
}
.nav__cta:hover { background: var(--gold-light); color: #fff; }

/* Hamburger */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); margin: 5px 0; border-radius: 2px; transition: .2s;
}

/* ── Hero ── */
.hero {
  padding: 80px 24px 72px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--gold-border);
}
.hero__inner { max-width: var(--max); margin: 0 auto; }
.hero__eyebrow {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  max-width: 640px;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero__sub {
  font-size: 16px; color: var(--text-muted);
  max-width: 500px; line-height: 1.7; margin-bottom: 32px;
}
.hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--gold-border); border-radius: 4px;
  padding: 9px 16px; font-size: 12px; color: var(--text-muted);
}
.hero__badge strong { color: var(--gold); font-size: 13px; }

/* ── Buttons ── */
.btn {
  display: inline-block; font-family: Arial, sans-serif;
  font-size: 12px; font-weight: bold; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 3px;
  padding: 12px 24px; cursor: pointer; transition: .15s; border: none;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--gold-light); color: #fff; }
.btn--outline { border: 1px solid var(--gold-border); color: var(--gold); background: transparent; }
.btn--outline:hover { border-color: var(--gold); background: var(--gold-faint); color: var(--gold); }
.btn--white { background: #fff; color: var(--gold); }
.btn--white:hover { background: #f0ede6; color: var(--gold); }

/* ── Trust strip ── */
.trust { display: flex; background: #141414; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.trust__item {
  flex: 1; min-width: 120px; padding: 22px 16px;
  text-align: center; border-right: 1px solid var(--border);
}
.trust__item:last-child { border-right: none; }
.trust__num { font-size: 24px; font-weight: bold; color: var(--gold); margin-bottom: 4px; }
.trust__label { font-size: 11px; color: var(--text-muted); letter-spacing: .02em; }

/* ── Section labels ── */
.label {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.section__headline {
  font-family: Georgia, serif; font-size: clamp(24px, 3.5vw, 36px);
  margin-bottom: 8px; line-height: 1.15;
}
.section__sub { font-size: 14px; color: var(--text-muted); margin-bottom: 40px; max-width: 540px; }

/* ── Course cards ── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.course-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  transition: border-color .2s; display: flex; flex-direction: column;
}
.course-card:hover { border-color: rgba(200,134,10,.4); }
.course-card__num { font-size: 10px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; }
.course-card__title { font-family: Georgia, serif; font-size: 18px; margin-bottom: 10px; line-height: 1.25; }
.course-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.course-card__link { font-size: 12px; color: var(--gold); letter-spacing: .04em; }

/* ── About snippet ── */
.about-snippet { display: flex; gap: 40px; align-items: flex-start; }
.about-snippet__img {
  width: 160px; min-width: 160px; height: 200px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--text-subtle); text-align: center; padding: 12px;
}
.about-snippet__body p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  border: 1px solid var(--gold-border); border-radius: 3px;
  padding: 4px 10px; font-size: 11px; color: var(--gold);
}

/* ── CTA band ── */
.cta-band {
  background: var(--gold); padding: 60px 24px; text-align: center;
}
.cta-band h2 { font-family: Georgia, serif; font-size: 32px; color: #fff; margin-bottom: 10px; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 24px; }

/* ── Page hero (interior pages) ── */
.page-hero {
  padding: 60px 24px 52px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--gold-border);
}
.page-hero__inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 12px; line-height: 1.1;
}
.page-hero__sub { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

/* ── Course detail ── */
.course-detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.course-detail__body h2 {
  font-family: Georgia, serif; font-size: 22px; margin: 40px 0 12px; color: var(--text);
}
.course-detail__body h2:first-child { margin-top: 0; }
.course-detail__body p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.course-detail__body ul { padding-left: 20px; margin-bottom: 20px; }
.course-detail__body li { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 6px; }
.course-sidebar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; position: sticky; top: 80px;
}
.course-sidebar h3 { font-size: 13px; font-weight: bold; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .06em; }
.sidebar-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; gap: 12px; }
.sidebar-row:last-of-type { border-bottom: none; }
.sidebar-row__label { color: var(--text-muted); min-width: 80px; }
.sidebar-row__val { color: var(--text); text-align: right; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 20px 0; font-size: 16px; font-weight: bold;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--gold); font-size: 20px; font-weight: 300;
  transition: transform .2s; flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding: 0 0 20px; font-size: 15px; color: var(--text-muted); line-height: 1.75; max-width: 760px; }

/* ── Form ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 12px; font-weight: bold; color: var(--text-muted); margin-bottom: 6px; letter-spacing: .04em; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 4px; color: var(--text); font-family: Arial, sans-serif; font-size: 14px;
  padding: 10px 14px; transition: border-color .15s; outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-field option { background: #1a1a1a; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-subtle); }
.form-note { font-size: 12px; color: var(--text-subtle); margin-top: 6px; }
.req { color: var(--gold); }
.form-success {
  display: none; background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--radius); padding: 20px 24px; text-align: center; margin-top: 16px;
}
.form-success h3 { color: #4ade80; font-size: 16px; margin-bottom: 6px; }
.form-success p { color: var(--text-muted); font-size: 14px; }

/* ── Schedule table ── */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th {
  font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); padding: 12px 16px; border-bottom: 1px solid var(--border);
  text-align: left;
}
.schedule-table td { padding: 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.schedule-table tr:hover td { background: var(--bg-card); color: var(--text); }
.pill {
  display: inline-block; font-size: 10px; padding: 3px 10px; border-radius: 99px;
  font-weight: bold; text-transform: uppercase; letter-spacing: .06em;
}
.pill--open { background: rgba(34,197,94,.12); color: #4ade80; }
.pill--few { background: rgba(251,191,36,.12); color: #fbbf24; }
.pill--full { background: rgba(239,68,68,.1); color: #f87171; }

/* ── Footer ── */
.footer {
  background: #080808; padding: 48px 24px 28px;
  border-top: 1px solid var(--gold-border);
}
.footer__inner { max-width: var(--max); margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer__brand p { font-size: 13px; color: var(--text-muted); max-width: 280px; margin-top: 8px; line-height: 1.65; }
.footer__col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 14px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 12px; color: var(--text-subtle); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 12px; color: var(--text-subtle); }
.footer__legal a:hover { color: var(--text-muted); }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 12px; color: var(--text-subtle); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-subtle); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; }

/* ── Info note ── */
.info-note {
  background: var(--gold-faint); border-left: 3px solid var(--gold);
  padding: 14px 18px; border-radius: 0 4px 4px 0;
  font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 24px 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__mobile {
    display: none; flex-direction: column; padding: 16px 24px 20px;
    border-top: 1px solid var(--border); background: var(--bg);
  }
  .nav__mobile.open { display: flex; }
  .nav__mobile a { font-size: 15px; color: var(--text-muted); padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav__mobile a:last-child { border: none; }
  .about-snippet { flex-direction: column; }
  .about-snippet__img { width: 100%; min-width: unset; height: 180px; }
  .course-detail { grid-template-columns: 1fr; }
  .course-sidebar { position: static; }
  .form-grid { grid-template-columns: 1fr; }
  .trust__item { flex: 1 1 45%; }
  .footer__top { flex-direction: column; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
