/* ==========================================================================
   Contact page — editorial redesign
   Bold deep-green hero with radial glow + grid. Floating form card pulls
   up into the hero. Minimal, brand-forward.
   ========================================================================== */

.contact-body {
  background: var(--color-surface);
}

.ctc {
  display: block;
}

/* ========== HERO ========================================================= */

.ctc-hero {
  position: relative;
  isolation: isolate;
  background: #004428;
  color: #fff;
  padding: clamp(40px, 6vw, 72px) 0 clamp(140px, 18vw, 240px);
  overflow: hidden;
}

.ctc-hero::after {
  /* subtle inner vignette for depth */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,0,0,0.35), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.ctc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ctc-hero__grid {
  width: 100%;
  height: 100%;
  display: block;
}

.ctc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.ctc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #2fb37a;
  margin-bottom: 28px;
}

.ctc-hero__eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.ctc-hero__title {
  font-family: 'Aeonik', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: #fff;
}

.ctc-hero__accent {
  color: #2fb37a;
  font-style: italic;
  font-weight: 500;
  font-family: 'Aeonik', 'Poppins', sans-serif;
}

.ctc-hero__lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 0 48px;
}

.ctc-hero__proof {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 880px;
}

.ctc-hero__proof li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.ctc-hero__proof-num {
  font-family: 'Aeonik', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 24px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ctc-hero__proof-lbl {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ========== FORM SECTION ================================================ */

.ctc-form-section {
  position: relative;
  margin-top: -120px; /* pull up into the hero */
  padding-bottom: clamp(80px, 10vw, 140px);
  z-index: 2;
  /* When linked via #form, leave a little room below the sticky nav */
  scroll-margin-top: 80px;
}

.ctc-form-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

/* ---- MAIN CARD --------------------------------------------------------- */

.ctc-card {
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 12px 32px -8px rgba(0, 68, 40, 0.12),
    0 40px 80px -20px rgba(0, 68, 40, 0.20);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.ctc-card__chrome {
  display: flex;
  gap: 6px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 68, 40, 0.06);
  background: linear-gradient(to bottom, #fafbf8, #fff);
}

.ctc-card__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e3e6e0;
}

.ctc-card__chrome span:nth-child(1) { background: #ffbd2e; }
.ctc-card__chrome span:nth-child(2) { background: #28c940; }
.ctc-card__chrome span:nth-child(3) { background: #037449; }

.ctc-card__body {
  padding: clamp(32px, 4vw, 56px);
}

.ctc-card__head {
  margin-bottom: 36px;
}

.ctc-card__head h2 {
  font-family: 'Aeonik', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: -0.025em;
  color: var(--color-primary-deep, #004428);
  margin: 0 0 8px;
  line-height: 1.1;
}

.ctc-card__head p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-muted, #5a6b63);
  margin: 0;
  max-width: 560px;
}

/* ---- FORM -------------------------------------------------------------- */

.ctc-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Business-type chip selector */
.ctc-chips {
  border: 0;
  padding: 0;
  margin: 0;
}

.ctc-chips legend {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted, #5a6b63);
  margin-bottom: 12px;
}

.ctc-chips__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ctc-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid rgba(0, 68, 40, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text, #1a2420);
  user-select: none;
}

.ctc-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ctc-chip__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 68, 40, 0.25);
  position: relative;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.ctc-chip:hover {
  border-color: rgba(0, 68, 40, 0.3);
  background: #fafbf8;
}

.ctc-chip:has(input:checked) {
  border-color: #037449;
  background: rgba(47, 179, 122, 0.08);
  color: var(--color-primary-deep, #004428);
}

.ctc-chip:has(input:checked) .ctc-chip__dot {
  border-color: #037449;
  background: #037449;
}

.ctc-chip:has(input:checked) .ctc-chip__dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}

.ctc-chip:has(input:focus-visible) {
  outline: 2px solid #037449;
  outline-offset: 2px;
}

/* Field grid */
.ctc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ctc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ctc-field[hidden] {
  display: none;
}

.ctc-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text, #1a2420);
  letter-spacing: -0.005em;
}

.ctc-field__hint {
  font-weight: 400;
  color: var(--color-text-muted, #5a6b63);
  font-size: 12px;
}

.ctc-field input,
.ctc-field select,
.ctc-field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  border: 1.5px solid rgba(0, 68, 40, 0.14);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text, #1a2420);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
  min-width: 0;
}

.ctc-field input::placeholder,
.ctc-field textarea::placeholder {
  color: rgba(26, 36, 32, 0.35);
}

.ctc-field input:hover,
.ctc-field select:hover,
.ctc-field textarea:hover {
  border-color: rgba(0, 68, 40, 0.24);
}

.ctc-field input:focus,
.ctc-field select:focus,
.ctc-field textarea:focus {
  outline: none;
  border-color: #037449;
  box-shadow: 0 0 0 4px rgba(47, 179, 122, 0.15);
}

.ctc-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%23004428' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.ctc-field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Poppins', sans-serif;
}

/* Consent */
.ctc-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted, #5a6b63);
  cursor: pointer;
  padding: 4px 0;
}

.ctc-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 68, 40, 0.25);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.18s ease;
  position: relative;
}

