:root {
  --color-bg: #FFFFFF;
  --color-text: #1B1D22;
  --color-bg-alt: #F2F3F6;
  --color-brand: #0033A1;
  --color-brand-dark: #0033A1;
  --color-accent: #FFDB21;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-shadow: rgba(0, 0, 0, 0.08);

  --font-heading: 'Tektur', sans-serif;
  --font-body: 'Golos Text', sans-serif;

  --radius: 14px;
  --transition: 0.3s ease;

  --gradient-bg: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-bg) 100%, transparent),
    color-mix(in srgb, var(--color-bg) 0%, transparent)
  );

  --shadow-brand: 0 64px 120px 0
    color-mix(in srgb, var(--color-brand) 60%, transparent);
}

html[data-theme="dark"] {
  --color-bg: #222327;
  --color-text: #EDEDED;
  --color-bg-alt: #35373C;
  --color-brand: #0033A1;
  --color-brand-dark: #0033A1;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-shadow: rgba(0, 0, 0, 0.4);
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --color-bg: #222327;
    --color-text: #EDEDED;
    --color-bg-alt: #35373C;
    --color-brand: #0033A1;
    --color-brand-dark: #0033A1;
    --color-border: rgba(255, 255, 255, 0.12);
    --color-shadow: rgba(0, 0, 0, 0.4);
  }
}

* {
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--color-text);
}

a:hover {
  text-decoration: underline;
  text-decoration: none;
}

input,
input:hover,
input:active,
input:focus {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  background-color: none;
}

.btn {
  width: fit-content;
  padding: 15px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  -webkit-gap: 15px;
  background-color: var(--color-accent);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  font-size: 16px;
  line-height: 1;
  color: var(--color-accent-text, #1B1D22);
}

.btn__white {
  background-color: white;
  color: black;
}

.btn:hover,
.btn:active,
.btn:focus {
  padding: 15px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  -webkit-gap: 15px;
  background-color: var(--color-text);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  font-size: 16px;
  line-height: 1;
  color: var(--color-bg);
}

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

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-2px);
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: inline;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

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

.flex__column-80 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  -webkit-gap: 80px;
}

.flex__column-40 {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  -webkit-gap: 40px;
}


.grid__column-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 450px));
  grid-template-rows: auto;
  justify-content: space-between;
  gap: 20px;
}

.heading__section {
  font-size: 32px;
  line-height: 36px;
  font-family: var(--font-body);
  font-weight: 600;
}

.heading__card {
  font-size: 28px;
  line-height: 34px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
}

.text-block {
  font-size: 18px;
  line-height: 26px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--gradient-bg);
  padding: 20px 0 80px 0;
}

.header__nav-link {
  font-size: 14px;
  line-height: 1;
  color: var(--color-text);
  font-weight: 500;
  text-transform: uppercase;
}

.header__nav-link:hover {
  color: var(--color-brand);
}

.header__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.header_-nav-logo {
  display: block;
  height: 22px;
}

/* Логотип в шапке — ссылка на главную */
.header__logo-link {
  display: block;
  flex-shrink: 0;
}

.header__nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  -webkit-gap: 30px;
}

.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  -webkit-gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.header__burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  -webkit-border-radius: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  -webkit-transition: opacity 0.2s ease, transform 0.2s ease;
}

.header.is-open .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.is-open .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
 justify-content: center;
 width: 100%;
 min-height: 100vh;
 overflow: hidden;
 overflow-x: hidden;
}

.hero__flex {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hero__tag {
  padding: 15px 20px;
  display: block;
  width: fit-content;
  font-size: 18px;
  line-height: 18px;
  background-color: var(--color-brand);
  color: white;
  border-radius: 30px;
}

.hero__sale {
  position: relative;
  z-index: 2;
  font-size: 180px;
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
}

.hero__sale-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: hero-marquee 8s linear infinite;
}

.hero__sale-text {
  display: inline-block;
}

.hero__sale-light {
  font-weight: 600;
}

.hero__sale-bold {
  font-weight: 900;
}

.hero__sale-brand {
  font-weight: 600;
  color: var(--color-brand);
}

.hero__sale-static {
  display: none;
}

@keyframes hero-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero__heading {
  font-family: var(--font-body);
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
}

.hero__left {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  -webkit-gap: 60px;
}

.hero__logo {
  display: block;
  width: 250px;
  max-height: 100px;
  object-fit: contain;
}

