:root {
  --brand-main: #e0be1e;
  --brand-hover: #9c8109;
  --dark: #00000093;
  --trnshn: 0.3s;
}


.images--block .col-lg-4.col-6 {
  padding-inline: 4px;
}

.privacy--policy a {
  color: white;
}

/* Checkbox */

.form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input {
  margin: 0 3px 0 0;
}

.form-check-input:checked {
  background-color: var(--brand-main);
}

.form-check-input {
  border: 1px solid var(--brand-main) !important;
  padding: 7px !important;
  width: 8px;
  height: 8px;
}

.form-check-input:focus {
  border-color: var(--brand-main);
  outline: 0;
  box-shadow: 0 0 0 0.25rem #7539693e;
}

.cf-success-hideform p {
  color: black;
  margin-bottom: 0px;
}

.custom--form .service--btn {
  padding: 20px 15px !important;
}

input#form1_name,
input#form1_tel3,
input#form1_text5 {
  padding: 15px 12px !important;
}

.header--contacts .card-img {
  transition: var(--trnshn);
}

.header--contacts .card-img:hover {
  transition: var(--trnshn);
  translate: 0 -3px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

section.hero.main-page {
  position: relative;
  z-index: 0;
}

section.hero.main-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  z-index: 1;
  pointer-events: none;
}

.mobile--block .row.g-4.images--block {
  margin-block: 30px;
}

.desctop--block {
  display: block;
}

.mobile--block {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--brand-main);
  margin-bottom: 40px;
}

thead {
  background-color: var(--brand-main);
}

thead th {
  font-weight: 400;
  color: var(--black); /* Заголовки чёрные */
  border: 1px solid var(--brand-main);
  padding: 12px 16px;
  text-align: left;
}

tbody td,
tbody th {
  color: white; /* Основной текст белый */
  border: 1px solid var(--brand-main);
  padding: 12px 16px;
  text-align: left;
}

tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.service--btn {
  background-color: var(--brand-main);
  padding: 15px 40px;
  margin: auto;
  display: block;
  position: relative;
  overflow: hidden;
  transition: var(--trnshn);
  &:hover {
    background-color: var(--brand-main);
    translate: 0px -3px;
    transition: var(--trnshn);
  }
}

.service--btn:active {
  background-color: var(--brand-hover) !important;
}

.service--btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 25%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-30deg);
  z-index: 0;
  transition: all 0.3s ease;
  animation: slide-shine 4s infinite;
}

@keyframes slide-shine {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

.main-page h1 {
  font-size: 27px !important;
}

.img--wrapper {
  overflow: hidden;
  height: 280px;
  position: relative;
}

.img--wrapper a {
  height: 100%;
  display: block;
}

.img--wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img--wrapper h3 {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 5;
  font-size: 18px;
  text-align: center;
  width: 90%;
  line-height: 1.3;
  opacity: 0;
}

img.logo--main {
  max-width: 305px;
  margin-top: 0px;
}

body {
  background: black;
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1440px !important;
  }
}

p {
  color: var(--brand-main);
}

section#sp-hero {
  margin-top: -105px;
}

section.section.hero.inner-page {
  padding-top: 120px;
}

.article-details .article-can-edit {
  position: relative;
  margin-bottom: 0px !important;
}
.main-page .section.hero {
  background-color: black;
  padding-block: 190px 40px;
  /* height: 100vh; */
  position: relative;
}

.section.hero.main-page {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: inherit;
  background: linear-gradient(
      to top,
      rgb(0, 0, 0),
      rgba(0, 0, 0, 0.66),
      rgba(0, 0, 0, 0.363)
    ),
    url(/images/bg.jpg);
}

.main-title {
  text-align: center;
  color: var(--brand-main);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-shadow: 4px 2px 6px rgb(0 0 0);
  font-size: 50px !important;
}

.inner-page .main-title {
  margin-bottom: 30px;
}

.inner--subtitle {
  color: var(--brand-main);
  text-transform: uppercase;
  text-shadow: 4px 2px 6px rgb(0 0 0);
  text-align: center;
  margin-bottom: 60px;
}

