:root {
  --brand-red: #d42136;
  --brand-red-dark: #ac1023;
  --ink: #151518;
  --muted: #67676f;
  --line: #e8e8eb;
  --surface: #f5f5f6;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 18, 22, 0.14);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ececef;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0, rgba(212, 33, 54, 0.08), transparent 34rem),
    #ececef;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(212, 33, 54, 0.48);
  outline-offset: 3px;
}

.page-shell {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(21, 21, 24, 0.08);
}

.brand {
  flex: 0 1 118px;
}

.brand-logo {
  width: 112px;
  height: auto;
}

.topbar__actions,
.language-switch,
.phone-button {
  display: flex;
  align-items: center;
}

.topbar__actions {
  gap: 10px;
}

.language-switch {
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-switch a {
  padding: 8px 2px;
  color: #8b8b91;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  color: var(--brand-red);
}

.phone-button {
  gap: 6px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand-red);
  box-shadow: 0 8px 24px rgba(212, 33, 54, 0.26);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.phone-button__icon {
  font-size: 15px;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--white);
  background: #222;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: 52% center;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 9, 0.06) 10%, rgba(7, 7, 9, 0.18) 42%, rgba(7, 7, 9, 0.94) 100%),
    linear-gradient(90deg, rgba(7, 7, 9, 0.24), transparent 70%);
}

.hero__content {
  padding: 46px 24px 32px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #ffd8dd;
}

.eyebrow--red,
.section-kicker {
  color: var(--brand-red);
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 430px;
  font-size: clamp(38px, 10vw, 54px);
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  font-size: clamp(30px, 8vw, 42px);
  line-height: 1.02;
}

.hero__subheadline {
  margin: 18px 0 0;
  max-width: 430px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 720;
}

.hero__lead {
  margin: 12px 0 24px;
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.primary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: 16px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  color: var(--white);
  background: var(--brand-red);
  box-shadow: 0 14px 32px rgba(212, 33, 54, 0.25);
}

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

.primary-button--light {
  color: var(--brand-red-dark);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

.catalog-section,
.booking-section,
.showroom {
  padding: 58px 20px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading h2 {
  max-width: 330px;
}

.section-lead,
.booking-card__lead,
.showroom__address {
  color: var(--muted);
  line-height: 1.6;
}

.section-lead {
  margin: 16px 0 24px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
}

.carousel-status {
  min-width: 46px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.carousel-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.carousel-button:disabled {
  opacity: 0.38;
  cursor: default;
}

.product-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(252px, 82%);
  gap: 14px;
  margin: 0 -20px;
  padding: 2px 20px 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fafafa, #ffffff);
  box-shadow: 0 16px 36px rgba(20, 20, 24, 0.08);
}

.product-card__image-wrap {
  display: grid;
  place-items: center;
  height: 270px;
  padding: 18px 20px 0;
  background:
    radial-gradient(circle at 50% 72%, rgba(212, 33, 54, 0.08), transparent 42%),
    #f7f7f8;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 20px rgba(16, 16, 18, 0.16));
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-card__name {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -0.035em;
}

.product-card__benefits {
  display: grid;
  gap: 9px;
  min-height: 126px;
  margin: 0 0 18px;
  padding: 0;
  color: #55555d;
  font-size: 13px;
  line-height: 1.42;
  list-style: none;
}

.product-card__benefits li {
  position: relative;
  padding-left: 15px;
}

.product-card__benefits li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand-red);
  content: '';
}

.product-card__old-price {
  margin: 0 0 4px;
  margin-top: auto;
  color: #8a8a91;
  font-size: 14px;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.trust-points {
  display: grid;
  gap: 8px;
  margin: -8px 0 24px;
  padding: 0;
  color: #303036;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  list-style: none;
}

.trust-points li {
  position: relative;
  padding-left: 20px;
}

.trust-points li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--brand-red);
  content: '✓';
}

.product-card__price {
  margin: 0;
  color: var(--brand-red);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.catalog-empty {
  grid-column: 1;
  padding: 22px;
  border: 1px dashed #c8c8cd;
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface);
}

.booking-section {
  background: #17171a;
}

