/*==================== BASE ====================*/
html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

/*_____*/


/*==================== ROOT & VARIABLES ====================*/
:root {
    --brand-color: #D64531;
    --brand-bg-color: #D64531;
    --brand-dark-color: #343a40;
    --brand-text-color: #D64531;
    --brand-text-accent-color: #ffffff;
    --bg-grey: #f1f3f5;

    /*icon*/
    --icon-color: #FFFFFF;
    --icon-accent-color : #D64531;

    /*btn*/
    --brand-hover: #C13E2C;

    /*logo*/
    --logo-size: 60px;
    --logo-size-sm: 70px;
}

/*_____*/


/*==================== COLORS & ICONS ====================*/
.bg-brand {
  background-color: var(--brand-bg-color) !important;
  color: var(--brand-text-accent-color) !important;
}

.brand-bg-color {
  background-color: var(--brand-bg-color) !important;
}

.bg-grey {
  background-color: var(--bg-grey) !important;
}

.icon-color {
  color: var(--icon-color) !important;
}

.icon-accent-color {
  color: var(--icon-accent-color ) !important;
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle i {
    font-size: 32px; /* размер иконки */
}

/*_____*/


/*==================== TEXT & TYPOGRAPHY ====================*/
.brand-text-color {
  color: var(--brand-text-color) !important;
}

.brand-text-accent-color {
  color: var(--brand-text-accent-color) !important;
}

.text-warning {
    color: var(--bs-warning) !important;
}

.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.company-name {
  font-size: 16px;
}

@media (max-width: 394px) {
  .company-name {
    font-size: 14px;
  }
}

/*_____*/


/*==================== SLIDER (Swiper) ====================*/
.myServicesSwiper .swiper-slide {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: #fff;
}

.myServicesSwiper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-overlay {
  position: relative;
  background: rgba(0, 0, 0, 0.65);
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  max-width: 480px;
  margin-left: 1.5rem;
}

@media (max-width: 768px) {
  .myServicesSwiper .swiper-slide {
    justify-content: center;
    text-align: center;
  }

  .service-overlay {
    margin: 1rem;
    max-width: 100%;
  }
}

.myServicesSwiper .swiper-button-next,
.myServicesSwiper .swiper-button-prev {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #000 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: 0.2s ease;
}

.myServicesSwiper .swiper-button-next::after,
.myServicesSwiper .swiper-button-prev::after {
  font-size: 22px !important;
}

.myServicesSwiper .swiper-button-next .swiper-navigation-icon,
.myServicesSwiper .swiper-button-prev .swiper-navigation-icon {
  width: 12px;  
}

.myServicesSwiper .swiper-button-next:hover,
.myServicesSwiper .swiper-button-prev:hover {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.swiper-pagination-bullet-active {
  background-color: var(--brand-color);
}

.reviewsSwiper .swiper-slide {
  height: auto;
  display: flex;
}

.reviewsSwiper .card {
  flex: 1 1 auto;
}
.reviewsSwiper {
  padding-bottom: 40px;
}
.reviewsSwiper .swiper-pagination {
  bottom: 0;
}


/*_____*/


/*==================== BUTTONS ====================*/
.btn-brand {
    background-color: var(--brand-color) !important;
    border-color: var(--brand-color) !important;
    color: #fff;
}

.btn-brand:active,
.btn-brand:hover,
.btn-brand:focus {
    background-color: var(--brand-hover) !important;
    border-color: var(--brand-hover) !important;
    color: #fff !important;
}

.btn-outline-brand {
  border-color: var(--brand-color) !important;
  color: var(--brand-color) !important;
}
.btn-outline-brand:active,
.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background-color: var(--brand-hover) !important;
    border-color: var(--brand-hover) !important;
    color: #fff !important;
}

/*_____*/


/*==================== ALERTS & HELPERS ====================*/
.border-warning {
    border-color: #F3BF41 !important;
}

.alert-warning {
    background-color: #fff9d6;
    border-color: #F3BF41;
    color: #000;
}

.min-vh-50 {
    min-height: 50vh;
}

/*_____*/


/*==================== HERO SECTION ====================*/
.hero-section {
  position: relative;
  background: url('/img/main/about_company.webp') no-repeat center right;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}
/*mobile*/
@media (max-width: 992px) {
  .hero-section {
    background: url('/img/main/about_company-xs.jpg') no-repeat center right;
    background-size: cover;
    background-attachment: scroll;
  }
}
@media (max-width: 580px) {
  .hero-section {
    background-image: linear-gradient(to right, #D64531 0%, black 100%);
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .hero-section {
    background-position: center center;
    background-attachment: scroll;
  }
}

/*_____*/


/*==================== SERVICE CARDS ====================*/
.service-card {
  position: relative;
  overflow: hidden;
}
.more-info {
  opacity: 0;
  transform: translateY(5px);
  transition: 0.3s ease;
  display: inline-block;
}
.service-card:hover .more-info {
  opacity: 1;
  transform: translateY(0);
}
.service-card img {
  height: 250px;
  object-fit: cover;
  filter: brightness(0.55);
  transition: 0.3s ease;
}
.service-card:hover img {
  filter: brightness(0.35);
  transform: scale(1.05);
}

/*_____*/


/*==================== MOBILE MENU & NAVBAR ====================*/
.offcanvas {
  max-width: 280px;
}

.offcanvas .nav-link {
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.offcanvas .nav-link:hover {
  color: var(--brand-color);
}

@media (max-width: 991.98px) {
  #navbarNav {
    display: none !important;
  }
}

.navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.5rem;
  height: 40px;
}

.navbar-brand img {
  height: var(--logo-size);
}

@media (max-width: 394px) {
  .navbar-brand img {
    height: var(--logo-size-sm);
  }
}

.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent;
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 0.4rem 0.6rem;
}


@media (max-width: 394px) {
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }
}

/*_____*/


/*==================== COOKIE BANNER ====================*/
.cookie-banner{
  position:fixed;
  bottom:24px;
  left:24px;
  z-index:1080;
  max-width:480px;
  width:calc(100% - 48px);
  padding:16px 20px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 12px 24px rgba(38,38,38,.16);
}

.cookie-banner__inner{flex-wrap:nowrap;}

.cookie-banner a{ text-decoration:underline; }

.cookie-banner a:hover,
.cookie-banner a:focus{ text-decoration:none; }

@media(max-width:767.98px){
  .cookie-banner{
    left:50%;
    transform:translateX(-50%);
    bottom:12px;
    width:calc(100% - 32px);
    max-width:100%;
  }
  .cookie-banner__text{ font-size:12px; }
}

/*_____*/