/* ===== SIPIEI SERVICE — Landing CSS ===== */

@import url("https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@900&family=Manrope:wght@400;500;700&family=Iceland&family=Orbitron:wght@700&family=IM+Fell+French+Canon+SC&display=swap");

/* ===== CSS VARIABLES ===== */
:root {
  --color-white: #ffffff;
  --color-dark: #27160b;
  --color-dark-70: rgba(39, 22, 11, 0.7);
  --color-dark-74: rgba(39, 22, 11, 0.74);
  --color-dark-30: rgba(39, 22, 11, 0.3);
  --color-dark-10: rgba(39, 22, 11, 0.1);

  --color-bg-main: #fcf7f4;
  --color-bg-warm: #f2eadf;
  --color-bg-hero: rgba(242, 234, 223, 0.84);
  --color-bg-logo: #f3ebe1;

  --color-orange: #ff6b35;
  --color-orange-dark: #ff5a19;
  --color-orange-light: rgba(255, 90, 25, 0.15);
  --color-orange-50: rgba(255, 90, 25, 0.5);
  --color-orange-70: rgba(255, 90, 25, 0.7);
  --color-orange-20: rgba(255, 107, 53, 0.2);

  --color-green: #d7e6cc;
  --color-green-50: rgba(215, 230, 204, 0.5);

  --color-card-bg: rgba(252, 247, 244, 0.8);
  --color-card-bg-60: rgba(252, 247, 244, 0.6);
  --color-form-bg: rgba(252, 247, 244, 0.79);

  --color-accent-orange-rnjpgf: rgba(255, 123, 72, 0.2);
  --color-orange-q6k47r: rgba(255, 247, 244, 0.8);
  --color-link: rgba(39, 22, 11, 0.7);
  --color-orange-footer: rgba(255, 107, 53, 0.7);

  --gradient-divider: linear-gradient(
    90deg,
    rgba(255, 215, 0, 1) 0%,
    rgba(255, 107, 53, 1) 50%,
    rgba(255, 215, 0, 1) 100%
  );

  --shadow-card: 0px 1px 2px 0px rgba(0, 0, 0, 0.25);
  --shadow-form: 0px 15px 50px 0px rgba(255, 90, 25, 0.25);
  --shadow-cta: 0px 15px 50px 0px rgba(255, 90, 25, 0.25);

  --radius-btn: 35px;
  --radius-card: 26px;
  --radius-card-sm: 16px;
  --radius-form: 34px;
  --radius-form-inner: 32px;
  --radius-input: 15px;
  --radius-submit: 32px;
  --radius-icon: 12px;

  --container-padding-x: 30px;
  --section-padding-y: 64px;
  --section-padding: var(--section-padding-y) var(--container-padding-x);
  --container-width: 1280px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--color-dark);
  background-color: var(--color-bg-main);
  width: 100%;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--container-width) + 2 * var(--container-padding-x));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(242, 234, 223, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  transition: box-shadow 0.3s ease;
}
.header--scrolled {
  box-shadow: 0 2px 16px rgba(39, 22, 11, 0.1);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
  min-height: 78px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__logo {
  justify-self: start;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header__logo-img {
  display: block;
  height: 52px;
  width: auto;
}

.header__nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header__nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
}
.header__nav-links a {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.header__nav-links a:hover,
.header__nav-links a:focus {
  color: var(--color-orange);
  outline: none;
}

.header__cta {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid var(--color-orange);
  border-radius: var(--radius-btn);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-dark);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.header__cta:hover {
  transform: translateY(-2px);
}

/* ===== HAMBURGER ===== */
.hamburger {
  grid-column: 3;
  justify-self: end;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--color-bg-warm);
  border-top: 1px solid rgba(255, 107, 53, 0.15);
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}
.mobile-menu.is-open {
  max-height: 400px;
  padding: 16px 0 24px;
}
.mobile-menu ul {
  list-style: none;
}
.mobile-menu__link {
  display: block;
  padding: 14px 24px;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-dark);
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.mobile-menu__link:hover {
  color: var(--color-orange);
  background: rgba(255, 107, 53, 0.05);
}
.mobile-menu__cta {
  margin: 8px 24px 0;
  padding: 12px 24px;
  border: 1px solid var(--color-orange);
  border-radius: var(--radius-btn);
  text-align: center;
  color: var(--color-orange);
}

body.no-scroll {
  overflow: hidden;
}

/* ===== HERO ===== */
.hero {
  background-color: var(--color-bg-hero);
  padding: var(--section-padding-y) 0;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
}
.hero__text {
  min-width: 0;
}
.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.hero__illustration {
  display: block;
  width: 100%;
  max-width: min(100%, 560px);
  height: auto;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 50%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 50%,
    transparent 100%
  );
}
.hero__title {
  font-family: "Londrina Solid", sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.18;
  color: var(--color-dark);
  margin-bottom: 20px;
}
.hero__accent {
  color: #ff5a19;
}
.hero__subtitle {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 40px;
  max-width: 600px;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  background: var(--color-orange);
  border-radius: var(--radius-btn);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.hero__btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}
