/* Базовые настройки */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background: #f5f5f5;
    line-height: 1.6;
}

.dup {
    display: none;
}


img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Контейнер */

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ШАПКА */

.header {
    background: #000;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 24px;
}

/* Левая часть (десктоп) */

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Мобильная шапка (бургер + текст + лого) */

.header-mobile {
    display: none; /* покажем только на мобилке */
    align-items: center;
    gap: 12px;
    width: 100%;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.desktop-logo {
    display: block;
}

.mobile-logo {
    display: none;
    height: 42px;
}

/* Десктопный текст логотипа */

.logo {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-main {
    display: block;
    font-weight: 700;
    font-size: 18px;
}

.logo-sub {
    opacity: 0.8;
}

/* Текст логотипа в мобильной шапке (по центру) */

.logo-mobile-text {
    flex: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 11px;
    line-height: 1.2;
}

.logo-mobile-main {
    font-weight: 700;
    font-size: 14px;
}

.logo-mobile-sub {
    opacity: 0.9;
    font-size: 10px;
}

/* Навигация (десктоп) */

.nav {
    display: flex;
    gap: 18px;
    font-size: 14px;
}

.nav a {
    position: relative;
    padding-bottom: 2px;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: #f4c400;
    transition: width 0.2s;
}

.nav a:hover::after {
    width: 100%;
}

.nav-accent {
    color: #f4c400;
    font-weight: 600;
}

/* Телефоны (только десктоп) */

.header-phone {
    text-align: right;
    font-size: 14px;
}

.phone-lines {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

.header-phone a {
    display: inline-block;
    font-size: 14px;
}

.phone-icon {
    font-size: 14px;
}

/* Бургер-кнопка */

.burger {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    margin: 6px 0;
    transition: transform 0.2s, opacity 0.2s;
}

/* Анимация иконки при открытом меню */
.burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Мобильное выезжающее меню */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    max-width: 80%;
    height: 100vh;
    background: #000;
    color: #fff;
    transform: translateX(-100%);
    transition: transform 0.25s ease-out;
    z-index: 50;
    padding: 60px 20px 20px;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 16px;
}

.mobile-nav a {
    color: #fff;
}

.mobile-nav a:hover {
    color: #f4c400;
}

/* Затемнение фона при открытом меню */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 40;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Запрет прокрутки фона, когда меню открыто */
body.no-scroll {
    overflow: hidden;
}



/* HERO */

/* HERO */

.hero {
    background: #fff;
    padding: 48px 0 40px;
}

/* Десктоп: текст слева, фото справа, кнопки под текстом */
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas:
        "text photo"
        "actions photo";
    column-gap: 32px;
    row-gap: 20px;
    align-items: center;
}

.hero-text {
    grid-area: text;
}

.hero-photo {
    grid-area: photo;
    justify-self: end;
}

.hero-photo img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 0;
    max-width: 480px;
}

.hero-actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}



/* Кнопки */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #f4c400;
    color: #000;
    border-color: #f4c400;
}

.btn-primary:hover {
    filter: brightness(0.95);
}

.btn-outline {
    background: transparent;
    color: #000;
    border-color: #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* ОБЩИЕ СЕКЦИИ */

.section {
    padding: 48px 0;
    background: #fff;
}

.section-alt {
    background: #f0f0f0;
}

.section h2 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: left;
}