.booking-card {
  padding: 28px 22px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.booking-card__lead {
  margin: 16px 0 26px;
}

.chair-choice {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.chair-choice legend {
  padding: 0;
  font-size: 16px;
  font-weight: 850;
}

.chair-choice__lead {
  margin: 7px 0 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.chair-choice__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 126px;
  gap: 10px;
  margin: 0 -22px;
  padding: 2px 22px 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.chair-choice__list::-webkit-scrollbar {
  display: none;
}

.chair-option {
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
}

.chair-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.chair-option__visual {
  position: relative;
  display: grid;
  grid-template-rows: 92px minmax(38px, auto);
  min-height: 136px;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: #f8f8f9;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.chair-option__visual::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand-red);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.chair-option img {
  width: 100%;
  height: 92px;
  padding: 8px 8px 0;
  object-fit: contain;
}

.chair-option__name {
  display: grid;
  place-items: center;
  padding: 7px 8px 9px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.chair-option input:checked + .chair-option__visual {
  border-color: var(--brand-red);
  box-shadow: 0 8px 22px rgba(212, 33, 54, 0.18);
  transform: translateY(-2px);
}

.chair-option input:checked + .chair-option__visual::after {
  opacity: 1;
  transform: scale(1);
}

.chair-option input:focus-visible + .chair-option__visual {
  outline: 3px solid rgba(212, 33, 54, 0.28);
  outline-offset: 2px;
}

.chair-option input[aria-invalid="true"] + .chair-option__visual {
  border-color: rgba(212, 33, 54, 0.62);
}

.chair-option--compare .chair-option__visual {
  grid-template-rows: 92px minmax(38px, auto);
  background: linear-gradient(145deg, #fff7f8, #f5f5f6);
}

.chair-option__compare-mark {
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--brand-red);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 20, 24, 0.1);
  font-size: 28px;
  font-weight: 900;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid #d8d8dc;
  border-radius: 14px;
  color: var(--ink);
  background: var(--white);
}

.field input[aria-invalid="true"] {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(212, 33, 54, 0.1);
}

.field-error {
  min-height: 18px;
  margin: 6px 2px 0;
  color: var(--brand-red-dark);
  font-size: 12px;
}

.privacy-field {
  margin: -2px 0 18px;
}

.privacy-check {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: #55555d;
  font-size: 12px;
  line-height: 1.45;
  cursor: pointer;
}

.privacy-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.privacy-check__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #c9c9cf;
  border-radius: 7px;
  background: var(--white);
}

.privacy-check input:checked + .privacy-check__box {
  border-color: var(--brand-red);
  background: var(--brand-red);
}

.privacy-check input:checked + .privacy-check__box::after {
  content: "✓";
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.privacy-check input:focus-visible + .privacy-check__box {
  outline: 3px solid rgba(212, 33, 54, 0.28);
  outline-offset: 2px;
}

.privacy-check input[aria-invalid="true"] + .privacy-check__box {
  border-color: var(--brand-red);
}

.privacy-check a {
  color: var(--brand-red-dark);
  font-weight: 750;
  text-underline-offset: 2px;
}

.reassurance {
  margin: 14px 0 0;
  color: #4e4e55;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.reassurance > span:first-child {
  color: var(--brand-red);
}

.form-status {
  display: none;
  margin: 14px 0 0;
  padding: 13px;
  border-radius: 12px;
  color: #1f5f3b;
  background: #eaf7ef;
  font-size: 13px;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #8d1221;
  background: #fff0f2;
}

.showroom {
  text-align: center;
  background: var(--surface);
}

.showroom__address {
  margin: 14px 0 24px;
}

.outline-button {
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  background: transparent;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 20px;
  color: #87878e;
  background: var(--white);
  font-size: 12px;
}

.footer img {
  width: 92px;
  height: auto;
  opacity: 0.68;
}

@media (max-width: 370px) {
  .topbar {
    padding-inline: 12px;
  }

  .brand-logo {
    width: 98px;
  }

  .phone-button {
    padding-inline: 9px;
    font-size: 11px;
  }

  .hero__content {
    padding-inline: 18px;
  }

  .catalog-section,
  .booking-section,
  .showroom {
    padding-inline: 16px;
  }

  .product-carousel {
    margin-inline: -16px;
    padding-inline: 16px;
  }
}

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

  * {
    transition-duration: 0.01ms !important;
  }
}
