@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap");

span.newprice{
    background-color: #fd6216;
    color: white;
    border-radius: 20%;
    display: inline-block;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
}

span.oldprice{
    background-color: grey;
    color: white;
    text-decoration: line-through;
    border-radius: 20%;
    display: inline-block;
    text-align: center;
    padding-left: 6px;
    padding-right: 6px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* === Сетка и объёмные плитки страницы «Услуги» === */
.services-grid-wrap {
    background-color: #fdf9f6;
    padding: 32px 0 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-tile {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #1f1b18;
    box-shadow:
        0 10px 24px rgba(16, 25, 40, 0.14),
        0 2px 6px rgba(16, 25, 40, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transform: translateY(0) translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.service-tile picture,
.service-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* Объёмный затемняющий градиент снизу для читаемости подписи */
.service-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 20, 0.04) 32%,
        rgba(15, 15, 20, 0.45) 68%,
        rgba(15, 15, 20, 0.84) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.25s ease;
}

.service-tile:hover,
.service-tile:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(253, 98, 22, 0.65);
    box-shadow:
        0 18px 34px rgba(253, 98, 22, 0.22),
        0 8px 18px rgba(16, 25, 40, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    outline: none;
}

.service-tile:hover picture img,
.service-tile:focus-visible picture img {
    transform: scale(1.04);
}

.service-tile-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 14px 16px 14px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.service-tile-title {
    margin: 0;
    color: #ffffff;
    font-family: "Montserrat", "Poppins", "Open Sans", sans-serif;
    font-weight: 800;
    font-size: clamp(1.05rem, 1.8vw, 1.85rem);
    line-height: 1.12;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.85),
        0 6px 16px rgba(0, 0, 0, 0.65),
        0 0 2px rgba(253, 98, 22, 0.45);
}

.service-tile-title--long {
    font-size: clamp(0.88rem, 1.35vw, 1.35rem);
}

.service-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff3eb;
    background: rgba(253, 98, 22, 0.88);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.service-tile:hover .service-tile-cta {
    background: #fd6216;
    transform: translateX(2px);
}

/* Планшеты и мобильные: 2 колонки */
@media (max-width: 767.98px) {
    .services-grid-wrap {
        padding: 18px 0 32px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .service-tile {
        border-radius: 14px;
        box-shadow:
            0 6px 14px rgba(16, 25, 40, 0.14),
            0 2px 4px rgba(16, 25, 40, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .service-tile:hover,
    .service-tile:focus-visible {
        transform: none;
    }

    .service-tile-overlay {
        padding: 10px 8px 10px;
        gap: 4px;
    }

    .service-tile-title {
        font-size: 0.92rem;
        line-height: 1.15;
    }

    .service-tile-title--long {
        font-size: 0.78rem;
    }

    .service-tile-cta {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
}

.bradcam_area h1 {
    font-size: 50px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0;
    line-height: 1.2;
    font-family: "Montserrat", "Poppins", "Open Sans", sans-serif;
}

@media (max-width: 767px) {
    .bradcam_area h1 {
        font-size: 30px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bradcam_area h1 {
        font-size: 40px;
    }
}

.boxed-btn6:hover,
.boxed-btn6:focus {
    color: #ffffff !important;
    text-decoration: none;
}

/* === Единая полировка типографики, списков и карточек по всему сайту === */
h1, h2, h3, h4, h5, h6,
.section_title h3,
.bradcam_area h3,
.header-area .main-header-area .main-menu ul li a,
.header-area .header-top_area .short_contact_list ul li a,
.boxed-btn, .boxed-btn2, .boxed-btn3, .boxed-btn4, .boxed-btn5, .boxed-btn6, .boxed-btn7,
.footer .footer_top .footer_widget .footer_title {
    font-family: "Montserrat", "Poppins", "Open Sans", sans-serif;
}

h1, h2, h3, h4,
.section_title h3,
.bradcam_area h1,
.bradcam_area h3 {
    letter-spacing: -0.015em;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-area .main-header-area .main-menu ul li {
        margin-left: 28px;
    }
}

/* Первый экран на страницах услуг */
.slider_area .single_slider .slider_text .header_title {
    font-size: 34px;
    line-height: 1.24;
    font-weight: 400;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.16);
}

.slider_area .single_slider .slider_text .header_title span {
    font-weight: 800;
}

.slider_area .single_slider .slider_text p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 520px;
}

@media (max-width: 767px) {
    .slider_area .single_slider .slider_text .header_title {
        font-size: 24px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .slider_area .single_slider .slider_text p {
        font-size: 14.5px;
        line-height: 1.45;
        margin-bottom: 14px;
    }
}

/* Заголовки секций */
.section_title h3 {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    .section_title h3 {
        font-size: 25px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
}

/* Скрываем пустой <p class="secondary"> перед <ul> в старых шаблонах */
p.secondary:empty {
    display: none;
    margin: 0;
}

/* Аккуратные списки преимуществ и симптомов на всех страницах */
li.checkmark {
    list-style: none !important;
    list-style-type: none !important;
    position: relative;
    margin-left: 0;
    padding-left: 36px;
    margin-bottom: 14px;
    font-size: 19px;
    line-height: 1.52;
    font-weight: 400;
    color: #2c303a;
}

.slider_area .single_slider ul.checkmark > li {
    list-style-type: none !important;
}

li.checkmark::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 18px;
    line-height: 1.4;
}

li.checkmark.white {
    color: #ffffff;
}

/* Плашка важного примечания (pushpin) */
li.pushpin {
    list-style: none !important;
    list-style-type: none !important;
    position: relative;
    margin-left: 0;
    margin-top: 24px;
    padding: 16px 20px 16px 48px;
    border-radius: 12px;
    background: #fff7f2;
    border-left: 4px solid #fd6216;
    font-size: 16.5px;
    line-height: 1.58;
    font-style: normal;
    color: #3a3d47;
    box-shadow: 0 6px 18px rgba(25, 29, 52, 0.05);
}

li.pushpin::before {
    content: "📌";
    position: absolute;
    left: 16px;
    top: 15px;
    font-size: 19px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    li.checkmark {
        font-size: 16px;
        line-height: 1.48;
        padding-left: 30px;
        margin-bottom: 11px;
    }

    li.checkmark::before {
        font-size: 15px;
    }

    li.pushpin {
        font-size: 15px;
        padding: 14px 16px 14px 42px;
    }
}

/* Выравнивание карточек преимуществ и цен (сохраняя фон bgpaws на /price и /promo) */
.service_area .single_service {
    width: 100%;
    padding: 45px 24px 40px;
}

.service_area .single_service:not([style*="background-image"]) {
    background-color: #ffffff;
}

.service_area .single_service .service_content h3 {
    font-size: 21px;
    line-height: 1.32;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 6px;
}

.service_area .single_service .service_content h4 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    margin-bottom: 0;
}

.service_area .single_service:not([style*="background-image"]) .service_content p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #5f6368;
}

/* Компактная типографика верхней плашки с акцией */
.service_area.alert {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-bottom: 0;
    border-radius: 0;
}

.service_area.alert h3 {
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 4px;
}

.service_area.alert h4 {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0;
}


@media (max-width: 767px) {
    .service_area.alert h3 {
        font-size: 15px;
    }

    .service_area.alert h4 {
        font-size: 13px;
    }
}