.hero__right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  aspect-ratio: 1;
}

.hero_img-rect {
  position: relative;
  z-index: 1;
  display: block;
  width: 50%;
  height: 50%;
  background-color: var(--color-brand);
  border-radius: 25%;
  box-shadow: var(--shadow-brand);
}

.hero__img {
  position: absolute;
  z-index: 2;
  width: 60%;
  aspect-ratio: 1;
  object-fit: contain;
  animation: hero-float 4s ease-in-out infinite;
}

@keyframes hero-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img {
    animation: none;
  }
}

.tags {
  padding: 0 0 60px 0;
}

.tags__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.tags__heading {
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
  font-family: var(--font-body);
  margin-bottom: 50px;
}

.tags__list {
  max-width: 1000px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  -webkit-gap: 10px;
}

.tags__item {
  display: flex;
padding: 15px 20px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 30px;
border: 2px solid #EDEDED;
}

.advantages {
  padding: 80px 0;
}

.heading__section {
  position: relative;
  max-width: 486px;
  padding-top: 37px;
  display: inline-block;
  font-size: 32px;
  line-height: 36px;
}

.heading__section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-text);
  content: '';
}

.advantage-item {
  padding-bottom: 80px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  gap: 50px;
  -webkit-gap: 50px;
}

.advantages-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-gap: 20px;
}

.content__icon {
  width: 60px;
  height: 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  overflow: hidden;
}

.content__icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-brand);
  opacity: 0.4;
}

.content__icon-img {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  z-index: 2;
}

.brand {
  padding: 80px 0;
  background-color: var(--color-brand);
}

.brand__grid {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  padding: 3vw;
  background-color: var(--color-bg);
  border-radius: 30px;
  height: 80vh;
}

.brand__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  -webkit-gap: 40px;
}

.brand__logo {
  display: block;
  width: 200px;
}

.brand__right {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.brand__item {
  padding: 30px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 20px;
  -webkit-gap: 20px;
  width: 100%;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.brand__item.is-active {
  opacity: 1;
  visibility: visible;
}

.brand__item-img {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__item::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.00) 69.01%);
}

.brand__right-text {
  position: relative;
  z-index: 2;
  max-width: 500px;
  font-size: 24px;
  line-height: 30px;
  color: white;
  font-weight: 400;
  margin: 0;
}

.brand__slider_nav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  -webkit-gap: 20px;
}

.slider_nav-circle {
  display: block;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.548);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  cursor: pointer;
}

.slider_nav-circle__active {
  display: block;
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  cursor: pointer;
}

.about {
  padding: 80px 0;
  background-color: var(--color-bg-alt);
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  -webkit-gap: 50px;
}

.about__right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  -webkit-gap: 24px;
  counter-reset: about-card;
}

.about__right-item {
  position: relative;
  counter-increment: about-card;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-gap: 12px;
  background-color: var(--color-bg);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  box-shadow: 0 6px 22px var(--color-shadow);
  -webkit-box-shadow: 0 6px 22px var(--color-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about__right-item::before {
  content: counter(about-card, decimal-leading-zero);
  width: fit-content;
  padding: 7px 12px;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  background-color: color-mix(in srgb, var(--color-brand) 12%, transparent);
  color: var(--color-brand);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.about__right-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px var(--color-shadow);
  -webkit-box-shadow: 0 16px 34px var(--color-shadow);
}

.about__right-item p {
  margin: 0;
}

.about__right-item h3 {
  margin-bottom: 10px;
  font-weight: 500;
}

.list__circle {
  display: block;
  padding-left: 20px;
  position: relative;
}

.list__circle::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--color-text);
}

.about__left .heading__section {
  position: static;
}

.offer {
  padding: 80px 0;
}

.offer__card {
  position: relative;
  padding: 60px;
  display: block;
  width: 100%;
  background-color: var(--color-brand);
  border-radius: 30px;
  -webkit-border-radius: 30px;
  box-shadow: var(--shadow-brand);
  margin-bottom: 60px;
}

.offer__card-heading {
  font-size: 28px;
  line-height: 34px;
  max-width: 600px;
  font-family: var(--font-body);
  color: white;
  font-weight: 400;
}

.offer_fire {
  position: absolute;
  right: 0;
  top: -30px;
  width: 150px;
  height: 150px;
}

