:root {
  --red: #d0404a;
  --teal: #248887;
  --orange: #F6A316;
  --dark: #343434;
  --light: #eceded;
  --cream: #f7f2ef;
  --border: #d9d5d3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #DEDCDA;
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
}

input, textarea, button { font-family: 'Montserrat', sans-serif; }
input::placeholder, textarea::placeholder { color: #a9a4a1; }
input:focus, textarea:focus { outline: none; border-color: var(--dark); }

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 48px 24px;
}

.card {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(52,34,26,0.12);
  overflow: hidden;
  height: fit-content;
}

/* top tricolor strip */
.topbar { display: flex; height: 6px; }
.topbar-seg { flex: 1; }

/* hero */
.hero {
  padding: 40px 48px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.hero-deco {
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  border-radius: 999px;
  background: #3d3d3d;
  transform: translate(35%, -45%);
}
.hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.logo { width: 52px; height: 52px; flex: none; display: block; }
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--orange);
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 34px;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.1;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.hero-sub {
  color: #d8d4d1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* progress */
.progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 48px;
  background: var(--light);
}
.progress-track { flex: 1; height: 5px; background: var(--border); }
.progress-fill { height: 100%; width: 0%; background: var(--red); transition: width .2s ease; }
.progress-label {
  font-size: 11px;
  font-weight: 700;
  color: #6b6663;
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

/* body / sections */
.body { padding: 8px 48px 48px; }

.sec {
  padding-top: 38px;
  position: relative;
}
.sec-ghost {
  position: absolute;
  top: 24px; right: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 96px;
  color: #f0ece9;
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.sec-head {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--dark);
}
.sec-head h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.field {
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.field.cond { display: none; }
.field.cond.visible { display: block; }

.q-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.q-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.45;
}
.q-hint {
  font-size: 12.5px;
  color: #9a938f;
  margin-bottom: 12px;
}

.text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid var(--dark);
  background: var(--cream);
  font-size: 14px;
  color: var(--dark);
  margin-top: 8px;
}
.textarea { resize: vertical; }
.other-input { margin-top: 10px; font-size: 13px; }

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.opt {
  background: #fff;
  color: var(--dark);
  border: 2px solid var(--border);
  padding: 10px 20px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .03em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .12s, color .12s, border-color .12s;
}
.opt .box {
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  flex: none;
}
.opt .box::after { content: ''; }
.opt.selected .box::after { content: '✓'; }
.opt.selected {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.nps-row { display: flex; gap: 0; margin-top: 10px; }
.nps-btn {
  flex: 1;
  height: 42px;
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.nps-btn.selected { color: #fff; }
.nps-btn.n1.selected  { background: rgb(208,64,74);  border-color: rgb(208,64,74); }
.nps-btn.n2.selected  { background: rgb(216,86,63);  border-color: rgb(216,86,63); }
.nps-btn.n3.selected  { background: rgb(225,108,51); border-color: rgb(225,108,51); }
.nps-btn.n4.selected  { background: rgb(233,131,39); border-color: rgb(233,131,39); }
.nps-btn.n5.selected  { background: rgb(242,152,28); border-color: rgb(242,152,28); }
.nps-btn.n6.selected  { background: rgb(223,160,35); border-color: rgb(223,160,35); }
.nps-btn.n7.selected  { background: rgb(176,154,60); border-color: rgb(176,154,60); }
.nps-btn.n8.selected  { background: rgb(129,148,85); border-color: rgb(129,148,85); }
.nps-btn.n9.selected  { background: rgb(83,142,110); border-color: rgb(83,142,110); }
.nps-btn.n10.selected { background: rgb(36,136,135); border-color: rgb(36,136,135); }

.submit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 28px;
  border-top: 3px solid var(--dark);
}
.btn-submit {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 15px 34px;
  border-radius: 0;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}
.btn-reset {
  background: none;
  border: none;
  color: #9a938f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.btn-reset.outline {
  border: 1.5px solid var(--dark);
  color: var(--dark);
  padding: 12px 26px;
  border-radius: 0;
}

.thankyou {
  padding: 96px 56px;
  text-align: center;
}
.thankyou .check {
  width: 72px; height: 72px;
  border-radius: 0;
  background: var(--red);
  color: #fff;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.thankyou-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--dark);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.thankyou p {
  color: #6b6663;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 32px;
}

@media (max-width: 560px) {
  .hero, .body { padding-left: 24px; padding-right: 24px; }
  .progress-row { padding-left: 24px; padding-right: 24px; }
  .sec-ghost { font-size: 64px; }
  .hero h1 { font-size: 26px; }
}
