/* 300 - Light */
@font-face {
    font-family: 'Helvetica Neue Light';
    src: url('../fonts/HelveticaNeue-Light.otf');
    font-weight: 300;
    font-style: normal;
}

/* 400 - Regular */
@font-face {
    font-family: 'Helvetica Neue Regular';
    src: url('../fonts/HelveticaNeue-Roman.otf');
    font-weight: 300;
    font-style: normal;
}

/* 500 - Medium */
@font-face {
    font-family: 'Helvetica Neue Medium';
    src: url('../fonts/HelveticaNeue-Medium.otf');
    font-weight: 500;
    font-style: normal;
}

/* 700 - Bold */
@font-face {
    font-family: 'Helvetica Neue Bold';
    src: url('../fonts/HelveticaNeue-Bold.otf');
    font-weight: 700;
    font-style: normal;
}

/* Condensed Bold */

@font-face {
    font-family: 'Helvetica Neue Condensed Bold';
    src: url('../fonts/HelveticaNeue-Condensed-Bold.ttf');
    font-weight: 700;
    font-style: normal;
}

html {
    box-sizing: border-box;
    overflow-x: hidden;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 1. Убираем системный тап‑хайлайт */
* {
  -webkit-tap-highlight-color: transparent;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--white-80);
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

svg {
    vertical-align: middle;
}

body {
    font-family: 'Helvetica Neue Medium', sans-serif;
    font-size: 20px;
    color: #fff;
    background-color: #fff;
    min-width: 320px;
}

html.no-scroll,
body.no-scroll {
  overflow: hidden;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Для Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

:root {
  --dark-blue: #15284E;
  --blue: #2F5CB7;
  --gray-bg: #F8F8F8;
  --light-blue: #DAE7FC;
  --light-blue-dark: #B8CCE8;
  --white-80: rgba(255, 255, 255, 0.8);
  --border-button: #CDD4DD;
  --gray: #EEEEEE;
  --gray-text: #8A93A6;
  --error-text: #FE3B3B;
}


/* Кастомный скролл на странице */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--light-blue);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--blue);
}

/* Кастомный скролл для Firefox */

@-moz-document url-prefix() {
  * {
    scrollbar-color: var(--blue) var(--light-blue); 
    scrollbar-width: thin; 
  }
}

.container {
    padding: 0px 80px 0px 80px;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    min-width: 320px;
    background: rgba(0, 0, 0, 0);
    z-index: 900;
    display: none;
}

.overlay.active {
    display: block;
}

/* Оверлей для модалки */
.overlay.dim {
    background: rgba(0, 0, 0, 0.5); 
}

.overlay.dim.active {
    transition: background 0.3s ease;
}


/* Адаптив контейнера */

@media (max-width: 1600px) {
    .container {
        padding: 0px 40px 0px 40px;
    }
}

@media (max-width: 1000px) {
    .container {
        padding: 0px 16px 0px 16px;
    }
}

/* Страница "main.html" */

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 20px 0px;
    background-color: transparent;
    transition: transform 0.5s ease;
    transform: translateY(0);
    will-change: transform;
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
}

.header-hidden {
  transform: translateY(-100%);
}

.header-container {
    display: grid;
    grid-template-columns: 0.7fr 1fr auto;
    align-items: center;
    justify-content: space-between; 
    transition: all 0.3s ease;
}

.header-container.scroll-up {
    grid-template-columns: 0.4fr 1fr auto;
    height: 58px;
}

.header-logo {
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.04em;
    font-size: 40px;
    line-height: 110%;
    padding: 4px 40px;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-logo-scroll-up {
    border: 1px solid var(--border-button);
    background-color: #fff;
    color: var(--blue);
}

.header-logo-scroll-up:hover {
    background-color: var(--light-blue);
    color: var(--blue);
}

.header-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0px 20px;
}

.header-nav ul.scroll-up-gap {
  gap: 12px;
}

