/* travelptpay.com — PT-focused travel therapy pay resource
   Primary palette: deep clinical blue #1e3a5f + warm orange accent #e67e22
   Sponsored (ProTherapy) palette: light blue #7ab8d9 + black #0a0a0a (distinct brand) */

:root {
  --primary: #1e3a5f;
  --primary-dark: #14283f;
  --primary-light: #2c5282;
  --accent: #e67e22;
  --accent-hover: #d96d10;
  --accent-soft: #fef5eb;
  --bg: #fafbfc;
  --bg-alt: #f1f4f8;
  --bg-stripe: #eef3f8;
  --text: #1a202c;
  --text-muted: #4a5568;
  --border: #e2e8f0;
  --success: #38a169;
  --warning: #d69e2e;
  --danger: #c53030;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);

  /* Sponsored ProTherapy palette */
  --pta-blue: #7ab8d9;
  --pta-blue-dark: #4a90b8;
  --pta-black: #0a0a0a;
  --pta-off: #f5f9fc;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span { color: var(--accent); }

nav ul { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }

nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 4.5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(230,126,34,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero .eyebrow {
  display: inline-block;
  background: rgba(230,126,34,0.2);
  color: #ffd8a8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 em { color: var(--accent); font-style: normal; }

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 820px;
  margin: 2.5rem auto 0;
  padding: 1.5rem;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
}

.hero-stat { text-align: center; }

.hero-stat .num {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hero-stat .label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 3rem 0 2.5rem;
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-hero .crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }

.page-hero .crumbs a { color: rgba(255,255,255,0.85); text-decoration: none; }

.page-hero p.lead {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
}

/* Content */
main { padding: 3rem 0 1rem; }

section.block { margin-bottom: 3rem; }

.section-alt {
  background: var(--bg-stripe);
  padding: 3rem 0;
  margin: 0 0 3rem;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

p { margin-bottom: 1rem; color: var(--text); }
p.muted { color: var(--text-muted); font-size: 0.95rem; }
p.large { font-size: 1.1rem; }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

a {
  color: var(--primary-light);
  text-decoration: underline;
  text-decoration-color: rgba(44,82,130,0.35);
  text-underline-offset: 2px;
}

a:hover { text-decoration-color: var(--accent); color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.85rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(230,126,34,0.25);
}

.btn:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(230,126,34,0.3);
  text-decoration: none;
}

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: var(--shadow-md); }

.card h3 { margin-top: 0; color: var(--primary); font-size: 1.15rem; }

.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.card.featured { border-top: 4px solid var(--accent); }

.card-compact {
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.card-compact h4 { color: var(--primary); font-size: 1rem; margin-bottom: 0.4rem; }

.card-compact p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.75rem;
  background: var(--primary);
  color: white;
  border-radius: 8px;
}

.stat-strip .stat { text-align: center; padding: 0.5rem; }

.stat-strip .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-strip .label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* Pay viz — horizontal bars */
.pay-viz { margin: 1.5rem 0 2rem; }

.pay-viz-row {
  display: grid;
  grid-template-columns: 180px 1fr 110px;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.pay-viz-row:last-child { border-bottom: none; }

.pay-viz-label { font-weight: 600; color: var(--primary); font-size: 0.95rem; }

.pay-viz-track {
  position: relative;
  height: 22px;
  background: var(--bg-alt);
  border-radius: 4px;
  overflow: hidden;
}

.pay-viz-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--accent) 100%);
  border-radius: 4px;
}

.pay-viz-amount {
  font-weight: 700;
  color: var(--text);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.pay-viz-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0 110px 0 180px;
  margin-top: 0.5rem;
}