/* УСЛУГИ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.service-card img {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 16px;
    margin: 12px 12px 6px;
}

.service-card p {
    font-size: 14px;
    margin: 0 12px 12px;
    color: #555;
}

/* ABOUT */
/* Карточка = кликабельная кнопка */
.service-card {
    display: block;
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Эффект как в галерее — только на ПК */
@media (min-width: 901px) {

    .services-grid:hover .service-card {
        opacity: 0.4;
    }

    .services-grid .service-card:hover {
        transform: scale(1.07);
        opacity: 1;
        z-index: 4;
        box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    }
}

/* На телефонах эффекты отключены */
@media (max-width: 900px) {
    .services-grid .service-card,
    .services-grid:hover .service-card {
        opacity: 1 !important;
        transform: none !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    }
}


.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.about-list strong {
    display: block;
    margin-bottom: 2px;
}

.about-bottom {
    margin-top: 18px;
    font-weight: 600;
}

.about-photo img {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* INSTAGRAM */
/* Вертикальное и горизонтальное центрирование правой части */
.insta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* центр по высоте */
    align-items: center;      /* центр по ширине */
    text-align: center;
    padding: 20px 0;
}

/* Текст */
.insta-content p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Инста-логин */
.insta-link {
    font-size: 20px;
    margin-bottom: 14px;
    display: inline-block;
    color: #f4c400;
}

/* Кнопка */
.insta-content .btn {
    min-width: 200px;
    text-align: center;
}


.insta-block {
    background: #111;
    color: #fff;
    border-radius: 10px;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 24px;
}

.insta-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    align-items: stretch;
}
/* Базовое состояние — все фото обычные */
.insta-photos:hover img {
    opacity: 0.5;
    transition: opacity 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* Фото под курсором — яркое и увеличенное */
.insta-photos img:hover {
    opacity: 1;
}


.insta-photos img {
    width: 100%;
    aspect-ratio: 1 / 1;        /* квадрат — лучший вариант для галереи */
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Ховер-эффект для галереи только на десктопе */
@media (min-width: 901px) {
    .insta-photos img:hover {
        transform: scale(1.15);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        z-index: 2;
    }
}


.insta-content p {
    font-size: 14px;
    margin-bottom: 8px;
}

.insta-link {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 12px;
    color: #f4c400;
}

/* FOOTER */

.footer {
    background: #111;
    color: #eee;
    padding-top: 32px;
    margin-top: 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 24px;
    padding-bottom: 24px;
}

.footer-info h3 {
    margin-bottom: 8px;
}

.footer-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-info a {
    color: #f4c400;
}

.map-placeholder {
    background: #222;
    border-radius: 6px;
    overflow: hidden;
    min-height: 220px;      /* можно поменять высоту */
}

/* сам iframe карты */
.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}


.footer-bottom {
    border-top: 1px solid #222;
    text-align: center;
    font-size: 12px;
    padding: 10px 0 14px;
    color: #777;
}

/* Плавающая кнопка звонка (мобилка) */

.phone-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: none; /* включим на мобилке */
    font-size: 14px;
}

.phone-fab-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #f4c400;
    color: #000;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.phone-fab-panel {
    position: absolute;
    right: 0;
    bottom: 60px;
    background: #000;
    color: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
}

.phone-fab.open .phone-fab-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.phone-fab-title {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.phone-fab-panel a {
    font-size: 15px;
    color: #f4c400;
}

/* АДАПТИВ — до 900px (планшеты / телефоны) */

@media (max-width: 900px) {
    .about-layout,
    .insta-block,
    .footer-inner 
    {
    grid-template-columns: 1fr;
    }
    .services-grid 
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Показываем мобильную шапку, скрываем десктопную */
    .header-mobile 
    {
        display: flex;
    }
    .header-mobile {
        justify-content: center; 
        align-items: center;
        position: relative;
    }

    /* Бургер — слева */
    .header-mobile .burger {
        position: absolute;
        left: 0;
    }

    /* Лого — справа */
    .header-mobile .mobile-logo {
        position: absolute;
        right: 0;
    }

    .header-left {
        display: none !important;
    }

    .desktop-nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .mobile-logo {
        display: block;
    }

    .burger {
        display: block;
    }

    /* Плавающая кнопка звонка включена на мобилке */
    .phone-fab {
        display: block;
    }
   
    /* HERO — мобильная версия */
    .hero {
        padding: 32px 0 32px;
    }

    .hero-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "text photo"
            "actions actions";
        gap: 12px 16px;
        align-items: flex-start;
    }

  .hero-text {
        grid-area: text;
        background: #fff;
        padding: 16px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .hero h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
        color: #000;
    }

    .hero-subtitle {
        font-size: 14px;
        color: #222;
    }
    .hero-photo {
        grid-area: photo;
        display: flex;
        justify-content: flex-end;
    }

    .hero-photo img {
        max-width: 300px;  /* твой размер */
        width: 100%;
        border-radius: 8px;
    }

    .hero-actions {
        grid-area: actions;
        grid-column: 1 / -1;   /* занять обе колонки */
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 4px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }



    #about.section-alt {
        background: none; /* убираем серый фон */
        padding: 0;
    }

    #about .about-layout {
        position: relative;
        padding: 0;
        margin: 0;
    }

    /* Фото превращаем в большой фон */
    #about .about-photo {
        order: 1;
        width: 100%;
        height: auto;
    }

    #about .about-photo img {
        width: 100%;
        height: 540px;             /* высота блока — можешь менять */
        object-fit: cover;
        filter: brightness(0.25);  /* затемнение для читабельности текста */
        border-radius: 0;
        display: block;
    }

    /* Текст поверх изображения */
    #about .about-layout > div:first-child {
        order: 2;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        color: #fff;
        z-index: 10;
    }

    /* Заголовок */
    #about h2 {
        display: block;
        font-size: 26px;
        margin-bottom: 18px;
        color: #fff;
        text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    }

    /* Список текста */
    #about .about-list li,
    #about .about-bottom,
    #about .about-list li strong {
        color: #fff;
        text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    }

    #about .about-list {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    #about .about-bottom {
        margin-top: 18px;
        font-weight: 600;
        color: #fff;
    }

}