.main-items {
  .hero-icon {
    max-width: 210px;
    margin: auto;
    transition: all 0.3s;

    &:hover {
      transform: scale(1.02);
      transition: all 0.3s;
      cursor: pointer;
    }
  }
  p {
    text-align: center;
    color: var(--brand-main);
    margin-bottom: 10px;
    text-shadow: 4px 2px 6px rgb(0 0 0);
    text-transform: uppercase;
  }
}

/* Header */

.raiting--text {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 15px;
  color: white !important;
  display: block;
  max-width: 80px;
}

.rating--text-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  img {
    width: 30px;
  }
}

.header--contacts {
  display: flex;
  gap: 15px;
  align-items: center;
}

#sp-top1 {
  background-color: #0e0e0e6b;
  backdrop-filter: blur(5px);
}

.header-wrapper {
  justify-content: space-between;
  padding: 15px 0px;
  transition: 0.3s;
  a {
    color: var(--brand-main);
    &:hover {
      color: var(--brand-hover);
    }
  }
  .header-item {
    display: flex;
    align-items: center;
    gap: 12px;

    img {
      max-width: 42px;
    }
  }
  .geolocation {
    font-size: 14px;
  }
}

#sp-topbar {
  position: relative;
  z-index: 999;
  padding-top: 0px;
}

/* Contacts */

.contacts-mobile {
  position: relative;
  z-index: 1;
  padding-bottom: 40px;
  .contacts-wrapper {
    margin-top: 0px;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .text-adress {
    p {
      margin-bottom: 0px;
      text-align: center;
      font-size: 13px;
      line-height: 17px;
    }
  }
}

.messengers {
  justify-content: space-between;
  gap: 40px;
  img {
    width: 70px;
    transition: all 0.3s;
    &:hover {
      transform: scale(1.08);
      transition: all 0.3s;
      cursor: pointer;
    }
  }
}

.raiting--num {
  width: 53px;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  border-radius: 100%;
  background: var(--brand-main);
  color: black;
  margin-bottom: 0px;
}
.raiting {
  align-items: center;
  gap: 12px;
}
.raiting--desr {
  max-width: 113px;
  gap: 15px;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 5px;
  img {
    width: 18px;
  }
}

/* Inner page */

img.inner-page--icon {
  position: absolute;
  top: -35%;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: -1;
  display: block;
  margin: auto;
  filter: brightness(0.4);
}

.inner-page--wrapper {
  position: relative;
  max-width: 400px;
  margin: auto;
  display: block;
}

.service--description {
  color: var(--brand-main);
  text-wrap: balance;
}

ul.service--description {
  margin-bottom: 50px;
  list-style: none;
  padding-left: 0px !important;
}

.service--description li {
  display: flex;
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 21px;
}

.service--description li::before {
  content: "– ";
  padding-right: 5px;
}

.section.hero.inner-page {
  background-repeat: no-repeat !important;
  position: relative;
  z-index: 1;
  background-size: contain !important;
  background-position: top;
  background: linear-gradient(
      to top,
      rgb(0, 0, 0),
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.4)
    ),
    url(/images/bg.jpg);
}

.row.g-4.images--block {
  margin-block: 30px;
}

.inner--gallery .img--wrapper:hover {
  box-shadow: 0 0 0 2px var(--brand-main);
}

.inner--gallery .img--wrapper:hover img {
  transform: scale(1.05);
  transition: 0.3s;
  filter: brightness(0.2);
}

.img--wrapper:hover img {
  transform: scale(1.05);
  transition: 0.3s;
}

.inner--gallery .img--wrapper:hover h3 {
  opacity: 1;
  transition: 0.4s;
  top: 50%;
}

img.img-fluid {
  transition: 0.3s;
}

@media (max-width: 1400px) {
  .hero-icon {
    max-width: 180px !important;
  }

  section#sp-hero {
    margin-top: -165px;
  }

  #sp-topbar {
    position: relative;
    z-index: 9999999;
    padding-top: 30px;
  }
  .section.hero {
    height: 100%;
    padding-block: 130px 40px;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: inherit;
  }
  .main-title {
    font-size: 50px;
    margin-bottom: 75px;
  }
  .header-wrapper {
    margin-bottom: 75px;
    justify-content: space-between;
    padding: 10px 25px;
  }
  a {
    font-size: 14px;
  }
  .header-item {
    gap: 12px;

    img {
      max-width: 35px;
    }
  }
}