.hero__btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border: 1px solid var(--color-orange);
  border-radius: var(--radius-btn);
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-dark);
  text-decoration: none;
  background: transparent;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.hero__btn-outline:hover {
  border-color: #e85a2a;
  transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
.how-it-works {
  background: var(--color-bg-main);
  padding: var(--section-padding);
}
.section-header {
  margin-bottom: 48px;
}
.section-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.366;
  color: var(--color-dark);
  margin-bottom: 20px;
}
.section-subtitle--nowrap {
  white-space: nowrap;
}
.section-subtitle {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  color: var(--color-dark);
  max-width: 860px;
}

/* ===== CARDS ROW ===== */
.cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--color-dark-10);
  border-radius: var(--radius-card);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.card.is-visible {
  opacity: 1;
  transform: none;
}
.card--orange {
  background: var(--color-card-bg);
}
.card--green {
  background: var(--color-bg-main);
}

.card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 0 16px 16px 16px;
  flex-shrink: 0;
}
.card__icon--orange {
  background: var(--color-orange-dark);
}
.card__icon--green {
  background: var(--color-green);
}
.card__icon img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  object-fit: contain;
}

.card__title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 1.366;
  color: var(--color-dark);
}
.card__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card__step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.card__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-icon);
  flex-shrink: 0;
  margin-top: 1px;
}
.card__step-icon--orange {
  background: var(--color-orange-light);
}
.card__step-icon--green {
  background: transparent;
  padding: 0;
  width: 22px;
  height: 22px;
}
.card__step-icon--green img {
  width: 22px;
  height: 22px;
  display: block;
}
.card__step-icon--orange img {
  width: 22px;
  height: 22px;
}
.card__step-text--nowrap {
  white-space: nowrap;
}
.card__step-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-dark);
}

/* ===== OFFERS ===== */
.offers {
  background: var(--color-bg-warm);
  padding: var(--section-padding);
}
.offers__grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 40px;
}
.offers__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.offers__row--center {
  grid-template-columns: repeat(3, 1fr);
}
.offers__row--center .offer-card {
  grid-column: 2;
  /* max-width: 285.33px; */
}

