﻿.contact-wrap {
  max-width: 1200px; margin: 0 auto 120px; padding: 0 48px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}
.form-card {
  background: white; border: 1px solid var(--border); border-radius: 28px;
  padding: 48px;
  box-shadow: 0 30px 60px -30px oklch(0.25 0.1 280 / 0.2);
}
.form-card h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 10px; }
.form-card h2 span { color: var(--brand); }
.form-card p { font-size: 15px; color: var(--ink2); margin-bottom: 32px; line-height: 1.55; }

.role-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg-softer); padding: 4px; border-radius: 100px; margin-bottom: 28px; }
.role-tab {
  padding: 10px 12px; border-radius: 100px; border: none; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink2); cursor: pointer;
  transition: all .2s;
}
.role-tab.active { background: white; color: var(--ink); box-shadow: 0 2px 6px -2px oklch(0.25 0.1 280 / 0.15); }

.field { margin-bottom: 18px; }
.field label {
  font-size: 12px; font-weight: 700; color: var(--ink2);
  letter-spacing: 0.04em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg);
  font-family: inherit; font-size: 15px; color: var(--ink);
  transition: all .2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px oklch(0.55 0.22 280 / 0.1);
  background: white;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { margin-top: 12px; font-size: 12px; color: var(--ink3); line-height: 1.55; }
.form-foot a { color: var(--brand); text-decoration: underline; }

.submit-btn { width: 100%; justify-content: center; margin-top: 12px; }

.success {
  display: none;
  text-align: center; padding: 40px 20px;
}
.success.show { display: block; }
.success .c {
  width: 72px; height: 72px; border-radius: 50%;
  background: oklch(0.92 0.12 155); color: oklch(0.4 0.15 155);
  display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 32px; font-weight: 800;
}
.success h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.success p { font-size: 15px; color: var(--ink2); line-height: 1.55; max-width: 380px; margin: 0 auto; }

/* ── Right-side info ── */
.info {
  display: flex; flex-direction: column; gap: 16px;
}
.info-card {
  background: white; border: 1px solid var(--border); border-radius: 20px;
  padding: 28px;
}
.info-card.dark {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  color: white; border: none; position: relative; overflow: hidden;
}
.info-card.dark::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, oklch(0.55 0.22 280 / 0.4), transparent 70%);
}
.info-card.dark > * { position: relative; }
.ic-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 10px; }
.info-card.dark .ic-label { color: oklch(1 0 0 / 0.55); }
.ic-title { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 8px; }
.ic-body { font-size: 14px; color: var(--ink2); line-height: 1.55; }
.info-card.dark .ic-body { color: oklch(1 0 0 / 0.75); }
.ic-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); }
.info-card.dark .ic-link { color: var(--brand2); }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.office { padding: 14px 16px; border-radius: 12px; background: var(--bg-softer); }
.office .city { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.office .addr { font-size: 12px; color: var(--ink3); line-height: 1.5; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; padding: 0 20px 80px; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .role-tabs { grid-template-columns: 1fr; border-radius: 18px; }
  .offices { grid-template-columns: 1fr; }
}
