:root {
  --page: #f4f2e9;
  --white: #fffdf8;
  --ink: #171325;
  --muted: #5d574f;
  --wine: #170711;
  --wine-2: #24111b;
  --crimson: #a91531;
  --gold: #d1ad62;
  --gold-soft: #eadb82;
  --line: rgba(139, 119, 86, 0.24);
  --shadow: 0 24px 70px rgba(28, 22, 13, 0.12);
  --radius-xl: 48px;
  --radius-lg: 34px;
  --radius-md: 20px;
  --font-main: "Inter", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-main);
  background:
    radial-gradient(circle at 4% 9%, rgba(209, 173, 98, 0.28), transparent 26rem),
    linear-gradient(90deg, #f8f7ef 0%, #f6f5ef 46%, #ececf1 100%);
}

button {
  font: inherit;
  cursor: pointer;
}

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

.site-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  min-height: 120px;
  padding: 25px 76px 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 58px;
  color: var(--crimson);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-style: italic;
  line-height: 1;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 7px 12px;
  border: 3px solid var(--gold);
  z-index: -1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  color: var(--crimson);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-style: italic;
  white-space: nowrap;
}

.logo-subtitle {
  margin-top: 5px;
  color: #6b583a;
  font-size: 19px;
  font-weight: 700;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #554c43;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

.header-phone {
  color: var(--crimson);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 30px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-outline {
  color: var(--crimson);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(169, 21, 49, 0.24);
}

.btn-primary {
  min-height: 74px;
  padding: 0 34px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 18px 45px rgba(169, 21, 49, 0.18);
}

.btn-primary .arrow-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(84, 58, 17, 0.16);
}

.arrow-icon::before,
.arrow-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.arrow-icon::before {
  width: 13px;
  height: 2px;
}

.arrow-icon::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: transparent;
  transform: translateX(3px) rotate(45deg);
}

.hero {
  display: grid;
  grid-template-columns: 52% 48%;
  width: calc(100% - 152px);
  min-height: 850px;
  margin: 0 auto 86px;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--wine);
  box-shadow: var(--shadow);
}

.hero-left {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 86px 72px 48px;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(169, 21, 49, 0.22), transparent 42%),
    linear-gradient(180deg, var(--wine) 0%, #22132c 100%);
}

.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  max-width: 100%;
  margin: 0;
  padding: 12px 18px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.1);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.pill span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-soft);
}

.pill.light {
  color: var(--wine);
  background: var(--gold-soft);
}

.hero h1 {
  margin: 34px 0 0;
  width: 120%;
  max-width: none;
  color: var(--white);
  font-family: var(--font-main);
  font-size: clamp(58px, 4.7vw, 86px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
  transform: scaleX(0.83);
  transform-origin: left center;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero h1 strong {
  display: block;
  color: var(--gold-soft);
}

.hero-copy {
  max-width: 780px;
  margin: 30px 0 0;
  color: rgba(255, 253, 248, 0.76);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.42;
}

.hero-action {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.hero-action p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 253, 248, 0.66);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.28;
}

.hero-main-button {
  width: 254px;
  min-height: 92px;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px 0 48px;
  font-size: 22px;
}

.hero-main-button .btn-label {
  display: block;
  line-height: 0.9;
  text-align: left;
}

.hero-offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.hero-offers article {
  min-height: 120px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(234, 219, 130, 0.24);
  border-radius: 22px;
}

.hero-offers strong,
.terms-grid strong {
  display: block;
  font-size: 22px;
  line-height: 1.12;
}

.hero-offers span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 253, 248, 0.56);
  font-weight: 600;
}

.hero-photo {
  position: relative;
  min-height: 850px;
  background:
    linear-gradient(90deg, rgba(23, 7, 17, 0.36), rgba(23, 7, 17, 0.04) 40%, rgba(23, 7, 17, 0.2)),
    url("https://images.unsplash.com/photo-1556912173-3bb406ef7e77?auto=format&fit=crop&w=1500&q=86") center / cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(23, 7, 17, 0.48));
}

.hero-note {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 20px;
  z-index: 1;
  padding: 26px 30px;
  color: var(--white);
  background: rgba(31, 24, 47, 0.92);
  border: 1px solid rgba(234, 219, 130, 0.2);
  border-radius: 32px;
}