/* Pay table */
.pay-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.pay-table th {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.pay-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

.pay-table tbody tr:nth-child(even) { background: var(--bg-alt); }

.pay-table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.pay-table .total-row { background: var(--accent-soft) !important; font-weight: 700; }

/* Callouts */
.callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.1rem 1.35rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

.callout strong { color: var(--primary); }

.callout.warning { border-left-color: var(--warning); background: #fffaf0; }
.callout.danger { border-left-color: var(--danger); background: #fff5f5; }
.callout.tip { border-left-color: var(--success); background: #f0fff4; }

/* Signal grid */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.signal-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.signal-card.hot {
  border-color: var(--accent);
  background: linear-gradient(to bottom, var(--accent-soft) 0%, white 60%);
}

.signal-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.signal-card.hot .tag { background: var(--accent); color: white; }

.signal-card h4 { color: var(--primary); font-size: 1.05rem; margin-bottom: 0.5rem; }

.signal-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0; }

/* Compare grid */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.compare-col { padding: 1.5rem; border-radius: 8px; }

.compare-col.low { background: #fff5f5; border-left: 4px solid var(--danger); }

.compare-col.high { background: #f0fff4; border-left: 4px solid var(--success); }

.compare-col h4 { color: var(--primary); font-size: 1rem; margin-bottom: 0.75rem; }

.compare-col .big-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.compare-col p { font-size: 0.9rem; margin-bottom: 0; }

@media (max-width: 640px) { .compare-grid { grid-template-columns: 1fr; } }

/* Lead form */
.lead-section {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-stripe) 100%);
  padding: 3.5rem 0;
  margin-top: 3rem;
}

.lead-form {
  max-width: 580px;
  margin: 0 auto;
  background: white;
  padding: 2.25rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--accent);
}

.lead-form h2 { text-align: center; margin-bottom: 0.5rem; }

.lead-form p.sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230,126,34,0.15);
}

.form-field textarea { min-height: 90px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(230,126,34,0.25);
}

.form-submit:hover { background: var(--accent-hover); }

.form-note { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 1rem; }

/* ===== SPONSORED (ProTherapy) — DISTINCT BRAND: light blue + black ===== */
.pta-banner {
  background: var(--pta-black);
  color: white;
  padding: 2.5rem 0;
  border-top: 4px solid var(--pta-blue);
  border-bottom: 4px solid var(--pta-blue);
  position: relative;
  overflow: hidden;
}

.pta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122,184,217,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pta-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.pta-banner .ad-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pta-blue);
  background: rgba(122,184,217,0.12);
  border: 1px solid rgba(122,184,217,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.pta-banner .pta-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pta-blue);
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.pta-banner .pta-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
  margin-bottom: 0;
  line-height: 1.5;
  max-width: 560px;
}

.pta-banner a.pta-cta {
  display: inline-block;
  background: var(--pta-blue);
  color: var(--pta-black);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 5px;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}

.pta-banner a.pta-cta:hover {
  background: #9ecbe4;
  color: var(--pta-black);
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 640px) {
  .pta-banner-inner { grid-template-columns: 1fr; text-align: center; }
  .pta-banner .pta-tagline { margin: 0 auto 1rem; }
}

#pta-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--pta-black);
  color: white;
  padding: 0.7rem 1rem;
  text-align: center;
  font-size: 0.88rem;
  z-index: 90;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-top: 2px solid var(--pta-blue);
}

#pta-sticky .sticky-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pta-blue);
  font-weight: 700;
}

#pta-sticky .sticky-msg { color: rgba(255,255,255,0.9); }

#pta-sticky a {
  color: var(--pta-black);
  background: var(--pta-blue);
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
}

#pta-sticky a:hover { background: #9ecbe4; text-decoration: none; }

#pta-sticky .close-sticky {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 0.35rem;
  margin-left: 0.25rem;
}

#pta-sticky .close-sticky:hover { color: white; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.35rem 0; }

.faq-item:last-child { border-bottom: none; }

.faq-item h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--primary); }

.faq-item p { margin-bottom: 0; }

/* Footer */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-bottom: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.footer-col a:hover { color: var(--accent); text-decoration: none; }

.footer-tagline {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-style: italic;
}

.footer-copyright {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  nav ul { gap: 1rem; font-size: 0.88rem; }
  main { padding: 2rem 0 0.5rem; }
  .lead-form { padding: 1.5rem; }
  #pta-sticky { font-size: 0.82rem; padding: 0.6rem 0.75rem; }
  .pay-viz-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .pay-viz-amount { text-align: left; }
  .pay-viz-legend { display: none; }
  .stat-strip { padding: 1.25rem; }
}
