/* ============================================================
   CENTRIPETAL VENTURE — Application Form Styles v1
   ============================================================ */

/* ── Force dark header ────────────────────────────────────── */
#site-header {
  background: rgba(0, 0, 0, 0.96) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Compact Dynamic Step Bar ─────────────────────────────── */
.ca-step-bar {
  background: #060606;
  padding: clamp(88px, 10vw, 120px) 0 36px;
  border-bottom: 1px solid rgba(212,168,83,0.18);
}

.ca-step-bar-eyebrow {
  display: block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(212,168,83,0.6);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ca-step-bar-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ca-step-bar-track {
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
}

.ca-step-bar-fill {
  height: 100%;
  width: 33%;
  background: #D4A853;
  border-radius: 1px;
  transition: width 0.4s ease;
}


/* ── Form Section ─────────────────────────────────────────── */
.ca-form-section {
  background: #faf7f2;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 64px);
}


/* ── Step Progress ────────────────────────────────────────── */
.ca-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
}

.ca-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.ca-step--active {
  opacity: 1;
}

.ca-step--done {
  opacity: 0.6;
}

.ca-step-num {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: #D4A853;
  text-transform: uppercase;
}

.ca-step-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #1a1a1a;
  text-transform: uppercase;
  white-space: nowrap;
}

.ca-step--active .ca-step-num {
  color: #D4A853;
}

.ca-step--active .ca-step-label {
  color: #060606;
}

.ca-step-line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.15);
  margin: 0 clamp(16px, 2vw, 40px);
  margin-bottom: 10px;
}


/* ── Step Panels ──────────────────────────────────────────── */
.ca-step-panel {
  display: none;
}

.ca-step-panel--active {
  display: block;
}


/* ── Panel Header ─────────────────────────────────────────── */
.ca-panel-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.ca-panel-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #060606;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ca-panel-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: rgba(0,0,0,0.5);
  line-height: 1.6;
}


/* ── Section Dividers ─────────────────────────────────────── */
.ca-section-divider {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #D4A853;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212,168,83,0.3);
  margin-bottom: 8px;
  margin-top: 16px;
}


/* ── Field Grid ───────────────────────────────────────────── */
.ca-fields {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ca-row {
  display: grid;
  gap: 24px;
  align-items: start;
}

.ca-row--1 { grid-template-columns: 1fr; }
.ca-row--2 { grid-template-columns: 1fr 1fr; }
.ca-row--3 { grid-template-columns: 2fr 1fr 1fr; }


/* ── Individual Field ─────────────────────────────────────── */
.ca-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ca-field--error .ca-checkbox-text {
  color: #c0392b;
}


/* ── Labels ───────────────────────────────────────────────── */
.ca-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.ca-optional {
  font-weight: 400;
  color: rgba(0,0,0,0.4);
  font-size: 13px;
}


/* ── Inputs ───────────────────────────────────────────────── */
.ca-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,0.14);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.ca-input:focus {
  border-color: #D4A853;
  box-shadow: 0 0 0 3px rgba(212,168,83,0.14);
}

.ca-input--error {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1) !important;
}

.ca-input::placeholder {
  color: rgba(0,0,0,0.3);
}

.ca-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.ca-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}


/* ── Radio Buttons ────────────────────────────────────────── */
.ca-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ca-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1a1a1a;
  padding: 12px 22px;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,0.14);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.ca-radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ca-radio-box {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.25);
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ca-radio-label input[type="radio"]:checked ~ .ca-radio-box {
  border-color: #D4A853;
  background: #D4A853;
  box-shadow: inset 0 0 0 3px #fff;
}

.ca-radio-label:has(input[type="radio"]:checked) {
  border-color: #D4A853;
}


/* ── Checkbox ─────────────────────────────────────────────── */
.ca-field--checkbox {
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 20px 24px;
}

.ca-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