.hero-note strong {
  display: block;
  color: var(--gold-soft);
  font-size: 30px;
  line-height: 1.1;
}

.hero-note span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 18px;
  font-weight: 600;
}

.section {
  width: calc(100% - 152px);
  margin: 0 auto 100px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 70px;
}

.section h2,
.quiz-side h2,
.terms h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-main);
  font-size: clamp(54px, 4.2vw, 78px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.small-accent {
  margin: 28px 0 0;
  color: var(--crimson);
  font-size: 16px;
  font-weight: 700;
}

.section-text {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.42;
}

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

.need-grid article {
  min-height: 254px;
  padding: 32px 30px;
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}

.need-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 38px;
  color: var(--wine);
  background: rgba(234, 219, 130, 0.5);
  border-radius: 999px;
  font-weight: 700;
}

.need-grid h3 {
  margin: 32px 0 12px;
  color: var(--wine);
  font-size: 26px;
  line-height: 1.08;
}

.need-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
}

.quiz-wrap {
  display: grid;
  grid-template-columns: 37% 63%;
  width: calc(100% - 152px);
  min-height: 775px;
  margin: 0 auto 100px;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.quiz-side {
  position: relative;
  overflow: hidden;
  padding: 54px 52px;
  color: var(--white);
  background: linear-gradient(145deg, var(--crimson), #5b1423 58%, #3b1421);
}

.quiz-side::before,
.quiz-side::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 80px solid rgba(234, 219, 130, 0.13);
  right: -120px;
  bottom: -120px;
}

.quiz-side::after {
  width: 300px;
  height: 300px;
  border-width: 70px;
  right: -35px;
  bottom: -70px;
}

.quiz-side > * {
  position: relative;
  z-index: 1;
}

.quiz-side h2 {
  margin-top: 34px;
  color: var(--white);
  max-width: 620px;
  font-size: clamp(42px, 3.2vw, 58px);
}

.quiz-side p {
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.76);
  font-size: 20px;
  font-weight: 500;
}

.quiz-side ul {
  display: grid;
  gap: 22px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.quiz-side li {
  position: relative;
  padding-left: 50px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 17px;
  font-weight: 600;
}

.quiz-side li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -7px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--wine);
  background: var(--gold-soft);
  border-radius: 50%;
}

.quiz-card {
  position: relative;
  padding: 56px 54px;
}

.quiz-card.is-changing .quiz-title,
.quiz-card.is-changing .answers {
  opacity: 0;
  transform: translateY(10px);
}

.quiz-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  color: var(--muted);
}

.progress {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  background: #ebe9f1;
  border-radius: 999px;
}

.progress span {
  display: block;
  width: 17%;
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  border-radius: inherit;
  transition: width 260ms ease;
}

.quiz-title {
  margin: 42px 0 16px;
  color: var(--ink);
  font-size: clamp(42px, 3.2vw, 54px);
  line-height: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  transition: opacity 220ms ease, transform 220ms ease;
}

.quiz-form {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
}

.quiz-form label {
  display: grid;
  gap: 8px;
  color: var(--wine);
  font-size: 16px;
  font-weight: 700;
}

.quiz-form input {
  width: 100%;
  height: 66px;
  padding: 0 20px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d8d4df;
  border-radius: 18px;
  outline: 0;
  font-size: 18px;
  font-weight: 800;
}

.quiz-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 219, 130, 0.35);
}

.quiz-form .btn {
  grid-column: 1 / -1;
  width: 260px;
  color: var(--white);
  background: linear-gradient(135deg, var(--crimson), #7d1024);
}

.quiz-form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.answers > button {
  position: relative;
  min-height: 96px;
  padding: 20px 68px 20px 22px;
  color: var(--wine);
  text-align: left;
  background: var(--white);
  border: 1px solid #d8d4df;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.22;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.answers > button::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(169, 21, 49, 0.24);
  border-radius: 50%;
  transform: translateY(-50%);
}

.answers > button.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 219, 130, 0.35);
}

.answers > button.is-selected::after {
  background: radial-gradient(circle, var(--crimson) 0 38%, transparent 42%);
  border-color: var(--crimson);
}

