/* --- Fonts & base variables --- */
@font-face {
    font-family: 'Hauora Sans';
    src: url('/src/fonts/hauora_sans/fonts/web/Hauora-Regular.woff2') format('woff2'),
         url('/src/fonts/hauora_sans/fonts/web/Hauora-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hauora Sans';
    src: url('/src/fonts/hauora_sans/fonts/web/Hauora-ExtraBold.woff2') format('woff2'),
         url('/src/fonts/hauora_sans/fonts/web/Hauora-ExtraBold.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Alias for design specs that reference 'Hauora' */
@font-face {
    font-family: 'Hauora';
    src: url('/src/fonts/hauora_sans/fonts/web/Hauora-Regular.woff2') format('woff2'),
         url('/src/fonts/hauora_sans/fonts/web/Hauora-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Hauora';
    src: url('/src/fonts/hauora_sans/fonts/web/Hauora-ExtraBold.woff2') format('woff2'),
         url('/src/fonts/hauora_sans/fonts/web/Hauora-ExtraBold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent: #d35400;
    --bg: #EEEEEE;
    --text: #222;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Hauora Sans',  sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
}

html,
body {
    overflow-x: hidden;
}

.logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    gap: 0; /* слитно */
    line-height: 1;
    text-decoration: none;
    color: inherit;
    transform: scaleY(0.92);
    transform-origin: center center;
}

/* Logo consists of two vector blocks: ТУ (black) and РУС (orange) */
.logo-black,
.logo-orange {
    display: inline-block;
    font-weight: 900;
    font-size: inherit;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    line-height: 1;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
}

.logo-black {
    color: #000;
}

.logo-orange {
    color: #F96C2C;
}

/* remove default link focus underline/outline that gave a small purple line */
.logo:focus,
.logo:active {
    outline: none;
    text-decoration: none;
}

.logo:focus-visible {
    outline: 2px solid rgba(0,0,0,0.08);
    outline-offset: 2px;
}
.header {
    border-bottom: none;
    padding: 15px 0;
    /* keep header in normal flow so flex layout works */
    position: relative;
 }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Screen-reader only helper */
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phones {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.phones a {
    color: #000;
    text-decoration: none;
    line-height: 1.4;
}

.phones-numbers {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.phones-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phones-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.socials {
    display: flex;
    gap: 10px;
}

.icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: currentColor;
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 0;
}

.icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.telegram {
    background: transparent;
}

.vk {
    background: transparent;
}




.tagline {
    opacity: 0.9;
    margin-top: 8px;
}

h2 {
    color: var(--accent);
    margin-top: 32px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

#about p {
    max-width: 70ch;
}

#gallery .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
    max-height: 260px; /* ������ ������ ���� */
    overflow-y: auto; /* ������������ ������ */
    padding-right: 6px;
}

    #gallery .grid::-webkit-scrollbar {
        width: 6px;
    }

    #gallery .grid::-webkit-scrollbar-thumb {
        background: #d35400;
        border-radius: 4px;
    }

    #gallery .grid::-webkit-scrollbar-track {
        background: #f0f0f0;
    }


.card {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 ����������� */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* �������� / ����� ������ �������� */
    .card img,
    .card video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* ������ ����� cover */
        object-position: center;
        display: block;
    }

        .card img.loaded {
            opacity: 1;
        }

        .card img.failed {
            object-fit: contain;
            background: #f4f4f4;
        }

/* --- ����� --- */
.map-wrapper {
    height: 320px;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 12px;
}

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }

