* {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
html {
    font-style: normal;
    scroll-behavior: smooth;
}
body {
  max-width: 1920px;
  margin: 0 auto;
  background: #F0F0F0;
}
h1{
  font-size: clamp(1.5rem, calc(5vw + 0.5rem), 3rem);
  font-weight: 400;
  text-transform: uppercase;
  color: #424242;
  font-family: 'Manrope', sans-serif;
}
h1 span {
  color: #00899F !important;
  font-weight: 700;
  font-size: clamp(1.5rem, calc(5vw + 0.5rem), 3rem) !important;
  font-family: 'Manrope', sans-serif;
}
#contacts {
  scroll-margin-top: 80px;
}
#hero {
  background: transparent;
  height: 100vh;
  padding: clamp(80px, 6vw, 60px) 0;
  padding-bottom: 120px;
}
#hero li {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.2rem, calc(1.1vw + 0.5rem), 1.8rem);
  color: #858585;
  font-weight: 700;
}
section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: #FBFBFB;
}
th span {
  font-size: clamp(1.2rem, calc(1.1vw + 0.5rem), 1.8rem) !important;
  color: #424242 !important;
  font-weight: 700;

}
    /* Боковая панель с вертикальными кнопками */
    div.vertical-buttons {
      top: 0;
      right: 0;
      height: 100vh;
      display: flex;
      align-items: stretch;
      position: absolute;
    }
    .vertical-buttons button{
      margin-right: -1px;
    }
    .switch-btn {
      flex: 1;
      background-color: #e0e0e0;
      border: none;
      writing-mode: vertical-rl;
      -moz-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
      -webkit-writing-mode: vertical-rl;
      transform: rotate(180deg);
      font-size: 0.9rem;
      font-weight: 500;
      color: #333;
      transition: all 0.3s ease;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
      padding: 0px 20px;
      transition: padding-left 0.3s ease;
    }
    .switch-btn:hover{
      padding-left: 40px;
    }

    .switch-btn:hover,.switch-btn.active-btn {
      background-color: #00899F;
      color: #fff;
    }

    .switch-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px; /* внутри padding */
  transform: translateY(-50%) rotate(180deg);
  width: 17px;
  height: 54px;
  background-image: url('../imgs/arrow_sidebar.svg');
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.switch-btn:hover::after {
  opacity: 1;
  visibility: visible;
}



    div.content-block {
      position: absolute;
      left: 100%;
      width: 100%;
      height: 100%;
      background-color: transparent;
      transition: left 0.5s ease;
      opacity: 0;
      z-index: 1;
    }

    div.content-block.active {
      left: 0;
      opacity: 1;
      z-index: 10;
      position: relative;
    }

    h2 {
      font-size: clamp(1.8rem, calc(5vw + 0.5rem), 3rem);
      font-weight: 400;
      text-transform: uppercase;
      padding-bottom: 2rem;
      line-height: 0.9;
      font-family: 'Manrope', sans-serif;
    }
    .switch-btn:hover::after {
      visibility: visible;
    }

    .switch-btn.active-btn {
      pointer-events: none;
    }

    .switch-btn.active-btn::after {
      visibility: visible;
    }
#hero h3, nav.fixed-bottom a {
  font-size: 17px;
  color: #858585;
  font-weight: 500;
}
#why-rubberflex.position-relative {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
}
#why-rubberflex > div:first-child {
  flex: 1 1 0%;
  min-width: 0;
  padding: 80px 30px;
  padding-right: 0;
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}
#why-rubberflex .vertical-buttons {
  flex: 0 0 auto;
}
.list-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 1.8rem;
}
.list-block > div {
  flex: 1 1 0%;
  background-color: #E9F1F0;
  padding: 0 14px;
}
.list-block > div * {
  font-size: clamp(0.9rem, calc(1vw + 0.5rem), 1rem);
}
.list-block img {
  flex: 0 0 auto;
}
.list-block span {
  display: block;
  line-height: normal;
}
.list-block span b {
  color: #424242;
}
.list-block > div > div {
  padding: 25px 0px;
  display: flex;
  height: 100%;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.list-block > div:nth-child(odd) {
  background: #F0F0F0;
}
#why-rubberflex{
  padding: 0;
}
#why-rubberflex > div {
  padding: 80px 0;
}
.vertical-buttons{
  padding: 0 !important;
}
.table-note {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  margin-left: 4px;
}
.navbar-expand-lg .navbar-nav .nav-link {
  padding-left: 0;
  padding-right: 0;
}
nav ul {
  display: flex;
  gap: 80px;
}
nav.fixed-top ul a.active {
  color: #00899F !important;
  text-shadow: 0 0 1px currentColor;
  text-decoration: none;
}
nav.on-faq ul a.active{
  color: #fff !important;
  text-shadow: 1px 1px 1px currentColor;
}
.compare-table {
  margin-bottom: 25px;
  margin-top: 25px;
}