.answers.is-multi > button::after {
  border-radius: 8px;
}

.answers.is-multi > button.is-selected::after {
  background: var(--crimson);
  box-shadow: inset 0 0 0 7px var(--white);
}

.quiz-subtitle {
  grid-column: 1 / -1;
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 500;
}

.quiz-next {
  position: absolute;
  right: 54px;
  bottom: 52px;
  min-height: 64px;
  color: var(--white);
  background: linear-gradient(135deg, var(--crimson), #7d1024);
}

.quiz-back {
  position: absolute;
  left: 54px;
  bottom: 52px;
  min-height: 62px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 19, 37, 0.16);
  box-shadow: none;
}

.quiz-card.is-form {
  display: flex;
  flex-direction: column;
  min-height: 880px;
  padding: 28px 58px 54px;
}

.quiz-card.is-form .quiz-top {
  flex: 0 0 auto;
}

.quiz-card.is-form .quiz-title {
  margin: 36px 0 20px;
  max-width: 980px;
  font-size: clamp(42px, 2.85vw, 50px);
  line-height: 0.98;
  white-space: nowrap;
}

.quiz-card.is-form .answers-form {
  flex: 1 1 auto;
}

.quiz-card.is-form .quiz-back {
  position: static;
  align-self: flex-start;
  width: 118px;
  min-height: 62px;
  margin-top: 34px;
}

.answers-form {
  display: block;
}

.answers-form .quiz-form {
  grid-template-columns: 1fr;
  max-width: 700px;
  gap: 18px;
}

.answers-form .quiz-form .btn {
  width: 100%;
  max-width: 700px;
  min-height: 74px;
  margin-top: 2px;
  background: linear-gradient(135deg, var(--crimson), #7d1024);
  box-shadow: 0 22px 54px rgba(169, 21, 49, 0.18);
}

.quiz-form-lead,
.quiz-form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.quiz-form > label:not(.privacy-check) {
  max-width: 700px;
}

.quiz-form > label:not(.privacy-check) input {
  max-width: 700px;
  height: 78px;
  border-radius: 18px;
}

.contact-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin-top: 24px;
  padding: 22px 20px 26px;
  background: linear-gradient(90deg, rgba(234, 219, 130, 0.22), rgba(255, 253, 248, 0.92));
  border: 1px solid rgba(209, 173, 98, 0.48);
  border-radius: 20px;
}

.contact-card strong,
.contact-card span {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.messenger-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-options label {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 19, 37, 0.08);
  border-radius: 999px;
}

.messenger-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.messenger-options label:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 219, 130, 0.35);
}

.privacy-check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.privacy-check input {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.quiz-form .quiz-form-note {
  font-size: 14px;
}

.quiz-form-status {
  max-width: 700px;
}

.catalog {
  padding-top: 12px;
}

.catalog-head {
  margin-bottom: 32px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 52px;
  background: rgba(255, 253, 248, 0.62);
  border: 1px solid rgba(139, 119, 86, 0.14);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.kitchen-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(139, 119, 86, 0.16);
  border-radius: 34px;
  box-shadow: 0 14px 44px rgba(28, 22, 13, 0.08);
}

.kitchen-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.6;
  object-fit: cover;
  transition: opacity 180ms ease, transform 220ms ease;
}

.kitchen-card > img.is-swapping {
  opacity: 0;
  transform: scale(1.015);
}

.kitchen-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 18px;
}

.kitchen-info h3 {
  margin: 0;
  color: var(--wine);
  font-size: 30px;
  line-height: 1;
}

.kitchen-info span {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--wine);
  background: var(--gold-soft);
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 10px 24px 24px;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 16 / 8.9;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 18px;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

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

.thumbs img.active {
  border-color: var(--gold);
}

.terms {
  width: calc(100% - 152px);
  margin: 20px auto 144px;
  padding: 58px 56px 56px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(169, 21, 49, 0.22), transparent 38%),
    var(--wine);
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.terms h2 {
  color: var(--white);
  max-width: 900px;
  font-size: clamp(50px, 3.75vw, 68px);
}

.terms-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: start;
  margin-top: 28px;
}

.terms-head p {
  margin: 0;
  color: rgba(255, 253, 248, 0.76);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
}