/* АДАПТИВ — до 600px (телефоны) */
@media (max-width: 600px) {
     #about.section-alt {
        background:
            linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
            url("img/about-car.jpg") center / cover no-repeat;
        padding: 32px 16px;
        color: #fff;
    }

    /* Больше не нужен абсолют и оверлей — возвращаем обычный поток */
    #about .about-layout {
        position: static;
        display: block;
        padding: 0;
        margin: 0;
    }

    /* Прячем отдельный блок с картинкой — она уже стоит фоном */
    #about .about-photo {
        display: none;
    }

    /* Текстовый блок снова обычный, без absolute */
    #about .about-layout > div:first-child {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        order: 0;
        color: #fff;
    }

    #about h2 {
        display: block;
        font-size: 22px;
        margin-bottom: 16px;
        color: #fff;
    }

    #about .about-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #about .about-list li,
    #about .about-list li strong,
    #about .about-bottom {
        color: #fff;
        text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    }

    #about .about-bottom {
        margin-top: 16px;
        font-weight: 600;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

    .insta-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .insta-photos img {
        height: 100px;
    }

    /* HERO — меньше отступы сверху/снизу */
    .hero {
        padding: 24px 0 32px;
    }

    /* Сетка: текст слева, квадратное фото справа, снизу кнопки */
    .hero-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "text photo"
            "actions actions";
        gap: 12px;
        align-items: stretch;
    }

    /* Белый блок с текстом слева */
    .hero-text {
        grid-area: text;
        background: #fff;
        padding: 16px;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .hero h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
        color: #000;
    }

    .hero-subtitle {
        font-size: 14px;
        color: #222;
    }

    /* Правая колонка — квадратное фото */
    .hero-photo {
        grid-area: photo;
        align-self: stretch;
        position: relative;
        width: 100%;
        padding-top: 100%;   /* ДЕЛАЕМ КВАДРАТ: высота = ширина */
        border-radius: 12px;
        overflow: hidden;
    }

    .hero-photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Кнопки снизу на всю ширину */
    .hero-actions {
        grid-area: actions;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
@media (min-width: 600px) and (max-width: 631px) {
    .dup {
        display: block;
    }
}
@media (min-width: 900px) and (max-width: 980px) {
    .dup {
        display: block;
    }
}
/* PRICE PAGE */

.price-title {
    font-size: 32px;
    margin-bottom: 8px;
}

.price-subtitle {
    margin-bottom: 24px;
    max-width: 640px;
    font-size: 14px;
    color: #555;
}

.price-section-title {
    font-size: 20px;
    margin: 28px 0 12px;
}

.price-note {
    font-size: 13px;
    color: #666;
    margin-top: 16px;
}

/* Таблицы прайса */
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.price-table thead {
    background: #f4f4f4;
}

.price-table th,
.price-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e4e4e4;
    text-align: left;
    vertical-align: top;
}

.price-table th span {
    font-weight: 400;
    font-size: 11px;
    color: #777;
}

.price-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.price-table td small {
    display: block;
    font-size: 11px;
    color: #777;
}

/* На совсем узких экранах чуть уменьшаем шрифт */
@media (max-width: 600px) {
    .price-title {
        font-size: 26px;
    }

    .price-table {
        font-size: 12px;
    }

    .price-table th,
    .price-table td {
        padding: 8px 8px;
    }
}

/* Лого-ссылка в шапке */

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

/* Кнопка "Перейти к прайсу" */

.price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #f4c400;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.price-btn:hover {
    background: #e0b000;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Центрируем заголовок блока Прайс-листа */