.compare-table th,
.compare-table td {
  border-top: none;           /* Убираем верхнюю границу */
  border-bottom: none;        /* Убираем нижнюю границу */
  border-left: 1px solid #ccc; /* Только вертикальные границы */
  padding: 12px 8px;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  word-break: break-word;
  background-color: transparent;
}

.compare-table th:first-child,
.compare-table td:first-child {
  border-left: none; /* Убираем левую границу у первого столбца */
}

.compare-table th {
  font-weight: 700;
}

/* Удаляем зебру (чередование фона) */
.compare-table tr:nth-child(even) td {
  background: none;
}


main .compare-table td.highlight-column,
main .compare-table th.highlight-column,
main .compare-table td:nth-child(2),
main .compare-table th:nth-child(2) {
  background-color: #e0f7fa !important;
}
main .compare-table td.highlight-column span,
main .compare-table th.highlight-column span,
main .compare-table td:nth-child(2) span,
main .compare-table th:nth-child(2) span {
  color: #00899F !important;
}

.table-responsive {
  background: #F0F0F0;
  padding: 0 25px;
}

h2.small-text {
  font-size: clamp(1.25rem, calc(3vw + 0.5rem), 2.5rem);
  line-height: 1.1;
}
.list-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.list-grid > div {
    flex: 0 0 auto;
    width: 100%;
}
.list-grid > div {
  display: flex;
    flex: auto;
    gap: 20px;
    flex-wrap: wrap;
}
.list-grid > div > div > div{
  background-color: #F0F0F0;
  padding: 30px;
  flex: 0 0 auto;
  width: 100%;
}

.list-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.list-grid .left {
  flex: 3;
  box-sizing: border-box;
}

.list-grid .right {
  flex: 1;
  box-sizing: border-box;
}

