:root {
  --red: #d13b34;
  --red-dark: #b8322c;
  --ink: #1a1a1a;
  --muted: #8a8a8a;
  --border: #e3e3e3;
  --bg: #ffffff;
  --card-bg: #fafafa;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.listing {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.listing__col {
  flex: 1 1 0;
  min-width: 0;
}

.photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eee;
  aspect-ratio: 4 / 3;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.descr {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink);
}

.descr p {
  margin: 0 0 8px;
}

.descr p:last-child {
  margin-bottom: 0;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 32px;
}

.form-card__title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
}

.form-card__subtitle {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b3b3b3;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(209, 59, 52, 0.12);
}

.btn-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-submit:hover {
  background: var(--red-dark);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-size: 14px;
}

.form-status--success {
  color: #1f8a3a;
}

.form-status--error {
  color: var(--red);
}

.site-footer {
  text-align: center;
  padding: 28px 0 8px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer .dot {
  margin: 0 10px;
}

/* Mobile: stacked order — photo, description, form */
@media (max-width: 860px) {
  .page {
    padding: 20px 16px 16px;
  }

  .listing {
    flex-direction: column;
    gap: 24px;
  }

  .listing__col {
    width: 100%;
  }

  .form-card {
    padding: 24px;
  }
}