.offer-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-dark-10);
  border-radius: var(--radius-card-sm);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  min-height: 140px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.offer-card.is-visible {
  opacity: 1;
  transform: none;
}
.offer-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card-sm);
  width: 100%;
  min-height: 90px;
  padding: 12px;
}
.offer-card__img-wrap--orange {
  background: var(--color-accent-orange-rnjpgf);
}
.offer-card__img-wrap--green {
  background: var(--color-green);
}
.offer-card__img-wrap--peach {
  background: var(--color-orange-q6k47r);
}
.offer-card__img-wrap--fazan {
  background: #d7e6cc;
  min-height: 82px;
  align-items: center;
}
.offer-card__img-wrap--fazan .offer-card__img {
  max-width: 297px;
  max-height: none;
  width: 100%;
}
.offer-card__img--green2 {
  max-width: 297px;
  max-height: none;
  width: auto;
  margin: 0 auto;
  display: block;
}
.offer-card__img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  border-radius: 8px;
}
.offer-card__img--narrow {
  max-width: 110px;
}
.offer-card__img--offer3 {
  max-width: 156px;
  max-height: none;
  /* width: 100%; */
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--color-bg-main);
  padding: var(--section-padding);
}
.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: stretch;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 34px;
  background: #d7e6cc;
  border: 1px solid var(--color-dark-10);
  box-shadow: var(--shadow-form);
  border-radius: var(--radius-form);
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.contact-info.is-visible {
  opacity: 1;
  transform: none;
}
.contact-info__title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.366;
  color: var(--color-dark);
  margin-bottom: 20px;
}
.contact-info__desc {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(39, 22, 11, 0.7);
}
.contact-info__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-info__item {
  padding: 16px 0;
  border-bottom: 1px solid #27160b40;
}
.contact-info__item:last-child {
  border-bottom: none;
}
.contact-info__item-text {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: #27160b;
}
.contact-info__btn {
  width: 331px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 15px;
  padding: 16px 24px;
  border: 1px solid var(--color-dark);
  border-radius: var(--radius-btn);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-dark);
  text-decoration: none;
  align-self: center;
  background: transparent;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}
.contact-info__btn:hover {
  border-color: #1a0e06;
  transform: translateY(-2px);
}

.contact-form-wrap {
  padding: 32px;
  background: rgba(255, 90, 25, 0.5);
  border: 1px solid var(--color-dark-10);
  box-shadow: var(--shadow-form);
  border-radius: var(--radius-form);
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.contact-form-wrap.is-visible {
  opacity: 1;
  transform: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px;
  background: var(--color-form-bg);
  border: 1px solid var(--color-dark-10);
  border-radius: var(--radius-form-inner);
  width: 100%;
  flex: 1;
  box-sizing: border-box;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
.form-field--full {
  grid-column: 1 / -1;
  width: 100%;
}
.form-field__label {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-dark);
  padding: 0 4px;
}
.form-field__input,
.form-field__select,
.form-field__textarea {
  padding: 10px 14px;
  border: 2px solid rgba(39, 22, 11, 0.25);
  border-radius: var(--radius-input);
  background: transparent;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--color-dark);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-field__input:hover,
.form-field__select:hover,
.form-field__textarea:hover {
  border-color: rgba(39, 22, 11, 0.25);
}
.form-field__input:focus,
.form-field__select:focus,
.form-field__textarea:focus {
  border-color: var(--color-orange);
}
.form-field__input.is-error,
.form-field__select.is-error,
.form-field__textarea.is-error {
  border-color: #e53e3e;
}
.form-field__input::placeholder,
.form-field__textarea::placeholder {
  color: var(--color-dark-30);
}
.form-field__select {
  cursor: pointer;
}
.form-field__textarea {
  resize: vertical;
  min-height: 80px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-consent__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 2px solid rgba(39, 22, 11, 0.3);
  border-radius: 4px;
  background: #fcf7f4c9;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}
.form-consent__checkbox:checked {
  background: #27160b;
  border-color: #27160b;
}
.form-consent__checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent__checkbox:focus-visible {
  outline: 2px solid rgba(39, 22, 11, 0.35);
  outline-offset: 2px;
}
.form-consent__checkbox.is-error {
  outline: 2px solid #e53e3e;
  border-color: #e53e3e;
}
.form-consent__text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-dark);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 331px;
  margin: auto auto 0;
  padding: 16px 24px;
  background: #ff5a1999;
  border: none;
  border-radius: var(--radius-submit);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-white);
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
}
.btn-submit:disabled {
  cursor: default;
  background: #aaa;
}