.header-nav ul li a {
    font-size: 18px;
    border-radius: 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header-nav-scroll-up {
    border: 1px solid var(--border-button);
    background-color: #fff;
    color: var(--blue);
    padding: 16px 32px;
}

.header-nav-scroll-up:hover {
    background-color: var(--light-blue);
    color: var(--blue);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.get-request-btn {
    width: 56px;
    height: 56px;
    background-color: #fff;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    line-height: 0;
    margin: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.get-request-btn:hover {
    background-color: var(--light-blue);
}

.get-request-btn svg rect {
  transition: fill 0.3s ease;
}

.get-request-btn:hover svg rect {
  fill: var(--light-blue);
}

.get-request-icon {
    width: 24px;
    height: 24px;
}

.header-phone {
    white-space: nowrap;
    color: var(--blue);
    font-size: 18px;
    line-height: 110%;
    font-family: 'Helvetica Neue Bold', sans-serif;
    background-color: #fff;
    padding: 18px 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.header-phone:hover {
    color: var(--blue);   
    background-color: var(--light-blue);
}

.add-border-scoll-up {
    border: 1px solid var(--border-button);
}

.header-phone-mobile {
    display: none;
    background-color: #fff;
    border-radius: 16px;
    cursor: pointer;
    line-height: 0;
    padding: 14px;
    margin: 0;
    transition: all 0.3s ease;
}

/* Открытие/закрытие бургер меню */
.burger-menu-btn {
  position: relative;
  z-index: 1002;
  min-width: 20px;
  background: none;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  overflow: visible;
  background-color: #fff;
}

.burger-menu-btn span {
  display: block;
  width: 20px;      
  height: 2px;
  background-color: var(--blue);
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.2s ease;
  transform-origin: center center;
}

.burger-menu-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(-45deg);
}

.burger-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(45deg);
}

/* Боковое бургер меню */

.side-menu {
  position: fixed;
  top: 0;
  right: 0; 
  bottom: 0;      
  width: 94vw;            
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%); 
  transition: transform 0.5s ease;
  padding-top: 140px;
  text-align: center;
  overflow-y: auto;
}

.side-menu::-webkit-scrollbar {
  width: 4px;
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0px 20px;
}

.side-menu-navigation ul li a {
  font-size: 20px;
  color: var(--blue);
  text-decoration: none;
}

.side-menu__logo a {
    position: absolute;
    top: 12px;
    left: 16px;
    padding: 7px 16px;
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.04em;
    font-size: 26px;                  
    color: var(--blue);
    text-decoration: none;
    display: inline-block;
    border: 1px solid var(--border-button);
    border-radius: 16px;
}

.side-menu__logo a:hover {
  color: var(--dark-blue);
}

.side-menu-contact {
    margin-top: 80px;
    color: var(--blue);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-menu-contact a {
    transition: all 0.3s ease;
}

.side-menu-contact a:hover {
    color: var(--blue);
}

.side-menu-socials {
    margin-top: 16px;
    padding-bottom: 40px;
}

/* Адаптив HEADER */

@media (max-width: 1480px) {
    .header-nav-scroll-up {
        padding: 16px 16px;
    }
}

@media (max-width: 1320px) {
    .header-nav ul li a {
        font-size: 16px;
    }

    .header-logo {
        padding: 4px 20px;
    }

    .header-phone {
        padding: 16px 16px;
    }

    .get-request-btn {
        height: 52px;
        width: 52px;
    }
}

@media (max-width: 1200px) {
    .header-nav ul li a,
    .header-phone {
        font-size: 14px;
    }

    .header-nav-scroll-up,
    .header-phone {
        padding: 16px 10px;
    }

    .header-nav {
        margin-bottom: 5px;
    }

    .header-logo {
        font-size: 35px;
    }

    .get-request-btn {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 970px) {
    .header {
        padding: 0;
        padding-top: 12px;
    }

    .header-container,
    .header-container.scroll-up {
        grid-template-columns: auto auto;
    }

    .header-container {
        display: flex;
    }

    .header-nav,
    .header-phone {
        display: none;
    }

    .header-phone-mobile {
        display: flex;
        width: 48px;
        height: 48px;
    }

    .burger-menu-btn {
        display: flex;
        position: relative;
        z-index: 1002;
    }

    .header-logo {
        font-size: 26px;
        padding: 7px 16px;
    }

    .header-logo-container {
        padding-right: 10px;
    }

    .header-logo {
        padding: 0;
    }

    .header-logo-scroll-up {
        padding: 7px 16px;
    }

    .get-request-btn {
        width: 48px;
        height: 48px;
    }

    .get-request-icon {
        width: 20px;
        height: 20px;
    }

    .header-contact {
        gap: 8px;
    }
}

@media (max-width: 320px) {
    .side-menu {
        width: 300px;
    }
}


/* Главный баннер */

.welcome-banner {
    width: 100%;
    max-width: 1920px;
    /* aspect-ratio: 16 / 9; */
    height: 1080px;
    margin: 0 auto;    
    
    background-image: url('../img/main/background.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;
    text-align: center;
    padding: 0px 16px;
}

.welcome-banner-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    max-width: 1000px;
    width: 100%;
    font-size: 90px;
    line-height: 100%;
}

.welcome-text {
    margin-top: 24px;
    margin-bottom: 32px;
    max-width: 631px;
    width: 100%;
    font-size: 24px;
    font-weight: 500;
    line-height: 110%;
}

.sign-up-button {
    font-family: 'Helvetica Neue Medium', sans-serif;
    font-weight: 500;
    border: none;
    background-color: #fff;
    font-size: 18px;
    color: var(--blue);
    text-transform: uppercase;
    padding: 19px 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sign-up-button:hover {
    background-color: var(--light-blue);
}

.sign-up-button-blue {
    background-color: var(--blue);
    color: #fff;
}

.sign-up-button-blue:hover {
    background-color: #3369D7;
    color: #fff;
}

/* Адаптив главного экрана */

@media (max-width: 1150px) {
    .welcome-banner-title {
        font-size: 80px;
        max-width: 955px;
    }

    .welcome-text {
        font-size: 20px;
    }

    .welcome-banner {
        height: 700px;
    }
}

@media (max-width: 960px) {
    .welcome-banner-title {
        font-size: 70px;
        max-width: 830px;
    }
}

@media (max-width: 800px) {
    .welcome-banner-title {
        font-size: 50px;
        max-width: 600px;
    }
    
    .welcome-text {
        max-width: 343px;
        width: 100%;
    }
}

@media (max-width: 700px) {
    .sign-up-button {
        width: 100%;
        padding: 16px 0px;
    }
}

@media (max-width: 600px) {
    .welcome-banner-title {
        font-size: 40px;
        max-width: 470px;
    }

    .sign-up-button {
        font-size: 14px;
        padding: 16px 0px;
    }

    .sign-up-button span {
        display: none;
    };
}

/* Секция "Услуги" */

.services {
    color: var(--dark-blue);
    margin-top: 120px;
    margin-bottom: 120px;
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-cards {
    display: grid;
    gap: 20px;
}

.service-cards a {
    color: var(--dark-blue);
}

.service-cards a:hover {
    color: var(--dark-blue);
}

.service-row-1 {
    grid-template-columns: minmax(0px, 720px) minmax(0px, 600px) minmax(0px, 400px);
}

.service-row-2 {
    grid-template-columns: minmax(0px, 720px) minmax(0px, 400px) minmax(0px, 600px);
}

.service-card {
    position: relative;
    background-color: var(--gray-bg);
    border-radius: 20px;
    padding-top: 24px;
    padding-left: 40px;
    padding-right: 32px;
    transition: all 0.3s ease;
    position: relative;
    height: 340px;
}

.service-card:hover {
    background-color: var(--light-blue);
    cursor: pointer;
}

.service-card:hover .service-open-button {
    background-color: #ffffff;
}

.plus-icon {
    width: 32px;
    height: 32px;
}

.service-top {
    display: flex;
    justify-content: space-between;
}

.service-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 32px;
    font-family: 'Helvetica Neue Bold', sans-serif;
    max-width: 500px;
    width: 100%;
    margin-right: 16px;
    display: -webkit-box;            
    -webkit-box-orient: vertical;     
    -webkit-line-clamp: 2;            
    overflow: hidden;                 
    text-overflow: ellipsis;
}

.service-open-button {
    width: 60px;
    height: 60px;
    border: none;
    background-color: #EEEEEE;
    padding: 14px;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.service-img {
    position: absolute;
    bottom: 0;
    right: 0;
    overflow: hidden;

}

.service-img img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom-right-radius: 20px;
  max-width: 550px;
}

/* Адаптив "Услуги" */

@media (max-width: 1500px) {
    /* .service-card {
        padding: 12px 16px;
    }

    .service-title {
        font-size: 22px;
    } */

    .services-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .service-cards {
        display: contents;
    }

    .service-row-1,
    .service-row-2 {
        grid-template-columns: none;
        display: contents;
    }
}

@media (max-width: 1300px) {
    .service-card {
        padding: 24px;
    }

    .service-title {
        font-size: 28px;
    }
}

@media (max-width: 1140px) {
    .service-card {
        padding: 12px 16px;
        height: 320px;
    }

    .service-title {
        font-size: 24px;
    }


    .service-open-button {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
}

@media (max-width: 950px) {
    .service-card {
        height: 300px;
    }

    .service-title {
        font-size: 22px;
    }
}

@media (max-width: 850px) {
    .services-content {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 12px;
    }

    .service-card {
        height: 180px;
    }

    .service-img img {
        max-width: 200px;
        max-height: 200px;
    }
}

/* Секция "Записаться на бесплтаный замер" */

.sign-up-free-measurement {
    padding: 20px 0px;
    margin-bottom: 100px;
}

.free-measurement-banner-1 {
    color: var(--dark-blue);
    border: 1px solid var(--border-button);
}

.free-measurement-banners {
    display: grid;
    grid-template-columns: minmax(0px, 870px) minmax(0px, 870px);
    gap: 20px;
}

.free-measurement-banner {
    min-height: 562px;
    height: 100%;
    background-color: var(--gray-bg);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.free-measurement-banner-2 {
    background-image: url('../img/main/tent.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.free-measurent-banner-info-title {
    padding-bottom: 16px;
    font-size: 70px;
    font-family: 'Helvetica Neue Bold', sans-serif;
    line-height: 90%;  
}

.free-measurent-banner-info-text {
    padding-bottom: 24px;
    font-family: 'Helvetica Neue Regular', sans-serif;
}

.free-measurent-banner-icon {
    padding-bottom: 5px;
}


/* Секция "Статистика" */

.statistics {
    color: var(--dark-blue);
    margin-bottom: 120px;
}

.statistic-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0px;
}

.statistic-card {
    border: 2px dashed #CDD4DD;
    padding: 32px 40px;
    white-space: normal;         
    word-break: break-word; 
}

.statistic-card + .statistic-card {
  border-left: none;
}

.statistic-up-title {
    color: var(--blue);
    font-size: 24px;
    line-height: 110%;
    padding-bottom: 12px;
}

.statistic-number {
    font-size: 120px;
    line-height: 100%;
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.04em;
}

.statistic-number span {
    font-size: 70px;
}

.statistic-text {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    padding-top: 8px;
}

.ruler-icon,
.calculator-icon {
    width: 120px;
    height: 120px;
}

/* Адаптив секции "Записаться на бесплтаный замер" и "Статистика" */

@media (max-width: 1350px) {
    .free-measurement-banners {
        grid-template-columns: minmax(0px, 1fr);
        gap: 12px;
    }

    .free-measurement-banner {
        min-height: 485px;
    }

    .statistic-cards {
        grid-template-columns: 1fr;
    }

    .statistic-card {
        border: none;
        border-bottom: 2px dashed #CDD4DD;
        border-left: 2px dashed #CDD4DD;
        border-right: 2px dashed #CDD4DD;
    }

    .statistic-card + .statistic-card {
        border-left: 2px dashed #CDD4DD;
    }

    .statistic-card:first-child {
        border-top: 2px dashed #CDD4DD;
    }

    .sign-up-free-measurement {
        padding: 0;
        margin-bottom: 80px;
    }

    .services {
        margin-top: 60px;
        margin-bottom: 80px;
    }

    .statistics {
        margin-bottom: 80px;
    }
}

@media (max-width: 850px) {
    .free-measurement-banner {
        padding: 16px;
        min-height: 303px;
        max-height: 303px;
    }

    .ruler-icon,
    .calculator-icon {
        width: 80px;
        height: 80px;
    }

    .free-measurent-banner-info-title {
        font-size: 32px;
    }

    .free-measurent-banner-info-text {
        font-size: 14px;
    }

    .sign-up-button {
        font-size: 14px;
    }

    .statistic-up-title {
        font-size: 20px;
    }

    .statistic-number {
        font-size: 80px;
    }

    .statistic-text {
        font-size: 16px;
    }

    .statistic-card {
        padding: 16px;
        min-height: 174px;
    }

    .statistic-card:nth-child(2) {
        min-height: 190px;
    }
}

/* Секция "ТентБери в деле" */

.tentberi-cases-section {
    color: var(--dark-blue);
    padding: 70px 0px;
}

.tentberi-cases-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    margin-bottom: 40px;
}

.tentberi-cases-title {
    font-size: 70px;
    line-height: 100%;
    padding-right: 0px;
    padding-left: 40px;
}

.tentberi-cases-subtitle {
    max-width: 560px;
    width: 100%;
    font-size: 24px;
    line-height: 110%;
}

/* Кейсы */

.tentberi-cases {
    display: grid;
    grid-template-columns: minmax(0px, 425px) minmax(0px, 425px) minmax(0px, 425px) minmax(0px, 425px);
    gap: 20px;
    row-gap: 40px;
}

.tentberi-case {
    white-space: normal;         
    word-break: break-word; 
}

.tenberi-case-image {
  position: relative;        
  width: 100%;               
  aspect-ratio: 425 / 300;   
  overflow: hidden;
  border-radius: 20px;      
  background-color: var(--gray-bg);
  cursor: pointer;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background-color: var(--light-blue);
  border-radius: 20px;
  aspect-ratio: 425 / 300;
}

.skeleton img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Скелетон-эффект */
.skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--light-blue)      0%,
    var(--light-blue-dark) 50%,
    var(--light-blue)      100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  z-index: 1;
}

.tenberi-case-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;   
}



@keyframes shimmer {
  0%   { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

/* Скрываем саму картинку до загрузки */

.skeleton img {
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tentberi-case-name {
    min-height: 68px;
    padding-top: 16px;
}

.tentberi-case-name {
    font-size: 28px;
    font-family: 'Helvetica Neue Bold', sans-serif;
    line-height: 100%;
    display: -webkit-box;          
    -webkit-box-orient: vertical;  
    -webkit-line-clamp: 2;        
    overflow: hidden;              
    text-overflow: ellipsis;
}

.tentberi-case-data {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    color: var(--gray-text);
    padding-top: 12px;
}

/* Пагинация */

.tentberi-pagination {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.pagination-arrow-btn {
    width: 60px;
    height: 60px;
    border: none;
    background-color: var(--gray);
    border-radius: 100px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-blue);
}

.pagination-arrow-btn.disabled-arrow-btn {
    background-color: var(--gray);
    color: rgba(21, 40, 78, 0.5);
}

.pagination-arrow-btn:hover {
    background-color: var(--blue);
    color: white;
}

.pagination-arrow-icon {
    width: 32px;
    height: 32px;
}

.pagination-pages {
    display: flex;
    gap: 8px;
}

.pagination-pages button {
    width: 60px;
    height: 60px;
    border: none;
    background-color: var(--light-blue);
    font-size: 20px;
    line-height: 110%;
    font-family: 'Helvetica Neue Regular', sans-serif;
    color: var(--dark-blue);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-pages button.active-page {
    background-color: var(--blue);
    color: #fff;
}

.pagination-pages button:hover {
    background-color: var(--blue);
    color: #fff;
}

.pagination-pages button.more-pages {
  padding: 19px 21px;
}

.tentberi-pagination .pagination-pages button,
.tentberi-pagination .pagination-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  
}

/* Адаптив "ТентБери в деле" */

@media (Max-width: 1600px) {
    .tentberi-cases-title {
        padding-left: 20px;
    }
}

@media (max-width: 1500px) {
    .tentberi-case-name {
        font-size: 20px;
    }
    
    .tentberi-case-data {
        font-size: 16px;
    }

    .tentberi-case-name {
        min-height: 55px;
    }

    .tentberi-case-name {
        padding-top: 12px;
    }

    .tentberi-cases-title {
        font-size: 60px;
    }

    .tentberi-cases-subtitle {
        max-width: 455px;
        font-size: 20px;
    }
}

@media (max-width: 1350px) {
    .tentberi-cases-section {
        padding: 0;
        padding-bottom: 60px;
    }
}

@media (max-width: 1300px) {
    .tentberi-cases {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px;
    }

    .tenberi-case-image img {
        max-width: 100%;
    } 

    .tentberi-cases-title {
        font-size: 50px;
    }
}

@media (max-width: 1000px) {
    .tentberi-cases-title {
        font-size: 40px;
    }   
}

@media (max-width: 970px) {
    .tentberi-cases-title {
        padding-left: 0px;
    }
}

@media (max-width: 900px) {
    .tentberi-cases-title {
        font-size: 32px;
        padding-left: 0px;
    }
    
    .tentberi-cases-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 850px) {
    .tentberi-pagination {
        gap: 15px;
    }
}

@media (max-width: 700px) {
    .tentberi-cases-header {
        margin-bottom: 20px;
    }

    .tentberi-cases {
        grid-template-columns: 1fr;
    }

    .tentberi-pagination {
        padding-top: 32px;
    }

    .tentberi-case-data {
        padding-top: 8px;
    }
}

@media (max-width: 600px) {
    .pagination-pages button {
        font-size: 16px;
        width: 40px;
        height: 40px;
    }

    .pagination-pages button.more-pages,
    .pagination-arrow-btn {
        padding: 0;
    }

    .pagination-arrow-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .pagination-arrow-icon {
        width: 21px;
        height: 21px;
    }
}

@media (max-width: 370px) {
    .pagination-pages button {
        font-size: 14px;
        width: 35px;
        height: 35px;
    }

    .pagination-arrow-btn {
        width: 35px;
        height: 35px;
        min-width: 35px;
    }

    .pagination-pages {
        gap: 5px;
    }

    .tentberi-pagination {
        gap: 10px;
    }
}


/* Модальное окно для просмотра фоток в секции "ТентБери в деле" */

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.image-modal.visible {
  opacity: 1;
  visibility: visible;
}


.image-modal.visible .modal-content-tentberi {
  transform: scale(1);
}

.modal-content-tentberi {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100vw;
  max-height: 100vh;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0px 16px;
  min-width: 320px;

  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-img-wrapper {
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-button {
  position: absolute;
  top: 40px;
  right: 40px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
  color: var(--gray-text);
  transition: color 0.3s ease;
}

.modal-close-button:hover {
  color: var(--blue);
}

.modal-img-wrapper.zoomed {
  cursor: zoom-out;
  border-radius: 20px;
}

.modal-img-wrapper img {
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  transform-origin: center center;
  border-radius: 20px;
}

.modal-close-button-icon {
    width: 40px;
    height: 40px;
}

.modal-case-name {
    max-width: 700px;
    width: 100%;
    font-size: 18px;
}


@media (max-width: 750px) {
    .modal-close-button {
        right: 30px;
    }

    .modal-img-wrapper img {
        max-width: 100vw;
        max-height: 100vh;
    }

    .modal-case-name {
        font-size: 16px;
    }
}

@media (max-width: 650px) {
    .modal-close-button {
        right: 20px;
    }
}

@media (max-width: 600px) {
    .modal-case-name {
        font-size: 14px;
    }
}


/* FOOTER */

.footer {
    padding: 20px 0px;
}

.footer-cards {
    display: grid;
    grid-template-columns: minmax(0px, 425px) minmax(0px, 425px) minmax(0px, 346px) minmax(0px, 504px);
    gap: 20px;
}

.footer-card {
    background-color: var(--blue);
    border-radius: 20px;
}

.footer-card-top {
    padding-bottom: 42px;
}

.footer-card-top-2 {
    padding-bottom: 30px;
}

.footer-card-1 {
    padding: 20px 42px 39px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-card-2 {
    padding: 24px 32px 92px 32px
}

.footer-card-3 {
    padding: 24px 32px 62px 32px
}

.footer-card-4 {
    padding: 24px 32px 78px 32px
}

.footer-title {
    font-size: 85px;
    line-height: 110%;
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.04em;
}

.footer-info a {    
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 24px;
    line-height: 110%;
}

.footer-number {
    padding-bottom: 12px;
}

.footer-email {
    padding-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials svg > *:first-child {
  fill: white;
  transition: fill 0.3s ease;
}

.footer-socials a:hover svg > *:first-child {
  fill: var(--white-80); 
}

.footer-title-small {
    font-size: 28px;
    font-family: 'Helvetica Neue Bold', sans-serif;
    line-height: 100%;
    padding-bottom: 16px;
    white-space: normal;         
    word-break: break-word;
}

.footer-card nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-card nav ul li button {
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-card nav ul li button:hover {
    color: #fff;
}

.footer-card nav ul li a,
.footer-card nav ul li button {
    font-size: 18px;
    line-height: 110%;
    font-family: 'Helvetica Neue Light', sans-serif;
    color: var(--white-80);
    transition: color 0.3s ease;
}

.footer-card nav ul li a:hover {
    color: #fff;
}

.footer-nav {
    max-width: 300px;
    width: 100%;
}

.footer-copyright {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    padding: 12px 40px;
    color: var(--gray-text);
    font-family: 'Helvetica Neue Light', sans-serif;
    font-size: 16px;
}

.policy-text {
    max-width: 580px;
    width: 100%;
}

.made-in-omni {
    display: flex;
    align-items: center;
    text-align: center;
}

.omni-logo {
    margin-left: 8px;
    margin-right: 6px;
    transition: color 0.3s ease; 
}

.footer-copyright a:hover {
  color: var(--blue);
}


/* Адаптив FOOTER */

@media (max-width: 1815px) {
  .footer-title-small {
    padding-bottom: 10px;
  }
  
  .footer-card-1 {
    padding: 20px 42px 25px 25px;
  }

  .footer-card-2 {
    padding: 24px 32px 60px 32px;
  }

  .footer-card-3 {
    padding: 24px 32px 25px 32px;
  }

  .footer-card-4 {
    padding: 24px 32px 30px 32px;
  }

  .footer-card-top,
  .footer-card-top-2 {
    padding-bottom: 25px;
  }
}

@media (max-width: 1600px) {
    .footer-title {
        font-size: 74px;
    }
}

@media (max-width: 1500px) {
    .footer-title-small {
        font-size: 24px;
    }

    .footer-card nav ul li a,
    .footer-card nav ul li button {
        font-size: 16px;
    }

    .footer-cards {
        gap: 12px;
    }
    
    .footer-title {
        font-size: 64px;
    }

    .footer-info a {
        font-size: 22px;
    }

    .footer-card {
        padding: 24px 16px;
    }

}

@media (max-width: 1445px) {
    .footer-copyright {
        padding: 12px 10px;
    }

    .policy-text {
        max-width: 380px;
    }   
}

@media (max-width: 1250px) {
    .footer-title-small {
        font-size: 20px;
    }

    .footer-card nav ul li a,
    .footer-card nav ul li button {
        font-size: 14px;
    }

    .footer-card nav ul {
        gap: 4px;
    }

    .footer-info a {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .footer-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 850px) {
    .footer-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-card-1,
    .footer-card-2,
    .footer-card-4 {
        padding: 24px 16px;
    }

    .footer-card-3 {
        padding: 0;
        background-color: transparent;
        display: flex;
        justify-content: space-between;
        gap: 13px;
        min-height: 152px;
    }

    .footer-card-3 .footer-card-top,
    .footer-card-3 .footer-card-bottom {
        padding: 0;
        background-color: var(--blue);
        width: 100%;
        min-height: 152px;
        border-radius: 20px;
        padding: 24px 16px;
    }

    .footer-copyright {
        grid-template-columns: 1.5fr 1fr;
        font-size: 14px;
        padding: 12px 0px;
    }

    .footer-copyright a:last-child {
        text-align: right;
    }

    .footer-info a,
    .footer-title-small {
        font-size: 20px;
    }

    .footer-card nav ul li a,
    .footer-card nav ul li button {
        font-size: 14px;
    }

    .footer-card nav ul {
        gap: 6px;
    }

    .footer-title-small {
        padding-bottom: 12px;
    }

    .footer-card-1 {
        min-height: 255px;
    }

    .footer-title {
        font-size: 64px;
    }
}

@media (max-width: 600px) {
    .footer-card nav ul li a,
    .footer-card nav ul li button {
        font-size: 14px;
    }

    .footer-title-small {
        font-size: 20px;
    }
}

@media (max-width: 585px) {
    .footer-copyright {
        grid-template-columns: 1fr;   
        gap: 12px;
    }

    .footer-copyright a:last-child {
        text-align: left;
    }
}


/* Cookie banner */

.cookie-banner-wrapper {
  position: fixed;
  bottom: 40px;
  left: 0;
  width: 100%;
  z-index: 99999;
  pointer-events: none;
}

.cookie-container {
    padding: 0px 80px 0px 80px;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.cookie-banner {
    pointer-events: auto;
    max-width: 533px;
    width: 100%;
    background-color: var(--light-blue);
    color: var(--dark-blue);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    padding: 24px 40px;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 16px;
}

.cookie-text {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 18px;
    line-height: 110%;
    padding-bottom: 32px;
}

.cookie-text span {
    color: var(--blue);
    text-decoration: underline;
}

.cookie-text span a {
    transition: all 0.3s ease;
}

.cookie-text span a:hover {
    color: var(--blue);
}

.cookie-banner-btn {
    background-color: var(--blue);
    border: none;
    border-radius: 16px;
    color: white;
    cursor: pointer;
    width: 100%;
    font-family: 'Helvetica Neue Medium', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    padding: 19px 0px;
    transition: all 0.3s ease;
}

/* Подсветка пункта Cookie */

.highlighted {
  color: var(--blue);    
  transition: color 0.5s ease;
}

#cookies {
  scroll-margin-top: 200px; 
}

/* Адаптив Cookie banner */

@media (max-width: 1600px) {
    .cookie-container {
        padding: 0px 40px 0px 40px;
    }

    .cookie-banner {
        left: 40px;
    }
}

@media (max-width: 1200px) {
    .cookie-banner {
        padding: 24px 16px;
        max-width: 375px;
    }

    .cookie-title {
        font-size: 22px;
    }

    .cookie-text {
        font-size: 14px;
        padding-bottom: 24px;
    }

    .cookie-banner-btn {
        padding: 16px 0px;
    }
}

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

    .cookie-banner {
        left: 16px;
    }
}

@media (max-width: 500px) {
    .cookie-banner {
        max-width: 100%;
        border-radius: 0px;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }

    .cookie-banner-wrapper {
        bottom: 0px;
    }

    .cookie-container {
        padding: 0;
    }
}





/* Страница "tents-for-trucks.html" (Тенты на грузовые автомобили) */

/* Хлебные крошки */

.breadcrumb-container {
    padding-top: 127px;
    padding-left: 40px;
}

.breadcrumb {
    color: var(--gray-text);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    gap: 0px;
    font-size: 20px;
    font-family: 'Helvetica Neue Regular', sans-serif;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.breadcrumb ul::-webkit-scrollbar {
    display: none; 
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #555;
}

/* Добавляем слэш после каждого пункта, кроме последнего */
.breadcrumb li::after {
    content: "/";
    margin: 0 12px;
    color: var(--gray-text);
}

/* У последнего пункта убираем слэш */
.breadcrumb li:last-child::after {
    content: "";
    margin: 0;
}

/* Стили ссылок */
.breadcrumb a {
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--dark-blue);
}

/* Последний элемент - не ссылка */
.breadcrumb ul li:last-child {
    color: var(--dark-blue);
    pointer-events: none;
    cursor: default;
}

/* Адаптив Хлебные крошки */

@media (Max-width: 1600px) {
    .breadcrumb-container {
        padding-left: 20px;
    }
}

@media (Max-width: 1400px) {
    .breadcrumb ul {
        font-size: 18px;
    }
}

@media (Max-width: 1200px) {
    .breadcrumb ul {
        font-size: 16px;
    }

    .breadcrumb-container {
        padding-top: 110px;
    }
}

@media (Max-width: 1024px) {
    .breadcrumb ul {
        flex-wrap: nowrap;
    }

    .breadcrumb-container {
        white-space: nowrap;
    }
}

@media (Max-width: 970px) {
    .breadcrumb-container {
        padding-left: 0;
    }

    .breadcrumb-container {
        padding-top: 88px;
    }
}

@media (max-width: 360px) {
    .breadcrumb ul {
        font-size: 14px;
    }
}


/* Тенты на грузовые автомобили */

.tents-for-trucks-section {
    color: var(--dark-blue);
    padding-top: 32px;
}

.tents-for-trucks-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 70px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-left: 40px;
    padding-bottom: 32px;
}

.tents-for-trucks-images {
  width: 100%;
  padding-bottom: 20px; /
}

.tents-for-trucks-images .swiper-slide {
  aspect-ratio: 4 / 3;
  position: relative;           
  width: 100%;
}

.tents-for-trucks-images .swiper-slide img {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          
  border-radius: 20px;
  cursor: pointer;
}

.tents-for-trucks-images,
.tents-for-trucks-images .swiper,
.tents-for-trucks-images .swiper-wrapper {
  overflow: visible !important;
}




/* Модальное окно для просмотра изображений */

.modal-gallery {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex; 
  align-items: center;
  justify-content: center;
  z-index: 2000;
  min-width: 320px;
  padding: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0.3s; 
}

.modal-gallery.open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.modal-content {
  position: relative;
  width: calc(100vw - 140px);        
  overflow: hidden;          
}

.modal-close {
  position: absolute;
  top: 2.5rem;   
  right: 5%;
  color: var(--gray-text);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--blue);
}

.modal-close-icon {
  width: 40px;
  height: 40px;
}

.modal-swiper {
  width: 100%;
  height: 100%;
}

.modal-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.modal-swiper .swiper-slide img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}


.modal-swiper .swiper-button-prev::after,
.modal-swiper .swiper-button-next::after {
  display: none;
}

.arrow-modal-btn {
    border: none;
    border-radius: 100px;
    min-width: 60px;
    min-height: 60px;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.arrow-modal-svg {
    max-width: 32px;
    max-height: 32px;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.arrow-modal-btn:hover {
    background-color: var(--blue);
}

.arrow-modal-btn:hover .arrow-modal-svg {
    color: #fff;
}


/* Панель миниатюр */

.modal-thumbs .swiper-wrapper {
  display: flex;         
  align-items: center;
  padding-top: 20px;
}

.modal-thumbs .swiper-wrapper.centered,
.modal-thumbs .swiper-wrapper.uncentered4,
.modal-thumbs .swiper-wrapper.uncentered5,
.modal-thumbs .swiper-wrapper.uncentered6,
.modal-thumbs .swiper-wrapper.uncentered7 {
  justify-content: center;
}

@media (max-width: 1500px) {
    .modal-thumbs .swiper-wrapper.uncentered7 {
        justify-content: unset;
    }
}

@media (max-width: 1150px) {
    .modal-thumbs .swiper-wrapper.uncentered6 {
        justify-content: unset;
    }
}

@media (max-width: 800px) {
    .modal-thumbs .swiper-wrapper.uncentered5 {
        justify-content: unset;
    }
}

@media (max-width: 600px) {
    .modal-thumbs .swiper-wrapper.uncentered4 {
        justify-content: unset;
    }
}


.modal-thumbs .swiper-slide {
  aspect-ratio: 4 / 3;      
    
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  width: auto;
  border-radius: 14px;
  cursor: pointer;
}

.modal-thumbs .swiper-slide img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;                 
  transition: opacity 0.3s ease, transform 0.3s ease;
  
}

/* Активная миниатюра */
.modal-thumbs .swiper-slide-thumb-active img {
  opacity: 1;              
  transform: scale(1.05);   
}


/* Адаптив модального окна для изображений */

@media (max-width: 1520px) {
    .modal-content {
        width: calc(100vw);
    }
}


@media (max-width: 1000px) {
    .arrow-modal-btn {
        min-width: 50px;
        min-height: 50px;
    }

    .arrow-modal-svg {
        max-width: 24px;
        max-height: 24px;
    }
}

@media (max-width: 800px) {
    .arrow-modal-btn,
    .swiper-button-prev {
        display: none !important;
    }

    .modal-close-icon {
        width: 32px;
        height: 32px;
    }
}



/* Адаптив Тенты на грузовые автомобили */

@media (Max-width: 1600px) {
    .tents-for-trucks-title {
        padding-left: 20px;
    }
}

@media (Max-width: 1400px) {
    .tents-for-trucks-title {
        font-size: 60px;
    }
}

@media (Max-width: 1200px) {
    .tents-for-trucks-title {
        font-size: 50px;
    }
}

@media (Max-width: 1100px) {
    .tents-for-trucks-title {
        font-size: 40px;
    }
}

@media (Max-width: 970px) {
    .tents-for-trucks-title {
        padding-left: 0;
        padding-bottom: 16px;
    }

    .tents-for-trucks-section {
        padding-top: 20px;
    }
}

@media (Max-width: 900px) {
    .tents-for-trucks-title {
        font-size: 32px;
    }
}

/* Плюсы тентованных автомобилей */

.advantages-tents-cars {
    color: var(--dark-blue);
    padding-top: 60px;
    padding-left: 40px;
}

.advantages-tents-cars-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 54px;
    line-height: 100%;
    letter-spacing: -0.04em;
    max-width: 830px;
    width: 100%;
    padding-bottom: 32px;
}

.advantages-tents-cars-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-top: 2px dashed var(--blue);
    padding: 39px 0px;
}

.advantages-tents-cars-list:last-child {
    border-bottom: 2px dashed var(--blue);
}

.advantages-tents-cars-list-left {
    padding-right: 40px;
}

.advantages-tents-cars-list-left p {
    display: flex;
    gap: 12px;
    color: var(--blue);
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: -0.04em;
    max-width: 600px;
}

.advantages-tents-cars-list-rigth p {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    color: var(--dark-blue);
    max-width: 710px;
}

/* Адаптив Плюсы тентованных автомобилей */

@media (max-width: 1600px) {
    .advantages-tents-cars {
        padding-left: 20px;
    }
}

@media (max-width: 1400px) {
    .advantages-tents-cars-title {
        font-size: 44px;
        max-width: 700px;
    }
}

@media (max-width: 1200px) {
    .advantages-tents-cars-title {
        font-size: 34px;
        max-width: 540px;
    }

    .advantages-tents-cars-list-left p {
        font-size: 20px;
    }

    .advantages-tents-cars-list-rigth p {
        font-size: 16px;
    }

    .advantages-tents-cars-list {
        padding: 30px 0px;
    }
}

@media (max-width: 1100px) {
    .advantages-tents-cars-title {
        font-size: 28px;
        max-width: 430px;
        padding-bottom: 16px;
    }

    .advantages-tents-cars {
        padding-top: 32px;
    }
}

@media (max-width: 970px) {
    .advantages-tents-cars {
        padding-left: 0;
    }   
}

@media (max-width: 800px) {
    .advantages-tents-cars-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .advantages-tents-cars-list-rigth {
        padding-left: 28px;
    }

    .advantages-tents-cars-list {
        padding: 12px 0px;
    }
}


/* Информационные карточки */

.information-cards {
    padding-top: 130px;
    color: var(--dark-blue);
    display: grid;
    grid-template-columns: minmax(0px, 573px) minmax(0px, 573px) minmax(0px, 573px);
    gap: 20px;
}

.information-card {
    display: flex;
    flex-direction: column;
    background-color: var(--light-blue);
    border: 1px solid var(--border-button);
    padding: 32px 40px;
    border-radius: 16px;
    white-space: normal;         
    word-break: break-word; 
}

.information-card-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-top: 32px;
    padding-bottom: 12px;
}

.information-card-text {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
}

.information-card-icon {
    width: 80px;
    height: 80px;
}

/* Адаптив Информационные карточки */

@media (max-width: 1200px) {
    .information-card-title {
        font-size: 22px;
        padding-top: 26px;
        padding-bottom: 8px;
    }

    .information-card-text {
        font-size: 16px;
    }

    .information-card-icon {
        width: 60px;
        height: 60px;
    }

    .information-cards {
        padding-top: 80px;
    }

    .information-card {
        padding: 26px;
    }
}

@media (max-width: 800px) {
    .information-cards {
        gap: 12px;
    }
    
    .information-card {
        padding: 20px;
    }
}

@media (max-width: 700px) {
    .information-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .information-card {
        flex-direction: row;
        gap: 20px;
        padding: 21px 16px;
    }

    .information-card-title {
        padding-top: 5px;
    }
}


/* Наша компания предоставляет услуги по изготовления тентов на грузовые машины */

.tents-for-brand-trucks {
    color: var(--dark-blue);
    padding-top: 130px;
}

.tents-for-brand-trucks-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.04em;
    max-width: 790px;
    width: 100%;
    padding-left: 40px;
    padding-bottom: 32px;
}

.tents-for-brand-trucks-title span {
    color: var(--gray-text);
}

.tents-for-brand-trucks-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.tents-for-brand-trucks-card {
    border-top: 2px dashed var(--border-button);
    border-bottom: 2px dashed var(--border-button);
    border-left: 2px dashed var(--border-button);
    padding: 32px 40px;
    min-height: 238px;
}

.tents-for-brand-trucks-card:last-child {
    border-right: 2px dashed var(--border-button);
}

.tents-for-brand-trucks-card-title {
    font-size: 24px;
    line-height: 110%;
    color: var(--blue);
    padding-bottom: 12px;
}

.tents-for-brand-trucks-card-text {
    font-size: 20px;
    line-height: 110%;
    font-family: 'Helvetica Neue Regular', sans-serif;
}

/* Адаптив Наша компания предоставляет услуги по изготовления тентов на грузовые машины */

@media (Max-width: 1600px) {
    .tents-for-brand-trucks-title {
        padding-left: 20px;
    }
}

@media (max-width: 1400px) {
    .tents-for-brand-trucks-title {
        font-size: 28px;
        max-width: 720px;
    }
}

@media (Max-width: 1300px) {
    .tents-for-brand-trucks-card {
        padding: 26px 20px;
    }
}

@media (Max-width: 1200px) {
    .tents-for-brand-trucks-card-title {
        font-size: 20px;
        padding-bottom: 8px;
    }

    .tents-for-brand-trucks-card-text {
        font-size: 16px;
    }

    .tents-for-brand-trucks-card {
        padding: 16px;
        min-height: 210px;
    }

    .tents-for-brand-trucks-title {
        font-size: 22px;
        max-width: 450px;
    }

    .tents-for-brand-trucks {
        padding-top: 80px;
    }
}

@media (Max-width: 970px) {
    .tents-for-brand-trucks-title {
        padding-left: 0;
    }
}

@media (Max-width: 900px) {
    .tents-for-brand-trucks-cards {
        grid-template-columns: 1fr ;
    }

    .tents-for-brand-trucks-card {
        min-height: 0px;
        border-bottom: none;
        border-right: 2px dashed var(--border-button);
    }

    .tents-for-brand-trucks-card:last-child {
        border-bottom: 2px dashed var(--border-button);
    }
}



/* Производство */

.production {
    color: var(--dark-blue);
    padding-top: 130px;
    padding-left: 40px;
}

.production-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 54px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 32px;
}

.production-texts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.production-texts p {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
}

.read-more-btn {
    border: none;
    background-color: transparent;
    display: none;
    padding: 0;
    color: var(--blue);
    font-family: 'Helvetica Neue Medium', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    max-width: 90px;
    width: 100%;
}

/* Адаптив Производство */

@media (Max-width: 1600px) {
    .production {
        padding-left: 20px;
    }
}

@media (max-width: 1400px) {
    .production-title {
        font-size: 44px;
    }
}

@media (max-width: 1200px) {
    .production-title {
        font-size: 34px;
    }

    .production {
        padding-top: 80px;
    }

    .production-texts p {
        font-size: 16px;
    }

    .production-texts {
        gap: 40px;
    }
}

@media (Max-width: 970px) {
    .production {
        padding-left: 0;
    }
}

@media (Max-width: 900px) {
    .production-texts {
        grid-template-columns: 1fr;
    }

    .production-texts {
        gap: 12px;
    }

    .production-title {
        padding-bottom: 16px;
    }
}

@media (Max-width: 600px) {
    .read-more-btn {
        display: flex;
    }

    .production-right-text {
        max-height: 0;          
        overflow: hidden;       
        transition: max-height .5s ease;
    }

    .production-texts {
        gap: 12px;
    }
}

/* Этапы работы */

.stages-of-work {
    color: var(--dark-blue);
    padding-top: 130px;
}

.stages-of-work-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    padding-left: 40px;
    padding-bottom: 32px;
}

.stages-of-work-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 54px;
    line-height: 100%;
    letter-spacing: -0.04em;
}

.stages-of-work-subtitle {
    font-size: 24px;
    line-height: 110%;
    max-width: 770px;
    width: 100%;
}

.stages-of-work-cards {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stages-of-work-card {
    background-color: var(--gray-bg);
    border: 1px solid var(--border-button);
    border-radius: 20px;
    padding: 32px 40px;
    position: relative;
    min-height: 274px;
    overflow: hidden;
    white-space: normal;         
    word-break: break-word;
}

.stages-of-work-card-content h3 {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 24px;
}

.stages-of-work-card-content p,
.stages-of-work-card-content ul li {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    max-width: 570px;
    width: 100%;
}

.stages-of-work-card-content {
    position: relative;
    z-index: 2;
}

.stages-of-work-card-number-image {
    position: absolute;
    right: 10px;
    bottom: 0;
    z-index: 1;
}

.stages-of-work-card-number-image-1 {
    right: 70px;
}

.stages-of-work-card-content ul {
    padding-top: 10px;
    padding-left: 30px;
}

.stages-of-work-card-content ul li {
  list-style-type: disc;     
  list-style-position: outside;
}

.stages-of-work-card-content ul li::marker {
  font-size: 20px;
}

/* Адаптив Этапы работы */

@media (max-width: 1600px) {
    .stages-of-work-header {
        padding-left: 20px;
    }
}

@media (max-width: 1400px) {
    .stages-of-work-title {
        font-size: 44px;
    }

    .stages-of-work-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .stages-of-work-title {
        font-size: 32px;
    }

    .stages-of-work {
        padding-top: 80px;
    }

    .stages-of-work-card-content h3 {
        font-size: 22px;
        padding-bottom: 12px;
    }

    .stages-of-work-card-content p, 
    .stages-of-work-card-content ul li {
        font-size: 16px;
    }

    .number-svg {
        width: 145px;
        height: 260px;
    }

    .stages-of-work-card {
        min-height: 250px;
        padding: 26px;
    }

    .stages-of-work-card-number-image {
        bottom: -47px;
    }

    .stages-of-work-card-number-image-1 {
        right: 50px;
    }

    .stages-of-work-card-number-image-1 svg {
        width: 110px;
        height: 210px;
    }

    .stages-of-work-cards {
        gap: 12px;
    }
}

@media (max-width: 970px) {
    .stages-of-work-header {
        padding-left: 0;
    }

    .stages-of-work-card {
        padding: 24px 16px;
    }
}

@media (max-width: 900px) {
    .stages-of-work-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stages-of-work-subtitle {
        max-width: 455px;
    }
}

@media (max-width: 700px) {
    .stages-of-work-header {
        padding-bottom: 20px;
    }
    
    .stages-of-work-cards {
        grid-template-columns: 1fr;
    }

    .stages-of-work-card-number-image {
        right: 0;
        left: 16px;
        top: -40px;
    }

    .stages-of-work-card-content {
        padding-top: 150px;
    }

    .stages-of-work-card-number-image-1 svg {
        width: 100px;
        height: 210px;
    }

    .stages-of-work-card-number-image-1 {
        top: 0px;
    }
}




/* Нужна консультация */

.need-consultation-content {
    position: relative;
    margin: 60px 0;
    background-image: url('../img/need-constultation-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    border: 1px solid var(--border-button); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
}

.need-consultation-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 54px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 16px;
}

.need-consultation-text {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
}

.sign-up-button.fixed {
  position: fixed;
  bottom: 80px;     
  right: 80px;      
  z-index: 1000;
  width: auto;     
  background-color: var(--blue);
  color: #fff;
  transition: all 0.3s ease;
}

.sign-up-button.fixed:hover {
    background-color: #3369D7;
    color: #fff;
}

.sign-up-button.sticky {
  position: sticky;
  bottom: 32px;     
  align-self: flex-end;
}

/* Адаптив "Нужна консультация" */

@media (max-width: 1600px) {
    .sign-up-button.fixed {
        bottom: 60px;
        right: 40px;
    }
}

@media (max-width: 1400px) {
    .need-consultation-title {
        font-size: 44px;
    }
}

@media (max-width: 1200px) {
    .need-consultation-title {
        font-size: 34px;
    }

    .need-consultation-text {
        font-size: 16px;
    }

    .need-consultation-content {
        padding: 26px;
        margin: 0;
        margin-top: 40px;
        margin-bottom: 80px;
    }
}

@media (max-width: 1000px) {
    .sign-up-button-sticky {
        font-size: 16px;
        padding: 16px;
    }

    .sign-up-button.fixed {
        right: 17px;
        bottom: 60px;
    }
}

@media (max-width: 700px) {
    .need-consultation-content {
        display: block;
        flex-direction: column;
        padding: 16px;
        background-position: -500px;
    }

    .need-consultation-title {
        font-size: 28px;
        padding-bottom: 8px;
    }

    .need-consultation-right-side {
        padding-top: 24px;
    }

    .sign-up-button-sticky {
        font-size: 14px;
    }

    .sign-up-button.fixed {
        bottom: 40px;
    }
}

@media (max-width: 350px) {
    .need-consultation-title {
        font-size: 24px;
    }

    .need-consultation-text {
        font-size: 14px;
    }
}


/* Страница "tents.html" */

/* Тенты */

.tents {
    color: var(--dark-blue);
}

.tents-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 70px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-left: 40px;
    padding-top: 32px;
    padding-bottom: 32px;
    white-space: normal;         
    word-break: break-word; 
}

/* Адаптив "Тенты" */

@media (max-width: 1600px) {
    .tents-title {
        padding-left: 20px;
    }
}

@media (max-width: 1500px) {
    .tents-title {
        font-size: 60px;
    }
}

@media (max-width: 1300px) {
    .tents-title {
        font-size: 50px;
    }
}

@media (max-width: 1000px) {
    .tents-title {
        font-size: 40px;
    }
}

@media (max-width: 970px) {
    .tents-title {
        padding-left: 0;
        padding-top: 20px;
        padding-bottom: 16px;
    }
}

@media (max-width: 900px) {
    .tents-title {
        font-size: 32px;
    }
}

/* Услуги на странице Тенты */

.services-tents {
    margin: 0px;
}

.service-row-1-tents {
    display: grid;
    grid-template-columns: minmax(0px, 800px) minmax(0px, 940px);
    gap: 20px;
}

.service-row-2-tents {
    display: grid;
    grid-template-columns: minmax(0px, 940px) minmax(0px, 800px);
    gap: 20px;
}

/* Адаптив "Тенты" */

@media (max-width: 1500px) {
    .services-content-tents {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .service-row-1-tents,
    .service-row-2-tents {
        grid-template-columns: 1fr;
    }
}

/* Текст тент страницы */

.tents-text-section {
    color: var(--dark-blue);
    padding-left: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
    display: grid;
    grid-template-columns: minmax(0px, 940px) minmax(0px, 800px);
}

.tents-text {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    max-width: 790px;
    width: 100%;
    padding-right: 60px;
}

/* Адаптив "Текст тент" */

@media (max-width: 1600px) {
    .tents-text-section {
        padding-left: 20px;
    }
}

@media (max-width: 1500px) {
    .tents-text {
        font-size: 18px;
    }
}

@media (max-width: 1350px) {
    .tents-text-section {
        padding-top: 32px;
        padding-bottom: 80px;
    }
}

@media (max-width: 1300px) {
    .tents-text {
        font-size: 16px;
    }
}

@media (max-width: 970px) {
    .tents-text-section {
        padding-left: 0px;
    }
}

@media (max-width: 850px) {
    .tents-text-section {
        grid-template-columns: 1fr;
    }
    
    .tents-text {
        padding-right: 20px;
    }
}




/* Страница "products.html" */

.service-row-1-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Адаптив страницы "products.html" */

@media (max-width: 850px) {
    .service-row-1-products {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 12px;
    }
}


/* Модальное окно "Оставить заявку" */

.get-request-modal {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 740px;
    min-width: 320px;
    width: 100%;          
    height: 100%;
    background-color: #fff;
    color: var(--dark-blue);
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%); 
    transition: transform 0.5s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow-y: auto;

    scrollbar-width: none;       
    -ms-overflow-style: none;
}

.get-request-modal::-webkit-scrollbar {
    display: none;           
}

.get-request-modal.active {
    transform: translateX(0);
}

.modal__header {
    border-bottom: 1px solid var(--border-button);
    padding: 40px 50px 25px 60px;
}

.modal__header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 54px;
    letter-spacing: -0.04em;
}

