:root {
  --sf-yellow: #fed401;
  --sf-yellow-soft: #ffe770;
  --sf-bg: #030303;
  --sf-bg-soft: #101010;
  --sf-text: #f5f5f5;
  --sf-muted: #b9b9b9;
  --sf-danger: #ff6161;
}

@font-face {
  font-family: "ZingRust";
  src:
    url("ZingRustDemo-Base.woff2") format("woff2"),
    url("ZingRustDemo-Base.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body.page-home {
  margin: 0;
  background: #000;
  background-image: none;
  color: var(--sf-text);
  font-family: "ZingRust", Arial, sans-serif;
}

.sf-page {
  overflow: hidden;
  background: radial-gradient(circle at 20% 15%, #212212 0%, #070707 45%, #000 90%);
}

.sf-hero {
  position: relative;
  padding: 26px 0 70px;
}

.sf-kv-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(254, 212, 1, 0.42);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  position: relative;
}

.sf-kv-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.sf-kv-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.sf-hero-inner {
  position: relative;
  padding-top: 28px;
}

.sf-brand {
  width: 240px;
  margin-bottom: 35px;
}

.sf-brand img {
  width: 100%;
  display: block;
}

.sf-title {
  margin: 0;
	font-weight: 400;
  max-width: 930px;
  color: var(--sf-yellow);
  text-transform: uppercase;
  font-size: clamp(56px, 7.8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  font-family: "ZingRust", Impact, sans-serif;
  animation: sfRiseIn 0.8s ease;
}
@media screen and (max-width: 1180px) {
	.sf-title {
	  line-height: 0.95;
	}
}
.sf-subtitle {
  margin: 18px 0 0;
  max-width: 700px;
  color: #fff;
  font-size: clamp(26px, 3.4vw, 44px);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.sf-description {
  margin: 22px 0 0;
  max-width: 760px;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.2;
  font-weight: 500;
}

.sf-form {
  margin-top: 36px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(254, 212, 1, 0.38);
  background: linear-gradient(160deg, rgba(15, 15, 15, 0.95), rgba(10, 10, 10, 0.88));
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(254, 212, 1, 0.11) inset;
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, margin 0.45s ease, padding 0.45s ease;
  max-height: 900px;
  overflow: visible;
}

.sf-form-fields {
  max-height: 900px;
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.32s ease, max-height 0.32s ease;
}

.sf-form.is-stage .sf-form-fields {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}

.sf-form.is-hidden {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  pointer-events: none;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  max-height: 0;
  overflow: hidden;
}

.sf-form.is-stage #sfSubmitBtn,
.sf-form.is-hidden #sfSubmitBtn {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  margin-top: 0;
}

.sf-excuse-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.sf-excuse-row input {
  flex: 1;
  height: 48px;
  min-height: 48px;
  line-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(254, 212, 1, 0.45);
  background: rgba(0, 0, 0, 0.56);
  color: #fff;
  padding: 0 18px;
  font-size: 18px;
}

.sf-excuse-row input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.sf-campaign-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(254, 212, 1, 0.5);
  background: linear-gradient(140deg, #ffe45a, #fed401);
  color: #111;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 14px 32px rgba(254, 212, 1, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.sf-campaign-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(254, 212, 1, 0.35);
  filter: brightness(1.02);
}

#sfSubmitBtn {
  margin-top: 18px;
  min-width: 220px;
  height: 58px;
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(160deg, #ffe14a, #fed401);
  color: #111;
  font-size: 22px;
  font-weight: 400;
  font-family: "ZingRust", sans-serif;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#sfSubmitBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(254, 212, 1, 0.35);
}

#sfSubmitBtn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.sf-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
  color: #f4e9a6;
}

.sf-field input,
.sf-field select {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 15, 15, 0.88);
  color: #fff;
  font-size: 18px;
  padding: 0 13px;
}

.sf-county-combobox {
  position: relative;
}

.sf-county-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  border: 1px solid rgba(254, 212, 1, 0.35);
  border-radius: 10px;
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.sf-county-menu.is-open {
  display: block;
}

.sf-county-option {
  padding: 11px 12px;
  font-size: 17px;
  color: #f7f7f7;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sf-county-option:last-child {
  border-bottom: 0;
}

.sf-county-option:hover,
.sf-county-option.is-active {
  background: rgba(254, 212, 1, 0.18);
  color: #fff6c5;
}

.sf-field-wide {
  grid-column: span 3;
}

.sf-field input:focus,
.sf-field select:focus,
.sf-excuse-row input:focus {
  border-color: var(--sf-yellow);
  box-shadow: 0 0 0 2px rgba(254, 212, 1, 0.16);
}

.sf-consent {
  margin-top: 16px;
  font-size: 16px;
  color: var(--sf-muted);
}

.sf-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.35;
}

.sf-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--sf-yellow);
}

.sf-feedback {
  margin-top: 14px;
  min-height: 24px;
  font-size: 19px;
  font-weight: 400;
}

.sf-feedback.is-error {
  color: var(--sf-danger);
}

.sf-feedback.is-success {
  color: var(--sf-yellow);
}

.sf-form-stage {
  margin-top: 0;
  position: relative;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, height 0.35s ease, margin-top 0.35s ease;
  overflow: hidden;
}

.sf-form.is-stage .sf-form-stage {
  margin-top: 30px;
  opacity: 1;
  height: 420px;
  pointer-events: auto;
}

#sfBurnScene {
  display: block;
  width: 100%;
  height: 420px;
  background: transparent;
  transition: opacity 0.3s ease;
}

.sf-form.is-complete #sfBurnScene {
  opacity: 0;
  pointer-events: none;
}

