html,
body {
    height: 100%;
}

html {
    box-sizing: border-box;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #151310;
    margin: 0;
}

body,
h1, h2, h3, h4, h5, h6,
p,
ul, ol, li,
figure, figcaption,
blockquote,
dl, dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

.error-container {
  background-color: #eee;
}

.error-content {
  color: #ff0000;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0.9375em;
    width: 100%;
    box-sizing: border-box;
}

.main {
    flex-grow: 1;
    background-color: #eee;
}

.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.4375em 0;
}

.logo {
    flex-shrink: 0;
    margin-right: 1.25em;
}

.menu {
    margin-left: auto;
}

.menu__btn-container {
    display: none;
}

.menu__list {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    background-color: transparent;
    position: static;
    height: auto;
    width: auto;
    overflow-y: visible;
    padding: 0;
    z-index: auto;
    flex-direction: row;
    transition: none;
}

.menu__list-item {
    margin-bottom: 0;
    margin-right: 0.9375em;
    position: relative;
}

.menu__list-item:last-child {
    margin-right: 0;
}

.menu__link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu__list-link {
    text-decoration: none;
    display: block;
    padding: 0.3125em;
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-right: 0.0625em;
}

.menu__arrow {
    flex-shrink: 0;
    font-size: 0.7em;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffe6ab;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 0.125em 0.3125em rgba(0,0,0,0.2);
    min-width: 11.25em;
    z-index: 10;
    flex-direction: column;
    padding: 0.75em 0.5em !important;
}

.header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0.125em 0.3125em rgba(0, 0, 0, 0.1);
    
}

@keyframes slideDownHeader {
    from {
        transform: translateY(0%);
        opacity: 1;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.back-to-top-button {
    position: fixed;
    bottom: 1.875em;
    right: 1.875em;
    width: 2.1875em;
    height: 2.1875em;
    background-color: rgba(21, 19, 16, 0.5);
    color: #d4c7b3;
    font-size: 1.25em;
    border: solid 0.0625em rgba(21, 19, 16, 0.8);
    border-radius: 5%;
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.25em);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.back-to-top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-button:hover {
    background-color: rgba(21, 19, 16, 0.8);
    color: #ffffff;
}

.back-to-top-button i.fas {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.fa-chevron-up:before {
  font-size: 1rem;
}

.hero {
    position: relative;
    min-height: 86vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 3.125em 0;
}

.hero__video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
    display: block;
    margin: 0;
    padding: 0;
}

.hero.hero--image-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero.hero--image-bg .hero__video-bg {
    display: none;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(36 24 31 / 40%);
    z-index: 2;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

body.menu-active .hero__overlay {
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: auto;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero__title {
    font-size: clamp(1.75em, 5vw, 3.35em);
    margin-bottom: 1.25em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #d4c7b3;
}

.hero__button {
    display: inline-block;
    padding: 0.75em 1em;
    background-color: rgba(21, 19, 16, 0.6);
    color: #eee;
    border-radius: 0.1875em;
    cursor: pointer;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    transition: background-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.hero__button:hover,
.hero__button:focus {
    background-color: #151310;
    outline: none;
}

.hero__content .breadcrumbs {
    margin-bottom: 1.5625em;
    text-align: left;
    font-size: 1.1em;
}

.hero__content .breadcrumbs ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: inline-block;
}

.hero__content .breadcrumbs li {
    display: inline;
    color: #d4c7b3;
}

.hero__content .breadcrumbs a,
.hero__content .breadcrumbs a:visited {
    color: #d4c7b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero__content .breadcrumbs a:hover,
.hero__content .breadcrumbs a:focus {
    color: #cccccc;
    text-decoration: underline;
}

.hero__content .breadcrumbs .active,
.hero__content .breadcrumbs li:last-child {
    color: #d4c7b3;
    font-weight: bold;
}

.hero__content .breadcrumbs .separator,
.hero__content .breadcrumbs li + li::before {
    content: ">";
    margin: 0 0.5em;
    color: #dddddd;
}

.hero__content .breadcrumbs li:first-child::before {
    content: "";
    margin: 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s; 
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

.modal-content {
    background-color: #000;
    padding: 0.625em;
    border-radius: 0.5em;
    position: relative;
    width: 90%;
    max-width: 56.25em;
    box-shadow: 0 0.3125em 1.875em rgba(0,0,0,0.5);
}

.modal-close-btn {
    position: absolute;
    top: -0.75em;
    right: -0.75em;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    font-size: 1.25em;
    line-height: 1.6em;
    text-align: center;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
    box-shadow: 0 0.125em 0.3125em rgba(0,0,0,0.3);
    z-index: 10;
}
.modal-close-btn:hover {
    background: #f0f0f0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

nav.pagenavigation {
    display: none !important;
}

._access-icon {
    background-color: rgb(21, 19, 16) !important;
    color: transparent !important;
    text-indent: -624.9375em !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    width: 1em !important;
    height: 1em !important;
    bottom: 0.01em !important;
    left: 0 !important;
}

._access-icon::before {
    content: "visibility";
    font-family: 'Material Icons', sans-serif !important;
    font-size: 0.8em !important;
    color: rgb(212, 199, 179) !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    display: block;
    position: static;
    width: auto;
    height: auto;
    background: none !important;
    overflow: visible !important;
}

.top-modules {
  background-color: #151310;
}

.services-overview {
    padding: 1.875em 0;
    color: #212121;
}

.services-overview__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.875em;
}

#mod-custom112 .services-overview__row {
  flex-wrap: nowrap;
}

#mod-custom114 .services-overview__row {
  flex-wrap: nowrap;
}

#mod-custom115 .services-overview__row {
  flex-wrap: nowrap;
}

#mod-custom116 .services-overview__row {
  flex-wrap: nowrap;
}

#mod-custom117 .services-overview__row {
  flex-wrap: nowrap;
}

#mod-custom118 .services-overview__row {
  flex-wrap: nowrap;
}