.modal__subtitle {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    padding-bottom: 12px;
}

.modal__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-text);
    padding: 0;
    transition: all 0.3s ease;
}

.modal__close:hover {
    color: var(--blue);
}

.modal__close-icon {
    width: 40px;
    height: 40px;
}

.scroll-wrapper {
  position: relative;
  overflow: hidden;     
}

.get-request-form-content {
  max-height: calc(100vh - 200px - 120px);
  overflow-y: auto;
  width: calc(100% - 50px);
  padding: 20px 11px 20px 60px;                              
}

.get-request-form-content::-webkit-scrollbar {
  width: 4px;
}

.get-reques-form-content-bottom {
    border-top: 1px solid var(--border-button);
    padding: 32px 80px 40px 60px;
    position: sticky;
    bottom: 0;
    background-color: white;
    z-index: 1;
}

.get-request-form-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.get-request-form-top textarea {
    resize: none;
}

.modal__input {
    border: 1px solid var(--border-button);
    padding: 16px 20px;
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 18px;
    line-height: 110%;
    border-radius: 16px;
    color: var(--dark-blue);
    transition: border-color 0.3s ease, color 0.3s ease;
    outline: none;
}

.modal__input:focus {
    border-color: var(--dark-blue);
}

.modal__input::placeholder {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 18px;
    line-height: 110%;
    color: var(--gray-text);
}