@media (max-width: 1200px) {
  .main-title {
    font-size: 45px;
  }
  .main-items {
    p {
      font-size: 13px;
    }
  }

  .hero-icon {
    max-width: 160px !important;
  }
}

@media (max-width: 991px) {
  .mobile--block {
    display: block;
  }

  .desctop--block {
    display: none;
  }

  .main-page h1 {
    font-size: 21px !important;
    text-wrap: balance;
  }

  .header-wrapper {
    margin-bottom: 10px;
  }

  .raiting--text {
    font-size: 9px;
    line-height: 11px;
  }

  .stars img {
    width: 16px;
  }

  .rating--text-wrapper img {
    width: 20px;
  }

  .raiting--num {
    width: 40px;
    height: 40px;
    font-size: 16px;
    flex-shrink: 0;
  }

  img.logo--main {
    max-width: 140px;
  }

  #sp-top1 a.header-item.geolocation {
    display: none;
  }

  #sp-topbar {
    padding-top: 15px;
  }

  .main-title {
    font-size: 38px;
    margin-bottom: 100px;
  }

  .header-wrapper {
    padding: 0px;
  }

  .header--contacts {
    display: none;
  }

  .inner--subtitle {
    margin-bottom: 40px;
  }

  .service--description li {
    font-size: 16px;
    line-height: 20px;
  }

  .section.hero.inner-page {
    background-size: contain !important;
    background-position: top;
    background: linear-gradient(
        to top,
        rgb(0, 0, 0),
        rgb(0 0 0 / 90%),
        rgb(0 0 0 / 15%)
      ),
      url(/images/bg-mob.jpg);
  }

  section#sp-hero {
    margin-top: 0px;
  }

  .section.hero.main-page {
    background: linear-gradient(
        to top,
        rgb(0, 0, 0),
        rgb(0 0 0),
        rgb(0, 0, 0),
        rgba(0, 0, 0, 0.95),
        rgba(0, 0, 0, 0)
      ),
      url(/images/bg.jpg);
  }

  .section.hero {
    height: 100%;
    background-size: contain !important;
    background-repeat: no-repeat;
    padding-block: 40px 0px;
  }
}

@media (max-width: 768px) {
  .img--wrapper:hover h3 {
    top: unset;
  }

  .img--wrapper:hover img {
    filter: none;
  }

  .img--wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      transparent 100%
    );
    z-index: 2;
    pointer-events: none;
  }

  .img--wrapper h3 {
    padding-inline: 4px;
    position: absolute;
    top: unset;
    left: 50%;
    bottom: 4%;
    transform: translate(-50%, 0%);
    color: white;
    z-index: 5;
    margin-bottom: 0;
    font-size: 14px;
    text-align: center;
    width: 100%;
    line-height: 1.01;
    opacity: 1;
  }

  .img--wrapper {
    overflow: hidden;
    height: 170px;
  }
}

@media (max-width: 576px) {
  tbody td,
  tbody th {
    padding: 6px 12px;
    font-size: 14px;
  }

  .main-items {
    p {
      font-size: 12px;
      line-height: 16px;
    }
  }
  .main-title {
    font-size: 16px;
    margin-bottom: 50px;
  }
  #sp-section1 {
    padding-block: 50px 50px;
  }
  .hero-icon {
    max-width: 100px !important;
  }

  .inner-page .main-title {
    margin-bottom: 50px;
    font-size: 27px !important;
  }

  .messengers {
    img {
      width: 60px;
    }
  }
  img.inner-page--icon {
    max-width: 220px;
    bottom: -50%;
  }
  h2 {
    font-size: 20px !important;
  }
  .inner-page--wrapper {
    min-height: unset;
  }
}

@media (max-width: 430px) {
  .main-items {
    p {
      font-size: 8px;
      line-height: 12px;
    }
  }
}
