/* ═════════ CONTACT · SECTION 1 · HEADLINE + FORM ═════════
   Headline and direct lines on one side, the project form on the other. */
.ct-section1 {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 100px;
  overflow: hidden;
}

.ct-section1::before {
  content: '';
  position: absolute;
  inset-inline-end: -10%;
  top: 0;
  width: 70vw;
  height: 90vh;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 99, 243, 0.22), transparent);
  filter: blur(40px);
  pointer-events: none;
}

.ct1-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 64px;
  align-items: start;
}

.ct1-text {
  padding-top: 24px;
}

.ct1-title {
  margin: 24px 0 24px;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.ct1-title .hl {
  white-space: nowrap;
}

.ct1-lead {
  max-width: 460px;
}

/* ─── direct lines ─── */
.ct1-direct {
  display: grid;
  gap: 10px;
  max-width: 440px;
  margin-top: 48px;
}

.ct1-direct-label {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ct1-line {
  display: grid;
  grid-template-columns: 44px 1fr 34px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.4s, background 0.4s;
}

.ct1-ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--blue-soft);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}

.ct1-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct1-line-t {
  display: grid;
  min-width: 0;
}

.ct1-line-t b {
  font-weight: 500;
  font-size: 0.98rem;
}

.ct1-line-t small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--text-dim);
}

[dir="rtl"] .ct1-line-t small[dir="ltr"] {
  text-align: right;
}

.ct1-go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

[dir="rtl"] .ct1-go svg {
  transform: scaleX(-1);
}

.ct1-line:hover {
  border-color: rgba(91, 149, 255, 0.4);
  background: rgba(20, 99, 243, 0.06);
}

.ct1-line:hover .ct1-ico {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.ct1-line:hover .ct1-go {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateX(4px);
}

[dir="rtl"] .ct1-line:hover .ct1-go {
  transform: translateX(-4px);
}

/* ─── the form ─── */
.ct1-form {
  padding: 30px 28px 26px;
  border-radius: 26px;
  border-color: rgba(91, 149, 255, 0.25);
  box-shadow: var(--highlight), 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 80px -40px var(--blue-glow);
}

.ct1-form-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ct1-form-head img {
  width: 36px;
  height: 36px;
}

.ct1-form-head div {
  display: grid;
}

.ct1-form-head b {
  font-weight: 500;
  font-size: 1.05rem;
}

.ct1-form-head small {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.ct1-needs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 0;
  border: 0;
}

.ct1-needs legend {
  width: 100%;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: var(--text-dim);
}

.ct1-need {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.84rem;
  cursor: pointer;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}

.ct1-need::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: background 0.3s, box-shadow 0.3s;
}

.ct1-need:hover {
  color: var(--text);
  border-color: rgba(91, 149, 255, 0.45);
}

.ct1-need.is-on {
  color: #fff;
  border-color: var(--blue);
  background: rgba(20, 99, 243, 0.25);
}

.ct1-need.is-on::before {
  background: var(--blue-light);
  box-shadow: 0 0 8px var(--blue-light);
}

.ct1-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.ct1-fields input,
.ct1-fields textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  resize: none;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.ct1-fields input[name="name"],
.ct1-fields input[name="email"],
.ct1-fields textarea {
  grid-column: 1 / -1;
}

.ct1-fields input::placeholder,
.ct1-fields textarea::placeholder {
  color: var(--text-faint);
}

.ct1-fields input:focus,
.ct1-fields textarea:focus {
  border-color: rgba(91, 149, 255, 0.7);
  background: rgba(20, 99, 243, 0.06);
  box-shadow: 0 0 0 4px rgba(20, 99, 243, 0.12);
}

.ct1-fields .is-invalid {
  border-color: rgba(255, 99, 99, 0.7);
}

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

.ct1-msg {
  min-height: 1.4em;
  margin-top: 12px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--blue-soft);
}

.ct1-msg.is-bad {
  color: #FF8A8A;
}

@media (max-width: 1000px) {
  .ct1-inner { grid-template-columns: 1fr; gap: 44px; }
  .ct1-text { padding-top: 0; }
  .ct1-form { max-width: 620px; }
}

@media (max-width: 900px) {
  .ct-section1 { padding: calc(var(--nav-h) + 36px) 0 70px; }
  .ct1-direct { margin-top: 32px; }
}

@media (max-width: 480px) {
  .ct1-form { padding: 24px 18px 20px; }
  .ct1-fields { grid-template-columns: 1fr; }
  .ct1-title .hl { white-space: normal; }
}
