:root {
  --navy: #1a2436;
  --navy-light: #263254;
  --orange: #d97730;
  --orange-dark: #b85f22;
  --gold: #f2c94c;
  --blue-bg: #e6eefb;
  --blue-border: #b9d3f2;
  --green-bg: #e7f5e9;
  --green-border: #bfe3c6;
  --ink: #1f2430;
  --muted: #5b6373;
  --border: #dfe3ea;
  --bg: #f7f8fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 16px; }
a { color: var(--orange-dark); }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand-badge {
  font-size: 1.8rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text strong {
  font-size: 1.05rem;
}
.brand-text small {
  color: #b7c0d6;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-nav a:not(.btn) {
  color: #dbe1ee;
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:not(.btn):hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-nav { padding: 8px 16px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.hero-inner {
  padding: 64px 24px;
  max-width: 720px;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.hero .lede {
  color: #dbe1ee;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* Steps */
.steps { padding: 56px 0; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
}

/* About */
.about { padding: 56px 0; background: var(--white); }
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.instructor-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  height: fit-content;
}
.instructor-card hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}
.instructor-card .btn { margin-top: 12px; }

/* Classes */
.classes { padding: 56px 0; }
.class-block { margin-bottom: 32px; }
.tag {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* CTA band */
.cta-band {
  background: var(--gold);
  text-align: center;
  padding: 48px 0;
}
.cta-band h2 { color: var(--navy); }
.cta-band p { color: var(--navy); }

/* Forms */
.form-section { padding: 48px 0 80px; }
.form-section .lede { color: var(--muted); }

form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--ink);
}
form input[type="text"],
form input[type="tel"],
form input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 20px;
}

.session-fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin: 8px 0 20px;
}
.session-fieldset legend {
  font-weight: 700;
  padding: 0 6px;
}
.session-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  font-weight: normal;
  cursor: pointer;
}
.session-option:hover { background: var(--bg); }
.session-option input { margin-top: 4px; }
.session-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.92rem;
}
.session-body span { color: var(--muted); font-weight: normal; }

.note-box {
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.agree-box {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}
.checkbox-line input { width: auto; margin: 0; }
.payment-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.fine-print {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert-error {
  background: #fdeceb;
  border: 1px solid #f3b7b0;
  color: #9c2c22;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.alert-error ul { margin: 8px 0 0; padding-left: 20px; }

/* Confirmation */
.confirmation { text-align: center; }
.confirm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: #2f8f45;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

/* Admin table */
.table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.88rem;
}
.admin-table th, .admin-table td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
}
.admin-table th { background: var(--bg); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b7c0d6;
  padding: 28px 0;
  font-size: 0.88rem;
}
.site-footer a { color: #dbe1ee; }
.site-footer p { margin: 4px 0; }

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
}