#mod-custom119 .services-overview__row {
  flex-wrap: nowrap;
}

.services-overview__media {
    flex: 1 1 45%;
    order: 1;
    min-width: 18.75em;
}

.services-overview__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.3125em;
}

.services-overview__content {
    flex: 1 1 50%;
    order: 2;
    min-width: 18.75em;
}

.services-overview__title {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.625em, 4vw, 2.25em);
    font-weight: 700;
    color: #d4c7b3;
    margin-bottom: 1.25em;
    padding-bottom: 0.9375em;
    border-bottom: 0.0625em solid rgba(212, 199, 179, 0.5);
}

.services-overview__list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.25em;
}

.services-overview__item {
    margin-bottom: 0.75em;
}

.services-overview__item:last-child {
    margin-bottom: 0;
}

.services-overview__link {
    color: #dac4a0;
    text-decoration: none;
    font-size: clamp(1em, 1.8vw, 1.4375em);
    line-height: 1.4;
    align-items: center;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.services-overview__link::before {
    content: "";
    position: absolute;
    left: 0.3125em;
    top: 50%;
    transform: translateY(-50%);
    color: #f6d58b;
    font-weight: 700;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.services-overview__link:hover {
    color: #f6d58b;
    padding-left: 1.25em;
}

.about {
    padding: 4em 0;
}

.about__row {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.about__media {
    order: 1;
}

.about__content {
    order: 2;
}

.about__title {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.6em, 1em + 1.5vw, 2.2em);
    font-weight: 700;
    color: #333;
    margin: 0 0 0.75em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #d4c7b3;
    line-height: 1.2;
}

.about__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    
    .about__row {
        flex-direction: row;
        align-items: center;
        gap: 3em;
    }

    .about__media {
        flex: 1 1 50%;
        order: 1;
    }

    .about__content {
        flex: 1 1 50%;
        order: 2;
    }
    
    
}

.advantages {
    padding: 60px 0;
}


.advantages__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.advantages__title {
    font-size: clamp(1.6em, 1em + 1.5vw, 2.2em); 
    margin-bottom: 0;
    color: #333;
    line-height: 1.2;
}

.advantages__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantages__card {
    position: relative;
    overflow: hidden;
    height: 440px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #ddd;
    background-color: #f5f5f5; 
}

.advantages__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.advantages__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantages__content {
    position: relative;
    z-index: 2;
    padding: 20px;
    color: #333;
}

.advantages__heading {
  font-size: 24px;
  margin-bottom: 10px;
}

.advantages__text {
  font-size: 18px;
  line-height: 22px;
}

@media (min-width: 768px) {
    .advantages__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages__grid {
        grid-template-columns: 1fr 3fr;
        align-items: flex-start;
    }
}

@media (hover: hover) {
    .advantages__card {
        background-color: transparent;
    }
    
    .advantages__card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(245, 245, 245, 0.85);
        opacity: 1;
        transition: opacity 0.4s ease-in-out;
        z-index: 1;
        border: solid 1px #c6c6c6;
    }

    .advantages__content {
        transition: color 0.4s ease-in-out;
    }

    .advantages__card:hover::before,
    .advantages__card:focus-within::before {
        opacity: 0;
    }

    .advantages__card:hover .advantages__content,
    .advantages__card:focus-within .advantages__content {
        color: #ffffff;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.services-accordion {
  max-width: 1400px;
  width: 100%;
  margin: 40px auto;
  border: none;
  border-radius: 4px;
  overflow: hidden;
}

.services-accordion__item {
  border-bottom: none;
}

.services-accordion__item:last-child {
  border-bottom: none;
}

.services-accordion__button {
  width: 100%;
  border: none;
  padding: 12px 15px;
  font-size: 1.1em;
  color: #333;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.services-accordion__button:hover {
  background-color: none;
}

.services-accordion__icon {
  font-size: 16px;
  color: #333;
  transition: transform 0.3s ease;
  flex-shrink: 0;

  width: 20px;
  text-align: center;
}

.services-accordion__button--active {
  background-color: none;
}

.services-accordion__button--active .services-accordion__icon {
  transform: rotate(180deg);
}

.services-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.services-accordion__text {
  padding: 15px;
  font-size: 1em;
}

.price-list {
  background-color: #151310;
  color: #ffe9c1;
  padding: 60px 10px;
  font-family: 'Open Sans', sans-serif;
}

.price-list__container {
  max-width: 1400px;
  margin: 0 auto;
}

.price-list__title {
  font-size: clamp(1.6em, 1em + 1.5vw, 2.2em);
  font-weight: 700;
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 1px solid #444;
  color: #eee;
  line-height: 1.2;
}

.price-list__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-list__item {
  padding: 15px 0;
}

.price-list__row {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-list__service {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.price-list__dots {
  flex-grow: 1;
  border-bottom: 3px dotted #eee;
  margin: 0 15px;
  transform: translateY(-4px);
}

.price-list__price {
  font-size: 20px;
  font-weight: 700;
  color: #ffe9c1;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-list__download {
  font-size: 18px;
  color: #a78963;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 600;
}

.price-list__download:hover {
  color: #ccaf89;
  text-decoration: none;
}

@media (min-width: 992px) {
  .price-list__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .price-list__service,
  .price-list__price {
    font-size: 18px;
  }
  
  .price-list__download {
    font-size: 14px;
  }
}

.clients-grid {
  margin-top: 60px;
  margin-bottom: 70px;
}

.clients-grid__title {
  font-size: clamp(1.4em, 1.1em + 1.6vw, 2em);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 2.1875em;
}

.clients-grid__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.clients-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  min-height: 90px;
}

.clients-grid__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .clients-grid__title {
    font-size: 24px;
    margin-bottom: 25px;
  }
}

@media (min-width: 768px) {
  .clients-grid__list {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
  }
  
  .clients-grid__item {
    padding: 20px;
  }
}

@media (min-width: 1200px) {
  .clients-grid__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) {
  .services-accordion__button {
    padding: 15px 20px;
    font-size: 1.5em;
    color: #333;
  }

  .services-accordion__button::after {
    font-size: 12px;
  }
  
  .services-accordion__text {
    padding: 20px;
    font-size: 1em;
    color: #333;
    line-height: 1.4;
  }
}

.faq-accordion {
  margin: 40px 0;
}

.faq-accordion__title {
  text-align: center;
  font-size: clamp(1.4em, 1.1em + 1.6vw, 2em);
  font-weight: 700;
  color: #333;
  margin-bottom: 2.1875em;
}

.faq-accordion__list {
  max-width: 1320px;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-accordion__item {
  border-bottom: 1px solid #e0e0e0;
}

.faq-accordion__item:last-child {
  border-bottom: none;
}

.faq-accordion__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 20px;
  background-color: #eee;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  transition: background-color 0.2s ease;
}

.faq-accordion__button:hover {
  background-color: #f2f2f2;
}

.faq-accordion__icon {
  font-size: 16px;
  color: #555;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-accordion__button--active .faq-accordion__icon {
  transform: rotate(180deg);
}

.faq-accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: #f2f2f2;
}