/* --- ������� --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .modal.hidden {
        display: none;
    }

.modal-content {
    max-width: 90%;
    max-height: 90%;
    background: #111;
    padding: 12px;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 18px;
    background: #fff;
    border: 0;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 0;
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 24px;
}

    .modal-nav[aria-label="Previous"] {
        left: 18px;
    }

    .modal-nav[aria-label="Next"] {
        right: 18px;
    }

.modal-toolbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
}

.modal-counter {
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
}

.site-footer {
    position: absolute;
    left: 0;
    top: 3674px;
    width: 1440px;
    height: 133px;
    padding: 0;
    text-align: center;
    color: #666;
    margin-top: 0;
    background: #EEEEEE;
}

.footer-line {
    position: absolute;
    width: 1400px;
    height: 0;
    left: 23px;
    top: 24px;
    border: 1px solid #EEEEEE;
    transform: rotate(180deg);
}

.footer-brand {
    position: absolute;
    left: calc(50% - 194px/2 - 540px);
    top: calc(50% - 51px/2 - 19px);
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-title {
    font-family: 'Druk Text Wide Cyr', 'Hauora', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 35px;
    line-height: 44px;
    color: #7D7D7D;
}

.footer-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.footer-copyright {
    position: absolute;
    width: 902px;
    height: 22px;
    left: calc(50% - 902px/2 - 2px);
    top: 111px;
    font-family: 'Hauora', 'Hauora Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #000000;
}

/* --- ��������� ��������� --- */
@media (max-width: 600px) {
    .site-header h1 {
        font-size: 24px;
    }

    .logo {
        font-size: 28px;
    }

    #gallery .grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        max-height: 180px; /* ���� ������ �� ������ */
    }

    .card {
        padding-top: 75%; /* ��������� ��������� */
    }
}
.toggle-gallery {
    display: block;
    margin: 12px auto 0;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .toggle-gallery:hover {
        background: #e74c3c;
    }

#gallery .grid.collapsed {
    max-height: 260px; /* 1 ��� */
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

#gallery .grid.expanded {
    max-height: 2000px; /* ����� ��� ����������� */
}
/* ���� ������� ����� � ������� */
.modal-content img,
.modal-content video {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/* ========== Hero block styles ========== */
.hero {
  padding: 24px 0 40px;
  background: transparent;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

/* Left column */
.hero-left {
  position: relative;
  background: #fff;
  padding: 20px 24px 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-radius: 4px;
  overflow: hidden;
  clip-path: polygon(0 0, 94% 0, 100% 10%, 100% 100%, 0 100%);
}

.hero-title {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 10px;
  color: #111;
  font-weight: 700;
}

.hero-title--accent {
  display: block;
  color: #f37021; /* оранжевый */
  font-weight: 700;
}

.hero-sub {
  color: #666;
  margin-bottom: 14px;
  max-width: 640px;
  font-size: 14px;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 0;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, border-color 120ms ease, color 120ms ease;
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: transparent;
  border: 0;

  --btn-cut: 22px;
  --btn-border-width: 0px;
  --btn-border-color: transparent;
  --btn-bg: transparent;

  clip-path: polygon(var(--btn-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--btn-cut));
  -webkit-clip-path: polygon(var(--btn-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--btn-cut));
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-border-color);
  clip-path: polygon(var(--btn-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--btn-cut));
  -webkit-clip-path: polygon(var(--btn-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--btn-cut));
}

.btn::after {
  content: "";
  position: absolute;
  inset: var(--btn-border-width);
  z-index: -1;
  background: var(--btn-bg);

  --btn-cut-inner: calc(var(--btn-cut) - var(--btn-border-width));
  clip-path: polygon(var(--btn-cut-inner) 0, 100% 0, 100% 100%, 0 100%, 0 var(--btn-cut-inner));
  -webkit-clip-path: polygon(var(--btn-cut-inner) 0, 100% 0, 100% 100%, 0 100%, 0 var(--btn-cut-inner));
}

.btn:focus {
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.18);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  --btn-bg: #f37021;
  --btn-border-width: 0px;
  --btn-border-color: transparent;
  color: #fff;
  gap: 10px;
}

.btn-arrow {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.btn-outline {
  --btn-bg: #fff;
  --btn-border-width: 1px;
  --btn-border-color: #bfbfbf;
  color: #222;
}

#gallery {
  scroll-margin-top: 24px;
}

/* Visualization image */
.hero-visual {
  margin-top: 12px;
  max-width: 820px;
  max-height: 240px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: auto;
  max-height: 240px;
  display: block;
  object-fit: contain;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.hero-pin + .feature {
  margin-top: 10px;
}

.hero-pin {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #555;
  margin: 0;
}

.hero-pin img { width: 20px; height: 20px; display:block; }

.feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  background: #fff;
  padding: 21px;
  border-radius: 4px;
  align-items: start;
  border: 1px solid #e6e6e6;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  min-height: 100px;
}

.feature-spacer {
  flex: 1;
  min-height: 0;
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
}

.feature-title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.feature-desc {
  margin: 0;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  font-weight: 500;
}

/* images to the right of cards */
.feature-img img {
  width: 110px;
  height: auto;
  display: block;
}

/* body 2 */
.body-2 {
  position: absolute;
  width: 1440px;
  height: 870px;
  left: calc(50% - 1440px/2);
  top: 728px;
  background: #FFFFFF;
  padding: 0;
  box-sizing: border-box;
}

/* фон */
.sta {
  position: absolute;
  width: 1440px;
  height: 480px;
  left: 0px;
  top: 1599px;
  display: block;
}

.sta > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 293px;
  display: block;
}

