/* ═══════════════════════════════════════════════════════════════
   COMPONENTS — Переиспользуемые UI-компоненты и секции
   ═══════════════════════════════════════════════════════════════ */


/* ── 6. Cookie banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--background);
  border-top: 1px solid var(--accent);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: 20px 0;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.cookie-banner__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-banner__content * {
  color: var(--text);
}

.cookie-banner__title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 260px;
  flex-shrink: 0;
}

.cookie-banner__btn { width: 100%; padding: 12px 24px; }

@media (max-width: 1080px) {
  .cookie-banner__inner { padding: 0 20px; gap: 24px; }
}

@media (max-width: 768px) {
  .cookie-banner { padding: 16px 0; }

  .cookie-banner__inner {
    padding: 0 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner__actions { width: 100%; }
}





.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0px;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s cubic-bezier(.4,0,.2,1),
              color .2s cubic-bezier(.4,0,.2,1),
              border-color .2s cubic-bezier(.4,0,.2,1),
              transform .15s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  background: linear-gradient(180deg, #E32626 0%, #A70F0F 75.61%);
  border: 1px solid #FF6A6A4D;
  box-shadow: inset 0px -2px 4px 0px #FFFFFF33,  0px 6px 16px 0px #00000040;
  color: var(--text);
}
.btn:active { transform: translateY(1px); }

.btn--primary:hover { opacity: 0.8; }

.btn--outline {
  background: transparent;
  border: 1px solid #fff;
  box-shadow: none;
}
.btn--outline:hover { background: var(--accent); }


/* ── Form fields ────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 10px; }

.field__label {
  font-size: 16px;
  font-weight: 400;
  color: var(--background);
  letter-spacing: -.01em;
}

.field__input {
  width: 100%;
  height: 51px;
  padding: 0 10px;
  background: var(--text);
  border: 1px solid #35291E;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
  font-size: 18px;
  color: var(--background);
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field__input:focus {
  box-shadow: 0 0 0 3px rgba(95,124,123,.18);
}



/* ── Checkbox ───────────────────────────────────────────────── */
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  cursor: pointer;
}
.check__input { position: absolute; opacity: 0; pointer-events: none; }
.check__mark {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  position: relative;
  transition: background .2s, opacity .2s;
  border: none;
  background: #fff;
}

.check__mark svg {
  opacity: 1;
}

.check__input:not(:checked) ~ .check__mark {
  background: #fff;
  border: 1px solid var(--border);
}
.check__input:not(:checked) ~ .check__mark svg { opacity: 0; }
.check__label { font-size: 12px; color: var(--background); line-height: 1.4; }
.check__label a { color: var(--background); text-decoration: underline; }


/* ── Breadcrumbs ────────────────────────────────────────────── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-size: 14px;
  opacity: 0.6;
}
.breadcrumbs a:hover { opacity: 1; }
.breadcrumbs span { opacity: 1; }


/* ── Contacts section ───────────────────────────────────────── */
.contacts {
  position: relative;
  padding: 60px 0;
  display: flex;
  justify-content: flex-start;
  margin-top: 60px;
}

.contacts__map {
  position: absolute;
  inset: 0;
}
.contacts__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contacts .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  width: max-content;
  margin-left: var(--margin);
}
.contacts__content {
  background: #EFEEEB;
  padding: 40px 62px;
  width: 100%;
  max-width: 416px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-radius: 12px;
}

.contacts__content > *:not(.btn) {
  color: var(--text-dark);
  text-align: center;
}
.contacts__title {
  font-family: var(--font-heading);
font-weight: 400;
font-size: 26px;
line-height: 100%;
text-align: center;

}
.contacts__text {
font-weight: 400;
font-size: 18px;
line-height: 100%;

}
.contacts__content .btn {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .contacts {
    height: auto;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 0;
  }
  .contacts__map {
    position: static;
    height: 300px;
    width: calc(100% - 20px);
    margin-left: 10px;
  }
  .contacts .container {
    position: static;
    height: auto;
    margin: 0 auto;
  }
  .contacts__content {
    width: 100%;
    padding: 24px 10px;
  }
}

