@font-face {
    font-family: "Museo Sans";
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_100.eot");
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_100.eot?#iefix") format("embedded-opentype"), url("/local/templates/generemio/fonts/museo_sans_cyrl_100.woff") format("woff"), url("/local/templates/generemio/fonts/museo_sans_cyrl_100.ttf") format("truetype");
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: "Museo Sans";
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_300.eot");
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_300.eot?#iefix") format("embedded-opentype"), url("/local/templates/generemio/fonts/museo_sans_cyrl_300.woff") format("woff"), url("/local/templates/generemio/fonts/museo_sans_cyrl_300.ttf") format("truetype");
    font-style: normal;
    font-weight: 200;
}

@font-face {
    font-family: "Museo Sans";
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_300.eot");
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_300.eot?#iefix") format("embedded-opentype"), url("/local/templates/generemio/fonts/museo_sans_cyrl_300.woff") format("woff"), url("/local/templates/generemio/fonts/museo_sans_cyrl_300.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Museo Sans";
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_500.eot");
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_500.eot?#iefix") format("embedded-opentype"), url("/local/templates/generemio/fonts/museo_sans_cyrl_500.woff") format("woff"), url("/local/templates/generemio/fonts/museo_sans_cyrl_500.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}
@font-face {
    font-family: "Museo Sans";
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_500.eot");
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_500.eot?#iefix") format("embedded-opentype"), url("/local/templates/generemio/fonts/museo_sans_cyrl_500.woff") format("woff"), url("/local/templates/generemio/fonts/museo_sans_cyrl_500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "Museo Sans";
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_700.eot");
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_700.eot?#iefix") format("embedded-opentype"), url("/local/templates/generemio/fonts/museo_sans_cyrl_700.woff") format("woff"), url("/local/templates/generemio/fonts/museo_sans_cyrl_700.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "Museo Sans";
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_700.eot");
    src: url("/local/templates/generemio/fonts/museo_sans_cyrl_700.eot?#iefix") format("embedded-opentype"), url("/local/templates/generemio/fonts/museo_sans_cyrl_700.woff") format("woff"), url("/local/templates/generemio/fonts/museo_sans_cyrl_700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}




html, body {
    font-family: 'Museo Sans', 'Segoe UI', serif !important;
    color: #2E2E2E;
    font-size: 12px;
    font-weight: 400;
    background-color: #FAFAFA;
    -webkit-font-smoothing: antialiased; /* Chrome, Safari */
    -moz-osx-font-smoothing: grayscale;  /* Firefox (macOS) */
    text-rendering: optimizeLegibility;  /* улучшает кернинг */
}

a {
    color: #E50A0A
}

input,
textarea,
select {
    outline: none;
    box-shadow: none;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
}
.form-check-input {
    border: 1px solid #E50A0A;
    border-radius: 0 !important;
}
.form-check-input:checked {
    background-color: #E50A0A;
    border-color: #E50A0A;
}


.brand-color {
    color: #E50A0A;
}

p {
    margin-bottom: 0;
}

.h1 {
    font-size: 2rem;
}

.h2 {
    font-size: 1.375rem;
}

.text {
    font-size: 1rem;
}

.text-small {
    font-size: 0.5rem;
}
.modal-dialog {
    max-width: 585px;
}

.theme-button {
    padding-top: 12.5px;
    padding-bottom: 12.5px;
    font-weight: 400;
    font-size: 12.5px;
    text-align: center;
    width: 100%;
    border-radius: 5px;
    background-color: #E50A0A;
    border: #E50A0A;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.theme-button-inverse {
    background-color: #ffffff;
    border: #ffffff;
    color: #E50A0A;
}

.theme-button-white {
    background-color: #ffffff;
    border: 1px solid #E50A0A;
    color: #2E2E2E;
}

.modal {
    --bs-modal-padding: 1.25rem;
    --bs-modal-width: 600px;
    --bs-modal-margin: 25px;
}

.modal-title {
    font-size: 22px;
    color: #E50A0A;
    text-transform: uppercase;
}

.modal-sub-title {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    align-content: center;
    justify-content: space-between;
}

.modal-header {
    border: none;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 999;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.section-title-container {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 18px;
    color: #E50A0A;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
}

.section-titles {
    max-width: 900px;
}

.section-sub-title {
    margin-top: 10px;
    max-width: 497px;
    width: 80%;
    font-size: 12.5px;
    line-height: 1.1;
    font-weight: 400;
}

.section-default {
    margin-bottom: 80px;
}

.caption {
    font-weight: 400;
}


/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: #fafafa;
}

.header-nav {
    height: 80px;
}

.header-logo-img {
    height: 16px;
    width: auto;
}

/* --- Десктоп меню --- */
.header-menu-item {
    font-size: 1rem;
    color: #2E2E2E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-menu-item:hover {
    color: #184378;
}

/* --- Бургер --- */
.header-burger {
    width: 28px;
    height: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.header-burger span {
    display: block;
    width: 100%;
    height: 1px;
    background: #000;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
}

.header-burger.active span:nth-child(2) {
    opacity: 0;
}

.header-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
}

/* --- Оверлей --- */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Мобильное меню --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    max-height: 600px;
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
    border-bottom: 1px solid #eee;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    transform: translateY(0);
}

/* --- Шапка внутри меню --- */
.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 1.5rem;
}

.mobile-menu-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #184378;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #222;
}