.offer__table {
  display: flex;
  flex-direction: column;
}

.offer__table-item {
  display: grid;
  grid-template-columns: 1fr 230px;
  padding: 30px 0;
  border-bottom: 1px solid rgb(61, 61, 61);
}

.table__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-gap: 20px;
}

.table__left p {
  max-width: 800px;
}

.table__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer__prise {
  font-size: 28px;
  line-height: 34px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
}

.offer__prise::before {
  content: '₽';
}

.offer__prise-desc {
  font-size: 13px;
  line-height: 18px;
}

.offer__total {
  font-weight: 600;
}

.request {
  padding: 80px 0;
  background-color: var(--color-brand);
  /* якорь формы (#request): отступ, чтобы фиксированная шапка не перекрывала блок */
  scroll-margin-top: 150px;
}

.request .heading__section {
  color: white;
}

.request .heading__section::before {
  background-color: white;
}

.request__grid {
  display: grid;
  grid-template-columns: minmax(250px, 600px) minmax(250px, 800px);
  gap: 30px;
  -webkit-gap: 30px;
  justify-content: space-between;
}

.requet__form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  -webkit-gap: 15px;
}

.request__input {
  padding: 20px 25px 20px 55px;
  display: block;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  font-size: 18px;
  line-height: 24px;
  color: black;
  opacity: 0.8;
  background: inherit;
  background-color: inherit;
  background: url('../assets/svg/icon-user.svg') no-repeat left center;
  background-position-x: 20px;
  background-color: white;
}

.request__input:hover,
.request__input:active,
.request__input:focus {
  padding: 20px 25px 20px 55px;
  display: block;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  font-size: 18px;
  line-height: 24px;
  color: black;
  opacity: 1;
  background: inherit;
  background-color: inherit;
  background: url('../assets/svg/icon-user.svg') no-repeat left center;
  background-position-x: 20px;
  background-color: white;
}

.icon__user,
.icon__user:hover,
.icon__user:active,
.icon__user:focus {
  background: url('../assets/svg/icon-user.svg') no-repeat left center;
  background-position-x: 20px;
  background-color: white;
}

.icon__company,
.icon__company:hover,
.icon__company:active,
.icon__company:focus {
  background: url('../assets/svg/icon-company.svg') no-repeat left center;
  background-position-x: 20px;
  background-color: white;
}

.icon__tel,
.icon__tel:hover,
.icon__tel:active,
.icon__tel:focus {
  background: url('../assets/svg/icon-phone.svg') no-repeat left center;
  background-position-x: 20px;
  background-color: white;
}

.icon__mail,
.icon__mail:hover,
.icon__mail:active,
.icon__mail:focus {
  background: url('../assets/svg/icon-email.svg') no-repeat left center;
  background-position-x: 20px;
  background-color: white;
}

.request__form input .btn {
  background-color: white;
  color: black;
}

.request__docs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 37px;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.219);
}

.request__docs .heading__card {
  color: white;
}

.form__description {
  display: inline-block;
  padding: 30px;
  border: 2px solid rgba(255, 255, 255, 0.219);
  color: white;
  border-radius: 30px;
  -webkit-border-radius: 30px;
}

.docs__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  -webkit-gap: 10px;
  flex-wrap: wrap;
}

.docs__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  -webkit-gap: 10px;
  padding: 10px 15px;
  padding-left: 40px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  background: url('../assets/svg/icon-document.svg') no-repeat left center;
  background-position-x: 15px;
  background-size: 18px 18px;
  background-color: white;
}

.icon__doc {
  background: url('../assets/svg/icon-document.svg') no-repeat left center;
  background-position-x: 15px;
  background-size: 18px 18px;
  background-color: white;
}

.icon__download {
  background: url('../assets/svg/icon-download.svg') no-repeat left center;
  background-position-x: 15px;
  background-size: 18px 18px;
  background-color: white;
}

.icon__ur {
  background: url('../assets/svg/icon-docs.svg') no-repeat left center;
  background-position-x: 15px;
  background-size: 18px 18px;
  background-color: white;
}

.icon__file {
  background: url('../assets/svg/icon-file.svg') no-repeat left center;
  background-position-x: 15px;
  background-size: 18px 18px;
  background-color: white;
}

.footer {
  padding: 40px 0;
  background-color: var(--color-brand);
  border-top: 2px solid rgba(255, 255, 255, 0.274);
  color: white;
}

