/* ============================================
   CATN — Concierge Athletic Trainer Network
   Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

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

:root {
  --navy: #2C4A6E;
  --navy-mid: #3A6491;
  --navy-light: #2EC4B6;
  --gold: #2EC4B6;
  --gold-light: #7ADBD4;
  --gold-pale: #E3F9F7;
  --cream: #F4F7F5;
  --white: #FFFFFF;
  --border: rgba(44,74,110,0.12);
  --border-med: rgba(44,74,110,0.22);
  --text: #1A2E42;
  --muted: #4A6580;
  --success-bg: #E3F9F7;
  --success-text: #0A3830;
  --warn-bg: #FDF8EE;
  --warn-border: #D4B483;
  --warn-text: #3d2a00;
  --error-bg: #FCEBEB;
  --error-text: #A32D2D;
  --radius: 10px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

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

.container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVIGATION ---- */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  color: #2EC4B6;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-decoration: none;
  line-height: 1;
}
.nav-logo span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.07em;
  margin-top: 2px;
}
.nav-links { display: flex; gap: 6px; }
.nav-btn {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 400;
  padding: 6px 11px;
  border-radius: 7px;
  border: 0.5px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-btn:hover { color: #fff; background: rgba(255,255,255,0.07); text-decoration: none; }
.nav-btn.active { background: #2EC4B6; border-color: #2EC4B6; color: #0A2420; font-weight: 500; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 14px;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.nav-mobile a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ---- HERO ---- */
.hero {
  background: var(--navy);
  padding: 60px 24px 52px;
  text-align: center;
}
.hero-inner { max-width: 600px; margin: 0 auto; }

.page-hero {
  background: var(--navy);
  padding: 48px 24px 40px;
  text-align: center;
}
.page-hero .container { max-width: 600px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 32px; color: #fff; margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 500px; margin: 0 auto; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #2EC4B6;
  font-weight: 500;
  margin-bottom: 12px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 14px;
}
.hero h1 em { color: #2EC4B6; font-style: italic; }
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  max-width: 460px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ---- SEARCH BOX ---- */
.search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  padding: 6px 6px 6px 14px;
  gap: 10px;
  border: 1px solid var(--border);
  max-width: 540px;
  margin: 0 auto;
}
.search-box i { color: var(--muted); font-size: 18px; flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.search-box input::placeholder { color: var(--muted); }
.search-btn {
  background: #2EC4B6;
  border: none;
  color: #0A2420;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.search-btn:hover { background: #25A99D; }

/* ---- DISCLAIMER BANNER ---- */
.disclaimer-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--warn-bg);
  border: 0.5px solid var(--warn-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--warn-text);
  line-height: 1.65;
  margin: 32px 0 20px;
}
.disclaimer-banner i { font-size: 17px; flex-shrink: 0; margin-top: 1px; color: var(--gold); }
.disclaimer-banner a { color: #633806; font-weight: 500; }

/* ---- RESULTS ---- */
.results-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.at-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.at-card:hover { border-color: #2EC4B6; }
.at-card-header { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.at-bio {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
  margin: 10px 0;
  padding-top: 10px;
  border-top: 0.5px solid var(--border);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.at-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.at-socials { display: flex; gap: 6px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--navy);
  font-size: 15px;
  transition: background 0.15s;
  text-decoration: none;
}
.social-link:hover { background: #2EC4B6; color: #fff; text-decoration: none; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: #2EC4B6;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.at-name { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--text); }
.at-cred { font-size: 11px; color: var(--gold); letter-spacing: 0.04em; margin-top: 2px; font-weight: 500; }
.at-meta { font-size: 12px; color: var(--muted); line-height: 1.8; }
.at-meta i { font-size: 13px; vertical-align: -2px; margin-right: 4px; }
.at-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--success-bg);
  color: var(--success-text);
  font-weight: 500;
}
.view-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 9px 14px;
  background: var(--cream);
  border: 0.5px solid var(--border-med);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.15s;
}
.view-profile-btn:hover {
  background: #2EC4B6;
  color: #0A2420;
  border-color: #2EC4B6;
  text-decoration: none;
}
.view-profile-btn i { font-size: 14px; }
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.at-cred-submitted i { font-size: 13px; color: #2EC4B6; flex-shrink: 0; }
.at-cred-submitted a { color: var(--navy); font-weight: 500; font-size: 11px; }
  display: block;
  font-size: 12px;
  color: var(--navy-light);
  margin-top: 8px;
  word-break: break-all;
}
.at-website i { font-size: 11px; vertical-align: -1px; margin-right: 3px; }

.results-note {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0 32px;
  text-align: center;
}

.no-results {
  text-align: center;
  padding: 56px 24px;
  color: var(--muted);
}
.no-results i { font-size: 36px; display: block; margin-bottom: 12px; color: #b0bac8; }
.no-results p { font-size: 15px; margin-bottom: 6px; color: var(--text); }

/* ---- SECTIONS ---- */
.section { padding: 52px 0; }
.section h2 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 24px; }

.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.info-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
}
.info-card i { font-size: 24px; color: var(--gold); display: block; margin-bottom: 10px; }
.info-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.info-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--navy);
  padding: 44px 24px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: #fff; margin-bottom: 6px; }
.cta-inner p { font-size: 14px; color: rgba(255,255,255,0.6); }

.btn-primary {
  display: inline-block;
  background: #2EC4B6;
  color: #0A2420;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}
.btn-primary:hover { background: #25A99D; text-decoration: none; }

/* ---- ABOUT GRID ---- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}
.about-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}
.about-card i { font-size: 24px; color: var(--gold); display: block; margin-bottom: 10px; }
.about-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 7px; }
.about-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---- FULL DISCLAIMER ---- */
.full-disclaimer {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 32px;
}
.full-disclaimer h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 0.5px solid var(--border);
}
.full-disclaimer h3 { font-size: 14px; font-weight: 500; color: var(--text); margin: 18px 0 6px; }
.full-disclaimer p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 8px; }
.full-disclaimer a { color: var(--navy-light); }

/* ---- FORM ---- */
.form-container { padding-top: 36px; padding-bottom: 52px; }
.form-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 640px;
  margin: 0 auto;
}
.form-section-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 28px 0 16px;
  padding-bottom: 9px;
  border-bottom: 0.5px solid var(--border);
}
.form-section-title:first-child { margin-top: 0; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.field label { font-size: 13px; font-weight: 500; color: var(--text); }
.req { color: var(--gold); }
.field-note { font-size: 11px; color: var(--muted); line-height: 1.5; }
.field-note a { color: var(--navy-light); }
.field input,
.field select,
.field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border: 0.5px solid var(--border-med);
  border-radius: 7px;
  padding: 9px 12px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); }
