:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-soft: #fff7fa;
  --border: #d9e0e7;
  --text: #1f2937;
  --text-soft: #5b6573;

  --accent: #8f1239;
  --accent-hover: #72102e;

  --danger-bg: #fff2f5;
  --danger-border: #f3b8c9;
  --danger-text: #8f1239;

  --error: #c62828;
  --success: #1b8f3a;

  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #eef2f6 0%, #f7f9fb 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* HERO */
.hero {
  width: calc(100% - 48px);
  max-width: 980px;
  margin: 28px auto 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__banner {
  background: #fff;
}

.hero__banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__content {
  padding: 28px 24px 30px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(143, 18, 57, 0.04) 0%,
    rgba(243, 184, 201, 0.10) 100%
  );
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f9eef2;
  border: 1px solid #f0cad7;
  color: var(--danger-text);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero__content h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--danger-text);
}

.hero__content p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* CARDS */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.card--info {
  border-top: 6px solid var(--danger-text);
}

.card--form {
  background: var(--surface);
}

.card h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--text);
}

.card p {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--text-soft);
}

.highlight {
  font-weight: 700;
  color: var(--danger-text);
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  border-radius: 12px;
  padding: 12px 14px;
}

/* FORM */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.required {
  color: var(--error);
}

textarea,
input[type="text"],
input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cfd6df;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea:focus,
input[type="text"]:focus,
input[type="file"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 18, 57, 0.08);
}

textarea {
  resize: vertical;
  min-height: 220px;
}

.help {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.error {
  display: block;
  margin-top: 6px;
  color: var(--error);
  font-size: 0.88rem;
  min-height: 1em;
}

.input-error {
  border-color: var(--error) !important;
}

.file-list {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.file-list ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.file-list li {
  margin-bottom: 4px;
}

/* ACTIONS */
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  min-width: 180px;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: #e7ebf0;
  color: var(--text);
}

.notice {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.msg {
  margin-top: 18px;
  min-height: 1.4em;
  text-align: center;
  font-weight: 700;
  font-size: 0.98rem;
}

.msg.success {
  color: var(--success);
}

.msg.error {
  color: var(--error);
}

.back-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--text-soft);
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* MOBILE */
@media (max-width: 640px) {
  .container {
    padding: 0 16px 28px;
  }

  .hero {
    width: calc(100% - 32px);
    margin-top: 16px;
    border-radius: 18px;
  }

  .hero__content {
    padding: 22px 16px 24px;
  }

  .card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