.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2.22fr;
  gap: 18px;
  margin-top: 34px;
}

.terms-grid article {
  min-height: 300px;
  padding: 30px 28px;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(234, 219, 130, 0.22);
  border-radius: 22px;
}

.terms-grid strong {
  color: var(--gold-soft);
  font-size: 30px;
  line-height: 1.04;
}

.terms-grid p {
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.75);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.terms-grid .promo {
  color: var(--wine);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border: 0;
}

.promo span {
  display: inline-flex;
  padding: 10px 16px;
  background: rgba(88, 61, 18, 0.13);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.terms-grid .promo strong {
  max-width: 650px;
  margin-top: 26px;
  color: var(--ink);
  font-size: clamp(42px, 3.35vw, 56px);
  line-height: 0.98;
}

.terms-grid .promo p {
  max-width: 640px;
  color: rgba(23, 19, 37, 0.72);
  font-size: 18px;
  font-weight: 600;
}

.promo small {
  display: block;
  margin-top: 24px;
  color: rgba(23, 19, 37, 0.58);
  font-weight: 600;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 70px;
  width: calc(100% - 152px);
  margin: 0 auto 70px;
  padding: 72px 58px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 840px;
  font-size: clamp(48px, 3.9vw, 72px);
}

.final-cta p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.42;
}

.final-cta > div:last-child {
  display: grid;
  justify-items: end;
}

.final-cta > div:last-child p {
  max-width: 690px;
  text-align: left;
}

.site-footer {
  padding: 20px 76px 54px;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  width: min(404px, calc(100% - 52px));
  min-height: 72px;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 120%);
  transition: opacity 240ms ease, transform 360ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 56px;
  width: 100%;
  max-width: 1768px;
  margin: 0 auto;
  padding: 34px 38px;
  background: var(--white);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.footer-logo .logo-mark {
  width: 54px;
  height: 40px;
  font-size: 44px;
}

.footer-logo .logo-name {
  font-size: 34px;
}

