:root {
  --brand: #0b8f5a;
  --brand-dark: #08764a;
  --brand-soft: #eaf7f0;
  --accent: #f07a1f;
  --ink: #203029;
  --muted: #748078;
  --line: #dfe9e3;
  --danger: #d93025;
  --surface: #ffffff;
  --page: #eff4f1;
  --shadow: 0 16px 40px rgba(23, 60, 40, .10);
}

* { box-sizing: border-box; }

html { background: var(--page); }

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea { font: inherit; }

button { -webkit-tap-highlight-color: transparent; }

.page {
  position: relative;
  width: min(100%, 720px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(118px + env(safe-area-inset-bottom));
  overflow: hidden;
  background: var(--page);
}

.hero {
  position: relative;
  min-height: 265px;
  padding: 24px 20px 45px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(145deg, #08784c 0%, #0b955d 62%, #11a86a 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -76px;
  top: -92px;
  border: 30px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
}

.brand-number {
  color: #ffd166;
  font-size: 27px;
  line-height: 1;
}

.brand-name {
  font-size: 15px;
  letter-spacing: .06em;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 28px;
}

.eyebrow {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: .02em;
}

.hero-subtitle {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.hero-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 12px;
}

.hero-car {
  position: absolute;
  z-index: 1;
  width: 230px;
  right: -4px;
  bottom: 4px;
  opacity: .98;
  filter: drop-shadow(0 14px 14px rgba(0, 61, 37, .22));
}

.trust-strip {
  position: relative;
  z-index: 5;
  
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: calc(100% - 28px);
  margin: -18px auto 16px;
  padding: 13px 14px;
  border: 1px solid #dfeae3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(33, 71, 50, .08);
  color: #547064;
  font-size: 12px;
}

.trust-strip span { flex: 1; text-align: center; }

.form-card {
  width: calc(100% - 28px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e0e9e4;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-section { padding: 22px 18px 8px; }

.form-section + .form-section { border-top: 1px solid #edf2ef; }

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 17px;
}

.section-number {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.section-heading h2 {
  margin: 0;
  color: #173d2a;
  font-size: 18px;
  line-height: 1.4;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.field {
  display: block;
  margin: 0 0 17px;
  padding: 0;
  border: 0;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: #3e5146;
  font-size: 14px;
  font-weight: 700;
}

.field-label em {
  color: var(--danger);
  font-style: normal;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid #d8e5de;
  border-radius: 11px;
  outline: none;
  background: #f8fbf9;
  color: var(--ink);
  font-size: 16px;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

input[type="text"],
input[type="tel"],
select {
  height: 48px;
  padding: 0 13px;
}

textarea {
  min-height: 94px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.7;
}

select {
  appearance: none;
  padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #738178 50%), linear-gradient(135deg, #738178 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 143, 90, .11);
}

input.is-error,
select.is-error,
textarea.is-error { border-color: var(--danger); background: #fffafa; }

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.choice-chip {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-chip span {
  display: block;
  padding: 9px 13px;
  border: 1px solid #d8e5de;
  border-radius: 999px;
  background: #f8fbf9;
  color: #506158;
  font-size: 14px;
  transition: all .16s ease;
}

.choice-chip input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #59675f;
  font-size: 13px;
  line-height: 1.7;
}

.consent-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.consent-row a {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
}

.compact-section { padding-bottom: 22px; }

.error {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 12px;
  line-height: 17px;
}

.page-footer {
  margin: 24px 16px 0;
  color: #8a958e;
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.page-footer p { margin: 4px 0; }

.submit-bar {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid #dfe9e3;
  backdrop-filter: blur(14px);
}

.submit-bar button {
  display: flex;
  width: min(100%, 692px);
  min-height: 58px;
  margin: 0 auto;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0b8f5a, #12a76a);
  color: #fff;
  box-shadow: 0 9px 20px rgba(11, 143, 90, .22);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .16s ease, opacity .16s ease;
}

.submit-bar button:active { transform: scale(.985); }

.submit-bar button[disabled] {
  cursor: default;
  opacity: .72;
}

.submit-bar span {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .03em;
}

.submit-bar small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.success-layer {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(23, 43, 32, .55);
  backdrop-filter: blur(4px);
}

.success-layer.is-visible { display: flex; }

.success-card {
  width: min(100%, 400px);
  padding: 30px 24px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(11, 45, 28, .26);
  text-align: center;
  animation: success-in .24s ease-out;
}

.success-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 15px;
}

.success-icon svg { display: block; width: 100%; height: 100%; }

.success-card h2 {
  margin: 0;
  color: #173d2a;
  font-size: 24px;
}

.success-card p {
  margin: 11px 0 20px;
  color: #68756d;
  font-size: 14px;
  line-height: 1.8;
}

.success-card button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.success-card small {
  display: block;
  margin-top: 13px;
  color: #98a19b;
  font-size: 11px;
}

@keyframes success-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 600px) {
  .hero { min-height: 285px; padding: 28px 34px 50px; }
  .hero-car { width: 280px; right: 15px; bottom: 0; }
  .trust-strip {
  position: relative;
  z-index: 5;
   width: calc(100% - 48px); }
  .form-card { width: calc(100% - 48px); }
  .form-section { padding-right: 24px; padding-left: 24px; }
  .submit-bar { padding-right: 24px; padding-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.h5-toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  max-width: calc(100vw - 40px);
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(35, 43, 39, .92);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease;
}

.h5-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 600px) {
  .submit-bar button { width: min(100%, 680px); }
}




.brand-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 170px;
  height: auto;
}


.campus-fixed {
  display: flex;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cfe6d9;
  border-radius: 11px;
  background: #f2faf6;
  color: #0b7d50;
  font-size: 15px;
  font-weight: 800;
  align-items: center;
  justify-content: space-between;
}

.campus-fixed small {
  color: #7e9186;
  font-size: 11px;
  font-weight: 600;
}

.campus-options {
  display: grid;
  gap: 10px;
}

.campus-option {
  position: relative;
  display: flex;
  min-height: 70px;
  padding: 12px 12px;
  border: 1px solid #d8e5de;
  border-radius: 12px;
  background: #f8fbf9;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.campus-option.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 0 0 3px rgba(11, 143, 90, .08);
}

.campus-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.campus-radio {
  position: relative;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border: 2px solid #b8c8bf;
  border-radius: 50%;
  background: #fff;
}

.campus-option input:checked + .campus-radio {
  border-color: var(--brand);
}

.campus-option input:checked + .campus-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand);
}

.campus-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.campus-copy strong {
  color: #173d2a;
  font-size: 15px;
}

.campus-copy small {
  color: #738178;
  font-size: 12px;
  line-height: 1.55;
}

.campus-options.is-error .campus-option {
  border-color: rgba(217, 48, 37, .58);
  background: #fffafa;
}