#price h2 {
    text-align: center;
}

/* Делаем кнопку широкой и ставим по центру */
.price-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 12px auto 0;
    text-align: center;
}

/* === Універсальна анімація для всіх жовтих кнопок === */
.btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary {
    background: #f4c400;
    color: #000;
    border: 2px solid #f4c400;
}

/* Ефект при наведенні тільки на ПК */
@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        filter: brightness(0.97);
    }

    .btn-outline:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }
}

/* На телефонах — без лишней анимации при hover */
@media (max-width: 900px) {
    .btn-primary:hover {
        transform: none;
        box-shadow: none;
        filter: none;
    }
}

/* =========================
   СТРАНИЦЫ УСЛУГ
   ========================= */

/* Хлебные крошки */
.service-breadcrumbs {
    padding-bottom: 0;
    padding-top: 24px;
}

.service-back {
    font-size: 14px;
    opacity: 0.8;
    text-decoration: none;
}

.service-back:hover {
    opacity: 1;
}

/* =========================
   HERO УСЛУГ — ДЕСКТОП
   ========================= */

.service-hero {
    background: #fff;
    padding: 40px 0 32px;
    position: relative;
    overflow: hidden;
}

.service-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 2; /* поверх фото на мобилке */
}

.service-hero-text h1 {
    font-size: 32px;
    margin-bottom: 14px;
}

.service-hero-subtitle {
    font-size: 16px;
    margin-bottom: 14px;
}

.service-hero-list {
    list-style: disc;
    margin-left: 18px;
    margin-bottom: 20px;
    font-size: 14px;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.service-hero-photo img {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* =========================
   HERO УСЛУГ — МОБИЛКА
   Фото фоном под текстом
   ========================= */

@media (max-width: 900px) {

    .service-hero {
        padding: 0;
        color: #fff;
    }

    .service-hero-inner {
        display: block;
        padding: 32px 16px 40px;
    }

    /* Фото уходит под весь hero */
    .service-hero-photo {
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .service-hero-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.35);
        border-radius: 0;
        box-shadow: none;
    }

    /* Текст поверх фото */
    .service-hero-text {
        position: relative;
        z-index: 2;
    }

    .service-hero-text h1,
    .service-hero-subtitle,
    .service-hero-list li {
        color: #fff;
        text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    }

    /* Кнопки — колонкой и на всю ширину */
    .service-hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 16px;
    }

    .service-hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}
/* Отступы внутри текстовых колонок блока "Що входить у детейлінг" */
.service-details-inner > div {
    padding: 0 16px;
}

/* На совсем узких экранах можно чуть меньше, если хочешь */
@media (max-width: 600px) {
    .service-details-inner > div {
        padding: 0 12px;
    }
}
/* ================================
   CONTACTS PAGE
================================ */

/* Отступы страницы */
.contacts-page h1 {
    margin-bottom: 12px;
}

.contacts-page p {
    margin-bottom: 20px;
}

/* ===== Контактные карточки ===== */

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Карточка-кнопка */
.contact-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #000;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

/* Заголовок карточки */
.contact-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* Текст внутри */
.contact-card p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Hover — только на ПК */
@media (min-width: 901px) {
    .contact-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 26px rgba(0,0,0,0.18);
    }
}

/* ===== Карта ===== */

.contacts-map {
    margin-top: 32px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.contacts-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* Мобилка */
@media (max-width: 600px) {
    .contacts-map iframe {
        height: 260px;
    }
}
/* =========================
   1. ТЮНИМ КНОПКУ ЗВОНКА
   ========================= */

.phone-fab {
    right: 24px;   /* было 16 */
    bottom: 24px;  /* было 16 */
}

.phone-fab-btn {
    width: 60px;   /* было 52 */
    height: 60px;  /* было 52 */
    font-size: 28px;  /* чуть крупнее трубка */
}

.phone-fab-panel {
    min-width: 210px;   /* было 180 */
    padding: 12px 16px; /* чуть больше воздуха */
}

/* =========================
   2. ГЛОБАЛЬНАЯ АНИМАЦИЯ КНОПОК
   (работает и на ПК, и на телефонах)
   ========================= */

.btn {
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                filter 0.2s ease;
}

/* Ховер — для устройств с мышью (ПК/ноут) */
@media (hover: hover) {
    .btn-primary:hover,
    .btn-outline:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        filter: brightness(0.97);
    }
}