.footer-logo .logo-subtitle {
  font-size: 15px;
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.footer-contacts div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.footer-contacts strong {
  color: var(--wine);
  font-size: 15px;
  line-height: 1.25;
}

.footer-contacts span,
.footer-contacts a {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.footer-contacts a:hover {
  color: var(--crimson);
}

@media (max-width: 1500px) {
  .hero h1 {
    font-size: clamp(52px, 4.25vw, 72px);
  }

  .hero-copy {
    font-size: 21px;
  }

  .hero-action p {
    font-size: 17px;
  }

  .terms-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .terms-grid .promo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1360px) {
  .site-header,
  .hero-left {
    padding-inline: 36px;
  }

  .hero,
  .section,
  .quiz-wrap,
  .terms,
  .final-cta {
    width: calc(100% - 72px);
  }

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

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

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

  .footer-contacts {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .header-actions {
    justify-self: stretch;
    justify-content: space-between;
    white-space: normal;
  }

  .hero,
  .quiz-wrap,
  .section-head,
  .terms-head,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 440px;
  }

  .hero-left,
  .quiz-side,
  .quiz-card,
  .terms,
  .final-cta {
    padding: 38px 28px;
  }

  .hero h1 {
    font-size: clamp(44px, 9vw, 70px);
  }

  .hero-action,
  .header-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-action {
    gap: 18px;
  }

  .hero-main-button {
    width: min(254px, 100%);
  }

  .catalog-grid,
  .answers,
  .quiz-form {
    grid-template-columns: 1fr;
  }

  .quiz-next {
    position: static;
    margin-top: 36px;
  }

  .final-cta > div:last-child {
    justify-items: start;
  }

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

  .terms-grid .promo {
    grid-column: auto;
  }
}

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

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 106px;
    padding: 18px 22px 16px;
  }

  .logo {
    gap: 8px;
    min-width: 0;
    overflow: visible;
  }

  .logo-mark {
    width: 40px;
    height: 34px;
    font-size: 36px;
    flex: 0 0 auto;
  }

  .logo-name {
    font-size: clamp(20px, 5.8vw, 25px);
  }

  .logo-subtitle {
    font-size: 12px;
  }

  .logo-text {
    min-width: 0;
  }

  .logo-subtitle,
  .header-actions {
    font-size: 14px;
  }

  .header-actions {
    justify-self: end;
    align-self: center;
    display: block;
    width: auto;
    font-size: 14px;
  }

  .header-actions > span,
  .header-phone {
    display: none;
  }

  .header-actions .btn-outline {
    width: auto;
    min-height: 50px;
    margin-top: 4px;
    padding: 0 15px;
    font-size: 14px;
    border-color: rgba(169, 21, 49, 0.2);
    background: rgba(255, 253, 248, 0.82);
  }

  .hero,
  .section,
  .quiz-wrap,
  .terms,
  .final-cta {
    width: calc(100% - 40px);
    border-radius: 32px;
  }

  .hero {
    margin-bottom: 82px;
    min-height: 0;
    border-radius: 32px;
  }

  .hero-left,
  .quiz-side {
    overflow: visible;
  }

  .hero h1 {
    margin-top: 34px;
    width: 100%;
    font-size: clamp(37px, 10.4vw, 48px);
    line-height: 0.93;
    transform: scaleX(0.72);
    transform-origin: left center;
    overflow-wrap: normal;
  }

  .hero h1 {
    width: 100%;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero-left {
    padding: 48px 28px 30px;
  }

  .hero-copy {
    margin-top: 26px;
    font-size: 24px;
    line-height: 1.42;
    font-weight: 800;
  }

  .section-text,
  .terms-head p,
  .final-cta p {
    font-size: 18px;
  }

  .hero-action {
    display: grid;
    gap: 24px;
    margin-top: 34px;
  }

  .btn.hero-main-button {
    width: 100%;
    min-height: 74px;
    justify-content: center;
    gap: 16px;
    padding: 0 28px;
    font-size: 21px;
  }

  .btn.hero-main-button .btn-label {
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .btn.hero-main-button .btn-label br {
    display: none;
  }

  .hero-action p {
    max-width: none;
    font-size: 16px;
    line-height: 1.42;
  }

  .hero-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
  }

  .hero-offers article {
    min-height: 142px;
    padding: 20px 18px;
    border-radius: 20px;
  }

  .hero-offers strong {
    font-size: 18px;
  }

  .hero-offers span {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .need-grid,
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 360px;
  }

  .hero-note {
    left: 16px;
    right: 16px;
    bottom: 18px;
    padding: 22px 22px;
    border-radius: 28px;
  }

  .hero-note strong {
    font-size: 28px;
  }

  .hero-note span {
    font-size: 17px;
    line-height: 1.35;
  }

  .kitchen-info h3 {
    font-size: 24px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .btn {
    min-height: 56px;
    padding-inline: 20px;
  }

  .section-head {
    gap: 24px;
    margin-bottom: 28px;
  }

  .section h2 {
    font-size: clamp(42px, 11.5vw, 56px);
    line-height: 0.98;
  }

  .final-cta h2 {
    font-size: clamp(40px, 10.5vw, 52px);
    line-height: 0.98;
  }

  .quiz-wrap,
  .catalog-grid {
    margin-bottom: 64px;
  }

  .quiz-wrap {
    min-height: 0;
  }

  .quiz-side {
    min-height: 650px;
    padding: 32px 28px 42px;
  }

  .quiz-side h2 {
    max-width: 430px;
    margin-top: 32px;
    font-size: clamp(38px, 10.6vw, 50px);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .quiz-side p {
    margin-top: 28px;
    font-size: 20px;
  }

  .quiz-side ul {
    gap: 18px;
    margin-top: 42px;
  }

  .quiz-side li {
    padding-left: 52px;
    font-size: 17px;
    line-height: 1.28;
  }

  .quiz-card {
    min-height: 520px;
    padding: 34px 24px 30px;
  }

  .quiz-title {
    margin-top: 40px;
    font-size: clamp(34px, 9.5vw, 44px);
    line-height: 1;
  }

  .answers {
    gap: 14px;
  }

  .answers > button {
    min-height: 84px;
    padding: 18px 58px 18px 22px;
    font-size: 20px;
    line-height: 1.14;
  }

  .quiz-next {
    width: min(188px, 100%);
    min-height: 64px;
    justify-self: end;
    margin: 34px 0 0 auto;
  }

  .catalog-grid {
    padding: 0;
    background: transparent;
    border: 0;
  }

  .kitchen-info,
  .thumbs {
    grid-template-columns: 1fr;
  }

  .kitchen-info {
    align-items: flex-start;
    flex-direction: column;
  }

  .thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-inline: 14px;
  }

  .kitchen-card > img {
    aspect-ratio: 4 / 3;
  }

  .terms-grid article {
    min-height: auto;
  }

  .terms {
    padding: 32px 28px 28px;
    margin-bottom: 70px;
  }

  .terms h2 {
    max-width: 430px;
    font-size: clamp(38px, 10.4vw, 50px);
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .terms-head {
    gap: 24px;
    margin-top: 32px;
  }

  .terms-grid {
    gap: 14px;
    margin-top: 28px;
  }

  .terms-grid article {
    min-height: 124px;
    padding: 26px 24px;
    border-radius: 22px;
  }

  .terms-grid strong {
    font-size: 30px;
    line-height: 1.02;
  }

  .terms-grid p {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.38;
  }

  .terms-grid .promo strong {
    font-size: clamp(38px, 10.5vw, 50px);
    overflow-wrap: anywhere;
  }

  .final-cta {
    padding: 28px 18px;
  }

  .quiz-form .btn {
    width: 100%;
  }

  .footer-inner {
    padding: 26px 18px;
    border-radius: 26px;
  }

  .site-footer {
    padding: 0 12px 36px;
  }

  .footer-contacts {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .logo-mark {
    width: 48px;
    height: 40px;
    font-size: 42px;
  }

  .pill {
    font-size: 14px;
  }

  .hero,
  .section,
  .quiz-wrap,
  .terms,
  .final-cta {
    width: calc(100% - 24px);
    border-radius: 28px;
  }

  .hero-left {
    padding: 42px 28px 28px;
  }

  .hero h1 {
    font-size: clamp(35px, 10vw, 42px);
  }

  .hero-copy {
    font-size: 22px;
  }

  .section h2,
  .final-cta h2 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .quiz-side h2 {
    font-size: clamp(36px, 10.4vw, 46px);
  }

  .terms h2 {
    font-size: clamp(36px, 10.2vw, 44px);
  }

  .need-grid article {
    padding: 24px 20px;
  }

  .need-grid h3 {
    font-size: 22px;
  }

  .need-grid p {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 104px;
    padding: 18px 22px 14px;
  }

  .logo {
    gap: 9px;
  }

  .logo-mark {
    width: 45px;
    height: 36px;
    font-size: 39px;
  }

  .logo-name {
    font-size: clamp(21px, 6.2vw, 26px);
  }

  .logo-subtitle {
    font-size: 12px;
  }

  .header-actions .btn-outline {
    min-height: 50px;
    padding-inline: 17px;
    font-size: 14px;
  }

  .hero {
    display: block;
    width: calc(100% - 32px);
    border-radius: 30px;
  }

  .hero-left {
    width: 100%;
    min-width: 0;
    overflow: visible;
    padding: 42px 24px 32px;
  }

  .hero .pill {
    width: 100%;
    padding: 13px 18px;
    font-size: 15px;
  }

  .hero h1 {
    width: 100%;
    margin-top: 30px;
    font-size: clamp(42px, 11.5vw, 52px);
    line-height: 0.94;
    transform: none;
  }

  .hero h1 span,
  .hero h1 strong {
    width: max-content;
    transform: scaleX(0.62);
    transform-origin: left center;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero-copy {
    margin-top: 24px;
    font-size: 23px;
    line-height: 1.48;
    font-weight: 800;
  }

  .hero-action {
    margin-top: 34px;
    gap: 22px;
  }

  .btn.hero-main-button {
    min-height: 74px;
    padding-inline: 24px;
    font-size: 22px;
  }

  .hero-action p {
    font-size: 17px;
    line-height: 1.38;
  }

  .hero-offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
  }

  .hero-offers article {
    min-width: 0;
    min-height: 114px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .hero-offers strong {
    font-size: 17px;
    line-height: 1.08;
  }

  .hero-offers article:first-child strong {
    font-size: 15px;
    white-space: nowrap;
  }

  .hero-offers span {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.15;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 90px;
    padding: 12px 14px 10px;
  }

  .logo-mark {
    width: 40px;
    height: 32px;
    font-size: 35px;
  }

  .logo-name {
    font-size: clamp(19px, 5.8vw, 23px);
  }

  .logo-subtitle {
    margin-top: 1px;
    font-size: 11px;
  }

  .header-actions .btn-outline {
    min-height: 46px;
    padding-inline: 15px;
    font-size: 13px;
  }

  .hero {
    display: block;
    width: calc(100% - 20px);
    margin-bottom: 70px;
    border-radius: 24px;
    overflow: hidden;
  }

  .hero-left {
    width: 100%;
    min-width: 0;
    padding: 40px 18px 28px;
    overflow: hidden;
  }

  .hero .pill {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.12;
  }

  .hero h1 {
    width: 100%;
    margin-top: 28px;
    font-size: clamp(42px, 11.7vw, 50px);
    line-height: 0.94;
    transform: none;
  }

  .hero h1 span,
  .hero h1 strong {
    width: max-content;
    transform: scaleX(0.64);
    transform-origin: left center;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero-copy {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 500;
  }

  .hero-action {
    margin-top: 28px;
    gap: 18px;
  }

  .btn.hero-main-button {
    min-height: 48px;
    padding-inline: 18px;
    font-size: 14px;
  }

  .hero-action p {
    font-size: 12px;
    line-height: 1.32;
    font-weight: 500;
  }

  .hero-offers {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-offers article {
    min-height: 88px;
    padding: 14px 12px;
    border-radius: 12px;
  }

  .hero-offers strong,
  .hero-offers article:first-child strong {
    font-size: 12px;
    line-height: 1.12;
    white-space: normal;
  }

  .hero-offers span {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 500;
  }

  .hero-photo {
    min-height: 226px;
  }

  .hero-note {
    left: 18px;
    right: 18px;
    bottom: 14px;
    padding: 16px 18px;
    border-radius: 18px;
  }

  .hero-note strong {
    font-size: 20px;
  }

  .hero-note span {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
  }

  .section h2 {
    font-size: clamp(30px, 8.4vw, 36px);
  }

  .section-text {
    font-size: 16px;
    font-weight: 500;
  }

  .need-grid article {
    min-height: 136px;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .need-grid h3 {
    margin-top: 24px;
    font-size: 20px;
  }

  .need-grid p {
    font-size: 14px;
    font-weight: 500;
  }

  .quiz-wrap {
    display: block;
    width: calc(100% - 20px);
    border-radius: 18px;
    overflow: hidden;
  }

  .quiz-side {
    min-height: 360px;
    padding: 30px 18px 26px;
    overflow: hidden;
  }

  .quiz-side h2 {
    max-width: 330px;
    margin-top: 22px;
    font-size: clamp(31px, 8.8vw, 38px);
    line-height: 0.94;
  }

  .quiz-side p {
    margin-top: 18px;
    font-size: 14px;
  }

  .quiz-side ul {
    gap: 12px;
    margin-top: 24px;
  }

  .quiz-side li {
    min-height: 26px;
    padding-left: 38px;
    font-size: 12px;
  }

  .quiz-side li::before {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .quiz-card {
    min-height: 428px;
    padding: 20px 18px 24px;
  }

  .quiz-title {
    margin: 30px 0 12px;
    font-size: clamp(28px, 8vw, 36px);
  }

  .answers > button {
    min-height: 54px;
    padding: 12px 44px 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.18;
  }

  .quiz-next {
    width: 122px;
    min-height: 52px;
    font-size: 12px;
  }

  .quiz-back {
    position: static;
    width: 112px;
    min-height: 48px;
    margin-top: 20px;
    font-size: 12px;
  }

  .answers-form .quiz-form {
    max-width: none;
  }

  .quiz-form-lead,
  .quiz-form-note {
    font-size: 13px;
  }

  .contact-card {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .contact-card strong,
  .contact-card span {
    font-size: 13px;
  }

  .messenger-options label {
    min-height: 46px;
    padding-inline: 22px;
    font-size: 13px;
  }

  .privacy-check {
    font-size: 12px;
  }

  .answers-form .quiz-form .btn {
    min-height: 58px;
    font-size: 14px;
  }
}