.faq-accordion__text {
  padding: 20px;
  font-size: 16px;
  line-height: 1.4;
}

.faq-accordion__text p {
  margin: 0;
}

.site-footer {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
    padding: 40px 0;
}

.site-footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.site-footer__link {
    color: #c9b57f;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}
.site-footer__link:hover {
    color: #ffe6ab;
}

.site-footer__divider {
    border: none;
    height: 1px;
    background-color: #333333;
    margin: 20px 0;
}

.site-footer__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 30px;
}

.site-footer__column {
    flex: 1;
    min-width: 220px;
}

.site-footer__address {
    font-style: normal;
    color: #c9b57f;
    font-size: 18px;
    line-height: 21px;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
}
.site-footer__contacts a {
    color: #c9b57f;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer__contacts a:hover {
    color: #ffe6ab; 
}

.fa-facebook-f:before {
    color: #c9b57f;
}

.fa-facebook-f:hover:before {
    color: #ffe6ab;
    transition: color 0.3s ease;
}

.fa-instagram:before {
    color: #c9b57f;
}

.fa-instagram:hover:before {
    color: #ffe6ab;
    transition: color 0.3s ease;
}

.fa-youtube:before {
    color: #c9b57f;
}

.fa-youtube:hover:before {
    color: #ffe6ab;
    transition: color 0.3s ease;
}