.ca-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ca-checkbox-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid rgba(0,0,0,0.25);
  border-radius: 4px;
  margin-top: 1px;
  transition: background 0.2s ease, border-color 0.2s ease;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ca-checkbox-label input[type="checkbox"]:checked ~ .ca-checkbox-box {
  background: #D4A853;
  border-color: #D4A853;
}

.ca-checkbox-label input[type="checkbox"]:checked ~ .ca-checkbox-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.ca-checkbox-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  line-height: 1.6;
}

/* Inline checkbox group (sales channels) */
.ca-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ca-checkbox-group .ca-checkbox-label {
  align-items: center;
  padding: 12px 20px;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,0.14);
  border-radius: 6px;
  gap: 10px;
  transition: border-color 0.2s ease;
}

.ca-checkbox-group .ca-checkbox-label:has(input:checked) {
  border-color: #D4A853;
}

.ca-checkbox-group .ca-checkbox-text {
  font-size: 15px;
  color: #1a1a1a;
}


/* ── Navigation Buttons ───────────────────────────────────── */
.ca-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.ca-btn {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  padding: 18px 40px;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.ca-btn--next {
  background: #D4A853;
  color: #060606;
}

.ca-btn--next:hover {
  background: #c9973e;
}

.ca-btn--back {
  background: transparent;
  color: rgba(0,0,0,0.45);
  border: 1.5px solid rgba(0,0,0,0.18);
}

.ca-btn--back:hover {
  color: #1a1a1a;
  border-color: rgba(0,0,0,0.35);
}

.ca-btn--submit {
  background: #060606;
  color: #D4A853;
  padding: 18px 56px;
  letter-spacing: 0.16em;
}

.ca-btn--submit:hover {
  background: #1a1a1a;
}

.ca-btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* ── Confirmation Screen ──────────────────────────────────── */
.ca-confirmation {
  text-align: center;
  padding: clamp(20px, 2vw, 32px) 0;
}

.ca-confirm-inner {
  max-width: 600px;
  margin: 0 auto;
}

.ca-confirm-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #D4A853;
  color: #060606;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
}

.ca-confirm-headline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.07em;
  color: #060606;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 24px;
}

.ca-confirm-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: rgba(0,0,0,0.55);
  line-height: 1.7;
}


/* ── Program Cards Section (confirmation) ─────────────────── */
.ca-programs-header {
  background: #060606;
  padding: 48px 0 36px;
  border-top: 1px solid rgba(212,168,83,0.2);
}

.ca-programs-headline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}

.cv-programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0d0d0d;
  border-top: 1px solid rgba(212,168,83,0.2);
}

.cv-program-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-decoration: none;
  cursor: pointer;
  background: #0d0d0d;
  border-right: 1px solid rgba(212,168,83,0.12);
  transition: background 0.3s ease;
}

.cv-program-card:last-child { border-right: none; }
.cv-program-card:hover { background: #141414; }
.cv-program-card-bg, .cv-program-card-overlay { display: none; }

.cv-program-card-content {
  position: relative;
  z-index: 2;
  padding: 56px 48px 52px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 3px solid #D4A853;
}

.cv-program-label {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4A853;
  display: block;
  margin-bottom: 18px;
}

.cv-program-divider {
  width: 40px;
  height: 1px;
  background: rgba(212,168,83,0.4);
  display: block;
  margin-bottom: 20px;
}

.cv-program-headline {
  font-family: 'Josefin Sans', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.cv-program-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  flex: 1;
}

.cv-program-btn {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  background: #D4A853;
  padding: 20px 40px;
  margin-top: 36px;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}

.cv-program-btn:hover { background: #c9973e; transform: translateY(-2px); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .ca-row--2,
  .ca-row--3 {
    grid-template-columns: 1fr;
  }

  .ca-steps {
    gap: 0;
  }

  .ca-step-label {
    display: none;
  }

  .ca-step-line {
    margin: 0 10px;
    margin-bottom: 6px;
  }

  .ca-radio-group {
    flex-direction: column;
  }

  .ca-nav {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .ca-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ca-checkbox-group {
    flex-direction: column;
  }
}