.sf-success-message {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: clamp(24px, 4vw, 54px);
  font-size: clamp(23px, 3.1vw, 38px);
  line-height: 1.03;
  font-weight: 400;
  color: var(--sf-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.38s ease, transform 0.38s ease;
  pointer-events: none;
}

.sf-success-message.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sf-success-message a {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 24px;
  border-radius: 10px;
  background: linear-gradient(160deg, #ffe45a, #fed401);
  color: #111;
  font-family: "ZingRust", sans-serif;
  font-size: 32px;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.sf-success-message a:hover {
  filter: brightness(1.04);
}

.sf-map-section {
  position: relative;
  z-index: 2;
  padding: 30px 0 70px;
  border-top: 1px solid rgba(254, 212, 1, 0.2);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.99) 0%, rgba(0, 0, 0, 0.99) 100%);
}

.sf-map-section h2 {
  margin: 0 0 22px;
  color: #fff;
  font-family: "ZingRust", sans-serif;
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.sf-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  align-items: stretch;
}

.sf-map-wrap {
  position: relative;
  background: linear-gradient(165deg, rgba(16, 16, 16, 0.95), rgba(6, 6, 6, 0.95));
  border: 1px solid rgba(254, 212, 1, 0.35);
  border-radius: 16px;
  min-height: 640px;
  overflow: hidden;
}

#sfMap {
  width: 100%;
  height: 100%;
}

#sfMap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sf-county {
  fill: #171717;
  stroke: rgba(254, 212, 1, 0.72);
  stroke-width: 1;
  cursor: pointer;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.sf-county:hover {
  fill: #2b2a1a;
}

.sf-county.is-selected {
  fill: #3c3400;
  stroke: #ffea6b;
  stroke-width: 1.8;
}

.sf-county-counter circle {
  fill: #4d4d4d;
  stroke: #111;
  stroke-width: 1.1;
}

.sf-county-counter text {
  fill: #e6e6e6;
  font-size: 12px;
  font-weight: 400;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.sf-county-counter {
  cursor: pointer;
}

.sf-county-counter.is-live circle {
  fill: var(--sf-yellow);
}

.sf-county-counter.is-live text {
  fill: #111;
}

.sf-excuse-point {
  fill: #fff8c6;
  stroke: #111;
  stroke-width: 0.9;
  opacity: 0.82;
}

.sf-map-tooltip {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  max-width: 280px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(254, 212, 1, 0.6);
  color: #fff;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.14s ease;
  z-index: 4;
}

.sf-county-panel {
  border: 1px solid rgba(254, 212, 1, 0.28);
  background: rgba(14, 14, 14, 0.93);
  border-radius: 16px;
  padding: 18px;
  min-height: 640px;
}

.sf-county-panel h3 {
  margin: 0;
  color: var(--sf-yellow);
  font-size: 36px;
  font-family: "ZingRust", sans-serif;
  line-height: 0.95;
}

.sf-county-panel p {
  margin: 12px 0 18px;
  color: var(--sf-muted);
  font-size: 19px;
}

.sf-county-list {
  max-height: 520px;
  overflow: auto;
  padding-right: 8px;
}

.sf-county-item {
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
  margin-bottom: 10px;
}

.sf-county-item strong {
  color: #fff5b4;
  display: block;
  font-size: 18px;
}

.sf-county-item span {
  color: #b9b9b9;
  font-size: 14px;
}

.sf-video-section {
  position: relative;
  padding: 40px 0 80px;
  background: #020202;
  border-top: 1px solid rgba(254, 212, 1, 0.2);
}

.sf-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border: 1px solid rgba(254, 212, 1, 0.32);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}

.sf-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sf-footer {
  padding: 30px 0 40px;
  background: #050505;
  border-top: 1px solid rgba(254, 212, 1, 0.18);
}

.sf-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.sf-footer-brand img {
  width: 170px;
  display: block;
}

.sf-footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 18px;
  text-transform: uppercase;
}

.sf-footer-links span {
  color: var(--sf-muted);
}

.sf-footer-links a {
  color: var(--sf-yellow);
}

.sf-footer-meta {
  max-width: 460px;
  font-size: 14px;
  color: var(--sf-muted);
  line-height: 1.4;
}

.sf-footer-meta p {
  margin: 0;
}

.sf-footer-meta p + p {
  margin-top: 6px;
}

@keyframes sfRiseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1180px) {
  .sf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sf-field-wide {
    grid-column: span 2;
  }

  .sf-map-layout {
    grid-template-columns: 1fr;
  }

  .sf-county-panel {
    min-height: 0;
  }
}

@media screen and (max-width: 780px) {
  .sf-page {
    padding: 15px;
  }

  .sf-hero {
    padding: 26px 0 48px;
  }

  .sf-kv-card {
    border-radius: 12px;
  }

  .sf-brand {
    width: 190px;
    margin-bottom: 24px;
  }

  .sf-form {
    padding: 16px;
  }

  .sf-excuse-row {
    flex-direction: column;
  }

  #sfSubmitBtn {
    width: 100%;
    min-height: 56px;
  }

  .sf-campaign-btn {
    width: 100%;
  }

  .sf-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .sf-field-wide {
    grid-column: span 1;
  }

  .sf-map-wrap {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .sf-county-list {
    max-height: 350px;
  }

  .sf-form-stage {
    margin-top: 0;
    height: 0;
  }

  .sf-form.is-stage .sf-form-stage {
    margin-top: 20px;
    height: 360px;
  }

  #sfBurnScene {
    width: 100%;
    height: 360px;
  }

  .sf-success-message {
    padding: 18px 16px;
    line-height: 1.06;
  }

  .sf-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sf-footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .sf-footer-meta {
    max-width: 100%;
  }
}