.field input.error,
.field select.error,
.field textarea.error { border-color: #E24B4A; }
.field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

/* Checkboxes */
.checkbox-group { display: flex; flex-direction: column; gap: 9px; }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.checkbox-item input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  padding: 0;
}
.checkbox-item em { font-style: normal; color: var(--muted); font-size: 12px; }

/* Liability box */
.liability-box {
  background: var(--warn-bg);
  border: 0.5px solid var(--warn-border);
  border-radius: 8px;
  padding: 18px 18px;
  font-size: 12.5px;
  color: var(--warn-text);
  line-height: 1.75;
  margin: 8px 0 16px;
}
.liability-box p { margin-bottom: 8px; }
.liability-box ol { padding-left: 18px; }
.liability-box ol li { margin-bottom: 7px; }
.liability-box strong { font-weight: 500; color: #633806; }

/* Submit button */
.submit-btn {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s;
  letter-spacing: 0.01em;
}
.submit-btn:hover { background: var(--navy-mid); }
.submit-btn:disabled { background: #7ABFBA; cursor: not-allowed; }
.form-footer-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Form error */
.form-error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 0.5px solid #F09595;
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.5;
}

/* Success message */
.success-msg {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.success-msg i { font-size: 40px; color: #639922; display: block; margin-bottom: 14px; }
.success-msg h2 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 10px; }
.success-msg p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { display: inline-block; animation: spin 0.8s linear infinite; }

/* ---- WHAT IS AN AT SECTION ---- */
.section-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 28px;
}
.at-explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.explainer-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  transition: border-color 0.15s;
}
.explainer-card:hover { border-color: var(--navy-light); }
.explainer-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 0.5px solid var(--border);
}
.explainer-icon i { font-size: 20px; color: var(--navy-light); }
.explainer-card h3 { font-size: 14px; font-weight: 500; margin-bottom: 7px; line-height: 1.3; }
.explainer-card p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.at-explainer-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.at-explainer-note i { font-size: 17px; flex-shrink: 0; margin-top: 1px; color: var(--navy-light); }
.at-explainer-note a { color: var(--navy-light); font-weight: 500; }

/* ---- WHAT IS AN AT SECTION ---- */
.footer {
  background: var(--navy);
  padding: 28px 0 20px;
  margin-top: 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 14px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.35); line-height: 1.65; }

/* ---- HELPERS ---- */
.muted { color: var(--muted); }

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .hero h1 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .about-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
}
