/* Contact page */
.contact { padding: 56px 0 72px; background: #f1f6ff; }
.contact.hero-bg::before { opacity: .5; }
.contact__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.contact__text { display: flex; flex-direction: column; gap: 14px; max-width: 540px; }
.contact__text .h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.2; }
.features { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; max-width: 520px; }
.features li { display: flex; gap: 18px; align-items: flex-start; }
.features .tile { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #fff; box-shadow: var(--card-shadow); color: #000; font-size: 24px; flex: none; transition: transform var(--t-med) var(--ease); }
.features li:hover .tile { transform: translateY(-2px) rotate(-3deg); }
.features h2 { font-size: 18px; line-height: 26px; font-weight: 500; color: #000; }
.features p { font-size: 15px; line-height: 22px; color: var(--ink-2); margin-top: 2px; }

/* Form card */
.form { padding: 24px; display: flex; flex-direction: column; gap: 20px; border: 0; box-shadow: 0 2px 6px rgba(16, 24, 40, .04), 0 12px 32px rgba(48, 80, 160, .08); }
.form__head h2 { font-size: 24px; line-height: 32px; font-weight: 500; color: #000; }
.form__head p { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 16px; font-weight: 500; color: #000; }
.req { color: #f04438; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0 16px; height: 52px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff;
  font: 400 15px/1.4 var(--font-family); color: var(--ink); outline: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #98a2b3; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d0d5dd; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }
.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #1b2559; border-bottom: 2px solid #1b2559; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.sel select:has(option[value=""]:checked), .sel select:has(option:first-child:checked) { color: #98a2b3; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #f04438; box-shadow: 0 0 0 4px rgba(240, 68, 56, .1); }
.err { display: none; font-size: 13px; line-height: 18px; color: #d92d20; }
.field.is-invalid .err { display: block; }
.form .btn { margin-top: 4px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.status { padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 20px; }
.status--ok { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.status--err { background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.status--info { background: #fffaeb; color: #93370d; border: 1px solid #fedf89; }

@media (max-width: 980px) {
  .contact { padding: 36px 0 52px; }
  .contact__in { grid-template-columns: 1fr; gap: 36px; }
  .features { max-width: none; }
}
@media (max-width: 560px) {
  .form { padding: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .features h2 { font-size: 16px; }
  .features p { font-size: 14px; }
}