.site-footer__social-link {
    color: #cccccc;
    margin-right: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}
.site-footer__social-link:hover {
    color: #c5a769;
}
.site-footer__social-link:last-child {
    margin-right: 0;
}

.site-footer__social-link i {
    font-size: 24px;
    line-height: 1;
    vertical-align: middle;
}

.site-footer__logo {
    text-align: right;
}
.site-footer__logo img {
    max-width: 240px;
    height: auto;
    vertical-align: middle;
}

.site-footer__bottom {
    margin-top: 20px;
}

.site-footer__copyright {
    margin: 0;
    font-size: 0.9em;
    color: #888888;
}

.case-preview {
  padding: 40px 0 70px 0;
}

.case-preview__title {
  font-size: clamp(1.4em, 1.1em + 1.6vw, 2em);
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 2.1875em;
}

.case-preview__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 500px;
}

.case-preview__item {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-preview__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.case-preview__link {
  display: block;
  aspect-ratio: 1.5 / 1; 
}

.case-preview__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.case-preview__footer {
  text-align: center;
  margin-top: 40px;
}

.case-preview__view-all-button {
  display: inline-block;
  font-size: 1.2em;
  padding: 10px 25px;
  background-color: #151310;
  color: #c9b57f;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.case-preview__view-all-button:hover {
  background-color: #151310;
  color: #ffe6ab;
}

.contact-page-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-block: 50px;
}

@media (min-width: 992px) {
  .contact-page-wrapper {
    flex-direction: row;
  }
}

.contact-info-column {
  flex: 1;
}

.contact-form-column {
  flex: 1;
}

div.contact {
  max-width: 1300px;
  margin-inline: auto;
  padding-inline: 20px;
}

.contact-name {
  font-size: clamp(1.6em, 1em + 1.5vw, 2.2em);
  color: #151310;
  font-weight: bold;
  line-height: 1.2;
}

.com-contact__container > h2 {
  font-size: clamp(1.75em, 1.5em + 1.5vw, 2em);
  color: #151310;
  margin-bottom: 1.25em;
  padding-bottom: 0.625em;
}

.contact-address dd {
  font-size: 22px;
  color: #151310;
  line-height: 1.5; 
  font-family: 'Open Sans', sans-serif;
}