/* --- Список --- */
.mobile-menu-list {
    list-style: none;
    padding: 1rem 1.5rem;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 1rem;
    padding: 0;
}

.mobile-menu-list a,
.submenu-toggle {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 400;
    color: #2E2E2E;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-list a:hover,
.submenu-toggle:hover {
    color: #2E2E2E;
}

/* --- Подменю --- */
.submenu {
    list-style: none;
    margin: 6px 0 12.5px 0;
    padding: 0;
    display: none;
}

.submenu li {
    margin-bottom: 0.5rem;
}

.submenu a {
    font-size: 14px;
    color: #555;
    text-transform: none;
}

.submenu-icon {
    margin-left: 15px;
    margin-top: 0px;
    transition: transform 0.3s ease;
    line-height: 1;
}

.has-submenu.open .submenu-icon {
    transform: rotate(180deg);
}


.promo-section {overflow: hidden;padding-bottom: 60px;}

.promo-left,
.promo-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.promo-image-wrap {
    width: 100%;
}

.promo-image {
    width: 100%;
    height: 270px;
    display: block;
    object-fit: cover;
    border-radius: 5px;
}

.promo-text {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.1;
    color: #2E2E2E;
    font-weight: 400;
    width: 80%;
}

.promo-content {
    margin-top: 0;
    gap: 2rem;
}

.promo-info-text {
    font-size: 12px;
    margin-bottom: 1rem;
    color: #2E2E2E;
    line-height: 1.1;
    display: inline-block;
    width: 63%;
    font-weight: 400;
}

.promo-button {
    padding: 15px 0;
    font-weight: 600;
    position: static;
}

.promo-small-image {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: -60px; /* подними на 40px вверх */
    margin-right: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2; /* чтобы перекрыл верхний блок */
}

.promo-small-image img {
    width: 50%;
    height: auto;
    border-radius: 0.5rem;
    display: block;
}


.promo-service {
}

.promo-service-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px;
    text-decoration: none;
    height: 185px;
}

.promo-service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.promo-service-item:hover .promo-service-image {
    transform: scale(1.05);
}

.promo-service-item-end {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.promo-service-image-end {
    width: 70%;
}


.promo-service-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    padding: 1.25rem;
}

.promo-service-title {
    color: #FAFAFA;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    align-self: flex-start;
    text-transform: uppercase;
    max-width: 190px;
    font-weight: 400;
}

/* Кружок со стрелкой */
.promo-service-icon {
    align-self: flex-end;
}

.promo-service-icon-img {
    width: 2rem;
    height: 2rem;
}


.loyalty-section {
    background-image: none;
    color: #fff;
    position: relative;
    border-radius: 1rem;
}

.loyalty-items {
}

.loyalty-item {
    min-width: 0;
    margin-bottom: 1rem;
    background-color: white; /* полупрозрачный слой */
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start; /* инфо прижато к низу */
    border: 1px solid #E50A0A;
    padding: 20px 10px;
    flex-direction: column;
}

.loyalty-item:last-child {
    margin-bottom: 0;
}