.modal__input.invalid::placeholder {
  color: var(--error-text);
}


.checkbox-error-message {
    padding-left: 3px;
    color: var(--error-text);
    font-size: 18px;
    font-family: 'Helvetica Neue Regular', sans-serif;
    padding-top: 4px;
    padding-bottom: 16px;

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.checkbox-error-message.visible {
  opacity: 1;
  max-height: 60px;
}

.phone-error-message {
  color: var(--error-text);
  font-family: 'Helvetica Neue Regular', sans-serif;
  font-size: 16px;
  padding-left: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.phone-error-message.visible {
  opacity: 1;
  max-height: 60px; 
}

.get-request-form-text {
    color: var(--gray-text);
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    padding-top: 24px;
    padding-bottom: 16px;
}

.get-request-form-bottom-size {
    display: flex;
    align-items: center;
    gap: 12px;
}

.size-title,
.question-title {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    color: var(--dark-blue);
    padding-bottom: 8px;
}

.size-title span {
    color: var(--blue);
}

.size-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 12px;                              
    align-items: start;                   
}

.size-input {
    border: 1px solid var(--border-button);
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 18px;
    line-height: 110%;
    border-radius: 16px;
    color: var(--dark-blue);
    transition: all 0.3s ease;
    outline: none;  
    max-width: 192px;
    width: 100%;
    padding: 16px 20px;
}

.size-input:focus {
    border-color: var(--dark-blue);
}


.form-question-item {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-button);
  padding-bottom: 16px;
  padding-top: 16px;
}