/* ===== FAQ ===== */
.faq {
  background: var(--color-bg-warm);
  padding: var(--section-padding);
}
.faq .section-title {
  margin-bottom: 20px;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
  margin-bottom: 48px;
}
.faq__item {
  background: var(--color-card-bg-60);
  border-radius: 32px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.faq__item.is-visible {
  opacity: 1;
  transform: none;
}
.faq__summary {
  display: block;
  padding: 24px 28px 8px;
  text-align: left;
}
.faq__question {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--color-dark);
}
.faq__icon {
  display: none;
}
.faq__answer {
  padding: 4px 28px 24px;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-dark);
  text-align: left;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: var(--color-orange-70);
  box-shadow: var(--shadow-cta);
  border-radius: 32px;
}
.cta-banner__text-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-banner__title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: var(--color-bg-main);
  /* white-space: nowrap; */
}
.cta-banner__subtitle {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  color: var(--color-bg-main);
  opacity: 0.9;
}
.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 1px solid var(--color-white);
  border-radius: var(--radius-submit);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-bg-main);
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.cta-banner__btn:hover {
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg-main);
  border-top: 1px solid var(--color-dark-10);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 32px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-dark-10);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo {
  width: 70px;
  height: auto;
}
.footer__brand-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-orange-dark);
}
.footer__policy {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--color-link);
  text-decoration: none;
}
.footer__policy:hover {
  text-decoration: underline;
}
.footer__policy--bottom {
  display: none;
}

.footer__nav {
  display: flex;
  gap: 254px;
  flex-wrap: wrap;
}
.footer__nav-col,
.footer__contacts-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav-heading {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #27160b;
  margin-bottom: 4px;
}
.footer__nav-heading--dark {
  color: #27160b;
}
.footer__nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer__nav-link img {
  width: 16px;
  opacity: 0.5;
}
.footer__nav-link-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--color-link);
  transition: color 0.2s;
  white-space: nowrap;
}
.footer__nav-link:hover .footer__nav-link-text {
  color: var(--color-orange);
}
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__contact-item img {
  width: 16px;
  opacity: 1;
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(340deg)
    brightness(103%) contrast(95%);
}
.footer__contact-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: rgba(39, 22, 11, 0.7);
  text-decoration: none;
}
.footer__contact-text:hover {
  color: var(--color-orange);
}
.footer__ogrn {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  color: rgba(39, 22, 11, 0.7);
}

.footer__bottom {
  display: flex;
  justify-content: center;
}
.footer__copyright {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: var(--color-link);
}

/* ===== RESPONSIVE ===== */

