:root {
  --gold: #b8862f;
  --gold-dark: #8f6522;
  --ink: #241d16;
  --cream: #fbf6ee;
  --card: #ffffff;
  --border: #e7ddc9;
  --error: #c0392b;
  --success: #1f8a4c;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(180deg, #2a2118 0%, #241d16 320px, var(--cream) 320px);
  color: var(--ink);
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 18px 60px;
}

.hero {
  text-align: center;
  color: #fff;
  padding: 36px 18px 90px;
}

.hero-logo {
  display: block;
  width: 170px;
  height: auto;
  margin: 0 auto 18px;
}

.hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #f3e3c2;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.hero p {
  margin: 0;
  color: #dccdac;
  font-size: 15px;
}

.hero .insta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: #f3e3c2;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero .insta:hover { background: rgba(255,255,255,0.1); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: -60px;
  box-shadow: 0 12px 30px rgba(36,29,22,0.12);
}

.card + .card { margin-top: 20px; }

.card h2 {
  margin: 0 0 4px;
  font-size: 19px;
}
.card .sub {
  margin: 0 0 18px;
  color: #6b6152;
  font-size: 14px;
}

.qr-block {
  display: flex;
  gap: 18px;
  align-items: center;
}
.qr-link {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}
.qr-block img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.qr-tap-hint {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  background: rgba(36,29,22,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.qr-steps {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #4a4234;
  line-height: 1.7;
}

@media (max-width: 420px) {
  .qr-block { flex-direction: column; }
  .qr-block img { width: 180px; height: 180px; }
  .qr-tap-hint { display: block; }
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #3a3225;
}
.field .req { color: var(--error); }

.field input[type="text"],
.field input[type="tel"],
.field select,
.field input[type="file"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cfc4a9;
  border-radius: 9px;
  font-size: 15px;
  background: #fffdf9;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,47,0.15);
}

.field .hint {
  font-size: 12px;
  color: #8a806e;
  margin-top: 5px;
}
.field .error {
  font-size: 12px;
  color: var(--error);
  margin-top: 5px;
}

.honeypot { position: absolute; left: -9999px; top: -9999px; }

.btn-submit {
  width: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 6px;
}
.btn-submit:hover { filter: brightness(1.04); }
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 18px;
}
.alert-error { background: #fdeceb; color: var(--error); border: 1px solid #f3c4bf; }
.alert-success { background: #eaf7ef; color: var(--success); border: 1px solid #bfe6cd; }

.footer-note {
  text-align: center;
  font-size: 12px;
  color: #9a8f7a;
  margin-top: 22px;
}

.footer-logo {
  display: block;
  width: 110px;
  height: auto;
  margin: 30px auto 0;
  opacity: 0.85;
}

/* Thank-you page */
.confirm-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #eaf7ef;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 16px;
}
.confirm-wrap { text-align: center; }
.summary {
  text-align: left;
  background: #faf7f0;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 14px;
}
.summary div { padding: 4px 0; }
.summary b { color: #4a4234; }