.contact-form-column input[type="text"],
.contact-form-column input[type="email"],
.contact-form-column textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 15px;
}

.contact-form-column h2 {
  font-size: clamp(1.4em, 1.1em + 1.6vw, 2em);
  color: #151310;
  margin-bottom: 1.25em;
  padding-bottom: 0.625em;
}


.contact-form-column button[type="submit"] {
  display: inline-block;
  background-color: #151310;
  color: #eee;
  font-size: 16px;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form-column button[type="submit"]:hover {
  background-color: #0f0e0c;
}

.contact-form-column button[type="submit"]:active {
    transform: translateY(0);
}

.contact-form-column input[type="text"]:focus,
.contact-form-column input[type="email"]:focus,
.contact-form-column textarea:focus {
  border-color: #c0b4a1;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(81, 67, 27, 0.1);
}

@media (max-width: 767px) {
  .case-preview__title {
    font-size: 24px;
    margin-bottom: 25px;
  }
}

@media (min-width: 768px) {
  .case-preview__list {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
    gap: 25px;
  }
}

@media (min-width: 1200px) {
  .case-preview__list {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    gap: 30px;
  }
}

@media (max-width: 992px) {
    .site-footer__main {
        align-items: flex-start;
    }
    .site-footer__logo {
        order: -1;
        flex-basis: 100%;
        text-align: left;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .site-footer__main {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .site-footer__logo {
        order: 0;
        flex-basis: auto;
        margin-bottom: 0;
    }
    .site-footer__column {
        width: 100%;
        min-width: auto;
    }
    .site-footer__logo {
      text-align: left;
    }
}

.terms-of-service,
.privacy-policy,
.article {
    
    background-color: #f6f6f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px 15px;
    max-width: 100%;
    margin: 0 auto;
    color: #333333;
    line-height: 1.4;
    font-size: 16px;
}

.terms-of-service__header,
.privacy-policy__header,
.article__header {
    margin-bottom: 25px;
}

.terms-of-service__title,
.privacy-policy__title,
.article__title {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
    text-align: center;
}

.terms-of-service__last-updated,
.privacy-policy__last-updated {
    font-size: 14px;
    font-style: italic;
}

.privacy-policy__intro-text {
    margin-top: 20px;
    margin-bottom: 15px;
}

.privacy-policy__update-info {
    margin-bottom: 20px;
}

.terms-of-service__section,
.privacy-policy__section,
.article__section {
    margin-bottom: 30px;
}

.terms-of-service__heading,
.privacy-policy__heading,
.article__heading {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}

.privacy-policy__sub-heading,
.article__sub-heading {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.terms-of-service__paragraph,
.privacy-policy__paragraph,
.article__paragraph {
    margin-bottom: 15px;
}

.terms-of-service__list-o,
.privacy-policy__list-o,
.article__list-o {
    padding-left: 20px;
    margin-bottom: 15px;
    list-style: auto;
}

.terms-of-service__list,
.privacy-policy__list,
.article__list {
    padding-left: 20px;
    margin-bottom: 15px;
    list-style: circle;
}

.terms-of-service__list-item,
.privacy-policy__list-item,
.article__list-item {
    margin-bottom: 8px;
}

.terms-of-service__link,
.privacy-policy__link,
.article__link {
    color: #dd4c4c;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.terms-of-service__link:hover,
.terms-of-service__link:focus,
.privacy-policy__link:hover,
.privacy-policy__link:focus,
.article__link:hover,
.article__link:focus {
    text-decoration: none;
    color: #eb4040;
}

.terms-of-service__contact-list,
.privacy-policy__contact-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .terms-of-service,
    .privacy-policy,
    .article {
        padding: 40px 30px;
        font-size: 17px;
    }

    .terms-of-service__title,
    .privacy-policy__title,
    .article__title {
        font-size: 38px;
        text-align: center;
    }

    .terms-of-service__heading,
    .privacy-policy__heading,
    .article__heading {
        font-size: 24px;
        text-align: center;
    }

    .privacy-policy__sub-heading,
    .article__sub-heading {
        font-size: 20px;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .terms-of-service,
    .privacy-policy,
    .article {
        padding: 50px 40px;
        font-size: 18px;
    }

    .terms-of-service__title,
    .privacy-policy__title,
    .article__title {
        font-size: 44px;
        text-align: center;
    }

    .terms-of-service__heading,
    .privacy-policy__heading,
    .article__heading {
        font-size: 28px;
        text-align: center;
    }

    .privacy-policy__sub-heading,
    .article__sub-heading {
        font-size: 22px;
        text-align: center;
    }
}


@media (min-width: 1440px) {
    .terms-of-service,
    .privacy-policy,
    .article {
        max-width: 1220px;
        padding: 60px 50px;
        margin-bottom: 30px;
        margin-top: 30px;
    }
}

.blog-preview-item {
    padding-bottom: 1em;
    background-color: #fcfcfc;
    padding: 1.5em;
    border-radius: 8px;
}

.blog-layout {
    padding-top: 5em;
    padding-bottom: 2em;
}

.blog-item-wrapper + .blog-item-wrapper,
.blog-leading-items + .blog-intro-items {
    border-top: 3px solid #b9b1a46e;
    padding-top: 1em;
}

.preview-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.preview-title {
    font-size: 1.3em;
    line-height: 1.3;
    font-weight: 500;
    margin: 0;
}

.preview-title a {
    text-decoration: none;
    color: #151310;
}

.preview-title a:hover {
    color: #998854;
}

@media (min-width: 768px) {
    .blog-preview-item {
        display: flex;
        align-items: center;
        gap: 1.5em;
        background-color: #fcfcfc;
        padding: 1.5em;
        border-radius: 8px;
    }

    .preview-image {
        flex: 0 0 120px;
        height: 120px;
    }

    .preview-image img {
        height: 100%;
        object-fit: cover;
        margin-bottom: 0;
    }

    .preview-content {
        flex: 1;
    }
}

@media (min-width: 1200px) {
    .blog-preview-item {
        gap: 2em;
        background-color: #fcfcfc;
        padding: 1.5em;
        border-radius: 8px;
    }

    .preview-image {
        flex-basis: 160px;
        height: 160px;
    }

    .preview-title {
        font-size: 1.5em;
        font-weight: 500;
    }
}

.read-more-btn {
    display: inline-block;
    position: relative;
    margin-top: 1.4em;
    padding-left: 1.5em;
    color: #938458;
    font-weight: 500;
    font-size: 1.2em;
    text-decoration: none;
    transition: color 0.2s ease;
    background-color: transparent;
    border: none;
    padding-right: 0;
}

.read-more-btn:hover {
    color: #887b59;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 1px;
    height: 70%;
    background-color: #938458;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2em;
    margin-bottom: 2em;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-block;
    padding: 0.5rem 0.95em;
    margin: 0 0.25em;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1em;
}

.pagination-wrapper .active span {
    background-color: #a78963;
    color: #fff;
    border: 1px solid #a78963;
}

.pagination-wrapper a {
    background-color: #151310;
    color: #c9b57f;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}


.pagination-wrapper a:hover {
    background-color: #29241d;
    color: #ffe6ab;
}

.pagination .active .page-link,
.pagination .active span {
    background-color: #31291f;
    color: #ffe6ab;
    font-weight: 700;
}

.pagination-wrapper .pagination-next a,
.pagination-wrapper .pagination-prev a {
    padding: 0.5rem 1em;
}

.pagination-wrapper .pagination {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li:first-child,
.pagination li:nth-child(2) {
    display: none !important;
}

.pagination li:nth-last-child(1),
.pagination li:nth-last-child(2) {
    display: none !important;
}

.case {
    padding-top: 5em;
    padding-bottom: 5em;
}

.case__row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.case__media {
    order: 1;
}
.case__content {
    order: 2;
}

.case__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.case__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.2;
}
.case__text {
    color: #333;
    line-height: 1.5;
    margin-bottom: 1em;
}
.case__link {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5em 1.1em;
    background-color: #151310;
    color: #c9b57f;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s ease;
    font-size: 1.2em;
}
.case__link:hover {
    background-color: #151310;
    color: #ffe6ab;
}

@media (min-width: 992px) {
    .case__row {
        flex-direction: row;
        align-items: start;
        gap: 3rem;
    }

    .case__media {
        order: 1;
        flex: 1 1 50%;
    }
    .case__content {
        order: 2;
        flex: 1 1 50%;
    }

    .case__title {
        font-size: 2.5rem;
    }
}

.vacancies-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 40px 20px;
    text-align: center;
    color: #333;
}

.vacancies-placeholder__title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

.vacancies-placeholder__text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #666;
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* ---------------------------------------------- */

@media (max-width: 991px) {
    .header_inner {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 0.125em 0;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 0.625em;
    }

    .menu {
        margin-left: 0;
        width: 100%;
    }

    .menu__btn-container {
        display: block;
        position: absolute;
        top: 1.25em;
        right: 0.9375em;
        z-index: 101;
    }

    .menu__btn {
        border: none;
        background-color: transparent;
        padding: 0;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 1.875em;
        height: 1.875em;
        position: relative;
        z-index: 1;
    }

    .menu__btn span {
        display: block;
        width: 1.5em;
        height: 0.125em;
        background-color: #ffe6ab;
        position: relative;
        transition: background-color 0.3s ease;
    }

    .menu__btn span::before,
    .menu__btn span::after {
        content: '';
        display: block;
        width: 1.5em;
        height: 0.125em;
        background-color: #ffe6ab;
        position: absolute;
        left: 0;
        transition: transform 0.3s ease, top 0.3s ease;
    }

    .menu__btn span::before {
        top: -0.5em;
    }

    .menu__btn span::after {
        bottom: -0.5em;
    }

    .menu--open .menu__btn span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu--open .menu__btn span::after {
        bottom: auto;
        top: 0;
        transform: rotate(-45deg);
    }

    .menu--open .menu__btn span {
        background-color: transparent;
    }

    .menu__list {
        display: none;
        position: fixed;
        top: 0;
        right: -15.625em;
        width: 15.625em;
        height: 100vh;
        transition: right 0.3s ease;
        flex-direction: column;
        overflow-y: auto;
        z-index: 100;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .menu--open .menu__list {
        display: flex;
        right: 0;
        padding: 2.5em 1.25em 1.25em 1.5625em;
    }

    .menu__list-item {
        margin-right: 0;
        margin-bottom: 0.3125em;
        position: static;
    }

    .menu__list-link {
        padding: 0.625em 0;
        white-space: normal;
        margin-right: 0;
    }

    .menu__arrow {
        margin-left: 0.3125em;
        font-size: 0.8em;
    }

    .submenu {
        position: static;
        display: none;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0 0 0 0.9375em;
        flex-direction: column;
        z-index: auto;
    }

    .submenu--open {
        display: flex;
    }

    .submenu .menu__list-link {
        padding: 0.1875em 0;
        white-space: normal;
    }

    .hero {
        min-height: 75vh;
    }

    .hero__button {
        padding: 0.625em 1.25em;
        font-size: 0.875em;
    }

    .services-overview__row {
        flex-direction: column;
    }

    .services-overview__media {
        order: 1;
        width: 100%;
        margin-bottom: 1.875em;
    }

    .services-overview__content {
        order: 2;
        width: 100%;
        text-align: left;
    }

    .services-overview__title {
        /* font-size: 2em; */ /* Пример 32px / 16, если clamp не идеален */
    }

    .services-overview__link {
        /* font-size: 1em; */ /* Пример 16px / 16, если clamp не идеален */
    }
}

@media (min-width: 992px) {
    .menu__list-item:hover > .submenu {
        display: flex;
    }

    .menu__list-item:hover > .menu__link-wrapper .menu__arrow {
        transform: rotate(180deg);
    }

    .submenu .menu__list-item {
        margin: 0;
        position: static;
    }

    .submenu .menu__list-link {
        padding: 0.2em 0.9375em;
        white-space: nowrap;
        margin-right: 0;
    }
}

.alert-message {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
font-size: 1.3em;
padding: 20px;
margin: 20px 0;
border: 1px solid #c3e6cb;
border-radius: 5px;
}

.services-accordion__list {
    padding-left: 20px;
    margin-bottom: 15px;
    list-style: circle;
}