.ctc-consent input[type="checkbox"]:checked {
  background: #037449;
  border-color: #037449;
}

.ctc-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ctc-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid #037449;
  outline-offset: 2px;
}

.ctc-consent a {
  color: var(--color-primary-deep, #004428);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0, 68, 40, 0.3);
  font-weight: 500;
}

.ctc-consent a:hover {
  text-decoration-color: currentColor;
}

/* Submit row */
.ctc-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 68, 40, 0.08);
}

.ctc-submit .btn--primary {
  padding: 16px 28px;
  font-size: 15px;
}

.ctc-submit__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted, #5a6b63);
}

.ctc-submit__hint svg {
  color: #037449;
  flex-shrink: 0;
}

/* Success state */
.ctc-success {
  text-align: center;
  padding: 32px 24px;
}

.ctc-success__mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(47, 179, 122, 0.15);
  color: #037449;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ctc-success__mark svg {
  width: 40px;
  height: 40px;
}

.ctc-success h3 {
  font-family: 'Aeonik', 'Poppins', sans-serif;
  font-size: 28px;
  color: var(--color-primary-deep, #004428);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ctc-success p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted, #5a6b63);
  margin: 0 0 24px;
}

.ctc-success a {
  color: var(--color-primary-deep, #004428);
  font-weight: 600;
}

/* ---- DIRECT-CONTACT SIDE PANEL ---------------------------------------- */

.ctc-direct {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 96px;
}

.ctc-direct__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid rgba(0, 68, 40, 0.08);
  border-radius: 14px;
  transition: all 0.2s ease;
}

.ctc-direct__item:hover {
  border-color: rgba(0, 68, 40, 0.18);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px rgba(0, 68, 40, 0.15);
}

.ctc-direct__item + .ctc-direct__item {
  margin-top: 8px;
}

.ctc-direct__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(47, 179, 122, 0.12);
  color: #037449;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ctc-direct__icon svg {
  width: 18px;
  height: 18px;
}

.ctc-direct__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ctc-direct__lbl {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted, #5a6b63);
}

.ctc-direct__val {
  font-family: 'Aeonik', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--color-primary-deep, #004428);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
  word-break: break-word;
}

a.ctc-direct__val:hover {
  color: #037449;
}

.ctc-direct__sub {
  font-size: 12px;
  color: var(--color-text-muted, #5a6b63);
  margin-top: 2px;
}

.ctc-direct__quote {
  margin-top: 20px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 68, 40, 0.04), rgba(47, 179, 122, 0.06));
  border: 1px solid rgba(0, 68, 40, 0.08);
  border-radius: 14px;
  position: relative;
}

.ctc-direct__quote-mark {
  width: 28px;
  height: 28px;
  color: rgba(3, 116, 73, 0.35);
  margin-bottom: 8px;
}

.ctc-direct__quote p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text, #1a2420);
  margin: 0 0 12px;
  font-style: italic;
  font-weight: 500;
}