.phototext {
  padding: 80px 0;
}

.phototext__grid {
  display: grid;
  grid-template-columns: minmax(300px, 600px) 1fr;
  min-height: 600px;
  align-items: center;
  gap: 40px;
  -webkit-gap: 40px;
}

.phtototext__left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  -webkit-gap: 40px;
}

.phtototext__right {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  overflow: hidden;
}

.phototext__img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cards {
  padding: 80px 0;
  background-color: var(--color-bg-alt);
}

.cards__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  -webkit-gap: 30px;
}

.cards__item {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 250px;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  background-color: var(--color-bg);
}

.action {
  position: relative;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
}

.action__img {
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.action__fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.637);
}

.action__heading {
  position: relative;
  z-index: 3;
  font-size: 120px;
  line-height: 125px;
  font-weight: 400;
  color: white;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1200px) {
  .container {
    width: calc(100% - 80px);
  }

  .grid__column-3 {
    grid-template-columns: repeat(2, minmax(280px, 450px));
  }

  .offer__card {
    padding: 50px;
  }

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

@media (max-width: 1024px) {
  .hero__sale {
    font-size: clamp(64px, 11vw, 180px);
  }

  .about__grid {
    gap: 30px;
    -webkit-gap: 30px;
  }

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

  .request__docs {
    gap: 30px;
  }

  .phototext__grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 30px;
    -webkit-gap: 30px;
  }

  .phtototext__right {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 900px) {
  .brand__grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 30px;
  }

  .brand__left {
    gap: 40px;
  }

  .brand__right {
    height: 60vw;
    min-height: 300px;
    max-height: 500px;
  }

  .offer__table-item {
    grid-template-columns: 1fr;
  }

  .table__right {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 40px);
  }

  header {
    padding: 14px 0 40px 0;
  }

  .header__burger {
    display: flex;
  }

  .header__nav {
    position: relative;
  }

  .header__nav .btn {
    margin-left: auto;
  }

  .header__nav-list {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    -webkit-gap: 0;
    padding: 10px;
    background-color: var(--color-bg);
    border: 1px solid rgba(128, 128, 128, 0.25);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }

  .header.is-open .header__nav-list {
    display: flex;
  }

  .header__nav-item {
    border-bottom: 1px solid rgba(128, 128, 128, 0.25);
  }

  .header__nav-item:last-child {
    border-bottom: 0;
  }

  .header__nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding: 110px 0 40px;
  }

  .hero__flex {
    flex-direction: column;
    gap: 40px;
  }

  .hero__left {
    display: contents;
  }

  .hero__logo {
    order: 1;
    width: 180px;
  }

  .hero__right {
    order: 2;
    width: 100%;
  }

  .hero__heading {
    order: 3;
    width: 100%;
    font-size: 24px;
    line-height: 30px;
  }

  .hero__sale {
    display: none;
  }

  .hero__sale-static {
    display: block;
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 8%;
    margin: 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--color-text);
    pointer-events: none;
  }

  .hero_img-rect {
    width: 70%;
    height: 70%;
  }

  .hero__img {
    z-index: 3;
    width: 80%;
  }

  .flex__column-80 {
    gap: 50px;
  }

  .grid__column-3 {
    grid-template-columns: 1fr;
  }

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

  .advantage-item {
    padding-bottom: 40px;
  }

  .heading__section {
    font-size: 26px;
    line-height: 30px;
  }

  .heading__card {
    font-size: 20px;
    line-height: 24px;
  }

  .text-block {
    font-size: 14px;
    line-height: 20px;
  }

  .advantages,
  .brand,
  .about,
  .offer,
  .phototext,
  .cards {
    padding: 50px 0;
  }

  .brand__grid {
    padding: 20px;
    border-radius: 20px;
  }

  .brand__right-text {
    font-size: 20px;
    line-height: 26px;
  }

  .about__right-item,
  .offer__card,
  .form__description,
  .request__docs {
    padding: 30px;
  }

  .tags__heading {
    margin-bottom: 30px;
  }

  .phtototext__left {
    gap: 30px;
  }

  .offer__card {
    margin-bottom: 40px;
  }

  .table__left,
  .table__right {
    gap: 10px;
  }

  .offer__table-item {
    gap: 30px;
  }

  .offer_fire {
    width: 90px;
    height: 90px;
    top: -20px;
  }

  .request {
    padding: 50px 0;
    scroll-margin-top: 110px;
  }
}

