/* Camp Confidence - Static site CSS (Netlify-ready) */
:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --card:#ffffff;
  --text:#0c0b0b;
  --muted:#4b5563;
  --primary:#034cad;
  --primary-2:#608ecb;
  --accent:#fec100;
  --accent-2:#fedd59;
  --danger:#8e372c;
  --border:rgba(3,76,173,.18);
  --shadow:0 12px 30px rgba(12,11,11,.08);
  --radius:20px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; height:auto; display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 24px}

/* Top bar */
.header{
  position:sticky; top:0; z-index:50;
  background: linear-gradient(180deg, var(--primary), #023a87);
  border-bottom: 3px solid rgba(254,193,0,.75);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:14px}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.2px}

.nav{display:flex; align-items:center; gap:14px}
.nav a{
  color: rgba(255,255,255,.85);
  padding:10px 12px;
  border-radius:12px;
  font-weight:600;
  transition: color 0.2s;
}
.nav a:hover{color: rgba(255,255,255,1)}
.nav a.active{color:var(--accent-2); background: rgba(255,255,255,.1)}

.cta-row{display:flex; align-items:center; gap:10px}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 20px;
  border-radius:12px;
  border: 2px solid var(--primary);
  background: transparent;
  color:var(--primary);
  font-weight:700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn:hover{background: rgba(3,76,173,.06)}
.btn.primary{
  border:2px solid var(--accent);
  background: var(--accent);
  color: var(--primary);
  font-weight:800;
  box-shadow: 0 4px 12px rgba(254,193,0,.25);
}
.btn.primary:hover{background: var(--accent-2); border-color: var(--accent-2)}
.btn.ghost{
  background: transparent;
  border:2px solid var(--primary);
  color: var(--primary);
}
.btn.ghost:hover{background: rgba(3,76,173,.06)}
.btn.secondary{
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn.secondary:hover{background: rgba(3,76,173,.06)}

.menu-btn{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  color: white;
  cursor: pointer;
}

/* Hero */
.hero{padding:48px 0 40px; background: var(--bg)}
.hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:40px; align-items:center}
.hero-text{max-width: 560px}

.badge-highlight{
  display:inline-block;
  padding:8px 16px;
  background: var(--accent);
  color: var(--primary);
  font-weight:700;
  font-size: 14px;
  border-radius:999px;
  margin-bottom: 16px;
}

h1{
  font-size: clamp(36px, 5vw, 52px);
  line-height:1.1;
  margin:0 0 8px;
  letter-spacing:-1px;
  color: var(--primary);
  font-weight: 800;
}
.tagline{
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 16px;
}
.lead{color:var(--muted); font-size: 17px; max-width: 50ch; margin: 0 0 24px; line-height: 1.6}
.hero-actions{display:flex; flex-wrap:wrap; gap:12px}

.hero-card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
  max-width: 360px;
  margin-left: auto;
}

.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border: 1px solid rgba(233,238,252,.16);
  background: rgba(233,238,252,.06);
  border-radius:999px;
  color: rgba(255,255,255,.92);
  font-weight:650;
}
.kicker b{color: white}

/* Sections */
.section{padding:48px 0}
.section-heading{
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 24px;
  text-align: center;
}
.section-title{display:flex; align-items:flex-end; justify-content:space-between; gap:14px; margin-bottom:14px}
.section-title h2{margin:0; font-size: 26px; letter-spacing:-.3px; color: var(--primary)}
.section-title p{margin:0; color:var(--muted); max-width: 70ch}

