/* Contact form — /company/contact */
.ct-form-wrap {
  padding: 0 0 72px;
  margin-top: -24px;
}

.ct-form-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px -24px rgba(0, 0, 0, 0.45);
}

.ct-form-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #ff6b4a);
  pointer-events: none;
}

.ct-form-card::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow-soft) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.ct-form-inner {
  position: relative;
  padding: 36px 40px 40px;
}

.ct-form-header {
  max-width: 520px;
  margin-bottom: 28px;
}

.ct-form-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.ct-form-header h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--fg);
}

.ct-form-header p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-3);
}

.ct-form-label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
}

.ct-lozenge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.ct-lozenge {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg-2);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ct-lozenge:hover {
  border-color: var(--line-strong);
  color: var(--fg);
  transform: translateY(-1px);
}

.ct-lozenge.is-selected {
  border-color: var(--red);
  background: rgba(255, 43, 43, 0.12);
  color: var(--fg);
  box-shadow: 0 0 0 1px rgba(255, 43, 43, 0.25);
}

.ct-lozenge:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.25);
}

.ct-lozenge-row.is-invalid .ct-lozenge {
  border-color: rgba(255, 43, 43, 0.45);
}

.ct-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-field--full {
  grid-column: 1 / -1;
}

.ct-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
}

.ct-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ct-field input::placeholder {
  color: var(--fg-4);
}

.ct-field input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.15);
}

.ct-field input.is-invalid {
  border-color: rgba(255, 43, 43, 0.55);
}

.ct-form-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 43, 43, 0.1);
  border: 1px solid rgba(255, 43, 43, 0.35);
  color: #ffb4b4;
  font-size: 13px;
  line-height: 1.45;
}

.ct-form-submit {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.ct-form-submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.ct-form-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--fg-4);
}

.ct-form-note a {
  color: var(--fg-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ct-form-note a:hover {
  color: var(--red);
}

.ct-form-success {
  text-align: center;
  padding: 24px 12px 8px;
}

.ct-form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255, 43, 43, 0.14);
  color: var(--red);
  display: grid;
  place-items: center;
}

.ct-form-success-icon svg {
  width: 28px;
  height: 28px;
}

.ct-form-success h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--fg);
}

.ct-form-success p {
  margin: 0 auto 20px;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-3);
}

.ct-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .ct-form-wrap {
    padding-bottom: 48px;
    margin-top: 0;
  }

  .ct-form-inner {
    padding: 28px 22px 30px;
  }

  .ct-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ct-lozenge-row {
    gap: 8px;
  }

  .ct-lozenge {
    font-size: 13px;
    padding: 10px 14px;
  }
}
