/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

body {
    font-family: 'Roboto', sans-serif;
    color: #1E1E1E;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%; /* Ensure the container spans the full height of the section */
}

/* Header styles */
.header {
    width: 100%;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* по умолчанию скрываем мобильные элементы */
.hero-button--mobile {
  display: none !important;
}

/* по умолчанию скрываем мобильную шапку только для десктопа */
.header__mobile {
  display: none;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}

.logo-circle {
    width: 55px;
    height: 55px;
    background-color: #375E97;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1; /* Control line height more precisely */
}

.logo-qa {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.275px;
    color: #88D44E;
    display: block;
    margin-top: -2px; /* Fine-tune vertical alignment */
}

.logo-core {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: -0.143px;
    color: #FFFFFF;
    display: block;
    margin-top: -2px; /* Fine-tune vertical alignment */
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-item a {
    font-size: 18px;
    color: #6B7280;
    font-weight: 400;
    letter-spacing: -1.1%;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #375E97;
}

.button {
    display: inline-block;
    background-color: #375E97;
    color: #FBFBFB;
    padding: 12px 24px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -1.1%;
    border-radius: 16px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #2b4a7a;
    cursor: pointer;
}

/* Hero section styles */
.hero {
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    background-color: #FFFFFF;
    height: 100vh; /* Make each section match the user's screen height */
    display: flex; /* Enable flexbox for centering content */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    height: 688px;
}

.hero-text {
    max-width: 650px;
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 58px;
    line-height: 150%; /* 87px */
    color: #375E97;
    letter-spacing: -0.638px;
    margin-bottom: 20px;
    white-space: nowrap;
}


.hero-title--desktop { display: block; }
.hero-title--mobile { display: none; }

@media (max-width: 768px) {
  .hero-title--desktop { display: none; }
  .hero-title--mobile { 
    display: block;
    font-size: 20px;
    line-height: 150%;
    color: #375E97;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    white-space: normal;
    width: 100%;
    max-width: 345px; 
    text-align: left;
    letter-spacing: -0.352px;
  }

  .hero-subtitle-mobile {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 18px;
    font-style: normal;
    line-height: 1.5; /* Adjusted for better readability */
    color: #212529;
    letter-spacing: -0.198px;
    margin-bottom: 0px !important;;
    text-align: left;
  }

  .hero-gear-image-mobile {
    width: 300px !important;
    height: 300px !important;
    max-width: 80vw;
    max-height: 80vw;
    margin-top: -24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* Если надо убрать общий стиль hero-gear-image */
  .hero-gear-image {
    width: 100%;
    height: auto;
    /* не трогать тут размер! */
  }
  
}

.business-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    margin-left: 40px;
    transform-origin: center;
}

.business-image {
    max-width: 100%;
    height: auto;
    transform: rotate(-3.9deg);
}

.business-wrapper-inline {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.business-image-inline {
    width: 259.606px;
    height: 102.529px;
    transform: rotate(-3.914deg);
    flex-shrink: 0;
}

.hero-subtitle {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 32px;
    font-style: normal;
    line-height: 1.5; /* Adjusted for better readability */
    color: #212529;
    letter-spacing: -0.352px;
    margin-bottom: 60px;
    text-align: left;
}

.hero-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #375E97;
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -1.1%;
    border-radius: 24px;
    transition: background-color 0.3s ease;
    width: 305px;
    height: 68px;
}

.hero-button:hover {
    background-color: #4670b1;
    cursor: pointer;
}

.hero-visual {
    position: relative;
    width: 600px;
    height: 600px;
}

.hero-gear-image {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.line-break {
    display: block;
    white-space: nowrap;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        height: auto;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
        padding-top: 20px;
    }
    
    .hero-visual {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    
    .hero-gear-image {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }
            
}

@media (max-width: 768px) {
  .hero-button--desktop {
    display: none !important;
  }
  .hero-button--mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 305px;
    height: 56px;
    font-size: 20px;
    background-color: #375E97;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    border-radius: 24px;
    margin: 0 auto 0 auto;
    transition: background-color 0.3s;
  }
  .hero-button--mobile:hover {
    background-color: #4670b1;
    cursor: pointer;
  }
  .hero-button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .header-content {
      flex-direction: column;
      height: auto;
      padding: 20px 0;
  }
  
  .nav-list {
      margin: 20px 0;
      gap: 20px;
      flex-wrap: wrap;
      justify-content: center;
  }
  
  .nav-item a {
      font-size: 16px;
  }
  
  .button {
      font-size: 18px;
      padding: 10px 20px;
  }
  
  .hero-title {
      font-size: 42px;
  }
  
  .hero-subtitle {
      font-size: 24px;
  }
  
  .hero-button {
      width: 100%;
      max-width: 305px;
  }

  /* мобильная шапка */
  .header__mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
  }
  .header__mobile button {
    background: none;
    border: none;
    padding: 0;
  }
  .header__mobile img {
    width: 24px;
    height: 24px;
  }
  /* прячем desktop-лого и меню */
  .header .logo,
  .header .nav,
  .header .contact-button {
    display: none;
  }

  /* перераспределяем контент hero */
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-text {
    margin-bottom: 0 !important;
    padding-top: 0; /* если нужно */
  }
  .hero-visual {
    width: 100%;
    margin: 20px 0;
  }

  /* Адаптация плашки цены для мобильной версии */
  .service:not(:last-child) .service__price {
    width: 90px;
    height: 36px;
    font-size: 14px;
    top: -28px;
    right: 0;
    padding: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    /* background-color, цвет текста и другие свойства унаследуются */
  }

}

/* почему мы */
.advantages {
    padding: 100px 0;
    background-color: #F9FAFB;
    position: relative;
    height: 100vh; /* Make each section match the user's screen height */
    display: flex; /* Enable flexbox for centering content */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
  }
  
  .advantages__title {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.512px;
    color: #375E97;
    margin-bottom: 60px;
  }
  
  .advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    background-color: #FFF;
    padding: 60px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
  }
  
  .advantage {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  
  .advantage__icon {
    width: 50px;
    height: 51px;
    flex-shrink: 0;
  }
  
  .advantage__text {
    font-family: 'Roboto';
    font-size: 22px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.242px;
    color: #1E1E1E;
  }
  
  .advantages::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 364px;
    height: 439px;
    background: url('../images/why_us_gear_background.svg') no-repeat center/contain;
    z-index: 0;
    opacity: 0.95;
    background-position: left center
  }
  