/* Learn Section */
.learn-section{
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.learn-card{
  text-align: center;
  padding: 32px 24px;
}
.card-icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: rgba(3,76,173,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.learn-card h3{
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.learn-card p{
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Steps Section */
.steps-section{
  background: var(--bg);
}
.steps-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card{
  text-align: center;
  padding: 24px 16px;
}
.step-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.step-card h3{
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:20px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:20px}
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:24px;
  box-shadow: var(--shadow);
}
.card h3{margin:10px 0 6px; font-size:18px}
.card p{margin:0; color:var(--muted)}
.icon{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  background: rgba(3,76,173,.08);
  border: 1px solid var(--border);
  color: var(--primary);
}

/* Timeline */
.timeline{display:grid; gap:12px}
.step{display:flex; gap:12px; align-items:flex-start}
.step-num{
  width:34px; height:34px;
  border-radius:14px;
  display:grid; place-items:center;
  background: rgba(254,193,0,.2);
  border: 1px solid rgba(254,193,0,.4);
  color: var(--primary);
  font-weight:800;
}

/* Testimonials */
.quote{font-size:15px; color:var(--muted)}
.quote b{color:var(--text)}

/* Forms */
.form{
  display:grid; gap:16px;
}
.field{display:grid; gap:6px}
label{color:var(--text); font-weight:600; font-size: 14px}
input, textarea, select{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: var(--bg);
  color:var(--text);
  outline:none;
  font-size: 15px;
}
textarea{min-height:120px; resize:vertical}
input:focus, textarea:focus, select:focus{border-color: var(--primary); box-shadow: 0 0 0 3px rgba(3,76,173,.1)}
.help{color:var(--muted); font-size: 13px}

/* FAQ */
.faq-item{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow:hidden;
  margin-bottom: 12px;
}
.faq-q{
  width:100%;
  text-align:left;
  padding:16px 18px;
  color:var(--text);
  background: transparent;
  border:none;
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-weight:700;
  cursor:pointer;
  font-size: 15px;
}
.faq-a{padding:0 18px 16px; color:var(--muted); display:none}
.faq-item.open .faq-a{display:block}

/* Footer */
.footer{padding:32px 0 48px; border-top: 3px solid rgba(254,193,0,.75); margin-top: 0}
.footer{
  background: linear-gradient(180deg, var(--primary), #023a87);
}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:24px}
.footer small{color: rgba(255,255,255,.75)}
.footer a{color: rgba(255,255,255,.85)}
.footer a:hover{color: white}

.footer, .footer p, .footer .brand{
  color: rgba(255,255,255,.92);
}

/* Utilities */
.sep{height:1px; background: var(--border); margin:16px 0}
.pill-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(3,76,173,.06);
  color:var(--primary);
  font-weight:600;
  font-size: 14px;
}

/* Header brand */
.header .brand, .header a{
  color: rgba(255,255,255,.95);
}
.header a.active{
  color: var(--accent-2);
}

/* Flyer image */
.flyer{border-radius:14px; border:1px solid var(--border); width: 100%}

/* Success section (first camp photo) */
.success-section{
  padding: 56px 24px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}
.success-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.success-text h2{
  margin: 0 0 12px 0;
  font-size: 32px;
  line-height: 1.15;
  color: var(--primary);
}
.success-lead{
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.success-sub{
  margin: 0 0 20px 0;
  color: var(--muted);
  font-size: 15px;
}
.success-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.success-media{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--primary);
}
.success-media img{
  display: block;
  width: 100%;
  height: auto;
}
.success-media figcaption{
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  background: var(--primary);
}

/* Page Header for internal pages */
.page-header{
  padding: 48px 0 32px;
  background: var(--bg);
}
.page-header h1{
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 8px;
}
.page-header .subtitle{
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  max-width: 60ch;
}

/* Content sections for internal pages */
.content-section{
  padding: 40px 0;
}
.content-section h2{
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 16px;
}
.content-section p{
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 70ch;
}
.content-section ul{
  margin: 0 0 16px;
  padding-left: 24px;
}
.content-section li{
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Info Grid for dates page */
.info-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.info-item{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.info-item .label{
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
}
.info-item .value{
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* Date highlight */
.date-highlight{
  background: rgba(254,193,0,.15);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
  margin: 24px 0;
}
.date-highlight .date{
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 8px;
}
.date-highlight p{
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* CTA Section */
.cta-section{
  padding: 48px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-buttons{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Program Cards for programs page */
.program-card{
  text-align: left;
  padding: 28px 24px;
}
.program-card .card-icon{
  margin: 0 0 16px;
}
.program-card h3{
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}
.program-card p{
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Proof section for programs page */
.proof-section{
  padding: 48px 0;
  background: var(--bg);
}
.proof-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.proof-text h2{
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 16px;
}
.proof-text p{
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 20px;
}
.proof-media{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.proof-media img{
  width: 100%;
  height: auto;
  display: block;
}
.proof-media figcaption{
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr; gap: 32px}
  .hero-card{max-width: 100%; margin-left: 0}
  .grid3{grid-template-columns: 1fr;}
  .grid2{grid-template-columns: 1fr;}
  .steps-grid{grid-template-columns: 1fr; gap: 16px}
  .footer-grid{grid-template-columns: 1fr}
  .success-inner{grid-template-columns: 1fr; gap: 32px}
  .info-grid{grid-template-columns: 1fr}
  .proof-grid{grid-template-columns: 1fr; gap: 32px}
  .nav{display:none}
  .menu-btn{display:inline-grid; place-items:center}
  .nav.mobile{
    display:grid;
    gap:6px;
    padding:0 0 14px;
  }
  .nav.mobile a{padding:10px 12px; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.15); border-radius: 8px}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important}
}

/* SR only */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
