.contact-wrap,
.booking-wrap {
  max-width: 980px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  min-height: 224px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px;
}

.contact-card:focus-visible,
.booking-form :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.channel-heading {
  display: flex;
  min-height: 24px;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}

.channel-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #c3a4ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.telegram-icon path:first-child {
  fill: #c3a4ff;
  stroke: #c3a4ff;
}

.telegram-icon path:last-child {
  stroke: var(--panel);
}

.whatsapp-icon {
  stroke-width: 1.65;
}

.contact-label {
  color: #c3a4ff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.contact-detail {
  margin-top: auto;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c3a4ff;
  font-size: .9rem;
  font-weight: 600;
}

.contact-cta span {
  transition: transform .18s ease;
}

.contact-card:hover .contact-cta span {
  transform: translate(2px, -2px);
}

.booking-section {
  padding-top: 22px;
}

.booking-copy {
  max-width: 700px;
  margin-bottom: 25px;
}

.booking-copy p {
  max-width: 680px;
  color: var(--muted);
}

.booking-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}

.form-note {
  margin: 0 0 24px;
  padding: 13px 15px;
  border: 1px solid #393049;
  border-radius: 9px;
  color: #ded2f7;
  background: rgba(170,123,255,.07);
  font-size: .92rem;
}

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

.form-field {
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
}

.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #393a49;
  border-radius: 8px;
  color: var(--text);
  background: #0b0c12;
  font: inherit;
  color-scheme: dark;
}

.form-field input:hover {
  border-color: #665080;
}

.form-field input:focus-visible {
  border-color: var(--accent);
}

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--soft);
  font-size: .8rem;
}

.submit-button {
  margin-top: 24px;
  cursor: pointer;
  font: inherit;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.demo-confirmation {
  margin: 22px 0 0;
  padding: 17px 18px;
  border: 1px solid #51406e;
  border-radius: 9px;
  color: var(--text);
  background: rgba(170,123,255,.09);
  font-weight: 600;
}

.demo-confirmation:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 205px;
    padding: 23px;
  }

  .booking-section {
    padding-top: 4px;
  }
}

@media (max-width: 540px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .contact-cta span {
    transition: none;
  }
}
