@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* Mobile overrides: hide header nav and show topnav inside fullscreen menu */
.fullscreen-menu__topnav {
  display: none;
}

@media only screen and (max-width: 768px) {
  header .header .header_center {
    display: none !important;
  }
  .block-3-other {
    display: block; /* убираем flex, колонки больше не стоят рядом */
  }
  .block-3-col {
    display: block; /* каждая колонка становится блочной, её содержимое (абзацы) идёт вертикально */
  }
  .block-4 {
    margin-top: 60px;
  }
  .block-5 {
    margin-top: 60px;
  }
  /* Add small side padding so content doesn't touch screen edges */
  .container {
    width: auto !important;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .page-title {
    font-size: 55px;
    font-weight: 700;
  }
  header {
    left: 0;
    right: 0;
    width: 100%;
  }
  header .header {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .fullscreen-menu {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  /* Ensure the fullscreen menu lays out as a column on mobile so
     the top navigation is a full-width block above the sections */
  .fullscreen-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  /* Show a compact top navigation inside the fullscreen menu above sections */
  .fullscreen-menu__topnav {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
    padding: 12px 0 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    box-sizing: border-box;
    order: 0;
    flex: 0 0 auto;
  }
  .fullscreen-menu__topnav a {
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 18px;
    text-decoration: underline;
    display: block;
    padding: 10px 12px 10px 22px;
    border-radius: 4px;
  }
  /* Make each section take full width and flow below the topnav */
  .fullscreen-menu__section {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    order: 1;
  }
  /* Prevent horizontal overflow site-wide on small screens */
  body, html, .fullscreen-menu, .fullscreen-menu__nav {
    max-width: 100vw;
    overflow-x: hidden;
  }
  /* Let the fullscreen container scroll vertically and remove nav height cap */
  .fullscreen-menu {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fullscreen-menu__nav {
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 36px;
  }
  /* Make images responsive inside blocks */
  .container img, .block-3-card img, .block-5-up div img, .block-6-left img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* Ensure link text wraps instead of enlarging width */
  .fullscreen-menu__section a, .header_center a, .block-3-card h2, .block-3-col p {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  /* Stack cards and columns vertically on mobile to avoid overflow */
  .block-3-cards, .block-4-cards, .block-5-up, .block-5-down {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .block-3-cards .block-3-card,
  .block-4-cards .block-4-card,
  .block-5-up > div,
  .block-5-down > div {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .block-3-cards .block-3-card {
    padding: 18px 16px;
    align-items: center;
    text-align: center;
  }
  .block-3-cards .block-3-card img {
    max-height: 130px;
    margin: 0 auto;
  }
  .block-3-cards .block-3-card h2 {
    font-size: 22px;
    margin-top: 18px;
    line-height: 1.25;
  }
  .block-3 {
    margin-top: 60px;
  }
  /* Mobile block-2 header: smaller title + second line */
  .block-2-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .block-2-header h2.page-title {
    font-size: 58px;
    font-weight: 700;
    margin: 0;
  }
  .block-2-header h1 {
    font-size: 20px;
    font-weight: 400;
    margin: 0;
  }
  /* Block-2 metrics stack and scale on mobile */
  .block-2-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  /* Center CTA button in block-2 */
  .block-2 .btn {
    display: block;
    margin: 24px auto 0;
  }
  .block-2-info h2 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
  }
  .block-2-info h2 span {
    display: block;
    font-size: 40px;
    font-weight: 700;
  }
  /* Responsive block-1 title and decorative line height */
  .block-1 .main_text_wrap {
    height: auto;
    max-width: 100%;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
  .block-1 .main_text_wrap H1 {
    font-size: clamp(32px, 8vw, 88px);
    line-height: 1.05;
    word-break: break-word;
    margin: 0;
  }
  .main_down {
    height: 100px;
    background-size: 100% 200px;
  }
  /* Stack left/right columns */
  .block-6-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .deco {
    height: 100px;
    background-size: 100% 100px;
  }
  .deco .page-title {
    font-size: clamp(24px, 7.5vw, 38px);
    text-align: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .block-3-cards, .block-4-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .block-3-cards .block-3-card,
  .block-4-cards .block-4-card {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
  }
  /* Настройки слайдера для мобильной версии */
  .block-5-gallery {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    gap: 16px;
    padding-bottom: 15px;
  }
  .block-5-gallery::-webkit-scrollbar {
    display: none;
  }
  .block-5-gallery {
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
  }
  .block-5-gallery #ph1, .block-5-gallery #ph2, .block-5-gallery #ph3, .block-5-gallery #ph4, .block-5-gallery #ph5 {
    flex: 0 0 85%;
    height: 350px !important;
    scroll-snap-align: center;
    border-radius: 15px;
  }
  .block-5 a {
    margin-top: 30px;
  }
  .block-6-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .block-6-left, .block-6-right {
    width: 100%;
  }
  .block-6 .map-container {
    width: 100%;
    height: 280px;
  }
  .block-6-right .contacts-info {
    height: auto;
    gap: 24px;
  }
  .footer {
    margin-top: 80px;
    padding: 40px 0;
  }
  .footer-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }
  .footer img {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    margin-right: 10px;
    margin-left: 10px;
    display: inline-block;
  }
  .footer p {
    font-size: 14px;
  }
  .footer h1 {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .footer h3, .footer a {
    font-size: 16px;
    margin-bottom: 8px;
  }
}/*# sourceMappingURL=style_mobile.css.map */