/* >1920px — центрирование на широких мониторах */
@media (min-width: 1921px) {
  .header,
  .hero,
  .how-it-works,
  .offers,
  .contact-section,
  .faq,
  .footer {
    width: 100%;
  }
  .container,
  .footer__inner {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
  }
  .offers__row {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-form-wrap {
    max-width: 900px;
  }
  .contact-section__inner {
    gap: 80px;
    grid-template-columns: 600px 1fr;
  }
  .header__nav-links {
    gap: 80px;
  }
  .offer-card__img-wrap--fazan .offer-card__img {
    max-width: 295px;
  }
  .offers__row--center .offer-card {
    max-width: none;
  }
  .footer__top {
    justify-content: start;
    gap: 203px;
  }
}
@media (max-width: 1441px) {
  .header__nav-links {
    gap: 52px;
  }
  .offers__row {
    grid-template-columns: repeat(3, 1fr);
  }
  .offers__row--center .offer-card {
    max-width: none;
  }
}

/* 1025px */
@media (max-width: 1025px) {
  :root {
    --container-padding-x: 24px;
    --section-padding: 48px var(--container-padding-x);
  }
  .container {
    max-width: 1024px;
    margin: 0 auto;
  }

  .hero {
    position: relative;
    overflow: hidden;
    min-height: 470px;
  }
  .hero__layout {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: start;
  }
  .hero__text {
    margin-top: -16px;
  }
  .hero__visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
  }
  .hero__illustration {
    max-width: 100%;
  }
  .hero__title {
    font-weight: 900;
    font-size: clamp(36px, 4vw, 64px);
  }
  .hero__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
  }
  .hero__btn-primary,
  .hero__btn-outline {
    white-space: nowrap;
  }
  .cards-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .card__step-text {
    white-space: normal;
  }

  .offers__row--center {
    display: flex;
    justify-content: center;
  }
  .offers__row--center .offer-card {
    width: 285.33px;
    flex: none;
  }
  .offer-card__img--green2 {
    max-width: 212px;
    max-height: none;
    width: auto;
  }

  .offer-card__img--narrow {
    max-width: 134px;
  }

  .contact-info {
    transform: none;
  }

  .contact-form-wrap {
    transform: none;
  }
  .btn-submit {
    margin-top: 68px;
  }
  .footer__top {
    gap: 0;
  }
  .footer__nav {
    gap: 130px;
  }
  .footer__brand {
    gap: 26px;
  }
  .footer__inner {
    padding: 48px 48px 32px;
  }
}