/* contacts: телефоны, почта, кнопка Telegram */
.contacts-phones {
  position: absolute;
  left: 142px;
  top: 263px;
  display: flex;
  flex-direction: column;
}

.contacts-phones a {
  font-family: 'Hauora', 'Hauora Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 25px;
  line-height: 155%;
  color: #000000;
  text-decoration: none;
}

.contacts-phones a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-mail {
  position: absolute;
  left: 142px;
  top: 345px;

  font-family: 'Hauora', 'Hauora Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 155%;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
}

.contacts-mail:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-tg {
  position: absolute;
  width: 257.5px;
  height: 57.41px;
  left: calc(50% - 257.5px/2 - 449.25px);
  top: 391px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 257.5 57.41' preserveAspectRatio='none'><path d='M14 0 H257.5 V57.41 H0 V14 Z' fill='white' stroke='%23000' stroke-width='2'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  color: #000000;
  border-radius: 0;
  --contacts-cut: 14px;
  clip-path: polygon(var(--contacts-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--contacts-cut));
  -webkit-clip-path: polygon(var(--contacts-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--contacts-cut));
  text-decoration: none;

  font-family: 'Hauora', 'Hauora Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;

  transition: background 0.2s ease, transform 0.15s ease;
  border: 0;
}

.contacts-tg:hover {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 257.5 57.41' preserveAspectRatio='none'><path d='M14 0 H257.5 V57.41 H0 V14 Z' fill='%23f6f6f6' stroke='%23000' stroke-width='2'/></svg>");
  transform: translateY(-1px);
}

.contacts-tg:active {
  transform: translateY(0);
}

/* body-3 */
.body-3 {
  position: absolute;
  width: 100%;
  height: 1082px;
  left: 0;
  top: 2079px;
  background-color: #fff;
  overflow-x: hidden;
}

.body-3-inner {
  position: absolute;
  inset: 0;
  padding: 140px 120px 56px; /* место под заголовок/подзаголовок */
  font-family: "Hauora", "Hauora Sans", "Manrope", "Inter", system-ui, sans-serif;
}

.body-3-title {
  position: absolute;
  width: 657px;
  height: 46px;
  left: calc(50% - 657px / 2 - 2.5px);
  top: 40px;
  margin: 0;

  font-family: 'Hauora', 'Hauora Sans', system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 33px;
  line-height: 140%;
  text-align: center;

  color: #000000;
}

.body-3-subtitle {
  position: absolute;
  width: 902px;
  height: 22px;
  left: calc(50% - 902px / 2 - 2px);
  top: 89px;
  margin: 0;

  font-family: 'Hauora', 'Hauora Sans', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  text-align: center;

  color: #000000;

  overflow-wrap: anywhere;
}

.body-3 .grid {
  margin-top: 12px;
  max-height: 720px;
}

