:root {
  --green: #367f34;
  --green-dark: #246a2d;
  --green-soft: #e7f3e4;
  --blue: #08658b;
  --blue-dark: #064c70;
  --ink: #22303c;
  --muted: #64707b;
  --white: #ffffff;
  --line: #d9e2e6;
  --shadow: 0 24px 70px rgba(6, 76, 112, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(118deg, rgba(54, 127, 52, 0.95) 0 28%, transparent 28.2%),
    linear-gradient(118deg, transparent 0 63%, rgba(8, 101, 139, 0.95) 63.2% 69%, transparent 69.2%),
    linear-gradient(118deg, transparent 0 67%, rgba(54, 127, 52, 0.95) 67.2% 72%, transparent 72.2%),
    linear-gradient(180deg, #f7faf9 0%, #eaf3f5 100%);
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 48px 24px;
  display: grid;
  place-items: center;
}

.hero {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.hero-content {
  position: sticky;
  top: 42px;
  color: #101820;
}

.brand-logo {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 50%;
}

.eyebrow {
  margin: 24px 0 16px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  max-width: 620px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.intro {
  max-width: 560px;
  margin: 24px 0 0;
  color: #101820;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
}

.questionnaire {
  width: 100%;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.form-heading img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 50%;
}

.form-heading h2 {
  margin-bottom: 0;
  color: var(--green);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0;
}

.form-intro {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green-soft), #ffffff);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.form-section {
  margin: 0 0 26px;
  padding: 22px 20px 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
}

.form-section legend {
  padding: 0 10px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.field span {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"] {
  padding: 14px 16px;
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 13px;
}

textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="file"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 101, 139, 0.14);
}

.option-grid,
.option-stack {
  display: grid;
  gap: 12px;
}

.option-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.option-grid.compact {
  grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.option-grid label,
.option-stack label,
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.45;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.file-field {
  padding: 16px;
  border: 1px dashed rgba(54, 127, 52, 0.5);
  border-radius: 8px;
  background: var(--green-soft);
}

.consent-box {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid rgba(8, 101, 139, 0.2);
  border-radius: 8px;
  background: #f6fafb;
}

.consent-box details {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--white);
}

.consent-box summary {
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.terms-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
}

.terms-text p {
  margin-bottom: 12px;
}

.captcha-wrap {
  min-height: 76px;
  margin: 18px 0;
}

button,
.return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

button {
  width: 100%;
}

button:hover,
.return-link:hover {
  background: var(--green);
  box-shadow: 0 12px 30px rgba(54, 127, 52, 0.28);
  transform: translateY(-1px);
}

button:active,
.return-link:active {
  transform: translateY(0);
}

.thanks-panel {
  width: min(720px, 100%);
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.thanks-panel .eyebrow {
  color: var(--blue);
}

.thanks-panel h1 {
  color: var(--green);
}

.thanks-panel .intro {
  color: var(--muted);
}

.return-link {
  margin-top: 28px;
  padding: 0 20px;
}

@media (max-width: 860px) {
  body {
    background:
      linear-gradient(146deg, rgba(54, 127, 52, 0.96) 0 42%, transparent 42.4%),
      linear-gradient(146deg, transparent 0 72%, rgba(8, 101, 139, 0.95) 72.4% 78%, transparent 78.4%),
      linear-gradient(180deg, #f7faf9 0%, #eaf3f5 100%);
  }

  .page-shell {
    padding: 32px 18px;
    place-items: start center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-content {
    position: static;
  }

  .questionnaire {
    padding: 24px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.75rem;
  }

  .intro {
    font-size: 1rem;
  }

  .brand-logo {
    width: 104px;
    height: 104px;
  }

  .form-heading {
    align-items: flex-start;
  }

  .form-heading img {
    width: 58px;
    height: 58px;
  }

  .form-heading h2 {
    font-size: 1.25rem;
  }

  .questionnaire,
  .thanks-panel {
    padding: 20px;
  }
}
