/* ========================= CONTACT — LAYOUT ========================= */

/* Navbar centered (logo only, no links) */
.navbar__inner--centered {
  justify-content: center;
  padding: 24px 2.25rem;
}

.navbar__inner--centered .navbar__logo {
  position: static;
  transform: none;
}

.navbar__inner--centered .navbar__logo img {
  height: 36px;
  width: auto;
}


.ct-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 6rem;
}

/* ========================= PROGRESS BAR ========================= */
.ct-progress {
  height: 4px;
  background: #1b1c1d;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.ct-progress__fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--accent) 0%, #02d1ad 50%, #1292fe 100%);
  border-radius: 100px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========================= STEP INDICATORS ========================= */
.ct-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.ct-steps__dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 220ms ease;
}

.ct-steps__dot:hover {
  opacity: 0.8;
}

.ct-steps__dot-circle {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #1b1c1d;
  font-family: 'Test Sohne', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #434345;
  transition: border-color 300ms ease, color 300ms ease, background 300ms ease;
}

.ct-steps__dot-label {
  font-family: 'Test Sohne', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #434345;
  transition: color 300ms ease, font-weight 300ms ease;
  white-space: nowrap;
}

/* Active */
.ct-steps__dot.is-active .ct-steps__dot-circle {
  border-color: var(--accent);
  color: var(--accent);
}

.ct-steps__dot.is-active .ct-steps__dot-label {
  color: var(--fg);
  font-weight: 600;
}

/* Completed */
.ct-steps__dot.is-completed .ct-steps__dot-circle {
  border-color: var(--accent);
  background: var(--accent);
  color: #08090a;
}

.ct-steps__dot.is-completed .ct-steps__dot-label {
  color: var(--gray);
}

/* ========================= FORM CARD ========================= */
.ct-card {
  border-radius: 0.75rem;
  border: 1px solid #1b1c1d;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #111213 0%, #0a0b0c 100%);
  padding: 2.5rem 2.5rem 2rem;
  min-height: 28rem;
  position: relative;
}

.ct-card__step {
  display: none;
}

.ct-card__step.is-active {
  display: block;
  animation: ct-step-in 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ct-card__step--success.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: 20rem;
}

.ct-card__step--calendar.is-active {
  display: flex;
  flex-direction: column;
}

@keyframes ct-step-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.ct-card__title {
  font-family: 'Test Sohne', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.04rem;
  color: var(--fg);
}

.ct-card__desc {
  font-family: 'Test Sohne', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--gray);
  margin-top: 0.75rem;
  max-width: 32rem;
}

/* Fields */
.ct-card__fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.ct-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ct-card__label {
  font-family: 'Test Sohne', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fg);
}

.ct-card__required {
  color: var(--accent);
}

.ct-card__input,
.ct-card__select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #1b1c1d;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-family: 'Test Sohne', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 220ms ease, box-shadow 220ms ease;
  outline: none;
}

.ct-card__input::placeholder {
  color: #434345;
}

.ct-card__input:focus,
.ct-card__select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 252, 20, 0.1);
}

.ct-card__input.is-invalid,
.ct-card__select.is-invalid {
  border-color: #f8280d;
  box-shadow: 0 0 0 3px rgba(248, 40, 13, 0.08);
}

.ct-card__error {
  display: none;
  font-size: 13px;
  color: #f8280d;
  margin-top: 8px;
  font-family: 'PP Neue Montreal', sans-serif;
}

.ct-card__input.is-invalid ~ .ct-card__error {
  display: block;
}

/* Select */
.ct-card__select-wrap {
  position: relative;
}

.ct-card__select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 3rem;
}

.ct-card__select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--gray);
  pointer-events: none;
}

.ct-card__select option {
  background: #0e0f10;
  color: var(--fg);
}

/* Consent */
.ct-card__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.ct-card__checkbox {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.ct-card__consent-label {
  font-family: 'Test Sohne', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray);
}

.ct-card__consent-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15rem;
  transition: opacity 220ms ease;
}

.ct-card__consent-link:hover {
  opacity: 0.7;
}

/* Actions */
.ct-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1b1c1d;
}

.ct-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.75rem;
  border-radius: 100px;
  font-family: 'Test Sohne', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02rem;
  line-height: 1.02;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.ct-card__btn:hover {
  transform: translateY(-1px);
}

.ct-card__btn--next,
.ct-card__btn--submit {
  background: var(--accent);
  color: #08090a;
}

.ct-card__btn--next:hover,
.ct-card__btn--submit:hover {
  background: #e5ff4d;
  box-shadow: 0 0.75rem 1.75rem rgba(216, 252, 20, 0.18);
}

.ct-card__btn--back {
  background: transparent;
  color: var(--gray);
  padding: 0;
  height: auto;
}

.ct-card__btn--back:hover {
  color: var(--fg);
  transform: none;
}

/* Success icon */
.ct-card__success-icon {
  margin-bottom: 1.5rem;
}

.ct-card__calendar-shell {
  margin-top: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #ffffff;
  min-height: 37.5rem;
}

.ct-card__calendar-frame {
  display: block;
  width: 100%;
  min-height: 37.5rem;
  border: 0;
  background: #ffffff;
}

/* ========================= RESPONSIVE ========================= */
@media (max-width: 767px) {
  .ct-main { padding: 7rem 1.25rem 4rem; }

  .ct-steps { gap: 1.5rem; margin-bottom: 2rem; }
  .ct-steps__dot-label { display: none; }

  .ct-card {
    padding: 2rem 1.5rem 1.5rem;
    min-height: auto;
  }

  .ct-card__title { font-size: 1.625rem; }
  .ct-card__input, .ct-card__select { padding: 0.8125rem 0.875rem; }
  .ct-card__actions { flex-direction: column-reverse; gap: 1rem; }
  .ct-card__btn--next,
  .ct-card__btn--submit { width: 100%; }
  .ct-card__btn--back { align-self: center; }
  .ct-card__calendar-shell,
  .ct-card__calendar-frame { min-height: 34rem; }
}
