/* SPONSOR PAGE — Corporate sponsor landing */

/* HERO */
.sp-hero {
  padding: 4rem 2rem 5rem;
  background: var(--bg);
}
.sp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.sp-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.sp-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.sp-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 46ch;
}
.sp-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #234a31; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-full { width: 100%; text-align: center; }

.sp-hero-img-wrap {
  position: relative;
}
.sp-hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 32px rgba(26,46,35,0.12);
}
.sp-hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--accent);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(44,95,62,0.3);
}
.sp-badge-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}
.sp-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

/* MISSION STRIP */
.sp-mission {
  background: var(--ink);
  padding: 3.5rem 2rem;
}
.sp-mission-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.sp-mission-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
}

/* SECTION SHARED */
.sp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.sp-section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0.75rem 0 3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.sp-section-headline.light { color: #fff; }

/* FEATURED PROJECTS */
.sp-projects { padding: 6rem 0; background: var(--bg); }
.sp-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sp-project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sp-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,46,35,0.12);
}
.sp-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--accent-light);
}
.sp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-card-co-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.sp-card-body { padding: 1.5rem; }
.sp-card-type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.sp-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.sp-card-org {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}
.sp-card-stats {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 8px;
}
.sp-stat { display: flex; flex-direction: column; }
.sp-stat-n {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.sp-stat-l {
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
}
.sp-card-funding { margin-bottom: 1.25rem; }
.sp-progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.sp-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.sp-funding-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.sp-funding-meta strong { color: var(--ink); }
.sp-card-cta {
  display: block;
  text-align: center;
  padding: 0.65rem;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.sp-card-cta:hover { background: #234a31; }

/* HOW IT WORKS */
.sp-hiw {
  padding: 6rem 0;
  background: var(--ink);
}
.sp-hiw .sp-section-headline { color: #fff; }
.sp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.sp-step {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}
.sp-step-icon {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-light);
  opacity: 0.65;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.sp-step h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.sp-step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* VALUE PROPS */
.sp-value { padding: 6rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.sp-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sp-value-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.sp-value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44,95,62,0.1);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.sp-value-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.sp-value-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* SPONSORSHIP TIERS */
.sp-tiers { padding: 6rem 0; background: var(--bg); }
.sp-tiers .sp-section-headline { margin-bottom: 3rem; }
.sp-tier-price {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: -0.25rem 0 0.75rem;
}
.sp-tiers .sp-value-card ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.25rem;
}
.sp-tiers .sp-value-card li {
  font-size: 0.85rem;
  color: var(--fg-muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border);
}
.sp-tiers .sp-value-card li:last-child { border-bottom: 0; }
.sp-tiers .sp-value-card .sp-card-cta {
  margin-top: 0.5rem;
}
.sp-tier-checkout-form { margin-top: 1rem; }

/* STRIPE CHECKOUT SUCCESS (mirrors .sp-form-success palette + iconography) */
.sp-checkout-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  background: rgba(44,95,62,0.08);
  border: 1px solid var(--accent-light);
  border-radius: 12px;
  color: var(--accent);
  box-shadow: 0 4px 20px var(--shadow);
}
.sp-checkout-success svg { flex-shrink: 0; margin-top: 0.15rem; }
.sp-checkout-success-body { display: flex; flex-direction: column; }
.sp-checkout-success strong { font-size: 1.0625rem; font-family: var(--font-display); }
.sp-checkout-success p { font-size: 0.9rem; margin-top: 0.35rem; color: var(--fg-muted); }

/* SPONSOR SUCCESS RECAP */
.sp-recap-section { padding: 4rem 2rem 6rem; background: var(--bg); }
.sp-success-recap {
  max-width: 640px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 3rem 2.5rem;
  box-shadow: 0 2px 16px var(--shadow);
  text-align: center;
}
.sp-success-recap .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  margin-bottom: 1.5rem;
}
.sp-success-headline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.sp-success-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 44ch;
}
.sp-share-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}
.share-btn--copy,
.share-btn--native,
.share-btn--view {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.share-btn--copy:hover,
.share-btn--native:hover,
.share-btn--view:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.share-btn--copied {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.sp-success-recap--fallback .sp-success-headline { color: var(--fg-muted); }

/* CONTACT FORM */
.sp-contact { padding: 6rem 0; background: var(--bg); }
.sp-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.sp-contact-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin: 1rem 0 2.5rem;
}
.sp-contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.sp-detail { display: flex; flex-direction: column; }
.sp-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.2rem;
}
.sp-detail-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.sp-contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px var(--shadow);
}
.sp-form { display: flex; flex-direction: column; gap: 1.25rem; }
.sp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.sp-field { display: flex; flex-direction: column; gap: 0.4rem; }
.sp-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
}
.sp-field input,
.sp-field textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}
.sp-field input:focus,
.sp-field textarea:focus { border-color: var(--accent); }
.sp-field textarea { resize: vertical; min-height: 100px; }
.sp-form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(44,95,62,0.08);
  border: 1px solid var(--accent-light);
  border-radius: 10px;
  color: var(--accent);
}
.sp-form-success svg { flex-shrink: 0; margin-top: 0.1rem; }
.sp-form-success strong { font-size: 0.95rem; }
.sp-form-success p { font-size: 0.85rem; margin-top: 0.25rem; color: var(--fg-muted); }
.sp-form-error {
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.sp-form-prefill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.sp-form-prefill strong { color: var(--ink); }
.sp-form-prefill-cat {
  color: var(--fg-muted);
  font-style: italic;
  font-size: 0.85rem;
}

/* STATS STRIP */
.sp-stats {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.sp-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.sp-stat-item { display: flex; flex-direction: column; }
.sp-stat-big {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.sp-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}
.sp-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .sp-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .sp-project-grid { grid-template-columns: 1fr; }
  .sp-steps { grid-template-columns: repeat(2, 1fr); }
  .sp-value-grid { grid-template-columns: 1fr; }
  .sp-contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .sp-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sp-steps { grid-template-columns: 1fr; }
  .sp-hero { padding: 3rem 1.25rem 4rem; }
  .sp-contact-form-wrap { padding: 1.5rem; }
  .sp-hero-badge { bottom: -12px; left: -12px; }

  .sp-stats-inner { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .sp-stat-divider { display: none; }
  .sp-stat-big { font-size: 2rem; }

  .btn { min-height: 44px; }

  .sp-project-hero-img { height: 200px; }

  .sp-section-inner { padding: 0 1rem; }

  .sp-tier-radio label { min-height: 44px; padding: 14px; }
}
.sp-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d5cfc7;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #fff;
  appearance: auto;
}
.sp-select:focus {
  outline: 2px solid #2c5f3e;
  outline-offset: 1px;
}

/* PROJECT-SPONSOR PAGE: tier radios + hero image */
.sp-tier-radio { display:flex; flex-direction:column; gap:10px; margin-top:8px; }
.sp-tier-radio label {
  display:flex; align-items:flex-start; gap:10px;
  border:1px solid #d8d3c8; border-radius:6px; padding:12px 14px;
  cursor:pointer; background:#fff;
}
.sp-tier-radio input { margin-top:4px; }
.sp-tier-radio strong { display:block; color:#1a3a2a; }
.sp-tier-radio small { color:#5a5a5a; }
.sp-tier-radio label:has(input:checked) { border-color:#2c5f3e; background:#f5f3ec; }
.sp-project-hero-img { width:100%; height:320px; object-fit:cover; border-radius:0; }