:root {
  --red: #b81919;
  --red-dark: #8e1010;
  --ink: #2a1212;
  --muted: #6b5555;
  --cream: #fff6f1;
  --line: #f0ddd5;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); }
a:hover { color: var(--red-dark); }
.wrap { max-width: 560px; margin: 0 auto; }
header.top {
  background: var(--red);
  color: var(--white);
  padding: 36px 24px 26px;
}
header.top .inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.brand { font-family: Orbitron, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: 0.3px; color: var(--white); text-decoration: none; }
h1 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
header.top p { margin: 0; font-size: 15px; line-height: 1.5; }
main { padding: 22px 24px 40px; }
form { display: flex; flex-direction: column; gap: 26px; }
section { display: flex; flex-direction: column; gap: 10px; }
h2 { margin: 0; font-size: 17px; font-weight: 700; }
.hint { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 420px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 5px; }
label.l { font-size: 12px; font-weight: 600; color: var(--muted); }
input[type="text"], input[type="tel"], input[type="url"], input[type="email"], input[type="number"], textarea, select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
textarea { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.45; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(184, 25, 25, 0.25); border-color: var(--red); }
::placeholder { color: #8a7272; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.photos .ph { position: relative; height: 96px; border-radius: 12px; overflow: hidden; background: var(--line); }
.photos .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos .ph button {
  position: absolute; right: 4px; top: 4px; width: 28px; height: 28px; border-radius: 14px; border: 0;
  background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 16px; line-height: 28px; cursor: pointer;
}
.add {
  height: 96px; border-radius: 12px; border: 2px dashed var(--red); background: var(--white); color: var(--red);
  font: inherit; font-size: 13px; font-weight: 700; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; cursor: pointer;
}
.outline {
  min-height: 50px; border-radius: 14px; border: 2px solid var(--red); background: var(--white); color: var(--red);
  font: inherit; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; padding: 0 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 14px; border-radius: 22px; border: 2px solid var(--red); background: transparent;
  color: var(--red); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--red); color: var(--white); }
.consent {
  display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; padding: 14px;
  border-radius: 14px; background: var(--white); border: 1px solid var(--line);
}
.consent input { width: 22px; height: 22px; accent-color: var(--red); margin: 0; flex: 0 0 auto; }
.submit {
  min-height: 56px; border: 0; border-radius: 28px; background: var(--red); color: var(--white); font: inherit;
  font-size: 16px; font-weight: 700; cursor: pointer;
}
.submit:disabled { opacity: 0.6; cursor: default; }
.small { margin: 0; text-align: center; font-size: 12px; line-height: 1.45; color: var(--muted); }
.error { color: var(--red-dark); font-size: 13px; font-weight: 600; margin: 0; }
.done { text-align: center; padding: 40px 8px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.done h2 { font-size: 22px; }
.cards { display: grid; gap: 14px; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--white);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink);
}
.card strong { font-size: 18px; }
.card span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.legal h2 { margin-top: 18px; }
.legal p, .legal li { font-size: 14px; line-height: 1.6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
footer { text-align: center; padding: 24px; font-size: 12px; color: var(--muted); }