.body-3-galleries {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.body-3-gallery-title {
  margin: 0;
  font-family: 'Hauora', 'Hauora Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #000;
}

/* Body контакты */
.contacts {
  position: absolute;
  width: 100%;
  max-width: 1440px;
  height: 513px;
  left: 50%;
  transform: translateX(-50%);
  top: 3161px;
  background: #EEEEEE;
  overflow: hidden;
}

.contacts-rect {
  position: absolute;
  width: calc(100% - 36px);
  height: 454px;
  left: 18px;
  top: 29px;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
}

.contacts-rect-title {
  position: absolute;
  width: 172px;
  height: 47px;
  left: 144px;
  top: 91px;
  margin: 0;

  font-family: 'Hauora', 'Hauora Sans', system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 130%;
  color: #000000;
}

.contacts-rect-info {
  position: absolute;
  width: 448px;
  height: 107px;
  left: 144px;
  top: 156px;
  margin: 0;

  font-family: 'Hauora', 'Hauora Sans', system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
}

.contacts-map {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 780px;
  height: 360px;
  transform: translateY(-50%);
  border-radius: 20px;
  overflow: hidden;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Левый контент на белом прямоугольнике */
.sta-left {
  position: absolute;
  top: 30px;
  left: 140px;
  width: 675px; /* до начала оранжевого блока (x=815) */
  height: 233px;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 44px 28px 44px 56px;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: #111;
}

.sta-left-title {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.2px;
}

.sta-left-sub {
  margin-top: 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.72);
}

.sta-left-arrow {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #F96A29;
  background: transparent;
}

.sta-left-arrow span {
  font-size: 44px;
  line-height: 1;
  transform: translateY(-1px);
}

.sta-left-arrow:hover,
.sta-left-arrow:focus-visible {
  background: rgba(249, 106, 41, 0.08);
  outline: none;
}

/* Контент на правом (оранжевом) прямоугольнике */
.sta-right {
  position: absolute;
  top: 30px;
  right: 141px;
  width: 484px;
  height: 233px;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;

  padding: 44px 52px 28px;
  color: #fff;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
}

.sta-phone {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.sta-phone:hover,
.sta-phone:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sta-mail {
  margin-top: 10px;
  display: inline-block;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
}

.sta-mail:hover,
.sta-mail:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sta-telegram-row {
  margin-top: 18px;
  position: relative;
  padding-right: 112px;

  font-weight: 500;
  font-size: 18px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
}

.sta-telegram-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.sta-telegram-link:hover,
.sta-telegram-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* пунктир + стрелка убраны */

.body-2-title {
  position: absolute;
  width: 760px;
  height: auto;
  left: calc(50% - 760px/2 - 312.5px);
  top: 32px;
  font-family: 'Hauora Sans', 'Hauora', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(28px, 2.2vw, 33px);
  line-height: 140%;
  color: #000000;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  overflow-wrap: normal;
}

.body-2-advantages {
  display: flex;
  gap: 20px;
  margin-top: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  justify-content: center;
  align-items: flex-start;
  padding-top: 120px;
}

/* advantage-item */
.body-2 .advantage-item {
  position: relative;
  width: 359px;
  height: 201px;
  background: transparent;
}

/* Rectangle 4 - фон фрейма с обрезанным углом */
.body-2 .advantage-frame-bg {
  position: absolute;
  width: 359px;
  height: 201px;
  left: 0;
  top: 0;
  background: #EEEEEE;
  /* SVG path: M0 0H317.732L359.002 31.5V201H0V0Z */
  /* Calculated: 317.732/359 = 88.5%, 31.5/201 = 15.7% */
  clip-path: polygon(0 0, 88.5% 0, 100% 15.7%, 100% 100%, 0 100%);
}

/* Frame - контейнер для текста и иконки */
.body-2 .advantage-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 18px;
  z-index: 1;
}

/* иконка */
.body-2 .advantage-icon {
  width: 33px;
  height: 28px;
  background: transparent;
  flex: none;
  order: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}

.body-2 .advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Frame inside - внутренний Frame для текста */
.body-2 .advantage-text-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 10px;
  width: 264.53px;
  flex: none;
  order: 1;
  flex-grow: 0;
}

/* Заголовок */
.body-2 .advantage-title {
  width: 100%;
  font-family: 'Hauora Sans', 'Hauora', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 27px;
  text-align: center;
  color: #000000;
  flex: none;
  order: 0;
  margin: 0;
}

/* Описание */
.body-2 .advantage-desc {
  width: 100%;
  font-family: 'Hauora Sans', 'Hauora', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: #000000;
  flex: none;
  order: 1;
  margin: 0;
}