.ctc-direct__quote footer {
  font-size: 12px;
  color: var(--color-text-muted, #5a6b63);
  font-style: normal;
}

/* ========== DARK THEME ================================================== */

[data-theme="dark"] .ctc-card {
  background: #0f1613;
  border-color: rgba(255,255,255,0.06);
  box-shadow:
    0 12px 32px -8px rgba(0, 0, 0, 0.5),
    0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .ctc-card__chrome {
  background: linear-gradient(to bottom, #0a1210, #0f1613);
  border-bottom-color: rgba(255,255,255,0.05);
}

[data-theme="dark"] .ctc-card__head h2 {
  color: #fff;
}

[data-theme="dark"] .ctc-field input,
[data-theme="dark"] .ctc-field select,
[data-theme="dark"] .ctc-field textarea {
  background: #0a1210;
  border-color: rgba(255,255,255,0.1);
  color: #e8ede9;
}

[data-theme="dark"] .ctc-field input::placeholder,
[data-theme="dark"] .ctc-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

[data-theme="dark"] .ctc-chip {
  background: #0a1210;
  border-color: rgba(255,255,255,0.1);
  color: #e8ede9;
}

[data-theme="dark"] .ctc-chip:hover {
  background: #0f1b17;
}

[data-theme="dark"] .ctc-chip:has(input:checked) {
  background: rgba(47, 179, 122, 0.14);
  color: #fff;
}

[data-theme="dark"] .ctc-direct__item {
  background: #0f1613;
  border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .ctc-direct__val {
  color: #fff;
}

[data-theme="dark"] .ctc-submit {
  border-top-color: rgba(255,255,255,0.08);
}

/* ==========================================================================
   STEP WIZARD — progress indicator + step sections
   ========================================================================== */

.ctc-steps {
  position: relative;
  padding: 4px 4px 8px;
  margin-bottom: 32px;
}

.ctc-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}

.ctc-steps__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(26, 36, 32, 0.5);
  transition: color 0.25s ease;
  min-width: 0;
}

.ctc-steps__num {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid rgba(0, 68, 40, 0.18);
  color: rgba(26, 36, 32, 0.6);
  font-family: 'Aeonik', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ctc-steps__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.005em;
}

.ctc-steps__item.is-active {
  color: #004428;
  font-weight: 600;
}

.ctc-steps__item.is-active .ctc-steps__num {
  background: #037449;
  border-color: #037449;
  color: #fff;
  transform: scale(1.04);
}

.ctc-steps__item.is-complete {
  color: #037449;
}

.ctc-steps__item.is-complete .ctc-steps__num {
  background: #037449;
  border-color: #037449;
  color: #fff;
}

.ctc-steps__bar {
  position: relative;
  height: 3px;
  background: rgba(0, 68, 40, 0.10);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 16px;
  z-index: 1;
}

.ctc-steps__bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 33.33%;
  background: linear-gradient(90deg, #037449, #2fb37a);
  border-radius: inherit;
  transition: width 0.45s cubic-bezier(0.2, 0.9, 0.25, 1);
}

/* Step sections: hidden until active */
.ctc-step {
  display: none;
  animation: ctcStepIn 0.35s cubic-bezier(0.2, 0.9, 0.25, 1) both;
}

.ctc-step.is-active {
  display: block;
}

.ctc-step[hidden] {
  display: none !important;
}

@keyframes ctcStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ctc-step__head {
  margin-bottom: 24px;
}

.ctc-step__eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #037449;
  margin-bottom: 8px;
}

.ctc-step__head h3 {
  font-family: 'Aeonik', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #0b1712;
  margin: 0 0 6px;
}

.ctc-step__head p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--color-text-muted, #5a6b63);
  margin: 0;
  max-width: 52ch;
}

/* 3-column grid that collapses to 1 column on small */
.ctc-grid--3 {
  grid-template-columns: 2fr 1fr 1fr;
}

/* Section divider with centered inline label */
.ctc-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 20px;
  color: rgba(0, 68, 40, 0.55);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ctc-divider::before,
.ctc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 68, 40, 0.12);
}

.ctc-divider span {
  flex: 0 0 auto;
}

/* Small hint under fields (replaces empty space) */
.ctc-hint {
  font-size: 12px;
  color: var(--color-text-muted, #5a6b63);
  line-height: 1.4;
}

/* Input prefix/suffix (e.g. $ or %) */
.ctc-input-prefix,
.ctc-input-suffix {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ctc-input-prefix > span,
.ctc-input-suffix > span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26, 36, 32, 0.55);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}

.ctc-input-prefix > span { left: 16px; }
.ctc-input-suffix > span { right: 16px; }

.ctc-input-prefix > input { padding-left: 32px; }
.ctc-input-suffix > input { padding-right: 32px; }

/* Reveal toggle (e.g. SSN eyeball) */
.ctc-input-reveal {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.ctc-input-reveal > input {
  width: 100%;
  padding-right: 44px;
}

.ctc-input-reveal__btn {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: rgba(26, 36, 32, 0.55);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.ctc-input-reveal__btn:hover,
.ctc-input-reveal__btn:focus-visible {
  color: rgba(26, 36, 32, 0.9);
  background: rgba(26, 36, 32, 0.06);
  outline: none;
}

.ctc-input-reveal__btn svg {
  width: 18px;
  height: 18px;
}

.ctc-input-reveal__eye-off { display: none; }
.ctc-input-reveal[data-revealed="true"] .ctc-input-reveal__eye { display: none; }
.ctc-input-reveal[data-revealed="true"] .ctc-input-reveal__eye-off { display: block; }

[data-theme="dark"] .ctc-input-reveal__btn {
  color: rgba(245, 247, 244, 0.55);
}
[data-theme="dark"] .ctc-input-reveal__btn:hover,
[data-theme="dark"] .ctc-input-reveal__btn:focus-visible {
  color: rgba(245, 247, 244, 0.95);
  background: rgba(245, 247, 244, 0.08);
}

/* Radio pill groups */
.ctc-radio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}

.ctc-radio-group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ctc-radio-group > legend {
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text, #1a2420);
  letter-spacing: -0.005em;
}

.ctc-radio-group__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ctc-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1.5px solid rgba(0, 68, 40, 0.14);
  border-radius: 999px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text, #1a2420);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
  min-width: 72px;
}