.form-question-item-left {
  grid-column: 1 / 3; 
}

.form-question-item-right {
  grid-column: 3 / 4;  
}

.question-title {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 12px;
}

.tooltip-btn {
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    transition: all 0.3s ease;
}

.tooltip-btn svg path {
  transition: stroke 0.3s ease;
}

.tooltip-btn:hover svg path {
  stroke: var(--blue);
}

.tooltip-btn.active svg path {
  stroke: var(--blue);
}

/* Тултип с разъяснением */

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-modal-body {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    position: absolute;
    background: var(--light-blue);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: normal;
    word-break: break-word;
    max-width: calc(100vw - 16px);
    width: max-content;
    min-width: 320px;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip-modal-body.show {
  opacity: 1;
}

.tooltip-text {
    font-family: 'Helvetica Neue Regular', sans-serif;
    color: var(--dark-blue);
    line-height: 110%;
    font-size: 18px;
    max-width: 360px;
    width: 100%;
}

.tooltip-icon {
  flex-shrink: 0;          
  width: 24px;
  height: 24px;
}

.close-tooltip-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    display: none;
    width: 24px;
    height: 24px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio label {
  position: relative;
  cursor: pointer;
  padding-left: 28px;
  user-select: none;
  font-family: 'Helvetica Neue Regular', sans-serif;
  font-size: 18px;       
}

.radio label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-button);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.2s ease;
}