.list-grid > div > div:nth-child(even) > div{
  background-color: #E9F1F0 !important;
}
.list-grid > div > div > div {
  display: flex;
  gap: 20px;
}
.list-grid > div > div > div > div:first-child {
  flex: 0 0 auto;
}
main p, main span, main a, main strong, main li, .num, .name-photo {
  font-size: clamp(0.9rem, calc(1vw + 0.5rem), 1.25rem);
  color: #858585;
}
main strong,h2,.num {
  color: #424242;
}
b, strong, .num {
  font-weight: 600;
}
section .container-fluid {
  padding: 0 30px;
}
@keyframes arrow-bounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(8px); }
  100% { transform: translateY(0); }
}
.arrow_icon {
  width: 32px;
  height: 10px;
  background-image: url('../imgs/icons/arrow_scroll-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto;
  padding-bottom: 34px;
  opacity: 0.4;
  cursor: pointer;
  animation: arrow-bounce 3s infinite cubic-bezier(.4,0,.2,1);
}
.arrow_icon:hover {
  opacity: 1;
  animation-play-state: paused;
}
nav.fixed-bottom{
  padding-bottom: 68px;
}
.list-items {
  display: flex;
  flex-direction: column;
  gap:20px
}
.list-items .wrap-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.list-items .wrap-items > div {
  flex: 1 1 0%;
  flex-direction: column;
  gap: 20px;
}
.list-items .item {
  padding: 20px;
  background-color: #E9F1F0;
  display: flex;
  gap:5px;
  flex: auto;
  align-items: baseline;
}
.list-items .item p {
  margin: 0;
}
.list-items .wrap-items .item ul {
  padding: 0;
  margin: 0;
  padding-left: 18px;
}
#main-nav.fixed-bottom{
  background-color: #f0f0f0 !important;
}
#main-nav.fixed-top{
  background-color: #FBFBFB !important;
}
section#faq {
  background-color: #00899F;
}
section#faq * {
  color: #fff;
}
#projects img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  top: -100px;
}
.image-list {
  display: flex;
  width: 100%;
  flex-direction: column;
}
.image-list > div {
  margin-bottom: 20px;
}
.nav-link:focus, .nav-link:hover {
  color: #00899F !important;
}
@media (max-width: 1370px) {
  .list-block > div > div {
    padding: 20px;
  }
  
}
@media (min-width: 1871px) {
  .list-block > div {
    min-width: 290px;
  }
  .list-block > div > div {
    padding: 45px 40px;
  }
  .list-grid .left,
  .list-grid .right {
    flex: 1 1 100%;
  }
}
@media (min-width: 574px) and (max-width: 674px) {
  #projects img {
    aspect-ratio: 1 / 1 !important;
  }
  .parallax-block {
    height: 360px !important;
  }
}
@media (min-width: 674px) and (max-width: 990px) {
  #projects img {
    aspect-ratio: 1 / 1 !important;
  }
  .parallax-block {
    height: 410px !important;
  }
}
@media (min-width: 710px) and (max-width: 991px) {
  .image-list > div > div {
    flex: auto !important;
  }
  .image-list > div {
    display: flex !important;
  }
}
@media (max-width: 991px) {
  .image-list > div {
    display: block;
  }
  #projects img {
    aspect-ratio: 9 / 16;
  }
  .image-list > div > div {
    flex: none;
  }
  .nav-ancher a {
    text-decoration: none;
    text-align: center;
    display: inline-block;
  }
  #hero {
    height:initial
  }
  nav {
    background-color: transparent !important;
  }
  .list-block > div > div {
    flex-direction: column;
    text-align: center;
  }
  #why-rubberflex > div:first-child {
    padding-right: 30px;
  }
  .compare-table {
    table-layout: auto;
  }
  .compare-table th, .compare-table td {
    word-break: inherit;
  }
  .switch-btn.active-btn::after{
    display: none;
  }
  h2.services-title {
    margin-bottom: 3rem;
  }
  div.content-block {
    height: inherit;
  }
  #main-nav.fixed-top {
    background-color: transparent !important;
  }
  nav ul {
    gap: 0;
  }
  nav .offcanvas {
    background: #424242;
  }
  nav .offcanvas * {
    color: #fff;
  }
  .offcanvas.offcanvas-end {
    width: 320px !important;
  }
  .arrow-scroll {
    z-index: 10;
  }
  #contacts .info * {
    font-weight: 500 !important;
  }
  .btn-wrap-pdf {
    padding-bottom: 2rem;
  }
  .btn-wrap-pdf a {
    width: 100%;
  }
  .map {
    height: 425px;
  }
}
@media (max-width: 575px) {
  .parallax-block {
    height: 260px !important;
  }
  #projects img {
    aspect-ratio: 9 / 11 !important;
  }
}
@media (max-width: 375px) {
  .parallax-block {
    height: 350px !important;
  }
  #projects img {
    aspect-ratio: 9 / 16 !important;
  }
}
@media (min-width: 380px) and (max-width: 425px) {
  #projects img {
    aspect-ratio: 1 / 1 !important;
    top: 0;
  }
  .parallax-block {
    height: 250px !important;
  }
}
@media (min-width: 991px) and (max-width: 1280px) {
  #hero {
    height: inherit;
  }
  #projects img {
    aspect-ratio: 16 / 9 !important;
    top: 0;
  }
  .parallax-block {
    height: 440px !important;
  }
}
.list-docs > div > div {
  background-color: #E9F1F0;
  padding: 20px;
  padding-top: 64px;
  padding-bottom: 90px;
  height: 477px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* --- Docs Cards --- */
.list-docs {
  margin-top: 32px;
  margin-bottom: 32px;
}
.list-docs .card-body {
  padding: 0;
}
.doc-card {
  background: #f7f9fa;
  border-radius: 12px;
  min-height: 260px;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(60,60,60,0.04);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}
.doc-card.bg-light-blue {
  background: #eaf6f7;
  border: 1.5px solid #b6e2ea;
}
.doc-card .card-title {
  font-size: 1.08rem;
  color: #222;
  font-weight: 700;
}
.doc-card .card-subtitle {
  font-size: 0.98rem;
  color: #858585 !important;
}
.doc-card .btn-outline-info, #contacts .btn-outline-info {
  border-radius: 6px;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 4px 18px;
  border-color: #00899F;
  color: #00899F;
}
.doc-card .btn-outline-link {
  border-color: transparent;
  color: #858585;
}
.doc-card .btn-outline-info:hover, #contacts .btn-outline-info:hover {
  background: #00899F;
  color: #fff;
  border-color: #00899F;
}
.doc-card .text-secondary {
  color: #b0b0b0 !important;
}
.arrow-scroll{
  transition: background 0.3s ease;
}
.arrow-scroll .arrow_icon {
  transition: opacity 0.3s ease;
}
.arrow-scroll:hover {
  background: #fafafa !important;
  cursor: pointer;
}
.arrow-scroll:hover .arrow_icon {
  opacity: 1;
  animation-play-state: paused;
}
#faq p {
  opacity: .2;
}
.faq-wrap {
  overflow: hidden;
}
#main-nav.on-faq {
  background-color:#00899F !important;
}
.on-faq * {
  color: #fff !important;
}
#hero > div, #hero > div > div {
  height: 100%;
  display: flex;
}
.menu-first.hidden {
  display: none;
}
.services-item h3 {
  color: #424242;
  margin-bottom: 25px;
  font-weight: 700;
  font-size: clamp(1rem, calc(3vw + 0.5rem), 1.35rem);
}
.services-item p {
  margin-left: 18px;
}
#contacts .info * {
  color: #858585;
  text-decoration: none;
  font-weight: 700;
  margin: 0;
}
#contacts .info{
  padding-bottom: 2rem;
}
.nav-ancher .switch-btn {
    writing-mode: inherit;
    transform: rotate(0deg);
    width: 100%;
    padding: 0.2rem;
}
.nav-ancher {
  padding-bottom: 30px;
}
.navbar-toggler:focus {
  box-shadow: none !important;
}
.name-photo {
  padding: 1.1rem;
  text-align: right;
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 100%;
  background: transparent !important;
  margin-top: -2px;
  color: #ffffff;
  font-size: clamp(0.65rem, calc(0.6vw + 0.5rem), 1rem) !important;
}
.name-photo small {
  font-size: clamp(0.65rem, calc(0.6vw + 0.5rem), 1rem) !important;
}
h3.title-marker {
  position: relative;
  padding-left: 1em;
  line-height: 1.4;
}

h3.title-marker::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.3em;
  color: #555;
  font-size: 0.8em;
  line-height: 1;
}
.parallax-block {
  position: relative;
  height: 580px;
  overflow: hidden;
}

.parallax-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%; /* Делает изображение больше, чем блок */
  transform: translateY(0);
  transition: transform 0.1s linear;
}

.parallax-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-layer {
    background: linear-gradient(0deg, #00000060, transparent);
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.btn-wrap {
  position: fixed;
  z-index: 10000;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: #fff;
  width: 100px;
  height: 100px;
}
.btn-phone {
  background-color: #00899F;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}
.btn-phone svg {
  width: 32px;
}
.link-btn {
  position: absolute;
  display: flex;
  top: 0;
  left:0;
  height: 100%;
  width: 100%;
}
.btn-primary {
  background: #00899f;
  border-color: #00899f;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #01778a;
  border-color: #01778a;
}