
.contact-canvas {
  width: 100%;
  min-height: auto;
  background: #121212;
}

.contact-canvas input,
.contact-canvas select,
.contact-canvas textarea,
.contact-canvas button {
  font: inherit;
  color: inherit;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(380px, 1.25fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  width: 100%;
  padding: clamp(48px, 6vw, 96px) var(--content-gutter) clamp(32px, 4vw, 48px);
}

/* ── Left info column ── */
.contact-info {
  padding-top: 8px;
}

.contact-info__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 8px;
}

.contact-info__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin-top: 16px;
  margin-bottom: 24px;
}

.contact-info__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: #a6a6a6;
  margin-bottom: 36px;
}

.contact-info__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 9px;
}

.contact-info__value {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
  transition: color 0.2s;
}

a.contact-info__value:hover {
  color: var(--gold);
}

.contact-info__inline-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info__inline-link:hover {
  color: var(--gold);
}

.contact-info__value--second {
  margin-top: 4px;
}

.contact-info__rule {
  width: min(300px, 100%);
  height: 1px;
  background: linear-gradient(90deg, #383838, transparent);
  margin: 20px 0;
}

/* ── Form card ── */
.contact-form {
  width: 100%;
  background: #1c1c1c;
  border: 1px solid #383838;
  border-radius: 12px;
  padding: clamp(28px, 3vw, 36px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-form:focus-within {
  border-color: rgba(255, 210, 87, 0.3);
  box-shadow: 0 0 0 1px rgba(255, 210, 87, 0.08), 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 27px;
}

.contact-form__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
}

.contact-form__field {
  display: block;
}

.contact-form__field + .contact-form__field {
  margin-top: 18px;
}

.contact-form__field:nth-child(6) {
  margin-bottom: 24px;
}

.contact-form__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #808080;
  line-height: 1.2;
  margin-bottom: 5px;
}

.contact-form__input {
  display: block;
  width: 100%;
  height: 44px;
  padding: 13px 14px;
  background: #2b2b2b;
  border: 1px solid #404040;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__input::placeholder {
  color: #666666;
}

.contact-form__input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 210, 87, 0.12);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ffd257' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.contact-form__select:invalid,
.contact-form__select option[value=""][disabled] {
  color: #666666;
}

.contact-form__textarea {
  height: 100px;
  resize: vertical;
  min-height: 100px;
  padding-top: 14px;
  line-height: 1.4;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  padding: 0 28px;
  background: var(--gold);
  border: 1px solid var(--gold-dark);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255, 210, 87, 0.22);
}

.contact-form__submit:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 210, 87, 0.32);
}

.contact-form__submit:active {
  transform: translateY(0);
}

.contact-form__submit-icon {
  flex-shrink: 0;
  transition: transform 0.2s;
}

.contact-form__submit:hover .contact-form__submit-icon {
  transform: translateX(3px);
}

/* ── Info cards row ── */
.contact-cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
  padding-bottom: clamp(32px, 4vw, 64px);
}

.contact-card {
  width: 100%;
  min-height: 180px;
  background: #1c1c1c;
  border: 1px solid #383838;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-card:hover {
  border-color: rgba(255, 210, 87, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.contact-card__body {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #8c8c8c;
}

.contact-canvas .site-footer {
  width: 100%;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .contact-info__rule {
    width: 100%;
  }
}

/* ── Validation states ── */
.contact-form__error {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #ff6b6b;
  margin-top: 5px;
  min-height: 16px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.contact-form__input--error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.14) !important;
}

.contact-form__input--ok {
  border-color: rgba(100, 210, 140, 0.6) !important;
}

/* ── Success / error banner ── */
.contact-form__banner {
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.contact-form__banner--success {
  background: rgba(100, 210, 140, 0.12);
  border: 1px solid rgba(100, 210, 140, 0.4);
  color: #7edda0;
}

.contact-form__banner--error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ff8f8f;
}

/* ── Submit button states ── */
.contact-form__submit--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.contact-form__submit--loading .contact-form__submit-label,
.contact-form__submit--loading .contact-form__submit-icon {
  opacity: 0;
}

.contact-form__submit--loading .contact-form__spinner {
  display: block;
}

/* Loading spinner */
.contact-form__spinner {
  display: none;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.contact-form__submit {
  position: relative;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Cooldown message ── */
.contact-form__cooldown {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ── Honeypot: completely invisible to real users ── */
.contact-form__honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