/* 768px */
@media (max-width: 769px) {
  :root {
    --container-padding-x: 20px;
    --section-padding: 40px var(--container-padding-x);
  }
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }
  .header__inner {
    grid-template-columns: 1fr auto;
    column-gap: 50px;
    /* min-height: 64px; */
  }
  .header__nav-links {
    gap: 30px;
  }
  .header__nav-links a {
    font-size: 14px;
  }

  .hero {
    padding: 56px 20px 40px;
    min-height: auto;
  }
  .header__cta {
    font-size: 13px;
  }
  .hero__buttons {
    flex-direction: column;
    width: 226px;
  }
  .hero__btn-primary {
    font-size: 13px;
  }
  .hero__btn-outline {
    font-size: 13px;
  }
  .hero__visual {
    position: absolute;
    top: 53px;
    right: 0px;
    width: 40%;
  }
  .hero__btn-primary,
  .hero__btn-outline {
    width: 100%;
    text-align: center;
  }
  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .section-subtitle {
    font-size: clamp(16px, 1.4vw, 18px);
  }
  .cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    width: 100%;
    min-width: 0;
  }
  .card__step-text--nowrap {
    white-space: normal;
  }
  .section-subtitle--nowrap {
    white-space: normal;
  }
  .contact-section__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .contact-info,
  .contact-form-wrap {
    min-width: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .card__title {
    font-size: 18px;
  }
  .card__step-text {
    font-size: 14px;
  }
  /* Отключаем старую сетку */
  .offers__grid {
    display: block;
  }
  .offers__row {
    display: contents;
  }
  /* Создаем единую grid-сетку для всех карточек */
  .offers__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    margin-top: 40px;
  }

  /* Все карточки становятся элементами grid */
  .offer-card {
    margin: 0;
  }

  /* Убираем центрирование последнего ряда */
  .offers__row--center {
    display: contents;
  }

  /* Последняя карточка (седьмая) теперь не центрируется */
  .offers__row--center .offer-card {
    grid-column: auto;
    max-width: none;
  }
  .contact-info {
    border: 1px solid #27160b70;
  }
  .contact-info__title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .offers__row--center .offer-card {
    width: auto;
    flex: initial; /* или flex: 0 1 auto */
  }
  .offer-card__img--narrow {
    max-width: 110px;
  }
  .contact-info__desc {
    font-size: 16px;
  }
  .contact-info__item-text {
    font-size: 14px;
  }
  .contact-info__btn {
    width: 182px;
    font-size: 13px;
  }
  .btn-submit {
    margin-top: 4px;
    max-width: 210px;
    font-size: 13px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-field__input,
  .form-field__select,
  .form-field__textarea {
    font-size: 14px;
  }
  .contact-form-wrap {
    padding: 0 !important;
  }
  .contact-form {
    padding: 42px;
  }
  .contact-info__btn {
    margin-bottom: 103px;
  }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-banner__title {
    font-size: 24px;
  }
  .cta-banner__subtitle {
    font-size: 16px;
  }
  .cta-banner__btn {
    font-size: 13px;
  }
  .faq__answer {
    font-size: 16px;
  }
  .faq__question {
    font-size: 18px;
  }
  /* ---footer */
  .footer__top {
    flex-direction: column;
  }

  .footer__inner {
    padding: 40px 60px;
  }
  .footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    order: 1;
  }
  .footer__nav-col,
  .footer__contacts-col {
    margin-bottom: 20px;
  }

  .footer__nav-heading {
    font-size: 16px;
  }

  .form-field__label {
    font-size: 14px;
  }
  .footer__nav-link-text {
    font-size: 14px;
  }
  .footer__brand-name {
    margin-bottom: 15px;
  }
  /* НОВЫЕ ПРАВИЛА ПОДВАЛА */
  .footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
    padding-top: 20px;
  }

  .footer__bottom::before {
    content: none;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer__policy {
    display: none;
  }

  .footer__policy--bottom {
    display: inline;
    font-size: 14px;
  }

  .footer__copyright {
    font-size: 14px;
  }
  .footer__contact-text {
    font-size: 14px;
  }
}
/* ----425------ */
@media (max-width: 426px) {
  :root {
    --container-padding-x: 16px;
  }

  /* Центрирование контейнера */
  .container {
    max-width: 100%;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  /* Центрирование hero__layout */
  .hero .hero__layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
    width: 100%;
  }

  .hero .hero__text {
    width: 100%;
    max-width: 320px;
  }

  /* Кнопки по центру */
  .hero__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero__btn-primary,
  .hero__btn-outline {
    width: 100%;
    max-width: 260px;
    font-size: 14px;
    padding: 14px 24px;
  }

  .cards-row {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero .hero__visual {
    display: none;
  }

  /* Отступы секций */
  .hero,
  .how-it-works,
  .offers,
  .contact-section,
  .faq,
  .footer {
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
  }

  /* Гамбургер меню */
  .header__nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    column-gap: 20px;
  }

  .hamburger {
    display: flex;
    grid-column: 2;
    justify-self: end;
  }

  .mobile-menu {
    display: flex;
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(242, 234, 223, 0.85); /* 50% прозрачности */
    backdrop-filter: blur(10px); /* Размытие для стиля */
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.35s ease,
      padding 0.35s ease;
  }

  .mobile-menu.is-open {
    max-height: 400px;
    padding: 16px 0 35px;
  }

  /* Ссылки и кнопка без изменений */
  .mobile-menu__link {
    display: block;
    padding: 14px 24px;
    font-weight: 500;
    font-size: 16px;
    color: var(--color-dark);
    text-decoration: none;
  }

  .mobile-menu__cta {
    margin: 8px 24px 0;
    padding: 12px 24px;
    border: 1px solid var(--color-orange);
    border-radius: var(--radius-btn);
    text-align: center;
    color: var(--color-orange);
  }

  /* Сетка offers 2 в ряду */
  .offers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
  }

  .offers .offer-card,
  .offers .offer-card--orange.is-visible {
    padding: 16px;
    min-height: 100px;
    max-width: 256px;
    width: 100%;
  }

  .offer-card__img-wrap {
    min-height: 60px;
    padding: 8px;
  }

  .offer-card__img {
    max-height: 50px;
    max-width: 81px;
  }

  .offers .offer-card img[src*="offer-2-134c2f.png"] {
    max-width: 130px;
    min-height: 46px;
    width: auto;
    height: auto;
  }

  .offer-card__img--narrow {
    max-width: 80px;
  }

  .contact-section .contact-section__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

  .contact-section .contact-info {
    min-height: 280px;
  }
  .contact-info__btn {
    margin-bottom: 3px;
  }

  .contact-section .contact-info__title {
    font-size: 20px;
  }

  .contact-section .contact-info__btn {
    width: 100%;
    max-width: 240px;
  }
  .cta-banner__title {
    white-space: normal;
  }
  .cta-banner {
    align-items: center;
  }
  .cta-banner__text-wrap {
    text-align: center;
  }

  /* Футер */
  .footer__inner {
    padding: 32px var(--container-padding-x);
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer__top {
    padding-bottom: 0;
  }
  .footer__bottom {
    padding-top: 0px;
  }

  /* Шрифты */
  .section-title {
    font-size: 20px;
  }

  .hero__title {
    font-size: 20px;
  }
}
/* -----375------ */
@media (max-width: 376px) {
  .offers__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    justify-items: stretch;
    width: 100%;
  }
  .offers .offer-card,
  .offers .offer-card--orange.is-visible {
    padding: 3px;
    min-height: 60px;
    max-width: 256px;
  }
  .section-header {
    margin-bottom: 20px;
  }
  .faq__answer {
    font-size: 14px;
  }
  .footer__nav-link img {
    display: none;
  }
  .mobile-menu__cta {
    margin: 8px 97px 0;
  }
  .footer__policy--bottom {
    text-align: center;
    width: 100%;
  }
}
@media (max-width: 376px) {
  .mobile-menu__cta {
    margin: 27px 65px 37px;
  }
}
@media (max-width: 321px) {
  .card__title {
    font-size: 16px;
  }
  .card__icon {
    width: auto;
    height: auto;
  }
  .offers .offer-card img[src*="offer-2-134c2f.png"] {
    max-width: 113px;
    /* min-height: 46px; */
    width: auto;
    height: auto;
  }
  .offer-card__img {
    /* max-height: 50px; */
    max-width: 68px;
  }
  .contact-info__desc {
    font-size: 14px;
  }
  .form-field__input,
  .form-field__select,
  .form-field__textarea {
    width: 220px;
  }
  .faq__question {
    font-size: 16px;
  }
  .contact-info {
    padding: 20px;
  }
  .contact-form {
    padding: 20px;
  }
  .cta-banner__title {
    font-size: 16px;
  }
  .cta-banner__subtitle {
    font-size: 14px;
  }
  .faq__summary {
    padding: 24px 20px 8px;
  }
  .faq__answer {
    padding: 4px 20px 24px;
  }
  .cta-banner {
    padding: 20px;
  }
  .footer__nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__copyright {
    max-width: 172px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.4;
  }
}
/* ===== СТИЛИ ДЛЯ ОШИБОК ВАЛИДАЦИИ (ВСТАВИТЬ СЮДА) ===== */
.is-error {
  border-color: #e53e3e !important;
}

.field-error-message,
.consent-error-message {
  color: #e53e3e;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.form-consent {
  position: relative;
}
/* Убираем синий фон автозаполнения Chrome */
.form-field__input:-webkit-autofill,
.form-field__input:-webkit-autofill:hover,
.form-field__input:-webkit-autofill:focus,
.form-field__input:-webkit-autofill:active,
.form-field__textarea:-webkit-autofill,
.form-field__textarea:-webkit-autofill:hover,
.form-field__textarea:-webkit-autofill:focus,
.form-field__textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #fcf7f4 inset;
  -webkit-text-fill-color: #27160b;
  transition: background-color 5000s ease-in-out 0s;
}

.form-field__input:-moz-autofill,
.form-field__textarea:-moz-autofill {
  background-color: #fcf7f4;
  color: #27160b;
}