.loyalty-info {
    width: 80%;
    margin-bottom: 10px;
}

.loyalty-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
    color: #E50A0A;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.loyalty-text {
    font-size: 12.5px;
    line-height: 1.1;
    margin: 0;
    color: #2E2E2E;
}

#howItWork .modal-body {
    width: 80%;
}

#howItWork .modal-body-footer {

    display: flex;

    gap: 3rem;
}

#howItWork .modal-body p {
    font-size: 0.75rem;
}
#howItWork .modal-body .h2 {

}

.about-section .caption {
    max-width: 465px;
    font-size: 12.5px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.about-section .section-title-container {
    margin-bottom: 1.25rem;
}
.caption-about-italian {font-weight: 500;}
.caption-about-pride {

}


.team-section {
}

.team-title {
    font-size: 2rem;
    font-weight: 700;
    color: #184378;
}

.team-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin: 0;
}

/* --- СЛАЙДЕР --- */
.team-swiper {
    overflow: visible; /* чтобы выглядывал следующий слайд */
    height: 425px;
}

.team-slide {
    width: 25%; /* 4 в контейнере */
}

.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    height: 85%;
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.team-member:hover .team-image {
    transform: scale(1.05);
}

.team-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-icon img {
    width: 2rem;
    height: 2rem;
}

.team-member:hover .team-icon {
    filter: brightness(0.5) invert(1);
}

.team-position {
    font-size: 18px;
    color: #E50A0A;
}

.team-name {
    font-weight: 400;
    font-size: 12.5px;
}


.modal-dialog-team-detail {
    width: auto;
    max-width: min(90vw, 800px);
}

.modal-team-member {
    position: relative;
    overflow: hidden;
}

.modal-team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.modal-team-position {

    font-size: 2rem;

    color: #E50A0A;

    margin-bottom: 0;
}

.modal-team-name {

    margin-bottom: 0.5rem;
}

.modal-team-description {max-width: 410px;line-height: 1.2;margin-bottom: 16px;}


.brands-section {
}

.brands-accordion {
}

.brands-item {
    border-bottom: 1px solid #e1e1e1;
}

.brands-header {
    width: 100%;
    background: none;
    border: none;
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.brands-header:hover {
    color: #184378;
}

.brands-info {
    display: flex;
    flex-direction: column;
}

.brands-title {
    font-size: 16px;
    font-weight: 400;
    color: #E50A0A;
}

.brands-subtitle {
    font-size: 12.5px;
    opacity: 0.55;
}

.brands-icon {
    font-size: 1.5rem;
    color: #2E2E2E80;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.brands-item.open .brands-icon {
    transform: rotate(45deg);
}

/* тело аккордеона */
.brands-body {
    display: none; /* изначально скрыто */
    padding: 1rem 0;
    color: #444;
    line-height: 1.6;
    font-size: 12.5px;
    line-height: 1.2;
}

/* --- картинка справа --- */
.brands-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.brands-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.3, 1),
    visibility 0s linear 0.4s;
    border-radius: 0.75rem;
}

.brands-image.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.3, 1),
    visibility 0s;
}


.reviews-section {
}