/* services */
.services {
    padding: 100px 0;
    background: linear-gradient(169deg, #375E97 11.18%, #1A2D47 101.48%);
    position: relative;
    z-index: 0; /* Ensure the background is below other elements */
    min-height: 100vh; /* Make each section match the user's screen height */
    display: flex; /* Enable flexbox for centering content */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

.services__title {
    color: #FBFBFB;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 48px */
    letter-spacing: 0.512px;
    text-align: left;
    margin-bottom: 60px;
    position: relative;
    z-index: 1; /* Ensure text and content are above the background */
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Column gap */
    row-gap: 70px; /* Increased vertical spacing between rows */
    position: relative;
    z-index: 1; /* Ensure text and content are above the background */
}

.service {
    background: linear-gradient(180deg, #F5F5F5 15.17%, #C8C5C5 131.28%);
    border-radius: 16px 0 16px 16px; /* Top-right corner is not rounded */
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.service__price {
    color: #FFF;
    text-align: center;
    font-family: 'Roboto';
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 36px */
    letter-spacing: -0.264px;
}

.service__title {
    font-size: 20px;
    font-weight: 600;
    color: #1E1E1E;
    margin-bottom: 12px;
}

.service__description {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
}

.service:last-child {
    background: #6B7280;
    color: #FFFFFF; /* Ensure text is visible on the dark background */
    position: relative; /* For positioning the arrow icon */
    text-align: left; /* Align text to the left */
    padding: 20px 20px 60px 20px; /* Add padding for the arrow */
    border-radius: 16px; /* Make all corners rounded */
}

.service:last-child .service__price {
    color: #FFF;
    font-family: 'Roboto';
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 36px */
    letter-spacing: -0.264px;
    margin-bottom: 12px;
}

.service:last-child .service__description {
    color: #FFF;
    font-family: 'Roboto';
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 27px */
    letter-spacing: -0.198px;
}

.service:last-child::after {
    content: url('../images/approach_arrow.svg');
    position: absolute;
    bottom: 70px; /* Adjusted to stay inside the card */
    right: 70px; /* Adjusted to stay inside the card */
    width: 24px;
    height: 24px;
}

.services__note {
    font-size: 14px;
    color: #FBFBFB;
    text-align: left;
    margin-top: 40px;
    margin-left: 5px; /* Align with the left margin of the last card */
    margin-right: 0;
    position: relative;
    z-index: 1; /* Ensure text and content are above the background */
}

.services::after {
    content: url('../images/approach_half_gear.svg');
    position: absolute;
    bottom: 0;
    right: 70px; /* Moved slightly to the left */
    width: 307px;
    height: 168px;
    z-index: 0; /* Ensure it stays below the content */
}

.service {
    position: relative;
    overflow: visible;
  }
  
  /* Только для карточек с ценами */
  .service:not(:last-child) .service__price {
    position: absolute;
    top: -50px;               /* Половина высоты */
    right: 0;
    width: 140px;
    height: 50px;
    background-color: #5E646F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 0;
    z-index: 1;                /* Ниже содержимого */
    pointer-events: none;      /* Не мешает кликам */
  }

.service:not(:last-child) {
    position: relative;
    z-index: 2; /* Ensure the card is on the topmost layer */
    overflow: visible; /* Allow the price block to extend outside */
}

.service:not(:last-child) .service__price {
    z-index: 1; /* Ensure the price block is below the card */
}

/* Hover effect for .service cards */
.service {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive styles for services */
@media (max-width: 1200px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Наш подход */
.approach {
    padding: 100px 0;
    background-color: #FFFFFF;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.approach__title {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 150%;
    color: #375E97;
    margin-bottom: 60px;
}

.approach__steps {
    display: grid;
    grid-template-columns: 1fr; /* Single column for stacking */
    gap: 40px;
    width: 100%;
}

.approach__step:nth-child(1),
.approach__step:nth-child(3) {
    flex-direction: row-reverse; /* Place the image to the right of the text */
}

.approach__step:nth-child(1) {
    align-self: start;
    justify-self: end; /* Position top-right */
}

.approach__step:nth-child(2) {
    align-self: center;
    justify-self: start; /* Position below and left */
}

.approach__step:nth-child(3) {
    align-self: center;
    justify-self: end; /* Position below and right */
}

.approach__step:nth-child(4) {
    align-self: end;
    justify-self: start; /* Position below and left */
}

.approach__step {
    width: 894px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 30px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center; /* Center content vertically */
    gap: 20px; /* Add spacing between the image and text */
}

.approach__icon {
    display: none; /* Hide the numbers */
}

.approach__step-title {
    color: #375E97;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 36px */
    letter-spacing: -0.264px;
}

.approach__list {
    list-style: disc; /* Add bullet points */
    padding-left: 20px; /* Add space for the bullets */
}

.approach__list li {
    color: #1E1E1E;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 27px */
    letter-spacing: -0.198px;
    margin-bottom: 8px;
}

.approach__image {
    width: 206.205px;
    height: 180.409px;
    flex-shrink: 0;
    display: block;
    margin: 0; /* Remove auto-centering */
}

.approach__step:nth-child(2),
.approach__step:nth-child(4) {
    flex-direction: row; /* Place the text to the left of the icon */
}

/* Hover effect for .approach__step cards */
.approach__step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.approach__step:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Наши кейсы */
.cases {
    padding: 100px 0;
    background-color: #FFFFFF;
}

.cases__title {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #375E97;
    margin-bottom: 40px;
    text-align: center;
}

.cases__slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden; /* убрали justify-content: center */
}

.cases__slides-wrap {
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.cases__slides {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
}

.cases__arrow {
    background: none;
    border: none;
    font-size: 36px;
    color: #6B7280;
    cursor: pointer;
    z-index: 2;
}

.cases__arrow:hover {
    color: #1A2D47;
}

.cases__slides {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 20px;
}

.case {
    background: linear-gradient(169deg, #375E97 11.18%, #1A2D47 101.48%);
    border-radius: 20px;
    padding: 30px 30px 20px;
    width: 587px;
    height: 439px;
    flex-shrink: 0;
    position: relative;
}

.case__image-header {
    width: calc(100% + 60px);
    height: 60px;
    margin: -30px -30px 20px -30px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.case__header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case__title {
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 36px */
    letter-spacing: -0.264px;
    margin-bottom: 40px; /* Added bottom margin */
}

.case__label {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 27px */
    letter-spacing: -0.198px;
}

.case__label--problem,
.case__label--solution,
.case__label--result {
    color: #88D44E;
}

.case p {
    color: #D9D9D9;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.198px;
}

.cases__arrow {
    background: none;
    border: none;
    font-size: 36px;
    color: #6B7280;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
}

.cases__arrow:hover {
    color: #1A2D47;
}

.case__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.faq {
    padding: 100px 0;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  
  .faq .container {
    width: 100%;
    max-width: 1200px;
  }
  
  .faq__title {
    font-size: 32px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    color: #1E1E1E;
    margin-bottom: 40px;
  }
  
  .faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .faq__item {
    background-color: #F5F5F5;
    border-radius: 16px;
    padding: 16px 24px;
    transition: all 0.3s ease;
  }
  
  .faq__toggle {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0;
  }
  
  .faq__question {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #375E97;
    line-height: 1.5;
    text-align: left;
  }
  
  .faq__icon {
    width: 36px;
    height: 36px;
    background-color: #375E97;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
  
  .faq__item.active .faq__icon {
    transform: rotate(0deg);
    content: "-";
  }
  
  .faq__answer {
    margin-top: 12px;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #1E1E1E;
    line-height: 1.6;
    display: none;
  }
  
  .faq__item.active .faq__answer {
    display: block;
  }

  .contact {
    background-color: #F5F5F5;
    padding: 100px 0;
  }
  
  .contact__inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding: 40px;
    border-radius: 20px;
    background-color: #F5F5F5;
  }
  
  .contact__info {
    flex: 1;
  }
  
  .contact__title {
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 40px;
  }
  
  .contact__title--dark {
    color: #375E97;
  }
  
  .contact__title--highlight {
    color: #88D44E;
    display: inline-block;
    transform: rotate(-4.5deg);
    font-weight: 700;
  }
  
  .contact__channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .contact__channel {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #1E1E1E;
  }
  
  .contact__icon {
    width: 28px;
    height: 28px;
  }
  
  .contact__form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .contact__form input,
  .contact__form textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #E5E6E8;
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
  }
  
  .contact__form textarea {
    resize: none;
  }
  
  .contact__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #375E97;
    cursor: pointer;
    margin-top: 12px;
    user-select: none;
    text-decoration: underline;
  }

  .contact__checkbox a:hover {
    text-decoration: none;
  }
  
  .contact__checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid #E5E6E8;
    border-radius: 4px;
    accent-color: #375E97; /* галочка будет синей */
    cursor: pointer;
  }
  
  .contact__submit {
    background-color: #375E97;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
  }
  
  .contact__submit:hover {
    background-color: #2b4a7a;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .contact__inner {
      flex-direction: column;
      padding: 20px;
    }
  }
  .contact__headline {
    font-size: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 150%;
    margin-bottom: 40px;
    color: #1E1E1E;
  }
  
  .contact__title--dark {
    color: #375E97;
    margin-right: 8px;
  }
  
  .contact__sticker-wrapper {
    display: inline-block;
    position: relative;
    width: 215.86px;
    height: 67.918px;
    transform: rotate(-1.167deg);
    flex-shrink: 0;
    vertical-align: baseline; /* выравнивание по тексту */
    margin-bottom: 0px; /* немного приподнять */
  }  
  
  .contact__sticker-bg {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .contact__sticker-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-4.5deg);
    font-size: 36px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #88D44E;
    letter-spacing: -0.4px;
    white-space: nowrap;
  }

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #E5E6E8;
  background-color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1E1E1E;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  font-family: 'Roboto', sans-serif;
  color: #BEC7D4; /* светло-серый как на макете */
  font-weight: 400;
  font-style: normal;
}

.contact {
  background-color: #FFFFFF;
  padding: 100px 0;
}

.contact__card {
  background-color: #F5F5F5;
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  height: 546px;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
}

.cases__dots {
  display: none;
}

/* === Mobile Specific Adjustments === */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.5;
  }

  .container {
    padding: 0 16px;
  }

  h1, h2, h3, h4 {
    text-align: center;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }

  .advantage {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .advantage__icon {
    width: 48px;
    height: 48px;
  }

  .advantage__text {
    font-size: 18px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    
  }

  .service {
    padding: 20px;
    text-align: left;
  }

  .approach__step {
    flex-direction: column !important;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 20px;
    text-align: center;
  }

  .approach__image {
    width: 100%;
    height: auto;
    max-width: 180px;
    margin-bottom: 20px;
  }

  .approach__step-title {
    font-size: 20px;
  }

  .approach__list {
    padding-left: 0;
    list-style: none;
  }

  .approach__list li {
    font-size: 16px;
    text-align: left;
  }
  
  .cases__slides-wrap {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw; 
  }
  .cases__slides {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }
  .case {
    width: 100%;
    min-width: unset;
    max-width: 100vw;
    box-sizing: border-box;
    padding: 20px 12px 24px 12px;
    border-radius: 14px;
    margin: 0 auto;           /* чтобы центрировалось */
    display: block;
    overflow: hidden;         /* обязательно! */
    word-break: break-word;   /* если очень длинные слова */
  }
  .cases__arrow {
    display: none;
  }
  .cases__slider {
    overflow-x: hidden;
  }
  .cases__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 0;
    width: 100%;
  }
  .cases__dot {
    width: 10px;
    height: 10px;
    background: #C8C5C5;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    outline: none;
  }
  .cases__dot.active {
    background: #375E97;
  }
  .cases__title {
    color: #1E1E1E;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 30px */
    letter-spacing: 0.32px;
    text-align: left;
  }


  .faq {
    padding: 60px 0;
    height: auto;
  }

  .faq__title {
    font-size: 24px;
    text-align: left;
  }

  .faq__icon {
    width: 24px;
    height: 24px;
  }

  .faq__question {
    font-size: 18px;
  }

  .faq__answer {
    font-size: 16px;
  }

  .contact__card {
    height: auto;
    padding: 20px;
  }

  .contact__inner {
    flex-direction: column;
    gap: 30px;
  }

  .contact__headline {
    font-size: 24px;
    text-align: center;
  }

  .contact__channels {
    align-items: left;
  }

  .contact__form {
    width: 100%;
  }

  .contact__submit {
    width: 100%;
  }

  /* mobile version */
  .advantages__title {
    color: #375E97;
    font-family: Roboto, Arial, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 30px */
    letter-spacing: 0.32px;
    text-align: left;
  }
  .advantages__grid {
    text-align: left;
  }
  .advantage__text {
    color: #1E1E1E;
    font-family: Roboto, Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    letter-spacing: -0.176px;
    text-align: left;
  }
  .advantage {
    display: flex;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }
  .advantage__icon {
    width: 30px;
    height: 30px;
    margin-right: 0;
    margin-bottom: 0;
    order: 0;
  }
  .advantage__text {
    order: 1;
    color: #1E1E1E;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    letter-spacing: -0.176px;
  }

  .advantages {
    position: relative;
  }
  .advantage::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0px;
    left: auto;
    top: auto;
    width: 180px;
    height: 220px;
    background: url('../images/why-us-mobile-gear-fon.svg') no-repeat right bottom/contain;
    z-index: 0;
    opacity: 0.10;
    pointer-events: none;
  }
  .advantages__grid,
  .advantages__title {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
  }

  .services,
  .advantages,
  .approach,
  .cases,
  .faq,
  .contact {
    height: auto !important;
    min-height: unset !important;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .services {
    padding-bottom: 0;
  }
  .services__note {
    margin-bottom: 20px; 
  }
  .services__title {
    color: #FBFBFB;
    font-family: 'Roboto';
    font-size: 20px;
    color: #FBFBFB;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 30px */
    letter-spacing: 0.32px;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 80px; /* Добавляет отступы между карточками */
  }

  .service__description {
    color: #545353;
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 24px */
    letter-spacing: -0.176px;
  }
  .service_description_free_estimate {
    margin-bottom: 50px;
  }

  .approach__steps {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
  }
  .approach__step {
    position: relative;
    padding-top: 10px;   /* чуть больше сверху под картинку */
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 30px; /* стало больше снизу */
    border-radius: 18px;
    box-sizing: border-box;
    min-height: 210px;   /* увеличиваем минимальную высоту */
    background: #fff;
    /* Можно добавить тень, если надо визуально отделить */
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.04); */
    width: 100%;
    max-width: 100%;
  }
  .approach__content {
    width: 100%;
    max-width: 370px;   /* ограничить ширину контента */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
  }
  .approach__step-title {
    font-size: 19px;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.25;
    padding-left: 90px; /* увеличь, чтобы не наезжало на большую иконку */
  }

  .approach__title {
    color: #1E1E1E;
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 30px */
    letter-spacing: 0.32px;
    text-align: left;
    margin-bottom: 20px;
  }

  .approach__list {
    font-size: 14px;
    padding-left: 90px;
    margin-bottom: 0;
    list-style: disc;
    max-width: 100%;   /* не больше, чем max-width контента */
  }
  .approach__list li {
    font-size: 14px;
    margin-bottom: 7px;
    line-height: 1.4;
    font-weight: 400;
  }
  .approach__image {
    display: block;
    position: absolute;
    top: 14px;
    left: 18px;
    width: 80px;
    height: 80px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(136,212,78,0.08);
    z-index: 2;
  }
  /*
  .approach__step:nth-child(1) .approach__image {
    content: url("images/approach_icon_01_mobile.svg");
    width: 80px;
    height: 80px;
    left: 18px;
    top: 14px;
  }*/
  /* 2 
  .approach__step:nth-child(2) .approach__image {
    content: url("images/approach_icon_02_mobile.svg");
    width: 80px;
    height: 80px;
    left: 18px;
    top: 14px;
  }
  /* 3 
  .approach__step:nth-child(3) .approach__image {
    content: url("images/approach_icon_03_mobile.svg");
    width: 80px;
    height: 80px;
    left: 18px;
    top: 14px;
  }
  /* 4 
  .approach__step:nth-child(4) .approach__image {
    content: url("images/approach_icon_04_mobile.svg");
    width: 80px;
    height: 80px;
    left: 18px;
    top: 14px;
  }
  */

  /* 
  .approach__steps::before {
    content: "";
    position: absolute;
    left: 79px;         
    top: 170px;          
    width: 2px;
    height: 1050px;
    background: #C8C5C5;
    z-index: 1;
  }
  */

  .approach__steps::before {
    content: "";
    position: absolute;
    left: 79px;    
    top: 170px;     
    width: 2px;
    height: calc(100% - 440px); /* Динамически! 80px снизу отступ, подбери под макет */
    background: #C8C5C5;
    z-index: 1;
  }

  .contact__headline {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    justify-items: start;
  }
  .contact__headline > *:nth-child(2) {
    position: relative;
    top: -10px; /* подбери, насколько нужно поднять */
    z-index: 1;
  }
  
  .contact__headline > *:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 10px;
    text-align: left;
  }
  
  .contact__title--dark {
    color: #375E97;
    font-size: 32px;
    text-align: left;
  }
  .contact__sticker-wrapper {
    position: relative;
    width: 180px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 0;
    vertical-align: baseline; /* выравнивание по тексту */
  }
  .contact__sticker-bg {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 1;
  }
  .contact__sticker-text {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%) rotate(-4.5deg);
    font-size: 30px;
    font-weight: 700;
    color: #88D44E;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    text-align: left;
  }
  .contact__headline br {
    flex-basis: 100%;
    height: 0;
    order: 2;
    display: block;
    content: "";
  }
  .contact__headline-subtext {
    font-size: 16px;
    color: #1E1E1E;
    font-family: 'Roboto', sans-serif;
    margin-top: 8px;
    grid-column: 1 / -1;
    text-align: left;
    display: block;
  }

  .contact__headline > br,
  .contact__headline > :not(*) {
    display: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
  }
  


  

