/* Barnabas Volunteer Application — Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:   #252424;
  --light:  #f1f1f0;
  --red:    #ac2020;
  --gray:   #6f6b66;
  --blue:   #4c829d;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }

/* ── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--dark);
  padding: 16px 24px;
  border-bottom: 4px solid var(--red);
}
.header-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo { height: 48px; width: auto; filter: brightness(0) invert(1); }
.header-tagline { color: rgba(255,255,255,0.55); font-size: 13px; letter-spacing: .04em; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 48px 24px 56px;
}
.hero h1 { font-size: clamp(26px, 5vw, 38px); font-weight: 700; margin-bottom: 12px; }
.hero p  { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

.hero-success { background: linear-gradient(135deg, var(--dark) 0%, #3a1a1a 100%); }
.success-icon { font-size: 56px; margin-bottom: 16px; }
.success-note { background: rgba(255,255,255,0.1); border-radius: 8px; padding: 12px 20px; margin-top: 20px; font-size: 14px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Form wrap ─────────────────────────────────────────────────────────────── */
.form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  width: 100%;
}

.form-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8e8e6;
}

.section-note {
  background: #e8f3f8;
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 18px;
}

/* ── Fields ────────────────────────────────────────────────────────────────── */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-row.cols-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 540px) { .field-row, .field-row.cols-3 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.req { color: var(--red); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  border: 1.5px solid #d4d4d2;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(76,130,157,0.15);
}
.field textarea { resize: vertical; }

/* ── Radio group ───────────────────────────────────────────────────────────── */
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 15px; }
.radio-label input[type="radio"] { width: 17px; height: 17px; accent-color: var(--blue); }

/* ── Release box ───────────────────────────────────────────────────────────── */
.release-box {
  background: var(--light);
  border: 1.5px solid #d4d4d2;
  border-radius: var(--radius);
  padding: 18px;
}
.release-box p { font-size: 14px; color: var(--gray); margin-bottom: 14px; }
.release-note { font-size: 13px; color: var(--blue); font-style: italic; margin-bottom: 10px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dark);
}
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--blue); }

/* ── Submit ─────────────────────────────────────────────────────────────────── */
.submit-section { text-align: center; }
.btn-submit {
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 16px 36px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  transition: background .15s, transform .1s;
}
.btn-submit:hover { background: var(--red); }
.btn-submit:active { transform: scale(.98); }
.submit-note { font-size: 13px; color: var(--gray); margin-top: 12px; }

/* ── Alerts ─────────────────────────────────────────────────────────────────── */
.alert { border-radius: var(--radius); padding: 14px 18px; margin-bottom: 16px; font-size: 15px; }
.alert-error { background: #fdecea; color: #b71c1c; border: 1px solid #ef9a9a; }

/* ── Calendly section ───────────────────────────────────────────────────────── */
.calendly-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 16px;
  width: 100%;
}
.calendly-heading { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.calendly-subhead { color: var(--gray); margin-bottom: 20px; }
.calendly-inline-widget {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e0e0e0;
}

/* ── What to expect ─────────────────────────────────────────────────────────── */
.what-to-expect {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  width: 100%;
}
.what-to-expect h2 { font-size: 20px; margin-bottom: 20px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 540px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  background: var(--dark);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.step-text { font-size: 14px; line-height: 1.5; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px;
  font-size: 13px;
  margin-top: auto;
}
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-tagline { margin-top: 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .4; }
