:root {
  --bg: #f4efe6;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #1f2937;
  --muted: #5b6472;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #e08e2f;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 60px rgba(31, 41, 55, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(224, 142, 47, 0.22), transparent 28%),
    radial-gradient(circle at right, rgba(15, 118, 110, 0.14), transparent 30%),
    linear-gradient(180deg, #f8f4ed 0%, #efe6d7 100%);
}

.hero-section {
  padding: 20px 0;
}

.site-header {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 8px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-brand:hover,
.site-brand:focus {
  opacity: 0.92;
}

.site-logo {
  display: block;
  height: auto;
  max-width: min(240px, 54vw);
}

.landing-shell {
  display: grid;
  gap: 24px;
  align-items: start;
  min-height: 100vh;
  padding-top: 32px;
  padding-bottom: 32px;
}

.landing-shell > * {
  min-width: 0;
}

.hero-copy {
  padding: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 24ch;
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 2.9vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 58ch;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.district-content {
  white-space: pre-line;
}

.hero-visual {
  margin: 0 0 28px;
}

.mobile-jump-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 18px;
  padding: 0.95rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.mobile-jump-cta:hover,
.mobile-jump-cta:focus {
  color: #fff;
  background: linear-gradient(135deg, #0b6a63 0%, #0f4f4b 100%);
}

.sticky-mobile-cta {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 1040;
}

.sticky-mobile-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 0.95rem 1.25rem;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #c66f1f 100%);
  box-shadow: 0 18px 38px rgba(31, 41, 55, 0.24);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.sticky-mobile-cta-button:hover,
.sticky-mobile-cta-button:focus {
  background: linear-gradient(135deg, #d98228 0%, #b85f17 100%);
  color: #fff;
}

.hero-image {
  display: block;
  width: min(100%, 620px);
  max-width: 100%;
  height: auto;
  border-radius: 28px;
}

.route-card {
  margin: 0 0 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.route-card h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.route-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.route-form {
  margin: 0;
}

.route-inline {
  display: grid;
  gap: 12px;
}

.route-button {
  width: 100%;
}

.steps-band {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 28px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.steps-band::-webkit-scrollbar {
  display: none;
}

.step-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  min-width: 0;
  flex: 1 0 210px;
}

.step-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.6rem;
  line-height: 1;
  flex: 0 0 auto;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary-dark);
  flex: 0 0 38px;
}

.step-icon svg {
  width: 18px;
  height: 18px;
}

.step-copy strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.98rem;
}

.step-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (min-width: 992px) {
  .steps-band {
    overflow: visible;
  }

  .step-chip {
    flex-basis: 0;
  }

  .route-inline {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .route-button {
    width: auto;
    min-width: 180px;
  }
}

.hero-points {
  display: grid;
  gap: 14px;
}

.hero-point {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
}

.hero-point strong {
  display: block;
  margin-bottom: 4px;
}

.hero-point-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary-dark);
  flex: 0 0 32px;
}

.hero-point-icon svg {
  width: 18px;
  height: 18px;
}

.hero-point span {
  color: var(--muted);
}

.form-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.form-card-header h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.form-card-header p {
  margin: 0 0 22px;
  color: var(--muted);
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.trust-badge {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.9));
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.form-label {
  margin-bottom: 8px;
  font-weight: 700;
}

.form-control,
.form-select {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.16);
}

.captcha-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.captcha-row {
  display: grid;
  gap: 10px;
}

.captcha-question {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--primary-dark);
  font-weight: 700;
}

.consent-box {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-strong);
}

.consent-box .form-check-input {
  margin-top: 0.3rem;
}

.consent-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-copy .form-check-label {
  display: grid;
  gap: 6px;
  line-height: 1.55;
}

.consent-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-dark);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-link:hover,
.consent-link:focus {
  color: var(--primary);
}

.privacy-modal {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
}

.privacy-frame {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  border: 0;
  background: #fff;
}

.trust-copy {
  display: grid;
  gap: 4px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.submit-button {
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  font-weight: 700;
}

.submit-button:hover,
.submit-button:focus {
  background: linear-gradient(135deg, #0b6a63 0%, #0f4f4b 100%);
}

.validation-summary ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #b42318;
}

.thanks-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.notfound-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.thanks-card {
  max-width: 640px;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.notfound-card {
  max-width: 680px;
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.notfound-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.thanks-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

.notfound-card p {
  color: var(--muted);
  font-size: 1.05rem;
}

@media (min-width: 992px) {
  .site-header {
    margin-bottom: 10px;
  }

  .site-logo {
    max-width: 270px;
  }

  .mobile-jump-cta {
    display: none;
  }

  .sticky-mobile-cta {
    display: none;
  }

  .landing-shell {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 480px);
    gap: 48px;
    padding-top: 10px;
    padding-bottom: 56px;
  }

  .hero-section {
    padding: 0;
  }
}

@media (max-width: 575.98px) {
  body {
    padding-bottom: 92px;
  }

  .trust-panel {
    grid-template-columns: 1fr;
  }
}