/* Тап/клик — для всех (в т.ч. телефоны) */
.btn:active {
    transform: scale(0.96) translateY(1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    filter: brightness(0.95);
}

/* =========================
   3. АНИМАЦИЯ КАРТОЧЕК УСЛУГ
   ========================= */

/* уже есть hover на ПК — добавим эффект "нажатия" */
.service-card {
    transition: transform 0.22s ease,
                box-shadow 0.22s ease,
                opacity 0.22s ease;
}

.service-card:active {
    transform: scale(0.97);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    opacity: 1;
}

/* =========================
   4. АНИМАЦИЯ ФОТО В ГАЛЕРЕЕ НА ТЕЛЕФОНАХ
   ========================= */

.insta-photos img {
    transition: transform 0.22s ease,
                box-shadow 0.22s ease,
                opacity 0.22s ease;
}

/* При тапе на телефоне — лёгкий зум */
.insta-photos img:active {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
/* базовая таблица у тебя уже есть, добавим спец-строки */

.price-row-span .price-span-cell {
    text-align: center;
    font-weight: 600;
}

/* строка-примечание на всю ширину */
.price-note-row .price-note-cell {
    font-size: 13px;
    color: #666;
    padding-top: 6px;
    padding-bottom: 6px;
}
.price-table td.center-cell {
    text-align: center;
}
/* таблицы прайса — дополнительные стили */
.price-span {
    text-align: center;
    font-weight: 600;
}

.price-note-row {
    font-size: 12px;
    color: #555;
    background: #f7f7f7;
}

.price-note {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}
/* Ячейки, которые должны висеть между колонками (colspan=2) */
.price-span-2 {
    text-align: center;
    font-weight: 500;      /* можно убрать, если не нужно выделение */
}
.price-table td {
    text-align: center;
}

/* чтобы текст в объединённых ячейках смотрелся аккуратно */
.price-table td:first-child {
    text-align: left;
}

.price-between {
    text-align: center;
}
.price-table th {
    text-align: center !important;
}
/* ===== АНТИГРАВІЙНА ПЛІВКА – КАСТОМНЕ РОЗТАШУВАННЯ ЦІН ===== */

.price-table-ppf th {
    text-align: center;              /* заголовки класів по центру */
}

.price-table-ppf th:first-child {
    text-align: left;                /* "Послуга" зліва */
}

/* Ячейка, которая объединяет 4 колонки (под класами) */
.ppf-cell {
    padding: 0 16px;
}

/* Внутри – 3 визуальные зоны: між 1–2, 2–3, 3–4 */
.ppf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    width: 100%;
    padding: 12px 0;
}

/* Текст цен */
.ppf-price {
    font-size: 14px;
    white-space: nowrap;
}

/* Примітки під таблицею */
.ppf-note {
    font-size: 12px;
    color: #555;
    background: #fafafa;
}
/* Ряд с зонами между классами */
.price-spread td.spread-zone {
    padding: 0 0 12px;
}

/* 3 зоны: между I–II, II–III, III–IV */
.spread-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    width: 100%;
    padding: 12px 0;
}

/* Контент в левой зоне (между I и II) */
.spread-left {
    justify-self: center;
    font-weight: 600;
}

/* Контент в правой зоне (между III и IV) */
.spread-right {
    justify-self: center;
    font-weight: 600;
}

/* Центр — пустая зона */
.spread-center {
    justify-self: center;
}
/* ============================
   БАЗОВАЯ ТАБЛИЦА
============================ */
.price-table th {
    text-align: center;
}

.price-table th:first-child {
    text-align: left;
}

.price-table td {
    text-align: center;
    vertical-align: middle;
}

.price-table td:first-child {
    text-align: left;
}

/* ============================
   СТРОКИ СО ЗНАЧЕНИЯМИ 
   МЕЖДУ КЛАССАМИ
============================ */

/* Ячейка, объединяющая 4 колонки */
.price-between-cell {
    padding: 12px 0;
}

/* Делим область под I–IV классами на 2 зоны */
.price-between-2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* две зоны */
    width: 100%;
}

/* Левая зона — между I и II */
.price-mid-left {
    text-align: center;
    font-weight: 600;
}

/* Правая зона — между III и IV */
.price-mid-right {
    text-align: center;
    font-weight: 600;
}
