/* ===== CSFC REGISTRATION PAGE ===== */
main.csfc-reg-main {
  padding: 0;
  min-height: 0;
}

/* ===== HERO ===== */
.csfc-reg-hero {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0;
}

.csfc-reg-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.csfc-reg-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.125rem;
}

.csfc-reg-hero-sub {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 1.75rem;
}

.csfc-reg-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.csfc-reg-infocard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.csfc-reg-infocard-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}

.csfc-reg-infocard-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.csfc-reg-infocard-row span:first-child {
  color: var(--text-muted);
  flex-shrink: 0;
}

.csfc-reg-infocard-row span:last-child {
  font-weight: 700;
  text-align: right;
}

/* ===== SHIFT STRIP ===== */
.csfc-reg-shift {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.csfc-reg-shift-card {
  flex: 1 1 18rem;
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.csfc-reg-shift-card--from {
  background: var(--bg-light);
}

.csfc-reg-shift-card--to {
  background: #fff;
  border: 2px solid var(--primary);
}

.csfc-reg-shift-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.csfc-reg-shift-card--to .csfc-reg-shift-label {
  color: var(--primary-dark);
}

.csfc-reg-shift-heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-muted);
}

.csfc-reg-shift-card--to .csfc-reg-shift-heading {
  color: var(--text);
}

.csfc-reg-shift-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.8125rem;
}

.csfc-reg-shift-tags span {
  border-radius: 999px;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.csfc-reg-shift-card--to .csfc-reg-shift-tags span {
  background: rgba(246, 153, 50, 0.12);
  border-color: transparent;
  color: var(--primary-dark);
  font-weight: 600;
}

.csfc-reg-shift-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

@media (max-width: 56.25em) {
  .csfc-reg-shift-arrow {
    transform: rotate(90deg);
  }
}

/* ===== CERTIFICATE (left/right, white) ===== */
.csfc-reg-cert-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.csfc-reg-cert-img {
  margin: 0;
  display: flex;
  justify-content: center;
}

.csfc-reg-cert-img img {
  width: 100%;
  max-width: 34rem;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 1.25rem 3rem rgba(15, 23, 42, 0.14);
  transform: rotate(-1.5deg);
  display: block;
}

.csfc-reg-cert-text .section-title {
  margin-bottom: 1.25rem;
}

@media (max-width: 60em) {
  .csfc-reg-cert-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .csfc-reg-cert-img {
    order: -1;
  }

  .csfc-reg-cert-img img {
    transform: none;
  }
}

/* ===== GALLERY ===== */
.csfc-reg-gallery-hero img {
  width: 100%;
  height: auto;
  border-radius: 0.875rem;
  border: 1px solid var(--border);
  display: block;
  margin-bottom: 1rem;
}

.csfc-reg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1rem;
}

.csfc-reg-gallery-fig {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.csfc-reg-gallery-fig img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  display: block;
}

.csfc-reg-gallery-fig figcaption {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.csfc-reg-gallery-fig figcaption strong {
  color: var(--text);
}

/* ===== MODULES TIMELINE ===== */
.csfc-reg-modules {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.csfc-reg-module {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.csfc-reg-module-bar {
  position: relative;
  height: 3px;
  background: var(--primary);
}

.csfc-reg-module-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-sizing: border-box;
}

.csfc-reg-module-meta {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
}

.csfc-reg-module-num {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.csfc-reg-module-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.csfc-reg-module h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.csfc-reg-module p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.csfc-reg-module-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ===== TESTIMONIAL STRIP ===== */
.csfc-reg-testimonial {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.csfc-reg-testimonial-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
}

.csfc-reg-testimonial-quote {
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.csfc-reg-testimonial-cite {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.csfc-reg-testimonial-aside {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.csfc-reg-testimonial-aside a {
  color: var(--primary-dark);
  font-weight: 600;
}

/* ===== INVESTMENT + FORM ===== */
.csfc-reg-invest-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: flex-start;
}

.csfc-reg-price-card {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.csfc-reg-price-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.csfc-reg-price-amount {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text);
}

.csfc-reg-price-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.csfc-reg-price-card--featured {
  border: 2px solid var(--primary);
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 0;
}

.csfc-reg-price-featured-head {
  background: var(--primary);
  color: #0d1117;
  padding: 0.875rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.csfc-reg-price-featured-head strong {
  font-size: 1.125rem;
  font-weight: 800;
}

.csfc-reg-price-save {
  font-size: 0.8125rem;
  font-weight: 700;
  background: #fff;
  padding: 0.375rem 0.625rem;
  border-radius: 999px;
}

.csfc-reg-price-featured-body {
  padding: 1.5rem;
}

.csfc-reg-price-featured-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border);
  margin-top: 0.625rem;
}

.csfc-reg-price-featured-row:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.csfc-reg-price-featured-row.strike span:last-child {
  text-decoration: line-through;
  color: var(--text-muted);
}

.csfc-reg-price-featured-row.total span {
  font-weight: 800;
  font-size: 1rem;
}

.csfc-reg-price-featured-row.save span {
  color: var(--primary-dark);
  font-weight: 700;
}

.csfc-reg-price-featured-foot {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.875rem;
  line-height: 1.5;
}

.csfc-reg-invest-fineprint {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 1rem;
}

.csfc-reg-invest-fineprint a {
  color: var(--primary-dark);
  font-weight: 600;
}

.csfc-reg-form-panel {
  background: #fff;
}

.csfc-reg-form-panel h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.csfc-reg-form-panel p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 60em) {
  .csfc-reg-hero-grid,
  .csfc-reg-testimonial-inner,
  .csfc-reg-invest-grid {
    grid-template-columns: 1fr;
  }

  .csfc-reg-modules {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }
}

@media (max-width: 40em) {
  .csfc-reg-hero {
    padding: 3rem 0;
  }

  .csfc-reg-modules {
    grid-template-columns: 1fr;
  }
}
