:root {
  --red: #D8281C;
  --red-dark: #B01E14;
  --yellow: #F2B705;
  --yellow-soft: #FBE7A1;
  --cream: #FFF6E9;
  --cream-deep: #FCEDD3;
  --ink: #241A12;
  --ink-soft: #5B4A3D;
  --white: #FFFFFF;
  --green-ok: #2E7D4F;
  --shadow: 0 20px 45px -20px rgba(36, 26, 18, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--ink);
  color: var(--white);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-img {
  height: 52px;
  width: 52px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.footer-logo-img {
  height: 44px;
  width: 44px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.header-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.header-pin:hover { background: rgba(255,255,255,0.18); }

/* ---------- hero ---------- */
.hero {
  padding: 48px 0 64px;
  background:
    radial-gradient(circle at 100% 0%, var(--yellow-soft) 0%, transparent 45%),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--cream-deep);
  color: var(--red-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.hero-copy h1 .accent { color: var(--red); }

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 46ch;
}

/* ---------- form ---------- */
.claim-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  max-width: 460px;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 14px 16px;
  border: 2px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

.field input.invalid { border-color: var(--red); }

.phone-input {
  display: flex;
  border: 2px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.phone-input:focus-within {
  border-color: var(--red);
  background: var(--white);
}
.phone-input.invalid { border-color: var(--red); }

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--cream-deep);
  border-right: 2px solid var(--cream-deep);
}

.phone-input input {
  border: none;
  background: transparent;
  flex: 1;
  border-radius: 0;
}
.phone-input input:focus { border: none; }

.field-error {
  display: block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  min-height: 1em;
}

.cta-button {
  width: 100%;
  background: var(--red);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.08rem;
  padding: 17px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cta-button:hover { background: var(--red-dark); }
.cta-button:active { transform: scale(0.98); }
.cta-button:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-fineprint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--cream-deep);
}

.trust-chips li {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- result panels ---------- */
.result-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  max-width: 460px;
  text-align: center;
  animation: pop-in 0.35s ease;
}
@keyframes pop-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-icon { font-size: 2.4rem; margin-bottom: 12px; }

.result-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.result-panel p {
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.result-success h3 { color: var(--green-ok); }
.result-error h3 { color: var(--red); }

.wa-fallback {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
}

.code-display {
  margin-top: 18px;
  padding: 18px;
  background: var(--yellow-soft);
  border: 2px dashed var(--yellow);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.code-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.code-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.code-hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

.link-button {
  margin-top: 16px;
  background: none;
  border: none;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- hero media ---------- */
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 82%;
  aspect-ratio: 4 / 5;
}

.hero-media-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4);
}

/* ---------- steps ---------- */
.steps {
  padding: 56px 0;
  background: var(--ink);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: left;
}

.step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 8px;
}

.step p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- story ---------- */
.story {
  background: var(--white);
  padding: 72px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.story-img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin: 0 0 18px;
  color: var(--red);
}

.story-copy p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.story-copy strong { color: var(--ink); }

/* ---------- gallery ---------- */
.gallery {
  background: var(--cream);
  padding: 0 0 72px;
}

.gallery img {
  border-radius: var(--radius-lg);
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream-deep);
  padding: 0 0 28px;
}

.tnc-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(242,183,5,0.25);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}

.tnc-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tnc-icon { font-size: 1.3rem; }

.tnc-card-head h4 {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin: 0;
}

.tnc-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: 0 0 18px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.tnc-facts li {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
}

.tnc-facts strong {
  display: block;
  color: var(--yellow-soft);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.tnc-card > p {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  max-width: 68ch;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}


.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { order: -1; max-width: 340px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-img { max-width: 420px; margin: 0 auto; aspect-ratio: 4/5; object-position: 50% 30%; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .tnc-card { padding: 24px; }
}

@media (max-width: 480px) {
  .claim-form, .result-panel { padding: 22px; max-width: 100%; }
  .header-pin span { display: none; }
  .hero { padding: 32px 0 48px; }
}