/* mobile finish section*/
}

/* --- Burger menu styles --- */
@media (max-width: 900px) {
  .header-content {
      display: none;
  }
  .header__mobile {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 80px;
      position: relative;
      z-index: 200;
  }
  .header__logo-mobile img {
      height: 36px;
      width: auto;
  }
  .header__send img {
      height: 24px;
      width: 24px;
  }
  .header__burger {
      background: none;
      border: none;
      padding: 0;
      margin-right: 12px;
      z-index: 202;
  }
  .mobile-nav {
      display: none; /* будет управляться через js */
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      background: #375E97;
      box-shadow: 0 4px 24px rgba(30,30,30,0.13);
      border-radius: 0 0 18px 0;
      z-index: 201;
      animation: slideDown 0.2s;
      width: 224px;
  }
  .mobile-nav ul {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 24px 0;
      margin: 0;
      list-style: none;
      align-items: flex-start;
  }
  .mobile-nav li {
      width: 100%;
      text-align: left;
  }
  .mobile-nav a {
      font-size: 16px;
      color: #FFF;
      font-weight: 500;
      padding: 8px 24px;
      display: block;
      width: 100%;
      border-radius: 8px;
      transition: background 0.18s;
  }
  .mobile-nav__contact-btn {
    display: flex;
    align-items: flex-start;
    padding: 20px; /* или если хочешь — добавь небольшой padding сверху/снизу */
    margin: 40px 0 24px 0;  /* верхний и нижний отступ, подбери под макет */
  }
  .button.mobile-nav__button-contact {
    border-radius: 24px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 6px 48px;
    font-weight: 600;
    font-size: 16px;
    width: auto; /* Не 100% */
    min-width: 0;
    display: inline-block;
    }



  .mobile-nav a:hover {
      background: #f0f4fa;
      color: #2b4a7a;
  }
  @keyframes slideDown {
      0% { opacity: 0; transform: translateY(-10px);}
      100% { opacity: 1; transform: translateY(0);}
  }
  .header__mobile.open::before {
    content: "";
    position: fixed; left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.23); z-index: 199;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 24px;
    height: auto;
    min-height: 100vh; /* или просто убери если не надо */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  .hero-content {
    flex-direction: column;
    height: auto;
    align-items: flex-start;
  }
}