/* Второй заголовок в body-2 (Этапы сотрудничества) */
.body-2 .body-2-title:nth-of-type(2) {
  position: static;
  width: auto;
  height: auto;
  left: auto;
  top: auto;
  margin: 60px auto 24px auto;
  padding: 0 20px;
  text-align: center;
  max-width: 1440px;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* body-2-stages container */
.body-2-stages {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 40px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* stages-container - общий контейнер для списка и изображения */
.stages-container {
  display: flex;
  gap: 20px;
  position: relative;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

/* stages-list - контейнер с обрезанным углом */
.stages-list {
  position: relative;
  width: 400px;
  height: auto;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
  z-index: 1;
  overflow: visible;
}



/* stage-item - элемент списка этапов */
.stage-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 8px 20px;
  box-sizing: border-box;
  width: 100%;
  flex: none;
  z-index: 1;
}

/* stage-number */
.stage-number {
  font-family: 'Hauora Sans', 'Hauora', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 44px;
  color: #F96C2C;
  flex: none;
  min-width: 80px;
}

/* stage-desc */
.stage-desc {
  font-family: 'Hauora Sans', 'Hauora', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #000000;
  margin: 0;
  flex: 1;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* stages-image */
.stages-image {
  width: 380px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: auto;
}

.stages-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1480px) {
  .body-2 {
    width: 100%;
    max-width: 1440px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .body-2-title {
    left: 20px;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-left { clip-path: none; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  
  .body-2 {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    transform: none;
    padding: 40px 20px;
  }
  
  .body-2-title {
    position: static;
    width: auto;
    height: auto;
    left: auto;
    top: auto;
    margin: 0 0 24px 0;
    padding: 0;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .body-2 .body-2-title:nth-of-type(2) {
    text-align: center;
  }
  
  .body-2-advantages {
    flex-direction: column;
    align-items: center;
    padding-top: 0;
  }
  
  .body-2 .advantage-item {
    width: 100%;
    max-width: 359px;
  }
  
  .body-2-stages {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .stages-list {
    width: 100%;
    max-width: 359px;
    height: auto;
    min-height: 201px;
  }
  
  .stages-image {
    width: 100%;
    max-width: 359px;
    min-height: 201px;
    flex: none;
  }
  
  .stages-image img {
    max-height: none;
  }
}

/* ====== Responsive layout (tablets/phones) ====== */
@media (max-width: 1100px) {
  .body-3,
  .contacts,
  .site-footer,
  .sta {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    transform: none;
  }

  .body-3-inner {
    position: static;
    padding: 40px 20px 32px;
  }

  .body-3-title,
  .body-3-subtitle {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 12px;
    left: auto;
    top: auto;
  }

  .body-3-title { text-align: left; }
  .body-3-subtitle { text-align: left; }

  .sta {
    padding: 20px;
  }

  .sta img {
    display: none;
  }

  .sta-left,
  .sta-right {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 12px;
  }

  .sta-left {
    background: #fff;
    margin-bottom: 12px;
  }

  .sta-right {
    background: #F96A29;
  }

  .sta-left {
  }

  .sta-right a,
  .sta-right .sta-telegram-text { color: #fff; }

  .sta-left-arrow {
    margin-left: auto;
  }

  .contacts {
    padding: 20px;
  }

  .contacts-rect {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 20px;
  }

  .contacts-rect-title,
  .contacts-rect-info,
  .contacts-phones,
  .contacts-mail,
  .contacts-tg {
    position: static;
    width: auto;
    height: auto;
    left: auto;
    top: auto;
    margin: 0 0 12px;
  }

  .contacts-tg {
    margin-top: 6px;
  }

  .contacts-map {
    position: static;
    width: 100%;
    height: 240px;
    margin-top: 16px;
  }

  .site-footer {
    padding: 16px 20px 20px;
    height: auto;
  }

  .footer-line {
    position: static;
    width: 100%;
    margin: 0 0 12px;
  }

  .footer-brand {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }

  .footer-title {
    position: static;
    width: auto;
    height: auto;
  }

  .footer-icons {
    position: static;
  }

  .footer-copyright {
    position: static;
    width: auto;
    height: auto;
    left: auto;
    top: auto;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .sta {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
  }

  .sta-left,
  .sta-right {
    padding: 16px 18px;
    border-radius: 16px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .sta-left {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    position: relative;
    align-self: stretch;
    padding-bottom: 36px;
    margin-bottom: 12px;
    left: auto;
    right: auto;
  }

  .sta-left-title {
    font-size: 18px;
    line-height: 1.25;
  }

  .sta-left-sub {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .sta-left-arrow {
    margin-left: 0;
    width: 44px;
    height: 44px;
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    z-index: 3;
  }

  .sta-left-arrow span {
    font-size: 34px;
    display: inline-block;
    transform: rotate(90deg);
  }

  .sta-left::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -24px;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 50%;
    z-index: 1;
  }

  .sta-right {
    margin-top: 0;
    position: relative;
    z-index: 1;
    align-self: stretch;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .sta-right {
    align-items: center;
    text-align: center;
    padding-bottom: 18px;
  }

  .sta-phone {
    font-size: 20px;
    line-height: 1.2;
  }

  .sta-mail {
    margin-top: 6px;
    font-size: 14px;
  }

  .sta-telegram-row {
    margin-top: 12px;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    line-height: 1.35;
  }
}

/* ====== Body-2 mobile cleanup ====== */
@media (max-width: 1100px) {
  .body-2 {
    position: static;
    width: 100%;
    height: auto;
    left: auto;
    top: auto;
    padding: 28px 20px 36px;
    background: #FFFFFF;
  }

  .body-2-title {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 16px;
    padding: 0;
    text-align: left;
  }

  .body-2-advantages {
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    gap: 16px;
    margin-bottom: 28px;
  }

  .body-2 .advantage-item {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  .body-2 .advantage-frame-bg,
  .body-2 .advantage-frame {
    height: 200px;
  }

  .body-2-stages {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .stages-container {
    flex-direction: column;
    gap: 16px;
  }

  .stages-image {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    order: 0;
  }

  .stages-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }

  .stages-list {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
  }

  .stage-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(249, 108, 44, 0.2);
    gap: 12px;
  }

  .stage-item:last-child {
    border-bottom: none;
  }

  .stage-number {
    min-width: 56px;
    font-size: 22px;
    line-height: 28px;
  }

  .stage-desc {
    font-size: 13px;
    line-height: 1.35;
  }
}