.reviews-title {
    font-size: 2rem;
    font-weight: 700;
    color: #184378;
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* --- Слайд --- */
.review-card {
    background-color: transparent;
    border-radius: 5px;
    overflow: hidden;
    min-height: 265px;
    border: 1px solid #E50A0A;
    padding: 10px;
}

.review-image-wrap {
    flex: 0 0 50%;
    max-width: 50%;
}

.review-image {
    width: 100%;
    height: 555px;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

.review-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-top {
    margin-bottom: 2rem;
}

.review-name {
    font-weight: 400;
    font-size: 16px;
    color: #2E2E2E;
    text-transform: uppercase;
}

.review-stars img {
    width: 12.5px;
    height: 12.5px;
    margin-left: 0px;
}

/* Текст отзыва */
.review-text {
    font-size: 12.5px;
    color: #2E2E2E;
    line-height: 1.1;
}

/* --- Навигация --- */
.reviews-nav {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
    display: none;
}

.reviews-nav button {
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.reviews-nav img {
    width: 1.8rem;
}


.media-section {
}

/* --- Общая сетка --- */
.media-grid {
    gap: 2rem;
    align-items: stretch; /* обе колонки растягиваются на одинаковую высоту */
}

.media-column {
    display: flex;
    flex-direction: column;
}

/* --- Левая половина --- */
.media-column-left {
    justify-content: space-between;
}

.media-title {
    font-size: 18px;
    font-weight: 400;
    color: #E50A0A;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.media-image-wrap {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

.media-image {
    width: 70%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.6s ease;
}

.media-image-wrap:hover .media-image {
    transform: scale(1.05);
}

/* --- Правая половина --- */
.media-column-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
}

.media-card {
    background-color: #E50A0A;
    color: #fff;
    border-radius: 5px;
    padding: 10px;
}


.media-card-title {
    color: #FAFAFA;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.media-card-subtitle {
    color: #FAFAFA;
    font-size: 12.5px;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
    width: 90%;
}

.media-card-text {
    color: #FAFAFA;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}


.footer-section {
    color: #2E2E2E;
    font-weight: 400;
    margin-top: 50px;
}

.footer-section a {
    color: #2E2E2E;
    text-decoration: none;
}

/* --- Общие блоки --- */
.footer-about,
.footer-contacts,
.footer-nav,
.footer-map {
    margin-top: 25px;
}

.footer-title {
    font-size: 16px;
    font-weight: 500;
    color: #E50A0A;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* --- 1 колонка (логотип, реквизиты, политика) --- */
.footer-about {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-logo {
    width: 102px;
    height: auto;
    margin-bottom: 5px;
}

.footer-info p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.4;
}

.footer-about-bottom {
    margin-top: auto;
    color: #2E2E2E80;
}

.footer-link {
    display: block;
    color: #777;
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #184378;
}

.text-muted {
    opacity: 0.5;
    font-size: 0.5rem;

}

.footer-contacts p {
    line-height: 1.2;
    font-size: 12.5px;
    margin-bottom: 10px;
}

/* --- Списки контактов и навигации --- */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12.5px;
}

.footer-list li {
    margin-bottom: 0.5rem;
    line-height: 1;
}

.footer-list a {
    color: #2E2E2E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #184378;
}

.footer-map {
}

.footer-map-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-height: 250px;
    border-radius: 5px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


[class*="ymaps-2"][class*="-ground-pane"] {
    /* Firefox 3.5+ */
    -webkit-filter: grayscale(100%) !important;
    /* Chrome 19+ & Safari 6+ */
    filter: grayscale(100%) !important;
    /*-webkit-filter: grayscale(1) opacity(65%) !important;*/

}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #2E2E2E80;
    font-size: 12.5px;
    margin-bottom: 23px;
}

.breadcrumb-link {
    color: #2E2E2E80;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #184378; /* фирменный цвет */
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #aaa;
}

.breadcrumb-current {
    color: #2E2E2E80;
    font-weight: 500;
}

.services-nav {
    margin-top: 10px;
    margin-bottom: 35px;
}

.services-nav-button {
    text-transform: none;
    width: auto;
    padding: 15px 17px;
    line-height: 1;
    border: 1px solid #E50A0A;
    background: transparent;
    color: #2E2E2E;
    border-radius: 10px;
}

.services-nav-button.selected {
    background: #E50A0A;
    color: #ffffff;
}

.service-prices {

}

/* Категория */
.price-category {
    margin-bottom: 3rem;
}
.price-sub-section-container{
    margin-bottom: 50px;
    align-items: stretch !important;
}
.price-sub-section-container .col-md-4 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.price-sub-section{
    font-weight: 500;
    font-size: 16px;
    color: #E50A0A;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0;
}
.price-sub-image {
    width: 70%;
}

.price-sub-sub-section{
    font-weight: 500;
    font-size: 16px;
    color: #E50A0A;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0;
}
.price-item-order {
    border: none;
}

.service-order-button {
    width: 100%;
}

.price-item {
    padding: 15px 0;
    border-bottom: 1px solid #2E2E2E80;
}
.price-item + .price-sub-sub-section {
    margin-top: 10px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    flex-direction: column;
}

/* Название услуги */
.price-item-name {
    flex: 1;
    min-width: 200px;
    font-weight: 400;
    font-size: 12.5px;
    color: #E50A0A;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    text-align: left;
}

/* Блок уровней цен */
.price-levels {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 2rem;
}

/* Одна колонка мастера */
.price-level {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: clamp(75px, 200px, 15vw););););););
}