.ctc-radio input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.ctc-radio:hover {
  border-color: rgba(0, 68, 40, 0.28);
}

.ctc-radio:has(input:checked) {
  border-color: #037449;
  background: rgba(47, 179, 122, 0.12);
  color: #004428;
  box-shadow: 0 0 0 3px rgba(47, 179, 122, 0.12);
}

.ctc-radio:focus-within {
  border-color: #037449;
  box-shadow: 0 0 0 4px rgba(47, 179, 122, 0.15);
}

/* File upload drop-zones */
.ctc-uploads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.ctc-upload {
  position: relative;
  display: block;
  border: 1.5px dashed rgba(0, 68, 40, 0.22);
  border-radius: 12px;
  background: rgba(47, 179, 122, 0.04);
  padding: 20px 18px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  min-width: 0;
}

.ctc-upload > input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
}

.ctc-upload:hover {
  border-color: #037449;
  background: rgba(47, 179, 122, 0.08);
}

.ctc-upload.has-error {
  border-color: #b23b3b;
  background: rgba(178, 59, 59, 0.06);
}

.ctc-upload.is-dragover,
.ctc-upload:focus-within {
  border-color: #037449;
  background: rgba(47, 179, 122, 0.12);
  box-shadow: 0 0 0 4px rgba(47, 179, 122, 0.15);
}

.ctc-upload__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ctc-upload__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0, 68, 40, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #037449;
}

.ctc-upload__icon svg {
  width: 20px;
  height: 20px;
}

.ctc-upload__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ctc-upload__label,
.ctc-upload__inner > div strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text, #1a2420);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}

.ctc-upload__meta,
.ctc-upload__inner > div > span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: var(--color-text-muted, #5a6b63);
  line-height: 1.4;
}

.ctc-upload__inner > div {
  min-width: 0;
  flex: 1;
}

.ctc-upload__cta {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #037449;
  padding: 8px 12px;
  border: 1px solid rgba(3, 116, 73, 0.3);
  border-radius: 8px;
  background: #fff;
  transition: background 0.18s ease, color 0.18s ease;
}

.ctc-upload:hover .ctc-upload__cta {
  background: #037449;
  color: #fff;
}

.ctc-upload__files {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ctc-upload__files:empty {
  display: none;
}

.ctc-upload__file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid rgba(0, 68, 40, 0.10);
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--color-text, #1a2420);
  min-width: 0;
}

.ctc-upload__file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ctc-upload__file-size {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--color-text-muted, #5a6b63);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.ctc-upload__file-remove {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 0;
  background: rgba(0, 68, 40, 0.06);
  color: #004428;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.ctc-upload__file-remove:hover {
  background: #b23b3b;
  color: #fff;
}

.ctc-upload__file-remove svg {
  width: 12px;
  height: 12px;
}

/* Step navigation row */
.ctc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 68, 40, 0.10);
}

.ctc-nav .btn {
  min-width: 140px;
}

.ctc-nav .btn[data-prev] {
  margin-right: auto;
}

.ctc-nav .btn[data-next],
.ctc-nav .btn[type="submit"] {
  margin-left: auto;
}

/* Centered submit hint variant */
.ctc-submit__hint--center {
  justify-content: center;
  text-align: center;
}

/* Field error state (used by JS validation) */
.ctc-field.has-error input,
.ctc-field.has-error select,
.ctc-field.has-error textarea {
  border-color: #b23b3b;
  box-shadow: 0 0 0 4px rgba(178, 59, 59, 0.12);
}

.ctc-field.has-error label {
  color: #b23b3b;
}

.ctc-field__error {
  font-size: 12px;
  color: #b23b3b;
  font-weight: 500;
  margin-top: 2px;
  display: none;
}

.ctc-field.has-error .ctc-field__error {
  display: block;
}

/* ========== DARK THEME — new elements =================================== */

[data-theme="dark"] .ctc-steps__item {
  color: rgba(255, 255, 255, 0.45);
}

