:root {
  --ink: #070d2d;
  --muted: #4e5872;
  --blue: #063fba;
  --line: #dce2ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7f9ff;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.contact-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 42px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

.brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(16, 31, 72, 0.07);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #1c2748;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd6e4;
  border-radius: 9px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.website-field {
  display: none;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(180deg, #0c34bd, #062493);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: #0d6b3f;
}

.form-status.error {
  color: #a12626;
}

@media (max-width: 820px) {
  .contact-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .brand {
    font-size: 30px;
  }
}
