:root {
  --e-global-color-primary: #7a1f2b;
  --e-global-color-secondary: #c45c26;
  --e-global-color-accent: #ffc009;
  --ink: #2b140f;
  --paper: #fffaf4;
  --line: #eadfce;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Ubuntu, Quicksand, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--e-global-color-primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: Quicksand, Ubuntu, sans-serif;
  line-height: 1.2;
  margin: 0 0 0.4em;
}

p { margin: 0 0 0.8em; }

.aux-wrapper,
.elementor-section-boxed > .elementor-container {
  width: min(1140px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.elementor-container { width: 100%; }

.elementor-row,
.elementor-widget-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.elementor-column { padding: 12px; }

.elementor-col-100 { width: 100%; }
.elementor-col-50 { width: 50%; }
.elementor-col-33 { width: 33.333%; }
.elementor-col-25 { width: 25%; }

.elementor-section { padding: 36px 0; }

.elementor-widget-wrap { gap: 12px 20px; width: 100%; }
.elementor-widget-image img { margin-inline: auto; }

header.aux-elementor-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

header .elementor-image img,
header .aux-wrapper > .elementor-row img {
  width: 220px;
  height: auto;
}

.aux-master-menu {
  display: flex;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.aux-master-menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.aux-master-menu .current-menu-item a { color: var(--e-global-color-primary); }

.aux-burger-box { display: none; cursor: pointer; }

.aux-burger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aux-burger .mid-line,
.aux-burger::before,
.aux-burger::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--ink);
}

.elementor-button,
.aux-button,
.elementor-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--e-global-color-accent);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 14px 26px;
}

.aux-button .aux-text { color: inherit; }

.elementor-element-5c873fcf {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(43, 20, 15, 0.55), rgba(43, 20, 15, 0.72)),
    url("../wp-content/uploads/2022/12/Дизайн-без-назви-9-1.png") center/cover no-repeat;
}

.elementor-element-5c873fcf h1 {
  font-size: clamp(32px, 5vw, 58px);
  max-width: 16ch;
  margin-inline: auto;
}

.elementor-element-5c873fcf .elementor-widget-wrap {
  justify-content: center;
  text-align: center;
}

.elementor-heading-title { width: 100%; }

.elementor-element-781be6ac,
.elementor-element-27537ef2,
.elementor-element-2cf6a9d1 { text-align: center; }

.elementor-element-781be6ac .elementor-widget-wrap,
.elementor-element-27537ef2 .elementor-widget-wrap,
.elementor-element-2cf6a9d1 .elementor-widget-wrap { justify-content: center; }

.elementor-cta {
  position: relative;
  display: flex;
  min-height: 280px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  align-items: flex-end;
}

.elementor-cta__bg-wrapper,
.elementor-cta__bg,
.elementor-cta__bg-overlay {
  position: absolute;
  inset: 0;
}

.elementor-cta__bg {
  background-size: cover;
  background-position: center;
}

.elementor-cta__bg-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
}

.elementor-cta__content {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.elementor-cta__title { color: #fff; font-size: 28px; }

.elementor-cta__description { color: #fff8e8; margin-bottom: 12px; }

footer {
  background: #241510;
  color: #f6efe6;
  padding-top: 28px;
}

footer a { color: #ffc009; }

footer .elementor-heading-title,
footer p,
footer li { color: #f6efe6; }

.aux-icon-list-items {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.elementor-element-92d8479 {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

iframe { max-width: 100%; }

.aux-goto-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--e-global-color-accent);
  cursor: pointer;
  z-index: 30;
}

.aux-hidden-blocks,
.aux-fs-popup,
iframe[height="0"] { display: none !important; }

@media (max-width: 900px) {
  .elementor-col-33,
  .elementor-col-25 { width: 50%; }
}

.page-sheet {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.page-sheet h1 { font-size: clamp(36px, 5vw, 52px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-top: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.contact-card iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 8px;
}

.policy-copy {
  max-width: 720px;
}

.policy-copy p { margin-bottom: 1em; }

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .aux-burger-box { display: block; }

  .aux-master-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding: 8px 0 12px;
  }

  .aux-master-menu.is-open { display: flex; }

  .elementor-col-50,
  .elementor-col-33,
  .elementor-col-25 { width: 100%; }

  header .elementor-widget-wrap { justify-content: space-between; }
}