.radio label::after {
  content: "";
  position: absolute;
  left: 5px;           
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  background: #fff;      
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.radio input:checked + label::before {
  border-color: var(--blue);
  border-width: 10px;
}

.radio input:checked + label::after {
  transform: translateY(-50%) scale(1);
}

.accept-politics {
  display: flex;
  align-items: center;
  gap: 8px;
}

.accept-politics span {
    color: var(--blue);
}

.accept-politics span a {
    color: var(--blue);
}

.accept-politics input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  min-width: 20px;
  min-height: 20px;
  border: 1px solid var(--border-button);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  background-color: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}

.accept-politics input[type="checkbox"]:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.accept-politics input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  background-image: url('../img/svg/check.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.accept-politics input[type="checkbox"].invalid {
  border-color: var(--error-text);
}

.accept-politics label {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 18px;
    line-height: 110%;
}

/* Модальное окно "Спасибо за заявку" */

.success-modal {
  position: fixed;
  top: 0; 
  right: 0;
  max-width: 740px; 
  min-width: 320px; 
  width: 100%; 
  height: 100%;
  background: #fff; 
  color: var(--dark-blue);
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  transform: translateX(100%); 
  transition: transform 0.5s ease;
  z-index: 10000;
  display: flex; 
  flex-direction: column;
  border-top-left-radius: 20px; 
  border-bottom-left-radius: 20px;
  overflow-y: auto;
}