.price-role {
    font-size: 12.5px;
    margin-bottom: 5px;
    white-space: nowrap;
    color: #2E2E2E;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.price-item-sub-item .price-role {
    opacity: 1;
    height: auto;
}

.price-sub-section-container .col-md-8 .price-item:first-child .price-role {
    display: inline-block;
}
.price-sub-section-container .col-md-8 .price-role {
    display: none;
}

.price-value {
    white-space: nowrap;
    font-weight: 400;
    font-size: 14px;
    color: #E50A0A;
}

/* --- Кнопка под блоком --- */
.price-button-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* выравнивание кнопки по ширине от "Стилист" до правого края */
.price-button {
    width: 100%; /* 3 колонки по 80px + 2 промежутка по 2rem */
    text-align: center;
    padding: 18px 0;
}

.price-item-sub-item {
    border-bottom: none;
    padding: 5px 0;
}

.price-item-sub-item-last {
    border-bottom: 1px solid #2E2E2E80;
    padding: 5px 0 15px 0;
}

.price-item-sub-item .price-item-name {
    font-style: italic;
}

.price-item-has-sub-items {
    border-bottom: none;
    padding: 15px 0 5px 0;
}

.price-item-has-sub-items .price-value {
    opacity: 0;
    height: 0;
}

.price-item-has-sub-items .price-role {
    display: none;
}


/*ERROR PAGE*/
.error-page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-family: 'Inter', sans-serif;
    padding-top: 30px;
    padding-bottom: 30px;
}

.error-page {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: #E50A0A; /* фирменный синий */
    line-height: 1;
}

.error-text {
    font-size: 22px;
    margin-bottom: 2rem;
    color: #555;
}

.error-button {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-weight: 500;
    background-color: #184378;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.error-button:hover {
    background-color: #0f2d57;
    color: #fff;
}

/*certificates page*/

.certificates {
}

.certificates__title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.certificate-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.certificate-card:hover {
}

.certificate-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.certificate-image img {
    width: 100%;
    display: block;
    border-bottom: 1px solid #eee;
}

.certificate-nominal {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
    padding: 4px 10px;
    border-radius: 6px;
}

.certificate-content {
    padding: 0;
    margin-top: 11px;
}

.certificate-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    display: none;
}

.btn-more {
    background: #184378;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-more:hover {
    background: #102b4f;
}


/* модальное окно - сертификат подробнее */

.modal-cert {
    border: none;
    overflow: hidden;
    background: #fff;
    border-radius: 0;
}

.cert-image {
    position: relative;
    width: 100%;
    height: 270px; /* фиксированная высота блока */
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ ключевой момент */
    object-position: center;
    display: block;
}

.cert-close {
    position: absolute;
    background: transparent;
    top: 10px;
    right: 10px;
    color: #000000;
    border: none;
    font-size: 40px;
    line-height: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cert-close:hover {
}

.cert-body {
    padding: 25px 20px;
}

.cert-title {
    color: #E50A0A;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.cert-title span {
    font-weight: 500;
    color: #666;
}

.cert-text {
    font-size: 14px;
    margin-bottom: 25px;
}
.modal-body-cert {margin-top: 37px;}


.btn-buy {
    background: #184378;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-buy:hover {
    background: #102b4f;
}


/* Модальное окно: форма */
.modal-purchase .form-group {
    margin-bottom: 15px;
}

.modal-purchase label {
    line-height: 1.1;
}

.modal-purchase input[type="text"], .modal-purchase input[type="tel"] {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-bottom: 1px solid #ccc;
}

#purchaseNominal {
    margin-top: 5px;
}

.modal-purchase {
    border-radius: 0;
}

.form-check {
    margin-top: 15px;
    font-size: 0.9rem;
}

.form-check a {
    color: #184378;
    text-decoration: underline;
}


.image-modal {
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: flex-end;
}

#modalImage {
    max-width: 80vw;  /* 80% от ширины экрана */
    max-height: 80vh; /* 80% от высоты экрана */
    border-radius: 8px;
    object-fit: contain;
}