.hero-title__business {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* расстояние между текстом и иконкой */
}

.business-image-mobile {
  width: 170px;    
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  transform: rotate(-3.9deg);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cases__slider {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    width: 100vw;
  }
  .cases__slides-wrap,
  .cases__slides {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    overflow: visible;
  }
  .case {
    width: calc(100vw - 24px) !important;      /* 12px слева и 12px справа */
    min-width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 20px 12px 24px 12px;
    box-sizing: border-box !important;
    border-radius: 14px;
    overflow: hidden;
    word-break: break-word;
    display: block;
    margin-right: 2px !important;
  }
  
  .cases__arrow {
    display: none;
  }
  .cases__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    width: 100%;
  }
  
}

.advantage {
  transition: box-shadow 0.25s, transform 0.22s;
  box-shadow: 0 4px 24px rgba(30, 94, 151, 0.04);
  background: #fff;
  border-radius: 16px;
  cursor: pointer;
  position: relative;
}
.advantage:hover {
  box-shadow: 0 8px 36px rgba(30, 94, 151, 0.11), 0 1.5px 8px 0 #88D44E44;
  transform: translateY(-8px) scale(1.02);
  z-index: 2;
}
.advantage__icon {
  transition: filter 0.22s, transform 0.18s;
}
.advantage:hover .advantage__icon {
  filter: drop-shadow(0 0 8px #88D44E55) brightness(1.12);
  transform: scale(1.12) rotate(-6deg);
}

.fade-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.fade-section.visible {
  opacity: 1;
  transform: none;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__icon {
  transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.service--estimate {
  text-decoration: none;
  cursor: pointer;
}

.service--estimate .service__description {
  color: inherit; /* если вдруг браузер перекрасит */
}

.hero-gear-image,
.hero-gear-image-mobile {
  transition: transform 0.5s ease, filter 0.4s ease;
}

.hero-gear-image:hover,
.hero-gear-image-mobile:hover {
  transform: rotate(6deg) scale(1.05);
  filter: drop-shadow(0 0 8px #88D44E55) brightness(1.1);
}

.business-image-inline {
  transition: transform 0.4s ease, filter 0.3s ease;
}

.business-image-inline:hover {
  transform: rotate(0deg) scale(1.06); /* можно убрать наклон на ховере */
  filter: drop-shadow(0 0 6px #88D44E55) brightness(1.08);
}

.contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
  border-radius: 12px;
  background-color: #E8F5E9;
  border: 1px solid #88D44E;
  color: #1E1E1E;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.contact__success-icon {
  width: 48px;
  height: 48px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* политика конфиденциальности и согласие на обработку персональных данных */
.contact__checkbox {
  text-decoration: none !important;
  color: #222; 
}

.contact__checkbox a {
  color: #294D89;
  text-decoration: underline; /* подчеркивание только у ссылки */
}

.header__send {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 769px) {
  .header__send {
      display: none; /* Скрываем на десктопе */
  }
}

.contact__channel-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact__channel-link:hover {
  opacity: 0.8;
}

.contact__error {
  color: #E53E3E;        /* красный для ошибки */
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.2;
}


