:root {
  --bg: #f2ece4;
  --bg-soft: #e7ddd0;
  --bg-deep: #d8c7b4;
  --paper: rgba(247, 240, 232, 0.86);
  --paper-strong: #f8f2ea;
  --ink: #1f2421;
  --ink-soft: #53534d;
  --line: rgba(35, 28, 22, 0.12);
  --line-strong: rgba(35, 28, 22, 0.24);
  --accent: #7a6149;
  --accent-deep: #4e392a;
  --accent-soft: #d8bfa4;
  --dark: #22201d;
  --dark-soft: #2f2b27;
  --light: #f9f4ed;
  --shadow-soft: 0 16px 40px rgba(39, 29, 21, 0.08);
  --shadow-card: 0 26px 60px rgba(30, 22, 16, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

#quiz,
#faq,
#vacancies {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6efe6 0%, var(--bg) 58%, #efe5d7 100%);
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}

body.inner-page {
  background: linear-gradient(180deg, #f5eee6 0%, #efe4d7 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(201, 173, 143, 0.18), transparent 22%),
    radial-gradient(circle at 84% 14%, rgba(97, 74, 55, 0.08), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(164, 126, 90, 0.08), transparent 24%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(90deg, rgba(80, 57, 42, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(80, 57, 42, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 70%);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header .container {
  width: min(1380px, calc(100vw - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(248, 242, 234, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(31, 28, 25, 0.74), rgba(31, 28, 25, 0.58)),
    linear-gradient(90deg, rgba(126, 98, 72, 0.12), transparent 28%, transparent 72%, rgba(126, 98, 72, 0.1));
  backdrop-filter: blur(22px) saturate(118%);
  box-shadow:
    0 18px 42px rgba(14, 10, 8, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  color: var(--light);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-copy span {
  font-size: 0.78rem;
  color: rgba(249, 244, 237, 0.66);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: rgba(249, 244, 237, 0.78);
  font-size: 0.94rem;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: var(--light);
  transform: translateY(-1px);
}

.site-header .button {
  min-height: 46px;
  padding: 10px 18px;
}

.site-header .button--ghost {
  color: var(--light);
  border-color: rgba(213, 185, 154, 0.22);
  background: linear-gradient(135deg, rgba(124, 95, 69, 0.9), rgba(92, 67, 47, 0.92));
  box-shadow: 0 12px 28px rgba(54, 37, 24, 0.22);
}

.site-header .button--ghost:hover,
.site-header .button--ghost:focus-visible {
  background: linear-gradient(135deg, rgba(137, 106, 78, 0.94), rgba(101, 73, 51, 0.96));
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  transform: translateX(-160%);
  transition: transform 0.7s ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(160%);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--light);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 16px 30px rgba(94, 67, 49, 0.28);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(80, 57, 42, 0.16);
  box-shadow: var(--shadow-soft);
}

.button--ghost {
  color: var(--light);
  background: transparent;
  border-color: rgba(249, 244, 237, 0.24);
}

.button--full {
  width: 100%;
}

.section-pad {
  padding: 120px 0;
}

.section-pad--dark {
  background:
    radial-gradient(circle at 20% 20%, rgba(140, 108, 81, 0.18), transparent 24%),
    linear-gradient(180deg, #23201d 0%, #171513 100%);
  color: var(--light);
}

.section-pad--accent {
  background:
    radial-gradient(circle at 85% 10%, rgba(120, 97, 73, 0.12), transparent 22%),
    linear-gradient(180deg, #efe4d7 0%, #e7d6c3 100%);
}

.section-kicker {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-heading--light .section-kicker,
.section-heading--light h2,
.section-heading--light p {
  color: var(--light);
}

.section-heading h1,
.section-heading h2,
.hero-panel h1,
.quiz-heading h2,
.thanks-card h1,
.policy-block h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-heading h2,
.quiz-heading h2,
.thanks-card h1,
.section-heading h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

.section-heading p,
.quiz-heading p,
.thanks-card p,
.policy-page .section-heading p {
  margin: 14px 0 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero {
  position: relative;
  min-height: calc(100svh + 84px);
  padding: max(112px, calc(var(--header-height) + 28px)) 0 56px;
  display: grid;
  align-items: end;
  overflow: clip;
}

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

.hero-media {
  background:
    linear-gradient(100deg, rgba(26, 22, 18, 0.46), rgba(26, 22, 18, 0.18)),
    url("assets/images/hero-estate.jpg") center center / cover no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: -14%;
  background:
    radial-gradient(circle at 18% 24%, rgba(248, 241, 232, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(13, 10, 8, 0.12), transparent 34%, rgba(13, 10, 8, 0.42));
  mix-blend-mode: screen;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.34) 0%, rgba(12, 10, 8, 0.12) 30%, rgba(12, 10, 8, 0.54) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
}

.hero-panel {
  width: min(620px, 100%);
  padding: clamp(28px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  color: var(--light);
  background: linear-gradient(180deg, rgba(28, 25, 22, 0.64), rgba(28, 25, 22, 0.54));
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 70px rgba(7, 5, 4, 0.24);
}

.hero-panel .section-kicker {
  color: rgba(246, 238, 226, 0.84);
}

.hero-panel h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.96;
}

.hero-subtitle {
  margin: 22px 0 30px;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  color: rgba(246, 238, 226, 0.88);
}

.hero-subtitle span {
  display: block;
  margin-top: 4px;
}

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

.hero-meta {
  margin: 22px 0 0;
  font-size: 0.98rem;
  color: rgba(246, 238, 226, 0.74);
}

.benefits-rail-wrap {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.benefits-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.benefit-chip {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 108px;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(30, 25, 22, 0.58), rgba(30, 25, 22, 0.42)),
    linear-gradient(135deg, rgba(216, 191, 164, 0.08), transparent 60%);
  border: 1px solid rgba(248, 242, 234, 0.12);
  box-shadow: 0 16px 34px rgba(10, 7, 5, 0.16);
  transition: transform 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.benefit-chip:hover {
  transform: translateY(-5px);
  border-color: rgba(248, 242, 234, 0.2);
  box-shadow: 0 22px 40px rgba(10, 7, 5, 0.2);
}

.benefit-chip img {
  width: 54px;
  height: 54px;
  padding: 11px;
  border-radius: 50%;
  background: rgba(223, 198, 169, 0.12);
  border: 1px solid rgba(223, 198, 169, 0.16);
}

.benefit-chip h2 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.3;
  color: rgba(249, 244, 237, 0.94);
}

.trust-grid,
.fit-grid,
.process-grid,
.faq-grid {
  display: grid;
  gap: 34px;
}

.trust-grid {
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
  align-items: start;
}

.trust-copy {
  display: grid;
  gap: 10px;
  align-self: center;
  max-width: 920px;
}

.trust-copy .section-heading {
  margin-bottom: 22px;
}

.trust-photo {
  height: 560px;
}

.trust-photo:hover img {
  transform: scale(1.04) translateY(-1%);
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  background: #ddd4c9;
}

.photo-card img,
.review-card__media img,
.vacancy-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.6s ease;
}

.photo-card:hover img,
.review-card:hover img,
.vacancy-card:hover img {
  transform: scale(1.05) translateY(-1.5%);
}

.photo-card::after,
.review-card__media::after,
.vacancy-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(18, 15, 13, 0.24) 100%);
  pointer-events: none;
}

.photo-card--tall {
  grid-area: tall;
  min-height: 520px;
}

.photo-card--wide {
  grid-area: wide;
  min-height: 280px;
}

.photo-card--small {
  grid-area: small;
  min-height: 240px;
}

.trust-list,
.editorial-list,
.important-list,
.policy-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list li,
.editorial-list li,
.important-list li {
  position: relative;
  padding: 18px 22px 18px 56px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(80, 57, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.trust-list li::before,
.editorial-list li::before,
.important-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  box-shadow: 0 0 0 6px rgba(122, 97, 73, 0.1);
}

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

.vacancy-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(248, 242, 234, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  min-height: 460px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.45s ease, border-color 0.35s ease, box-shadow 0.45s ease;
}

.vacancy-card:hover {
  transform: translateY(-8px);
  border-color: rgba(248, 242, 234, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
}

.vacancy-card__media,
.review-card__media {
  position: absolute;
  inset: 0;
}

.vacancy-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(15, 11, 9, 0.02), rgba(15, 11, 9, 0.7));
}

.vacancy-card__country {
  width: max-content;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(248, 242, 234, 0.14);
  color: rgba(248, 242, 234, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vacancy-card__body h3 {
  margin: 0;
  font-size: 1.38rem;
  line-height: 1.16;
}

.vacancy-card__income,
.vacancy-card__note {
  margin: 0;
  color: rgba(248, 242, 234, 0.88);
}

.vacancies-footer {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.vacancy-disclaimer {
  margin: 0;
  color: rgba(248, 242, 234, 0.66);
  max-width: 760px;
}

.fit-grid {
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
}

.fit-copy {
  display: grid;
  gap: 28px;
}

.editorial-list {
  display: grid;
  gap: 14px;
}

.fit-photo {
  min-height: 620px;
}

.process-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.process-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid rgba(80, 57, 42, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-soft);
}

.process-list span {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 2.2rem;
  color: var(--accent);
}

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

.review-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(80, 57, 42, 0.08);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(30, 22, 16, 0.14);
}

.review-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.review-card__media img {
  object-position: center top;
}

.review-card__body {
  padding: 22px 22px 26px;
}

.review-card__label {
  margin: 0 0 10px;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.review-card__body p:last-child {
  margin: 0;
  font-size: 1.04rem;
}

.faq-grid {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border-radius: 22px;
  border: 1px solid rgba(248, 242, 234, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0 20px;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.faq-list details[open] {
  border-color: rgba(248, 242, 234, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 30px 22px 0;
  position: relative;
  font-size: 1.08rem;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 1.6rem;
  color: rgba(248, 242, 234, 0.74);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  margin: 0 0 22px;
  color: rgba(248, 242, 234, 0.74);
}

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

.quiz-shell {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(248, 242, 234, 0.9), rgba(248, 242, 234, 0.78)),
    linear-gradient(140deg, rgba(122, 97, 73, 0.08), transparent 40%);
  border: 1px solid rgba(80, 57, 42, 0.1);
  box-shadow: var(--shadow-card);
}

.quiz-heading {
  max-width: 760px;
}

.quiz-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.quiz-progress__bar {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(80, 57, 42, 0.08);
  overflow: hidden;
}

.quiz-progress__bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  transition: width 0.45s ease;
}

.quiz-progress p {
  margin: 0;
  min-width: 84px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.quiz-card {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.quiz-steps {
  position: relative;
}

.quiz-step {
  display: none;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(80, 57, 42, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: riseIn 0.45s ease both;
}

.quiz-step.is-active {
  display: block;
}

.quiz-step h3 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.12;
}

.quiz-step p {
  color: var(--ink-soft);
}

.quiz-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.quiz-option {
  width: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(80, 57, 42, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  text-align: left;
  transition: transform 0.28s ease, border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.quiz-option:hover,
.quiz-option:focus-visible {
  transform: translateX(4px);
  border-color: rgba(80, 57, 42, 0.24);
  background: rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-soft);
}

.quiz-option.is-selected {
  border-color: rgba(122, 97, 73, 0.36);
  background: linear-gradient(180deg, rgba(122, 97, 73, 0.12), rgba(255, 255, 255, 0.96));
}

.quiz-step--loading {
  text-align: center;
  padding: 52px 28px;
}

.loading-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 2px solid rgba(122, 97, 73, 0.16);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.quiz-step--result {
  display: none;
}

.quiz-step--result.is-active {
  display: grid;
  gap: 24px;
}

.quiz-result-copy p {
  margin: 10px 0 0;
}

.quiz-summary {
  padding: 22px;
  border-radius: 24px;
  background: rgba(248, 242, 234, 0.92);
  border: 1px solid rgba(80, 57, 42, 0.08);
}

.quiz-summary__title,
.quiz-live-summary p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.quiz-summary ul,
.quiz-live-summary ul {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.quiz-summary li,
.quiz-live-summary li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(80, 57, 42, 0.08);
}

.quiz-summary li:last-child,
.quiz-live-summary li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quiz-summary li span,
.quiz-live-summary li {
  color: var(--ink-soft);
}

.quiz-summary li strong,
.quiz-live-summary strong {
  color: var(--ink);
  font-weight: 600;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  font-size: 0.94rem;
  font-weight: 600;
}

.lead-form input {
  min-height: 56px;
  padding: 16px 18px;
  border: 1px solid rgba(80, 57, 42, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.lead-form input:focus {
  outline: none;
  border-color: rgba(122, 97, 73, 0.4);
  box-shadow: 0 0 0 4px rgba(122, 97, 73, 0.12);
  background: #fff;
}

.form-note {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.quiz-footer {
  display: grid;
  gap: 16px;
}

.quiz-back {
  width: fit-content;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(80, 57, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  transition: transform 0.28s ease, background-color 0.28s ease;
}

.quiz-back:hover,
.quiz-back:focus-visible {
  transform: translateX(-2px);
  background: rgba(255, 255, 255, 0.94);
}

.quiz-live-summary {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(80, 57, 42, 0.08);
}

.site-footer {
  padding: 0 0 26px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px 32px;
  padding: 26px 28px;
  border-radius: 30px;
  background: rgba(34, 32, 29, 0.92);
  color: rgba(248, 242, 234, 0.88);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-brand strong {
  display: block;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 1.12rem;
}

.footer-brand span,
.footer-meta p,
.footer-links a {
  color: rgba(248, 242, 234, 0.74);
}

.footer-meta p,
.footer-links a {
  margin: 0;
  font-size: 0.96rem;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.inner-main {
  min-height: calc(100svh - 220px);
  padding-top: 72px;
}

.thanks-card,
.policy-layout {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(80, 57, 42, 0.1);
  background:
    linear-gradient(180deg, rgba(248, 242, 234, 0.9), rgba(248, 242, 234, 0.78)),
    linear-gradient(135deg, rgba(122, 97, 73, 0.08), transparent 36%);
  box-shadow: var(--shadow-card);
}

.thanks-card {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
}

.thanks-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(122, 97, 73, 0.18), transparent 70%);
}

.thanks-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.thanks-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(80, 57, 42, 0.1);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.policy-layout {
  padding: clamp(26px, 5vw, 44px);
}

.policy-sections {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.policy-block {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(80, 57, 42, 0.08);
}

.policy-block h2 {
  font-size: clamp(1.34rem, 3vw, 1.8rem);
}

.policy-block p,
.policy-block li {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal] [data-stagger] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible [data-stagger] {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger] {
  transition-delay: var(--stagger-delay, 0ms);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (max-width: 1080px) {
  .benefits-rail,
  .vacancy-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .fit-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    justify-items: start;
  }
}

@media (max-width: 860px) {
  #quiz,
  #faq,
  #vacancies {
    scroll-margin-top: 24px;
  }

  .site-header .container {
    width: min(calc(100vw - 14px), 100%);
  }

  .site-header {
    position: static;
    padding-top: 8px;
  }

  .header-inner {
    border-radius: 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero-panel {
    border-radius: 28px;
  }

  .benefits-rail {
    grid-template-columns: 1fr;
  }

  .benefit-chip {
    min-height: auto;
  }

  .trust-photo,
  .photo-card--tall,
  .photo-card--wide,
  .photo-card--small,
  .fit-photo {
    height: 300px;
    min-height: 300px;
  }

  .important-list,
  .vacancy-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 92px 0;
  }

  .hero-panel h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .hero-panel,
  .quiz-shell,
  .thanks-card,
  .policy-layout {
    padding: 24px;
  }

  .quiz-step {
    padding: 22px;
  }

  .quiz-progress {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .process-list span {
    font-size: 1.8rem;
  }

  .button,
  .lead-form input {
    min-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
