:root {
  --bg: #f3f5f0;
  --paper: #ffffff;
  --ink: #12201b;
  --muted: #5c6861;
  --line: rgba(23, 37, 31, 0.15);
  --accent: #b86f38;
  --accent-dark: #7e4324;
  --forest: #18352d;
  --night: #09120f;
  --sage: #dfe8df;
  --gold: #d8a65f;
  --shadow: 0 28px 90px rgba(9, 18, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 10, 8, 0.82), rgba(5, 10, 8, 0.12));
  backdrop-filter: blur(10px);
}

.brand,
.main-nav,
.hero-actions,
.form-actions,
.language-strip,
.hero-language-bar,
.language-toggle,
.hero-proof {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.main-nav {
  gap: 22px;
  font-size: 14px;
  margin-left: auto;
}

.main-nav a,
.nav-action,
.site-footer a {
  text-decoration: none;
}

.main-nav a {
  opacity: 0.88;
}

.nav-action {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.language-toggle {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.language-toggle button {
  min-width: 38px;
  min-height: 30px;
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--night);
  background: #f4dfbd;
}

.hero-language {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  padding: 120px clamp(20px, 6vw, 76px) 82px;
  overflow: hidden;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 26%, rgba(216, 166, 95, 0.2), rgba(216, 166, 95, 0) 32%),
    linear-gradient(90deg, rgba(5, 10, 8, 0.94) 0%, rgba(5, 10, 8, 0.78) 37%, rgba(5, 10, 8, 0.28) 67%, rgba(5, 10, 8, 0.12) 100%),
    linear-gradient(0deg, rgba(5, 10, 8, 0.44), rgba(5, 10, 8, 0.04));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 100%;
  min-width: 0;
  max-width: 820px;
}

.hero-language-bar {
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.local-line {
  margin: 0;
  color: #f4d9b2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.7vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 18px 40px rgba(126, 67, 36, 0.34);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid rgba(244, 223, 189, 0.24);
  border-radius: 999px;
  background: rgba(9, 18, 15, 0.36);
  backdrop-filter: blur(10px);
}

.language-strip {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.language-strip span {
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.26);
}

.language-strip span:last-child {
  border-right: 0;
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 70px);
  bottom: clamp(32px, 6vw, 92px);
  width: min(360px, 30vw);
  padding: 24px;
  border: 1px solid rgba(244, 223, 189, 0.26);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, rgba(10, 18, 15, 0.78), rgba(10, 18, 15, 0.42));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.hero-panel p {
  margin-bottom: 12px;
  color: #f4d9b2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.08;
}

.hero-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 6vw, 76px);
}

.band {
  background: var(--paper);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 88px);
}

.section-copy p,
.region p,
.survey-copy p,
.translations p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.concept-list {
  display: grid;
  gap: 18px;
}

.concept-list article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.concept-list p,
.region-points {
  color: var(--muted);
}

.region {
  background: var(--forest);
  color: #fff;
}

.region-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.region p {
  color: rgba(255, 255, 255, 0.78);
}

.region-points {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.region-points li {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.survey {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.survey-copy {
  position: sticky;
  top: 96px;
}

.interest-form {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

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

.compact-grid {
  margin-top: 14px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
}

label span,
legend {
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 37, 31, 0.2);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(162, 79, 43, 0.22);
  border-color: var(--accent);
}

fieldset {
  margin: 24px 0 20px;
  padding: 18px;
  border: 1px solid rgba(23, 37, 31, 0.16);
  border-radius: 8px;
}

.advanced-fields {
  margin: 6px 0 20px;
  padding: 16px 0 2px;
  border-top: 1px solid rgba(23, 37, 31, 0.12);
}

.advanced-fields summary {
  color: var(--forest);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

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

.checkbox-grid label,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.checkbox-grid label span,
.consent span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.checkbox-grid input,
.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.full {
  margin-bottom: 18px;
}

.consent {
  margin: 18px 0 24px;
}

.form-actions {
  flex-wrap: wrap;
  gap: 16px;
}

.form-note {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  min-height: 24px;
  margin: 0 0 18px;
  color: var(--forest);
  font-weight: 800;
}

.form-status.error {
  color: #9b2f20;
}

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

.translations article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.faq h2 {
  max-width: 780px;
}

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

details:not(.advanced-fields) {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

details:not(.advanced-fields) summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

details:not(.advanced-fields) p {
  margin: 12px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 6vw, 76px);
  background: #111b17;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f4d9b2;
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .main-nav,
  .nav-language {
    display: none;
  }

  .hero-language {
    display: flex;
  }

  .hero-language-bar {
    display: grid;
    gap: 14px;
    justify-items: start;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(520px, 100%);
    margin-top: 34px;
    align-self: end;
  }

  .intro,
  .region-inner,
  .survey,
  .translations {
    grid-template-columns: 1fr;
  }

  .survey-copy {
    position: static;
  }

  .hero {
    min-height: 940px;
    padding-top: 104px;
  }
}

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

  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 84px 18px 12px;
  }

  .hero::after {
    background:
      radial-gradient(circle at 86% 18%, rgba(216, 166, 95, 0.16), rgba(216, 166, 95, 0) 36%),
      linear-gradient(90deg, rgba(5, 10, 8, 0.94), rgba(5, 10, 8, 0.68)),
      linear-gradient(0deg, rgba(5, 10, 8, 0.5), rgba(5, 10, 8, 0.08));
  }

  h1 {
    font-size: 36px;
    line-height: 1;
  }

  .hero-copy {
    margin-bottom: 22px;
  }

  .hero-proof {
    flex-wrap: wrap;
    width: 100%;
    max-width: calc(100vw - 36px);
    margin-top: 12px;
    padding-bottom: 0;
    overflow-x: visible;
  }

  .hero-proof span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .hero-proof span:nth-child(3) {
    display: none;
  }

  .language-strip {
    display: none;
  }

  h2 {
    font-size: 34px;
  }

  section {
    padding: 64px 18px;
  }

  .form-grid,
  .checkbox-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .interest-form {
    padding: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-actions .secondary {
    display: none;
  }

  .hero-panel {
    max-width: 100%;
    min-width: 0;
    margin-top: 24px;
    padding: 18px;
  }

  .hero-panel strong {
    font-size: 19px;
  }

  .language-toggle {
    max-width: 100%;
    overflow-x: auto;
  }

  .hero-language button {
    min-width: auto;
    padding-inline: 10px;
  }

  .site-footer {
    display: grid;
  }
}