[data-theme="dark"] .ctc-steps__num {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .ctc-steps__item.is-active {
  color: #fff;
}

[data-theme="dark"] .ctc-steps__item.is-active .ctc-steps__num,
[data-theme="dark"] .ctc-steps__item.is-complete .ctc-steps__num {
  background: #2fb37a;
  border-color: #2fb37a;
  color: #001810;
}

[data-theme="dark"] .ctc-steps__bar {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .ctc-step__head h3 {
  color: #fff;
}

[data-theme="dark"] .ctc-step__head p {
  color: rgba(255, 255, 255, 0.62);
}

[data-theme="dark"] .ctc-step__eyebrow {
  color: #2fb37a;
}

[data-theme="dark"] .ctc-divider {
  color: rgba(255, 255, 255, 0.45);
}

[data-theme="dark"] .ctc-divider::before,
[data-theme="dark"] .ctc-divider::after {
  background: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .ctc-hint {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .ctc-input-prefix > span,
[data-theme="dark"] .ctc-input-suffix > span {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .ctc-radio {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="dark"] .ctc-radio:hover {
  border-color: rgba(255, 255, 255, 0.24);
}

[data-theme="dark"] .ctc-radio:has(input:checked) {
  border-color: #2fb37a;
  background: rgba(47, 179, 122, 0.18);
  color: #fff;
}

[data-theme="dark"] .ctc-radio-group > legend {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .ctc-upload {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .ctc-upload:hover {
  border-color: #2fb37a;
  background: rgba(47, 179, 122, 0.08);
}

[data-theme="dark"] .ctc-upload__icon {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #2fb37a;
}

[data-theme="dark"] .ctc-upload__label,
[data-theme="dark"] .ctc-upload__inner > div strong {
  color: rgba(255, 255, 255, 0.92);
}

[data-theme="dark"] .ctc-upload__meta,
[data-theme="dark"] .ctc-upload__inner > div > span {
  color: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .ctc-upload__cta {
  background: rgba(255, 255, 255, 0.04);
  color: #2fb37a;
  border-color: rgba(47, 179, 122, 0.4);
}

[data-theme="dark"] .ctc-upload:hover .ctc-upload__cta {
  background: #2fb37a;
  color: #001810;
}

[data-theme="dark"] .ctc-upload__file {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] .ctc-upload__file-size {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .ctc-upload__file-remove {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .ctc-nav {
  border-top-color: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] .ctc-field.has-error input,
[data-theme="dark"] .ctc-field.has-error select,
[data-theme="dark"] .ctc-field.has-error textarea {
  border-color: #e26a6a;
  box-shadow: 0 0 0 4px rgba(226, 106, 106, 0.18);
}

[data-theme="dark"] .ctc-field.has-error label,
[data-theme="dark"] .ctc-field__error {
  color: #e26a6a;
}

/* ========== RESPONSIVE ================================================== */

@media (max-width: 980px) {
  .ctc-form-section__inner {
    grid-template-columns: 1fr;
  }

  .ctc-direct {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ctc-direct__item + .ctc-direct__item {
    margin-top: 0;
  }

  .ctc-direct__quote {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .ctc-hero__proof {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .ctc-hero {
    padding: 32px 0 140px;
  }

  .ctc-form-section {
    margin-top: -100px;
  }

  .ctc-grid {
    grid-template-columns: 1fr;
  }

  .ctc-grid--3 {
    grid-template-columns: 1fr;
  }

  .ctc-chips__row {
    grid-template-columns: 1fr;
  }

  /* Step indicator: show number only, hide labels, stack */
  .ctc-steps__list {
    gap: 4px;
  }

  .ctc-steps__item {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    text-align: center;
  }

  .ctc-steps__num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .ctc-steps__label {
    font-size: 11px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
  }

  .ctc-step__head h3 {
    font-size: 20px;
  }

  .ctc-radio-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ctc-uploads {
    grid-template-columns: 1fr;
  }

  .ctc-upload__cta {
    display: none;
  }

  .ctc-nav {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 10px;
  }

  .ctc-nav .btn {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }

  .ctc-nav .btn[data-prev],
  .ctc-nav .btn[data-next],
  .ctc-nav .btn[type="submit"] {
    margin: 0;
  }

  .ctc-direct {
    grid-template-columns: 1fr;
  }

  .ctc-direct__quote {
    grid-column: auto;
  }

  .ctc-submit {
    flex-direction: column;
    align-items: stretch;
  }

  .ctc-submit .btn {
    width: 100%;
    justify-content: center;
  }

  .ctc-submit__hint {
    justify-content: center;
    text-align: center;
  }

  .ctc-card__body {
    padding: 28px 20px;
  }
}