@media (max-width: 520px) {
  .hero__sale-static {
    font-size: 28px;
  }

  .hero__logo {
    width: 150px;
  }

  .tags__item {
    padding: 12px 16px;
    font-size: 15px;
  }

  .offer__fire {
    display: none;
  }

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

/* ---------- Блок action: видео по скроллу ---------- */

.action {
  display: block;
  position: relative;
  height: 400vh;
}

.action__video {
  position: sticky;
  top: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  background-color: var(--color-bg);
}

.action__fill {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
}

.action__heading {
  position: sticky;
  top: 0;
  max-width: 700px;
  height: 100vh;
  margin: 0;
  margin-top: -200vh;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  text-align: left;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(24px, 3.5vw, 56px);
  line-height: 1.2;
  font-weight: 400;
  text-wrap: balance;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .action {
    height: 100vh;
  }
}

/* ==========================================================================
   HERO — баннер (страницы брендов). Разметка: h_hero() в index.php.
   Класс .hero--banner на <section>.
   Фон плашки задаётся из админки (hex + прозрачность) инлайном;
   фирменный цвет бренда работает только на кнопке .btn__hero.
   ========================================================================== */

.hero.hero--banner {
  display: block;
  min-height: auto;
  height: fit-content;
  align-items: stretch;
  justify-content: flex-start;
  overflow: visible;
  margin-top: 90px;
  margin-bottom: 60px;
}

.hero.hero--banner .hero__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  aspect-ratio: 21 / 9;
  background-color: rgba(0, 178, 181, 0.14);
  border-radius: 2.15vw;
  padding: 1.7vw 2.8vw 2.8vw 2.8vw;
}

.hero.hero--banner .hero__tags-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  font-size: 1.6vw;
  line-height: 1;
}

.hero.hero--banner .hero__tags-item {
  background-color: transparent;
  color: var(--color-text);
  font-weight: 400;
}

.hero.hero--banner .hero__banner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  gap: 3vw;
}

.hero.hero--banner .hero__banner-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 51%;
  min-width: 0;
  gap: 1.5vw;
}

.hero.hero--banner .hero__banner-logo {
  display: block;
  width: 16.4vw;
  max-height: 7vw;
  object-fit: contain;
}

.hero.hero--banner .hero__banner-heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: 3.42vw;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
}

.hero.hero--banner .hero__banner-right {
  display: block;
  width: 35vw;
  aspect-ratio: 4 / 3;
}

.hero.hero--banner .hero__banner-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5vw;
}

.hero.hero--banner .hero__banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1.5vw;
}

.hero.hero--banner .hero__buttons {
  position: relative;
}

.hero.hero--banner .btn__hero {
  display: inline-block;
  padding: 1vw 1.5vw;
  border: none;
  border-radius: 2vw;
  background-color: var(--color-brand);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.1vw;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), opacity var(--transition);
}

.hero.hero--banner .btn__hero:hover {
  background-color: var(--color-brand-dark);
}

.hero.hero--banner .btn__hero:active {
  opacity: 0.9;
}

