:root {
  --bg-main: #020406;
  --bg-alt: #11293d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.1);
  --text-main: #f5f7fb;
  --text-soft: rgba(245, 247, 251, 0.72);
  --text-muted: rgba(245, 247, 251, 0.48);
  --accent: #88002b;
  --accent-hover: #b31349;
  --accent-alt: #3389cc;
  --accent-alt-hover: #62b0eb;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 16px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, #000000 0%, #000000 28%, #11293d 100%);
}

.page-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000000;
  z-index: 30;
  opacity: 1;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader img {
  width: 116px;
  height: auto;
  opacity: 0;
  transform: translateY(6px);
  animation: loaderLogoIn 0.55s ease forwards;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes loaderLogoIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cursor-glow {
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(136, 0, 43, 0.18) 0%, rgba(51, 137, 204, 0.1) 35%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
  transform: translate(calc(var(--cursor-x) - 50%), calc(var(--cursor-y) - 50%));
  z-index: 1;
  mix-blend-mode: screen;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  padding: 16px 32px;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header,
.survey-page,
.site-footer {
  position: relative;
  z-index: 2;
}

.logo,
.site-nav a,
.language-toggle,
.header-contact,
.survey-eyebrow,
.survey-card-label,
.survey-mini,
.survey-section-label,
.footer-links a,
.site-footer p {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 92px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
}

.site-nav a {
  color: var(--text-soft);
  font-size: 1.08rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.language-toggle,
.header-contact,
.survey-submit {
  --shine-x: 50%;
  --shine-y: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.language-toggle {
  min-width: 56px;
  cursor: pointer;
}

.survey-submit:disabled {
  opacity: 0.76;
  cursor: wait;
}

.survey-submit {
  min-width: 182px;
  min-height: 60px;
  padding: 16px 30px;
  border-radius: 12px;
  border-color: transparent;
  background: var(--accent);
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.language-toggle::before,
.header-contact::before,
.survey-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08) 16%, rgba(255, 255, 255, 0) 44%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.language-toggle:hover::before,
.header-contact:hover::before,
.survey-submit:hover::before {
  opacity: 1;
}

.language-toggle > span,
.header-contact > span,
.survey-submit > span {
  position: relative;
  z-index: 1;
}

.header-contact-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.header-contact-icon img {
  width: 15px;
  height: 15px;
}

.site-nav a:hover,
.footer-links a:hover,
.footer-top:hover {
  color: var(--accent-alt-hover);
}

.survey-submit:hover,
.header-contact:hover {
  transform: translateY(-2px);
}

.survey-submit:hover {
  background: var(--accent-hover);
}

.survey-page,
.site-footer {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
}

.survey-page {
  padding: 86px 0 120px;
}

.survey-hero {
  display: block;
}

.survey-eyebrow,
.survey-section-label {
  margin: 0 0 16px;
  color: var(--accent-alt);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.survey-hero h1,
.survey-section h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: uppercase;
}

.survey-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
}

.survey-intro,
.survey-side p,
.field input,
.field textarea,
.field legend,
.field span,
.survey-submit-row p {
  color: var(--text-soft);
}

.survey-intro {
  max-width: 760px;
  margin: 26px 0 0;
  font-size: 1.18rem;
  line-height: 1.8;
}

.survey-shell {
  margin-top: 92px;
}

.survey-form {
  display: grid;
  gap: 38px;
}

.survey-step-header {
  display: grid;
  gap: 14px;
}

.survey-step-count {
  margin: 0;
  color: var(--text-soft);
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.survey-step-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.survey-step-bar span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-alt) 100%);
  transition: width 0.25s ease;
}

.survey-step-panel {
  display: none;
}

.survey-step-panel-active {
  display: block;
}

.survey-section {
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.survey-section h3 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.survey-flow-item {
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.survey-flow-item.is-collapsed {
  display: none;
}

.survey-grid-nested {
  margin-top: 18px;
}

.field {
  display: grid;
  gap: 10px;
}

.field-full {
  grid-column: 1 / -1;
}

.field span,
.field legend,
.field-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.field-error {
  min-height: 1.1rem;
  color: #ff8eb7;
  font-size: 0.86rem;
  line-height: 1.3;
}

.field legend {
  margin-bottom: 14px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  box-shadow: inset 0 0 0 1px transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field textarea:focus {
  border-color: transparent;
  background-image:
    linear-gradient(#0d141c, #0d141c),
    linear-gradient(135deg, rgba(179, 19, 73, 0.95), rgba(98, 176, 235, 0.95));
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow: none;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.budget-field {
  gap: 14px;
}

.budget-slider {
  padding: 0;
  border: none;
  background: transparent;
  accent-color: #62b0eb;
}

.budget-display {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.budget-display strong {
  font-family: "Inter", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.choice-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 176, 235, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.choice-chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.choice-chip span {
  color: var(--text-main);
  font-weight: 600;
}

.choice-chip input:checked + span {
  color: #ffffff;
}

.choice-chip:has(input:checked) {
  border-color: rgba(98, 176, 235, 0.42);
  background: rgba(51, 137, 204, 0.14);
  box-shadow: inset 0 0 0 1px rgba(98, 176, 235, 0.12);
}

.option-group {
  margin: 0;
  padding: 0;
  border: none;
}

.option-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.option-group label + label {
  margin-top: 10px;
}

.option-group input {
  width: auto;
  margin: 0;
}

.upload-field input[type="file"] {
  padding: 18px 16px;
}

.conditional-block {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.inline-note {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.inline-note span {
  color: var(--text-soft);
  line-height: 1.7;
}

.inline-note a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(98, 176, 235, 0.35);
}

.is-hidden {
  display: none;
}

.survey-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.survey-submit-row p {
  max-width: 560px;
  margin: 0;
  line-height: 1.7;
}

.form-status {
  margin: 14px 0 0;
  color: #ff8eb7;
  font-size: 0.95rem;
  line-height: 1.5;
}

.survey-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.survey-step-button {
  min-width: 160px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.survey-step-button:hover {
  transform: translateY(-2px);
}

.survey-step-next {
  background: var(--accent);
  border-color: transparent;
}

.survey-step-next:hover {
  background: var(--accent-hover);
}

.site-footer {
  padding: 38px 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: rgba(221, 215, 215, 0.86);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(221, 215, 215, 0.86);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.footer-links a img {
  width: 16px;
  height: 16px;
}

.footer-links a + a {
  position: relative;
  padding-left: 22px;
}

.footer-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.14);
}

.footer-top {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
}

.footer-top img {
  width: 24px;
  height: 24px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer,
  .survey-submit-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .logo {
    align-self: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-self: start;
    justify-content: space-between;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 22px;
  }

  .survey-grid {
    grid-template-columns: 1fr;
  }

  .survey-intro {
    max-width: none;
    font-size: 1.08rem;
  }

  .survey-submit {
    width: 100%;
  }

  .survey-step-actions {
    flex-direction: column;
  }

  .survey-step-button {
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 20px;
  }

  .logo img {
    width: 84px;
  }

  .site-nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a,
  .header-contact,
  .language-toggle {
    font-size: 0.92rem;
  }

  .survey-page,
  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .survey-page {
    padding-top: 54px;
    padding-bottom: 90px;
  }

  .survey-section,
  .survey-submit-row {
    padding: 22px;
  }

  .choice-grid {
    gap: 10px;
  }

  .choice-chip {
    width: 100%;
    justify-content: flex-start;
    padding: 0 16px;
  }

  .footer-links a + a {
    padding-left: 0;
  }

  .footer-links a + a::before {
    display: none;
  }
}