.success-modal.active {
  transform: translateX(0);
}

.modal__header-success {
    border-bottom: none;
}

.modal__header-top-success {
    align-items: flex-start;
}

.modal__close-success {
    padding-top: 10px;
}

.modal__title-success {
    max-width: 570px;
    width: 100%;
    padding-right: 40px;
}

.modal__subtitle-success {
    padding-top: 20px;
    padding-bottom: 32px;
}

.modal__title-error {
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-modal-icon {
    width: 60px;
    height: 60px;
}

/* Адаптив модального окна "Оставить заявку" */

@media (max-width: 1400px) {
    .modal__title {
        font-size: 44px;
    }

    .modal__title-success {
        font-size: 54px;
    }

    .get-request-form-content {
        max-height: calc(100vh - 100px - 120px);
    }
}

@media (max-width: 1200px) {
    .modal__title {
        font-size: 34px;
    }

    .modal__title-success {
        font-size: 54px;
    }

    .modal__subtitle,
    .accept-politics label {
        font-size: 16px;
    }

    .modal__close-icon {
        width: 32px;
        height: 32px;
    }

    .get-request-form-content {
        max-height: calc(100vh - 50px - 120px);
    }

    .checkbox-error-message {
        font-size: 16px;
    }
}

@media (max-width: 850px) {
  .success-modal {
    position: fixed;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    border-top-right-radius: 20px;
    transform: translateY(100%);
  }

  .success-modal.active {
    transform: translateY(0);
  }

  .success-modal.active {
    transform: translateY(0);
  }

  .modal__header-success {
    padding: 24px 16px;
  }

  .modal__title-success {
    padding-right: 10px;
    font-size: 28px;
  }

  .modal__subtitle-success {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .error-modal-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 740px) {
    .size-input {
        max-width: 100%;
    }

    .get-request-modal {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .modal__header {
        padding: 16px 16px 10px 16px;
    }

    .get-reques-form-content-bottom {
        padding: 24px 16px;
    }

    .modal__subtitle {
        max-width: 430px;
        padding-right: 50px;
        padding-bottom: 8px;
    }

    .modal__close {
        padding-right: 0px;
    }

    .modal__title {
        font-size: 28px;
    }

    .get-request-form-content {
        max-height: calc(100vh - 110px - 120px);
        width: calc(100% - 10px);
        padding: 12px 16px 16px 16px;
    }

    .modal__input {
        padding: 16px;
    }

    .modal__input::placeholder {
        font-size: 14px;
    }

    .get-request-form-top {
        gap: 8px;
    }

    .get-request-form-text {
        padding-top: 16px;
        padding-bottom: 12px;
        font-size: 16px;
    }

    .size-title, .question-title {
        font-size: 16px;
        padding-bottom: 8px;
    }

    .radio label {
        font-size: 14px;
    }

    .form-question-item {
        padding-bottom: 12px;
        padding-top: 12px;
    }

    .success-modal {
        border-top-left-radius: 20px;
    }

    .tooltip-text {
        font-size: 14px;
        line-height: 110%;
        max-width: 307px;
        width: 100%;
        padding-right: 20px;
    }

    /* Переопределяем тултип: фиксируем внизу во весь экран */
    .tooltip-modal-body {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        min-height: 122px;
        max-width: 100vw !important;
        width: 100% !important;
        border-radius: 0 0 16px 16px;  
        pointer-events: auto;         
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }

    .tooltip-modal-body.show {
        padding-top: 12px;
        padding-bottom: 24px;
    }

    .close-tooltip-btn {
        display: flex;
    }

    .checkbox-error-message,
    .phone-error-message {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .size-items {
        grid-template-columns: 1fr;
    }

    .get-request-form-bottom-size {
        display: block;
    }
}

@media (max-width: 500px) {
    .form-question-item {
        display: block;
    }

    .form-question-item-right {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-button);
    }
}



/* Страница "text-page.html" */

/* Текстовая страница */

.text-page {
    color: var(--dark-blue);
    padding-bottom: 60px;
}

.text-page-content {
    max-width: 831px;
    width: 100%;
    padding-left: 40px;
}

.text-page-content h2 {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 16px;
}

.text-page-content p {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    padding-bottom: 20px;
}

.text-page-content h3 {
    font-family: 'Helvetica Neue Medium', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    padding-bottom: 10px;
}

.text-page-content ul li {
    list-style-type: disc;     
    list-style-position: outside;
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    width: 100%;
}

.text-page-content ul li::marker {
  font-size: 20px;
}

.text-page-content ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 0px;
    padding-left: 30px;
    margin-bottom: 20px;
}

/* Адаптив "Текстовая страница" */

@media (max-width: 1600px) {
    .text-page-content {
        padding-left: 20px;
    }
}

@media (max-width: 1350px) {
    .text-page {
        padding-bottom: 80px;
    }
}

@media (max-width: 1000px) {
    .text-page-content h2,
    .text-page-content h3 {
        font-size: 20px;
    }

    .text-page-content p,
    .text-page-content ul li,
    .text-page-content ul li,
    .text-page-ul {
        font-size: 16px;
    }


    .text-page-content ul {
        gap: 14px;
    }
}

@media (max-width: 970px) {
    .text-page-content {
        padding-left: 0;
    }
}




/* Страница "clients.html" */

/* Клиентам */

.clients {
    color: var(--dark-blue);
    padding-bottom: 60px;
}

.clients-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.clients-card {
    background-color: var(--gray-bg);
    border-radius: 20px;
    padding: 24px 40px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clients-card:hover {
  background-color: var(--light-blue);
  color: var(--dark-blue);
}

.clients-card .clients-card-top svg rect {
  transition: fill 0.3s ease;
}

.clients-card:hover .clients-card-top svg rect {
  fill: #ffffff;
}

.clients-card:hover .service-open-button {
  background-color: #ffffff;
}

.clients-card-top {
    padding-bottom: 40px;
}

.clients-card-icon {
    width: 80px;
    height: 80px;
}

.clients-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.clients-card-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-right: 10px;
}


/* Адаптив "Клиентам" */

@media (max-width: 1350px) {
    .clients {
        padding-bottom: 80px;
    }
}

@media (max-width: 1140px) {
    .clients-card-title {
        font-size: 24px;
    }

    .clients-card-icon {
        width: 60px;
        height: 60px;
    }

    .clients-card {
        padding: 16px 20px;
    }
}

@media (max-width: 1000px) {
    .clients-card-title {
        font-size: 22px;
    }
}

@media (max-width: 970px) {
    .clients-cards {
        gap: 12px;
    }

    .clients-card {
        padding: 12px 16px;
    }
}

@media (max-width: 700px) {
    .clients-cards {
        grid-template-columns: 1fr;
    }
}




/* Страница "delivery-and-payment.html" */

/* Доставка и оплата */

.delivery-and-payment {
    color: var(--dark-blue);
}

.delivery-and-payment-content {
    padding-top: 8px;
    padding-bottom: 60px;
    padding-left: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.delivery-and-payment-right-side img {
    border-radius: 20px;
    width: 100%;
}

.delivery-and-payment-texts {
    max-width: 790px;
    width: 100%;
}

.delivery-and-payment-texts h2 {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 16px;
    white-space: normal;         
    word-break: break-word;
}

.delivery-and-payment-texts p {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    padding-bottom: 40px;
}

/* Адаптив "Доставка и оплата" */

@media (max-width: 1600px) {
    .delivery-and-payment-content {
        padding-left: 20px;
    }
}

@media (max-width: 1350px) {
    .delivery-and-payment-content {
        padding-bottom: 80px;
    }
}

@media (max-width: 1300px) {
    .delivery-and-payment-texts h2 {
        font-size: 22px;
        padding-bottom: 12px;
    }

    .delivery-and-payment-texts p {
        font-size: 16px;
    }

    .delivery-and-payment-left-side {
        gap: 32px;
    }
}

@media (max-width: 970px) {
    .delivery-and-payment-content {
        padding-left: 0px;
    }
}

@media (max-width: 700px) {
    .delivery-and-payment-content {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .delivery-and-payment-texts p {
        padding-bottom: 32px;
    }
}




/* Страница "faq.html" */

/* Частые вопросы */

.faq {
    color: var(--dark-blue);
    padding-bottom: 60px;
}

.faq-cards {
    display: grid;
    grid-template-columns: minmax(0px, 1315px);
    gap: 16px;
}

.faq-card {
    position: relative;
    background-color: #fff;
    border: 1px solid var(--border-button);
    border-radius: 20px;
    padding: 32px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-card:hover {
    background-color: var(--gray-bg);
}

.service-open-button .plus-icon {
  transition: transform 0.4s ease;
  transform-origin: center;
}

.plus-icon .bar {
  fill: #15284E;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: center;
  transform-box: fill-box;  
}

.plus-icon .horizontal {
  transform: scaleX(1);
}
.plus-icon .vertical {
  transform: scaleY(1);
  opacity: 1;
}

.faq-card.open {
    background-color: var(--gray-bg);
}

.faq-card.open .plus-icon .vertical {
  transform: scaleY(0);
  opacity: 0;
}

.faq-card-bottom {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-card-bottom {
    max-width: 825px;
    width: 100%;
}

.faq-card-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-right: 20px;
}

.faq-card-text {
    padding-top: 8px;
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
}



/* Адаптив "Частые вопросы" */

@media (max-width: 1350px) {
    .faq {
        padding-bottom: 80px;
    }
}

@media (max-width: 1140px) {
    .faq-card-title {
        font-size: 20px;
    }

    .faq-card-text {
        font-size: 16px;
    }

    .faq-card {
        padding: 16px;
    }

    .faq-card-text {
        padding-top: 12px;
    }
}




/* Страница "contacts.html" */

/* Контакты */

.contacts {
    padding-bottom: 60px;
}

/* Яндекс карта */

.contact-maps {
    position: relative;
}

.maps {
    max-width: 1760px;
    height: 560px;
    border-radius: 20px;
    overflow: hidden;
}

.map-info-card {
    position: absolute;
    top: 80px;          
    left: 70px;  
    z-index: 10;
    color: var(--dark-blue);        
    background: #fff;
    border-radius: 10px;
    max-width: 530px;
    width: 100%;
    padding: 40px 60px;
}

.map-info-card a {
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.map-info-card a:hover {
    color: var(--blue);
}

.map-info-card-address {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-info-card-title {
    font-family: 'Helvetica Neue Condensed Bold', sans-serif;
    font-stretch: condensed;
    letter-spacing: -0.04em;
    font-size: 40px;
    line-height: 110%;
    color: var(--blue);
    padding-bottom: 20px;
}

.map-info-card-address-title {
    color: var(--gray-text);
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    padding-bottom: 8px;
}

.map-info-card-address-text,
.map-card-phone,
.map-info-card-email-text {
    color: var(--dark-blue);
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
}

.map-info-card-phones,
.map-info-card-email {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Отключаем стили Яндекс Карты */

[class*="copyrights-pane"] {
	display: none !important;
}

/* Темная Яндекс карта */
[class*="ground-pane"] {
	filter: grayscale(60%);
}

/* Сброс стилей дефолтного балуна */
.ymaps-b-balloon, .ymaps-b-balloon__layout, .ymaps-b-balloon__tail {
  background: transparent !important;
  box-shadow: none !important;
}

/* Адаптив "Контакты" */

@media (max-width: 1530px) {
    .map-info-card {
        top: 100px;
        left: 20px;
        padding: 16px;
        max-width: 440px;
    }
}

@media (max-width: 1350px) {
    .contacts {
        padding-bottom: 80px;
    }
}

@media (max-width: 1200px) {
    .maps {
        height: 380px;
    }

    .map-info-card {
        position: static;
        top: auto;
        left: 0px;
        padding: 0;
        padding-left: 20px;
        padding-bottom: 12px;
    }
}

@media (max-width: 1000px) {
    .map-info-card-title {
        font-size: 26px;
    }

    .map-info-card-address-title,
    .map-info-card-address-text,
    .map-card-phone,
    .map-info-card-email-text {
        font-size: 16px;
    }
}

@media (max-width: 970px) {
    .map-info-card {
        padding-left: 0px;
    }
}



/* Страница "privacy-policy.html" */

/* Политика обработки персональных данных */

.privacy-policy {
    color: var(--dark-blue);
    padding-left: 40px;
    max-width: 850px;
    width: 100%;
    padding-bottom: 60px;
}

.privacy-policy-texts h2 {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 16px;
    transition: color 0.4s ease;
    padding-top: 32px;
}

.privacy-policy-texts p {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%; 
}

.privacy-policy-texts ul {
    padding-top: 20px;
    padding-left: 30px;
}

.privacy-policy-texts ul li {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
    list-style-type: disc;     
    list-style-position: outside;
}

.privacy-policy-texts a {
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.privacy-policy-texts a:hover {
    color: var(--blue);
}

/* Адаптив "Политика обработки персональных данных" */

@media (max-width: 1600px) {
    .privacy-policy {
        padding-left: 20px;
    }
}

@media (max-width: 1350px) {
    .privacy-policy {
        padding-bottom: 80px;
    }
}

@media (max-width: 970px) {
    .privacy-policy {
        padding-left: 0px;
    }
}

@media (max-width: 900px) {
    .privacy-policy-texts p,
    .privacy-policy-texts ul li {
        font-size: 16px;
    }    
    
    .privacy-policy-texts h2 {
        font-size: 20px;
    }

    .privacy-policy-texts h2 {
        padding-top: 20px;
    }

    .privacy-policy-texts ul {
        padding-top: 10px;
        padding-left: 20px;
    }
}




/* Страница "about-company.html" */

/* О компании */

.about-company {
    color: var(--dark-blue);
}

.about-company-main-banner {
    background-color: var(--gray-bg);
    border: 1px solid var(--border-button);
    border-radius: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.about-company-main-banner-image {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    max-width: 935px;
    width: 100%;
    height: 100%;
}

.about-company-main-banner-image img {
    width: 100%;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 100%;
    object-fit: cover;
}

/* Плавный градиент переход от текста к изображению */
.about-company-main-banner-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; 
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        var(--gray-bg) 0%,   
        rgba(255,255,255,0) 100% 
    );
    z-index: 2; 
}

.about-company-main-banner-texts {
    position: relative;
    z-index: 3;
    padding: 40px;
    max-width: 780px;
    width: 100%;
}

.about-company-main-banner-texts h2,
.about-company-main-banner-texts h3 {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 20px;
}

.about-company-main-banner-texts p {
    font-family: 'Helvetica Neue Regular', sans-serif;
    font-size: 20px;
    line-height: 110%;
}

.our-clients {
    padding-top: 130px;
    padding-bottom: 52px;
}

.our-clients-title {
    font-family: 'Helvetica Neue Bold', sans-serif;
    font-size: 54px;
    line-height: 100%;
    letter-spacing: -0.04em;
    padding-bottom: 35px;
    max-width: 830px;
    width: 100%;
}

.our-clients-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 0px;
}

.our-clients-card {
    border: 1px dashed var(--border-button);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 162px;
    padding: 0px 20px;
}

.our-clients-card img {
    max-width: 279px;
    max-height: 98px;
    width: 100%;
    height: 100%;
}

/* Адаптив "О компании" */

@media (max-width: 1400px) {
    .our-clients-title {
        font-size: 44px;
        max-width: 700px;
    }
}

@media (max-width: 1350px) {
    .our-clients {
        padding-bottom: 80px;
        padding-top: 80px;
    }
}

@media (max-width: 1200px) {
    .our-clients-title {
        font-size: 34px;
        max-width: 540px;
    }
}

@media (max-width: 970px) {
    .about-company-main-banner-texts {
        padding: 16px;
    }

    .about-company-main-banner-texts h2,
    .about-company-main-banner-texts h3 {
        font-size: 20px;
    }

    .about-company-main-banner-texts p {
        font-size: 16px;
    }
    
    .about-company-main-banner-image {
        position: static;
        width: 100%; 
        height: 100%;   
        transform: translate(0px, 5px);
    }

    .about-company-main-banner-image img {
        border-top-right-radius: 0px;
    }
}

@media (max-width: 900px) {
    .our-clients-title {
        padding-bottom: 16px;
    }

    .our-clients-cards {
        grid-template-columns: 1fr;
    }

    .our-clients-card {
        padding: 0px 5px;
    }
}

@media (max-width: 600px) {
    .about-company-main-banner {
        margin-bottom: 20px;
    }
}

@media (max-width: 500px) {
    .our-clients-card {
        height: 102px;
    }
}