@media (max-width: 1200px) {
  .hero.hero--banner {
    margin-top: 80px;
    margin-bottom: 50px;
  }

  .hero.hero--banner .hero__brand {
    padding: 1.6vw 2.2vw 2.2vw 2.2vw;
    border-radius: 24px;
  }

  .hero.hero--banner .hero__banner-heading {
    font-size: 3vw;
  }

  .hero.hero--banner .hero__banner-logo {
    width: 15vw;
    max-height: 6.4vw;
  }

  .hero.hero--banner .btn__hero {
    padding: 13px 22px;
    border-radius: 26px;
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .hero.hero--banner .hero__brand {
    min-height: auto;
    aspect-ratio: auto;
    padding: 32px;
    border-radius: 22px;
  }

  .hero.hero--banner .hero__banner {
    gap: 30px;
  }

  .hero.hero--banner .hero__banner-left {
    width: 55%;
    gap: 20px;
  }

  .hero.hero--banner .hero__banner-right {
    width: 45%;
  }

  .hero.hero--banner .hero__banner-heading {
    font-size: 32px;
  }

  .hero.hero--banner .hero__banner-logo {
    width: 160px;
    max-height: 70px;
  }

  .hero.hero--banner .hero__tags-list {
    gap: 10px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .hero.hero--banner .hero__brand {
    padding: 28px 24px;
    border-radius: 20px;
  }

  .hero.hero--banner .hero__banner-left {
    width: 100%;
  }

  .hero.hero--banner .hero__banner-right {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .hero.hero--banner {
    margin-top: 100px;
    margin-bottom: 40px;
    padding: 0;
  }

  .hero.hero--banner .hero__brand {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .hero.hero--banner .hero__tags-list {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 14px;
    margin: 0 0 30px;
    padding: 0;
  }

  .hero.hero--banner .hero__tags-item {
    padding: 0;
    font-size: inherit;
    border-radius: 16px;
  }

  .hero.hero--banner .hero__banner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .hero.hero--banner .hero__banner-left {
    width: 100%;
    gap: 16px;
  }

  .hero.hero--banner .hero__banner-logo {
    width: 140px;
    max-height: 60px;
  }

  .hero.hero--banner .hero__banner-heading {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero.hero--banner .hero__banner-video {
    border-radius: 12px;
  }

  .hero.hero--banner .btn__hero {
    padding: 11px 22px;
    border-radius: 18px;
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .hero.hero--banner {
    margin-top: 100px;
    margin-bottom: 30px;
  }

  .hero.hero--banner .hero__brand {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .hero.hero--banner .hero__tags-list {
    gap: 8px;
    font-size: 14px;
  }

  .hero.hero--banner .hero__tags-item {
    padding: 0;
    font-size: inherit;
    border-radius: 14px;
  }

  .hero.hero--banner .hero__banner {
    gap: 16px;
  }

  .hero.hero--banner .hero__banner-heading {
    font-size: 20px;
    line-height: 1.3;
  }

  .hero.hero--banner .hero__banner-logo {
    width: 110px;
    max-height: 45px;
  }

  .hero.hero--banner .hero__banner-left {
    gap: 12px;
  }

  .hero.hero--banner .hero__banner-video {
    border-radius: 10px;
  }

  .hero.hero--banner .btn__hero {
    padding: 10px 20px;
    border-radius: 16px;
    font-size: 13px;
  }
}

/* ==========================================================================
   Согласие под формой заявки + модалка «заявка отправлена» + страница политики
   ========================================================================== */

.requet__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  -webkit-gap: 10px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.requet__consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #ffffff;
  cursor: pointer;
}

.requet__consent a {
  color: #ffffff;
  text-decoration: underline;
}

.requet__consent a:hover,
.requet__consent a:focus {
  text-decoration: none;
}

/* модалка после успешной отправки формы */
.form-ok-back {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(15, 17, 22, 0.6);
}

.form-ok {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 44px 36px 36px;
  background-color: #ffffff;
  color: #1B1D22;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.form-ok__x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8a8f99;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.form-ok__x:hover {
  color: #1B1D22;
}

.form-ok__title {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.form-ok__text {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.5;
  white-space: pre-line;
}

.form-ok__btn {
  margin: 0 auto;
  background-color: var(--color-brand);
  color: #ffffff;
}

.form-ok__btn:hover,
.form-ok__btn:active,
.form-ok__btn:focus {
  background-color: var(--color-brand-dark);
  color: #ffffff;
}

/* страница политики — простая «простыня» на всю страницу */
.policy-page {
  background-color: var(--color-bg);
}

.policy__top {
  padding: 26px 0;
}

.policy__home {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: underline;
}

.policy__home:hover {
  text-decoration: none;
}

.policy {
  padding: 10px 0 100px;
}

.policy__container {
  max-width: 820px;
}

.policy__title {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

.policy__content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}

.policy__content p {
  margin: 0 0 14px;
}

.policy__content h1 {
  margin: 26px 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.policy__content h2 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.policy__content h3 {
  margin: 22px 0 10px;
  font-size: 19px;
  line-height: 1.3;
}

.policy__content ul,
.policy__content ol {
  margin: 0 0 14px;
  padding-left: 24px;
}

.policy__content li {
  margin-bottom: 6px;
  list-style: disc;
}

.policy__content ol li {
  list-style: decimal;
}

.policy__content a {
  color: var(--color-brand);
  text-decoration: underline;
}

.policy__content b,
.policy__content strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .policy__title {
    font-size: 26px;
  }

  .form-ok {
    padding: 40px 22px 28px;
  }
}
