html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
  padding-top: 50px;
}

*, *::before, *::after {
  box-sizing: border-box;
}




/* ОТКЛЮЧАЕМ ПЕРЕНОС ПО СЛОГАМ ТОЛЬКО ДЛЯ ОПИСАНИЯ ТОВАРА В ЧЕКАУТЕ */
.wc-block-components-product-metadata__description p {
    hyphens: manual;
    -webkit-hyphens: manual;
    word-break: normal;
    overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
}

/* Flex/Grid элементы могут сжиматься */
.section-personal-left,
.section-personal-right,
.hero-service,
.about-section,
.cta-contact-block,
.section-service,
.about-card,
.card,
.review-content,
.cta-text,
.form-container {
  min-width: 0;
}

h1, h2, h3 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Скрываем чекбокс бургер-меню */
.nav-toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* Шапка */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Логотип */

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo__first {
  color: #000;
  transition: color 0.3s ease;
}

.logo__second {
  color: #c00;
  transition: color 0.3s ease;
}

.logo:hover .logo__first {
  color: #c00;
}

.logo:hover .logo__second {
  color: #000;
}

/* Кнопка бургер-меню */
.burger-btn {
  display: none;
  cursor: pointer;
  padding: 10px 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background 0.2s;
}

.burger-btn:hover {
  background: #f5f5f5;
}

.burger-text {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  line-height: 1;
}
.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-list a:hover {
  background: #c00;
  color: #fff;
}

.nav-list a:active {
  transform: scale(0.96);
}


/* Корзина */

/* Контейнер кнопки */
.header-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* прижимает вправо */
    color: #333; /* поменяй на #fff, если шапка тёмная */
    text-decoration: none;
    position: relative;
}

/* Размер кнопки 50x50 */
.cart-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: transparent;
}

.header-cart:hover .cart-icon-wrapper {
    background-color: rgba(211, 47, 47, 0.1);
    transform: scale(1.05);
}

/* Сама иконка внутри */
.header-cart .cart-icon {
    stroke: #d32f2f; /* красный акцент */
    fill: none;
    width: 26px;
    height: 26px;
}

/* Счётчик (бейдж) */
.header-cart__count {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #d32f2f;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    z-index: 2;
}




/* Кнопка аккаунта */
.header-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    position: relative;
    flex-shrink: 0;

    color: #d32f2f;
    text-decoration: none;
}

/* Область иконки 50 × 50 */
.account-icon-wrapper {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: transparent;

    transition:
        background-color .2s ease,
        transform .2s ease;
}

/* SVG */
.header-account .account-icon {
    display: block;
    width: 26px;
    height: 26px;

    stroke: currentColor;
    fill: none;
}

/* Наведение */
.header-account:hover .account-icon-wrapper {
    background-color: rgba(211, 47, 47, .1);
    transform: scale(1.05);
}

/* Клавиатурная доступность */
.header-account:focus-visible {
    outline: 2px solid #d32f2f;
    outline-offset: 2px;
    border-radius: 12px;
}



/* Общая группа иконок справа */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Убираем индивидуальное прижатие корзины */
.header-actions .header-cart {
    margin-left: 0;
}


/* Блокировка скролла всей страницы, когда корзина открыта */

html.cart-open,
body.no-scroll {
    overflow: hidden !important;
}
body.no-scroll {
    overflow: hidden;
}

/* Оверлей (затемнение фона) */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cart-drawer.active ~ .overlay {
    display: block;
    opacity: 1;
}

/* ==========================================
   CART DRAWER — ОСНОВНАЯ ПАНЕЛЬ
========================================== */

#cart-drawer.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1002;

    display: flex;
    flex-direction: column;

    width: min(440px, 100%);
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;

    padding: 28px 24px 24px;

    background: linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
    color: #fff;

    border-left: 1px solid rgba(224, 25, 25, .25);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);

    overflow: hidden;

    /* Одинаковая плавная анимация в обе стороны */
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;

    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear .35s;
    will-change: transform;
}

#cart-drawer.cart-drawer.active {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;

    transition:
        transform .35s cubic-bezier(.22, 1, .36, 1),
        visibility 0s;
}

/* Не даём элементам сжиматься */
#cart-drawer *,
#cart-drawer *::before,
#cart-drawer *::after {
    box-sizing: border-box;
}

/* ==========================================
   ЗАГОЛОВОК
========================================== */

#cart-drawer .cart-drawer__title {
    position: relative;
    flex-shrink: 0;

    margin: 0 0 24px;
    padding: 0 42px 18px 0;

    color: #fff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .5px;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

#cart-drawer .cart-drawer__title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;

    width: 65px;
    height: 2px;

    background: #e01919;
    box-shadow: 0 0 12px rgba(224, 25, 25, .4);
}

/* ==========================================
   КНОПКА ЗАКРЫТИЯ
========================================== */

#cart-drawer .cart-drawer__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 0;

    background: rgba(255, 255, 255, .05);
    color: #fff;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;

    font-family: inherit;
    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

#cart-drawer .cart-drawer__close:hover {
    background: #e01919;
    color: #fff;
    border-color: #e01919;
    transform: rotate(90deg);
}

#cart-drawer .cart-drawer__close:focus-visible {
    outline: 2px solid #e01919;
    outline-offset: 3px;
}

/* ==========================================
   ОБЛАСТЬ ТОВАРОВ
========================================== */

#cart-drawer .cart-drawer__content {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 0 5px 15px 0;

    scrollbar-width: thin;
    scrollbar-color: #e01919 #202020;
}

#cart-drawer .cart-drawer__content::-webkit-scrollbar {
    width: 5px;
}

#cart-drawer .cart-drawer__content::-webkit-scrollbar-track {
    background: #202020;
    border-radius: 10px;
}

#cart-drawer .cart-drawer__content::-webkit-scrollbar-thumb {
    background: #e01919;
    border-radius: 10px;
}

/* ==========================================
   СПИСОК ТОВАРОВ WOOCOMMERCE
========================================== */

#cart-drawer .woocommerce-mini-cart {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}

#cart-drawer .woocommerce-mini-cart::before,
#cart-drawer .woocommerce-mini-cart::after {
    display: none;
    content: none;
}

/* ==========================================
   КАРТОЧКА ТОВАРА
========================================== */

#cart-drawer .woocommerce-mini-cart-item {
    position: relative;

    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: start;
    gap: 14px;

    min-width: 0;
    margin: 0 !important;
    padding: 14px;

    background: linear-gradient(135deg, #202020, #171717);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 13px;

    color: #fff;

    transition:
        border-color .25s ease,
        background .25s ease;
}

#cart-drawer .woocommerce-mini-cart-item:hover {
    border-color: rgba(224, 25, 25, .35);
    background: linear-gradient(135deg, #242020, #191919);
}

/* ==========================================
   ИЗОБРАЖЕНИЕ ТОВАРА
========================================== */

#cart-drawer .woocommerce-mini-cart-item > a:not(.remove) {
    display: block;
    min-width: 0;

    color: #fff;
    text-decoration: none;
}

#cart-drawer .woocommerce-mini-cart-item img {
    display: block;
    float: none !important;

    width: 86px !important;
    height: 100px !important;
    max-width: 100%;

    margin: 0 !important;
    padding: 0;

    object-fit: cover;

    background: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
}

/* ==========================================
   НАЗВАНИЕ ТОВАРА
========================================== */

#cart-drawer .woocommerce-mini-cart-item > a:not(.remove) {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

#cart-drawer .woocommerce-mini-cart-item > a:not(.remove):hover {
    color: #ff4141;
}

/* Если WooCommerce выводит название вместе
   с изображением, оставляем изображение отдельным блоком */
#cart-drawer .woocommerce-mini-cart-item > a:not(.remove):has(img) {
    grid-column: 1;
    grid-row: 1 / span 3;
}

#cart-drawer .woocommerce-mini-cart-item > a:not(.remove):not(:has(img)) {
    grid-column: 2;
}

/* ==========================================
   КОЛИЧЕСТВО И ЦЕНА
========================================== */

#cart-drawer .woocommerce-mini-cart-item .quantity {
    display: block;
    grid-column: 2;

    margin-top: 5px;

    color: #aaa;
    font-size: 13px;
    line-height: 1.6;
}

#cart-drawer .woocommerce-mini-cart-item .quantity .amount,
#cart-drawer .woocommerce-mini-cart-item .quantity bdi {
    color: #e01919;
    font-weight: 800;
}

#cart-drawer .woocommerce-mini-cart-item .variation {
    grid-column: 2;

    margin: 7px 0 0;
    padding: 0;

    border: 0;
    font-size: 12px;
}

#cart-drawer .woocommerce-mini-cart-item .variation dt {
    color: #888;
    font-weight: 600;
}

#cart-drawer .woocommerce-mini-cart-item .variation dd {
    margin: 0 0 5px;
    color: #ddd;
}

/* ==========================================
   КНОПКА УДАЛЕНИЯ
========================================== */

#cart-drawer .woocommerce-mini-cart-item a.remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;
    padding: 0 !important;

    background: rgba(224, 25, 25, .1);
    color: #ff5a5a !important;

    border: 1px solid rgba(224, 25, 25, .2);
    border-radius: 7px;

    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

#cart-drawer .woocommerce-mini-cart-item a.remove:hover {
    background: #e01919 !important;
    color: #fff !important;
    border-color: #e01919;
}

/* ==========================================
   ПОДВАЛ МИНИ-КОРЗИНЫ
========================================== */

#cart-drawer .woocommerce-mini-cart__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin: 20px 0 15px;
    padding: 18px 0;

    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);

    font-size: 14px;
}

#cart-drawer .woocommerce-mini-cart__total strong {
    color: #fff;
    font-weight: 600;
}

#cart-drawer .woocommerce-mini-cart__total .amount,
#cart-drawer .woocommerce-mini-cart__total bdi {
    color: #ff3333;
    font-size: 19px;
    font-weight: 800;
}

/* Купоны, доставка и дополнительные подписи */
#cart-drawer .woocommerce-mini-cart__total small {
    color: #888;
    font-size: 11px;
}

/* ==========================================
   КНОПКИ MINI CART
========================================== */

#cart-drawer .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin: 0;
    padding: 0;
}

#cart-drawer .woocommerce-mini-cart__buttons a.button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 46px;
    margin: 0 !important;
    padding: 13px 16px !important;

    background: transparent;
    color: #e01919;

    border: 1px solid #e01919;
    border-radius: 9px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

#cart-drawer .woocommerce-mini-cart__buttons a.button:hover {
    background: #e01919;
    color: #fff;
    border-color: #e01919;
    transform: translateY(-1px);
}

#cart-drawer .woocommerce-mini-cart__buttons a.checkout {
    background: #e01919;
    color: #fff;
    box-shadow: 0 5px 18px rgba(224, 25, 25, .15);
}

#cart-drawer .woocommerce-mini-cart__buttons a.checkout:hover {
    background: #b90f0f;
    border-color: #b90f0f;
    box-shadow: 0 7px 22px rgba(224, 25, 25, .25);
}

/* ==========================================
   ТВОЯ КНОПКА ВНИЗУ ПАНЕЛИ
========================================== */

#cart-drawer > .btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
    width: 100%;
    min-height: 52px;
    margin-top: 14px;
    padding: 15px 18px;

    background: #e01919;
    color: #fff;

    border: 1px solid #e01919;
    border-radius: 10px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .4px;

    box-shadow: 0 6px 20px rgba(224, 25, 25, .18);

    transition:
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

#cart-drawer > .btn-checkout:hover {
    background: #b90f0f;
    border-color: #b90f0f;
    color: #fff;

    box-shadow: 0 8px 24px rgba(224, 25, 25, .25);
    transform: translateY(-1px);
}

/* ==========================================
   ПУСТАЯ КОРЗИНА
========================================== */

#cart-drawer .woocommerce-mini-cart__empty-message,
#cart-drawer .empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 180px;
    margin: 0;
    padding: 25px 15px;

    color: #999;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;

    background: rgba(255, 255, 255, .025);
    border: 1px dashed rgba(255, 255, 255, .12);
    border-radius: 12px;
}

/* ==========================================
   LOADER
========================================== */

#cart-drawer .cart-loader-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

#cart-drawer .cart-loader-spinner .spinner {
    width: 32px;
    height: 32px;

    border: 3px solid rgba(224, 25, 25, .2);
    border-top-color: #e01919;
    border-radius: 50%;

    animation: shop-cart-spin .7s linear infinite;
}

/* ==========================================
   OVERLAY
========================================== */

.overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;

    background: rgba(0, 0, 0, .75);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility 0s linear .35s;
}

html.cart-open .overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity .35s ease,
        visibility 0s;
}

body.no-scroll {
    overflow: hidden;
}

/* ==========================================
   АДАПТИВ
========================================== */

@media (max-width: 480px) {
    #cart-drawer.cart-drawer {
        width: 100%;
        padding: 22px 16px 16px;
    }

    #cart-drawer .cart-drawer__title {
        margin-bottom: 18px;
        font-size: 22px;
    }

    #cart-drawer .cart-drawer__close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }

    #cart-drawer .woocommerce-mini-cart-item {
        grid-template-columns: 74px minmax(0, 1fr);
        gap: 11px;
        padding: 11px;
    }

    #cart-drawer .woocommerce-mini-cart-item img {
        width: 74px !important;
        height: 88px !important;
    }
}

/* ==========================================
   УМЕНЬШЕНИЕ АНИМАЦИЙ
========================================== */

@media (prefers-reduced-motion: reduce) {
    #cart-drawer.cart-drawer,
    .overlay,
    #cart-drawer .cart-drawer__close,
    #cart-drawer .woocommerce-mini-cart-item,
    #cart-drawer .woocommerce-mini-cart__buttons a.button,
    #cart-drawer > .btn-checkout {
        transition: none !important;
    }

    #cart-drawer .cart-loader-spinner .spinner {
        animation-duration: 1.5s;
    }
}

/* Лоадер и пустой экран */
.cart-loader, .empty-cart {
    text-align: center;
    margin-top: 40px;
    color: #888;
}

/* Кнопка оплаты (прижата вниз через flex) */
.btn-checkout {
    display: block;
    text-align: center;
    padding: 14px;
    background: #d32f2f;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: auto; /* Ключевое: прижимает кнопку к низу контейнера */
}
.btn-checkout:hover {
    background: #b71c1c;
}

/* Анимация лоадера */
.cart-loader-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ff4d4d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Адаптив: на мобильном выезжает СНИЗУ --- */
@media (max-width: 768px) {
    .cart-drawer {
        position: fixed;
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
        padding: 20px;
        background: #fff;
        backdrop-filter: none; /* На мобильном матовое стекло часто тормозит */
        box-shadow: none;
        right: 0; /* Переопределяем, чтобы transition работал */
    }
    .cart-drawer.active {
        transform: translateY(0);
        right: 0;
    }
}

/* Hero */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-color: rgb(26, 26, 26);
    background-repeat: no-repeat;
    background-size: cover;
background-position: center 60px;

    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
        background-attachment: fixed;

}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.3) 100%
    );
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}
.hero-content {
  width: 100%;
  
    margin-bottom: -40px;
}

.hero-content h1 {

  padding-top: 10px;
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 70px;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

@media (max-width: 768px) {
    .hero {
        background-position: right center;
    }
}

@media (max-width: 480px) {
    .hero {
        background-position: 70% center;
    }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 14px;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-content p {
  color: #eceef0;
  font-size: 24px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  margin: 15px 0;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 14px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.btn-primary {
  background-color: #e74c3c;
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.7;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.btn-secondary:hover {
  background-color: rgba(255,255,255,0.1);
}

/* About */
.about-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  margin-bottom: 15px;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.about-icon img {
  text-align: center;
  width: 48px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.35s ease;
}

.about-card:hover .about-icon img {
  transform: scale(1.2) rotate(-5deg);
}

.about-title {
  position: relative;
  display: inline-block;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  font-size: 1.2rem;
  color: #333;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: #e74c3c;
  transition: width 0.35s ease;
}

.about-card:hover .about-title::after {
  width: 100%;
}

/* Section Personal */
.section-personal {
  background-color: #fff;
}

.section-personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 150px;
}

.section-personal-left h2 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-personal-text {
  font-size: 1.5rem;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #555;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #333;
}

.stat-card span {
  color: #e74c3c;
  font-size: 2rem;
  margin-left: 5px;
}

.stat-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #777;
}

.section-personal-right {
  overflow: hidden;
  border-radius: 16px;
  transform: translateZ(0);
  isolation: isolate;
}

.section-personal-right .section-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 2s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform-origin: top left;
  will-change: transform;
}

.section-personal-right:hover .section-img {
  transform: scale(1.2) translate(2%, 2%);
}

/* Section Service */
.section-service {
  background-color: #fff;
  margin-bottom: 150px;
}

.section-service h3 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 35px;
}

.section-service p {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 75px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.card {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.12);
}

.card-img {
  height: auto;
  display: block;
  margin: 0 auto;
  padding-top: 10px;
  transition: transform 0.35s ease;
}

.card:hover .card-img {
  transform: scale(1.08);
}

.card-content {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card h4 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: #333;
  transition: color 0.3s ease;
}

.card:hover h4 {
  color: #e74c3c;
}

.card p {
  margin: 0 0 20px 0;
  line-height: 1.5;
  color: #666;
}

.card-price {
  margin: 0;
  margin-top: auto;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e74c3c;
  transition: transform 0.3s ease;
}

.card:hover .card-price {
  transform: scale(1.1);
}

/* Hero Header */
.hero-header {
  background-image: url('assets/images/hero-header.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 70vh;
  max-height: 600px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  margin-bottom: 150px;

}

.hero-header h2 {
  max-width: 814px;
  color: white;
  margin-bottom: 45px;
  font-size: 3.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}
.hero-service {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 150px;
  border-radius: 12px;
  overflow: hidden;
  min-height: 600px;
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  box-sizing: border-box;
  position: relative;
}

/* Затемнение фона */
.hero-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
  border-radius: 12px;
  z-index: 0;
}

.hero-service-content {
  max-width: 814px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.hero-service-content h2 {
  margin: 0 0 267px;
  color: #fff;
  font-size: 3.5rem;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  animation: heroFadeUp 0.8s ease;
}

@media (max-width: 768px) {
  .hero-service-content h2 {
    margin-bottom: 60px;
    font-size: 2rem;
  }

  .hero-service {
    min-height: 400px;
    padding: 40px 16px;
  }

  .section-actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    text-align: center;
  }
}

/* Choose Us */
.choose-us {
  text-align: center;
  padding: 0px 20px;
  text-transform: uppercase;
}

.choose-us h2 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: black;
}

.choose-us p {
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

/* Reviews */
.stars {
  display: flex;
  color: #FFD700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.stars span {
  display: block;
}

.review-card {
  padding: 20px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.section-title {
  font-size: 3.5rem;
  text-transform: uppercase;
  text-align: center;
}

.reviews-section {
  margin-bottom: 150px;
}

.review-content {
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: none;
  padding: 30px 20px 20px 20px;
  position: relative;
  background: #fff;
  z-index: 1;
  text-align: center;
  height: 100%;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
}

.review-avatar {
  width: 107px;
  height: 107px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: block;
}

.review-avatar-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.review-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: #222;
}

.review-text {
  line-height: 1.6;
  color: #555;
  margin-bottom: 18px;
  flex-grow: 1;
}

.review-author {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}

/* 3D Reviews Slider */

.reviews-slider {
  padding: 40px 10px 20px;
  overflow: hidden;
}

.swiper-slide {
  height: auto;
  width: 320px;
  max-width: 320px;
  min-width: 320px;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.swiper-slide-active {
  opacity: 1;
}

/* Прогресс-бар */
.reviews-progress {
  width: 200px;
  height: 3px;
  background: rgba(0,0,0,0.12);
  border-radius: 3px;
  margin: 20px auto 0;
  overflow: hidden;
}

.reviews-progress-bar {
  height: 100%;
  width: 0;
  background: #c00;
  border-radius: 3px;
  transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 280px;
  }
  .reviews-progress {
    width: 140px;
  }
}
/* CTA Contact Block */
.cta-contact-block {
  position: relative;
  max-width: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding-top: 135px;
  min-height: 750px;
}

.cta-contact-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 0;
}

.cta-wrapper {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.cta-text h3 {
  font-size: 32px;
  margin-bottom: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  color: white;
  animation: ctaFadeIn 0.7s ease;
}

.cta-text p {
  font-size: 20px;
  line-height: 1.6;
  opacity: 1;
  max-width: 490px;
  color: white;
  margin-top: 25px;
  margin-bottom: 40px;
  animation: ctaFadeIn 0.7s ease 0.15s both;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
  padding: 12px 15px;
  border-radius: 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}

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

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(6px);
}

.contact-icon {
  width: 67px;
  height: 67px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
}

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

.contact-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 4px;
}

.contact-value {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: #e74c3c;
  text-decoration: none;
}

@keyframes ctaFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Форма */
.contact-form-section {
  display: flex;
  justify-content: center;
}

.form-container {
  min-width: 330px;
  border-radius: 15px;
  margin-bottom: 50px;
  width: 100%;
  max-width: 600px;
  background: #fff;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.form-container h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #222;
  font-size: 32px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #555;
}

.barber-form input,
.barber-form textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #000;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
  transition: border-color 0.3s;
}

.barber-form input:focus,
.barber-form textarea:focus {
  border-bottom-color: #c00;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-col {
  flex: 1;
  margin-bottom: -15px;
}

.form-col .form-group {
  margin-bottom: 0;
}

.btn-book {
  width: 100%;
  padding: 18px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
}

.btn-book:hover {
  background: #e74c3c;
  color: #000;
}

.form-subtitle {
  margin-bottom: 10px;
}

/* Карта */
.map-block {
  width: 100%;
  padding: 0;
  margin: 0;
  background: #1a1a1a;
}
.map-wrapper {
  position: relative;
  width: 100%;

  margin: 0 auto;
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.85);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.map-overlay::after {
  content: 'Кликните, чтобы открыть карту';
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.map-overlay:hover {
  background: rgba(26, 26, 26, 0.5);
}

.map-overlay:hover::after {
  background: #c00;
  border-color: #c00;
}

.map-overlay:active {
  background: rgba(26, 26, 26, 0.3);
}

.map-overlay:active::after {
  background: #a00;
  border-color: #a00;
}

.map-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Футер */
.site-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.footer-left a {
  color: inherit;
  text-decoration: none;
}
.footer-left a:hover {
  text-decoration: underline;
}

.social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #fff;
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Модалка */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.visible .modal-window {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px; right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: #e74c3c;
}

/* Поля формы внутри модалки */
.modal-form .form-group { margin-bottom: 20px; }
.modal-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #555;
}
.modal-form input,
.modal-form select {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #ccc;
  outline: none;
  font-size: 16px;
  color: #333;
  background: transparent;
  transition: border-color 0.3s;
}
.modal-form input:focus,
.modal-form select:focus {
  border-bottom-color: #e74c3c;
}

.modal-form h3 {
  text-align: center;
  margin-bottom: 10px;
}

#booking-modal .wpcf7-form label {
  margin-bottom: 10px;
}

/* Анимация появления блоков */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.6s ease-out;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.6s ease-out;
}

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.fade-in-zoom {
  opacity: 0;
  transform: scale(1.05);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* Scroll offset */
#about { scroll-margin-top: 120px; }
#services { scroll-margin-top: 120px; }
#reviews { scroll-margin-top: 250px; }
#contacts { scroll-margin-top: 0; }

/* Arrow badge */
.arrow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  transition: all 0.3s ease;
}

.arrow-badge .card-arrow {
  font-weight: 700;
  pointer-events: none;
}

.about-card:hover .arrow-badge {
  background: #d32f2f;
  color: #fff;
  transform: translateX(4px);
}

/* === Contact Form 7 === */

/* Инпуты */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  box-sizing: border-box;
  resize: none;
  padding: 12px 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  background: #fff !important;
  color: #333 !important;
  outline: none !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: #e74c3c;
}

/* Кнопка отправки */
.wpcf7-form input[type="submit"],
.wpcf7-submit {
  width: 100%;
  padding: 14px;
  background: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.4;
  word-wrap: break-word;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
  background: #c0392b;
}

.wpcf7-submit:disabled {
  background: #333 !important;
  cursor: wait !important;
}

.wpcf7-form.processing {
  opacity: 0.7;
  pointer-events: none;
}

/* Обёртки полей */
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Две колонки (телефон + email) */
.wpcf7-form .form-row {
  display: flex;
  margin-bottom: 25px;
}

.wpcf7-form .form-col {
  flex: 1;
}

/* Лейблы */
.wpcf7-form label {
  display: block;
  margin-bottom: -15px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

/* Сообщения и лоадер скрыты */
.wpcf7-response-output {
  display: none !important;
}

.wpcf7-spinner,
.wpcf7 .ajax-loader {
  display: none !important;
}

/* Селект */
.wpcf7-form select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  background: #fff !important;
  color: #333 !important;
  outline: none !important;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23333' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.wpcf7-form select:focus {
  border-color: #e74c3c;
}

/* Time-пикер в модалке */
#booking-modal input[name="preferred_time"],
#booking-modal input[type="time"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  background: #fff !important;
  color: #333 !important;
  outline: none !important;
  cursor: pointer;
  height: 48px;
}

#booking-modal input[name="preferred_time"]:focus,
#booking-modal input[type="time"]:focus {
  border-color: #e74c3c;
}

/* Подсветка ошибок */
.wpcf7-form input[name="full_name"],
.wpcf7-form input[name="phone"] {
  transition: border-color 0.2s ease;
}

/* Убираем красные подсказки */
.wpcf7-not-valid-tip { display: none !important; }

/* Turnstile */
.wpcf7-turnstile {
  margin-bottom: 10px;
}

/* Чекбокс согласия */
.acceptance-wrap {
  margin-bottom: 10px;
}

.acceptance-wrap p {
  position: relative;
  padding-left: 28px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.acceptance-wrap .wpcf7-form-control-wrap {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
}

.acceptance-wrap .wpcf7-form-control,
.acceptance-wrap .wpcf7-list-item {
  display: block;
  margin: 0;
  padding: 0;
}

.acceptance-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  accent-color: #e74c3c;
}

.acceptance-wrap a {
  color: #e74c3c;
  text-decoration: none;
}
.acceptance-wrap a:hover {
  text-decoration: underline;
}

/* === Страница политики конфиденциальности === */
.page-content {
  background-color: #1a1a1a;
  color: #e0e0e0;
  min-height: 70vh;
  padding: 60px 0;
  font-family: inherit;
}

.page-content .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-content h1 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
}

.page-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #e74c3c;
}

.page-content h2,
.page-content p strong {
  color: #e74c3c;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 30px;
  margin-bottom: 12px;
  display: block;
}

.page-content h2:not(:first-child)::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.page-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #ddd;
}

.page-content a {
  color: #e74c3c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-content a:hover {
  color: #ff6b5b;
  text-decoration: underline;
}

.page-content ul,
.page-content ol {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 15px;
  padding-left: 25px;
}

.page-content li {
  margin-bottom: 8px;
}

/* ================================================================
   АДАПТИВ — медиа-запросы по убыванию ширины
   ================================================================ */

@media (max-width: 1450px) {
  .cta-wrapper {
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
  }
}

@media (max-width: 1260px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card-content p {
    font-size: 1rem;
  }
  .card-content h4 {
    font-size: 1.8rem;
  }
  .hero-service {
    max-width: 1015px;
  }
}

@media (max-width: 1135px) {
  .section-personal-left h2 {
    font-size: 2rem;
  }
  .section-personal-left p {
    font-size: 1rem;
  }
}

@media (max-width: 1030px) {
  .cta-wrapper {
    margin: 0 40px;
  }
  .form-container {
    right: 3%;
  }
  .section-personal-grid {
    grid-template-columns: 1fr;
  }
  .section-personal-left {
    text-align: center;
  }
  .hero-service {
    margin-bottom: 20px;
    max-width: 850px;
  }
}

@media (max-width: 1000px) {
  .hero-service-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 930px) {
  .hero-service {
    max-width: 750px;
    background-position: 25% center;
  }
}

@media (max-width: 900px) {
  .burger-btn {
    display: block;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1200;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  #nav-toggle:checked ~ .main-nav {
    opacity: 1;
    visibility: visible;
  }

  .main-nav .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .nav-list a {
    font-size: 24px;
    color: #fff;
    padding: 8px 18px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
  }

  .nav-list a:active {
    background: transparent;
    color: #c00;
    border-bottom-color: #c00;
  }

  .nav-list a:hover {
    background: transparent;
    color: #c00;
  }

}

@media (max-width: 830px) {
  .hero-service {
    max-width: 650px;
  }
}

@media (max-width: 768px) {
  .about-section {
    margin-bottom: 50px;
  }
  .hero {
    margin-bottom: 50px;
    min-height:fit-content;

  }
  .hero-content {
    margin-bottom: 0px;
    padding-top: 0px;
    padding-top: 175px;

  }
  .section-service {
    margin-bottom: 50px;
  }
  .section-service h3 {
    font-size: 3rem;
  }
  .hero-service {
    max-width: 564px;
    margin-bottom: 50px;
    min-height: 450px;
    padding: 40px 20px;
    background-position: 20%;
  }
  .hero-service-content h2 {
    font-size: 2rem;
  }
  .btn-appointment {
    margin-top: 300px;
  }
  .choose-us {
    padding: 20px;
  }
  .choose-us h2 {
    font-size: 2rem;
  }
  .cta-contact-block {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .cta-wrapper {
    flex-direction: column;
    text-align: center;
    margin: 0 20px;
  }
  .cta-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-item {
    justify-content: center;
    margin-bottom: 30px;
  }
  .contact-icon {
    width: 50px;
    height: 50px;
  }
  .contact-info {
    align-items: center;
    max-width: 140px;
  }
  .form-container {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: calc(100% - 40px);
    max-width: 500px;
    margin: 40px auto 0;
    min-height: auto;
  }
  .form-container h3 {
    text-align: center;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    margin-top: 30px;
  }
  .hero-content p {
    font-size: 20px;
  }
  .hero-content {
    padding-top: 152px;
  }
  .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 16px 0;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 20px;
    padding-bottom: 20px;
  }

  .hero-content p {
    margin: 5px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-personal-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }
  .section-personal-right {
    order: -1;
  }
  .section-personal-left h2.section-personal-title {
    font-size: 3rem;
  }
  .section-personal-text {
    font-size: 1.3rem;
  }
  .hero-header h2 {
    font-size: 2.5rem;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .hero-header {
    min-height: 350px;
    max-height: 500px;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .reviews-section {
    margin-bottom: 50px;
  }
  .after-choose-section {
    padding: 0;
  }
  .footer-container {
    flex-direction: column-reverse;
  }
  .page-content {
    padding: 40px 0;
  }
  .page-content h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 630px) {
  .hero-service-content h2 {
    margin-bottom: 190px;
  }
  .section-actions a {
    margin: 0;
  }
  .hero-wrapper {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .wpcf7-form .form-row {
    flex-direction: column;
  }
  .form-container {
    width: calc(100% - 32px);
    max-width: 100%;
    margin: 30px auto 0;
    padding: 24px 20px;
  }
  .form-container h3 {
    font-size: 26px;
  }
  .wpcf7-form input[type="submit"],
  .wpcf7-submit {
    padding: 12px 10px;
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  .hero-service {
    max-width: 500px;
    background-position: 23%;
  }
  .wpcf7-textarea {
    max-height: 100px;
  }

  .cta-contact-block {
    background-image: none !important;
    background-color: #1a1a1a;
  }
  .cta-text p {
    margin-bottom: 0px;
  }
  .cta-wrapper {
    gap: 10px;
  }
  }

@media (max-width: 550px) {
  .reviews-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section-service h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
  .section-service p {
    font-size: 1.3rem;
    margin-bottom: 50px;
  }
  .hero-service {
    min-height: 350px;
    background-position: 25% center;
    padding: 30px 15px;
  }
  .hero-service-content h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .section-service {
    margin-bottom: 50px;
  }
  .choose-us p {
    font-size: 14px;
  }
  .cta-contact-block {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .cta-text h3 {
    font-size: 24px;
  }
  .cta-text p {
    font-size: 16px;
  }
  .form-container {
    width: 100%;
    margin: 20px auto 0;
    padding: 16px 14px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .hero-header {
    min-height: 60vh;
  }
  .hero-content {
            gap: 105px;
    display: flex;
    justify-content: space-between;

    flex-direction: column;
  }
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .section-personal {
    padding: 0 20px;
  }
  .section-personal-left h2.section-personal-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .section-personal-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }
  .section-personal-grid {
    gap: 30px;
    margin-bottom: 20px;
  }
  .reviews-section {
    margin-bottom: 50px;
  }
  .form-col p {
    margin-bottom: 20px;
  }
  .wpcf7-form .form-row {
    margin-bottom: 10px;
  }
}

@media (max-width: 450px) {
  .reviews-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 415px) {
  .cf-turnstile {
    width: 300px;
    transform: scale(0.75);
    transform-origin: left center;
  }
}

@media (max-width: 360px) {
  .section-personal-left h2,
  .section-personal-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  .section-service h3 {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .choose-us h2 {
    font-size: 1.5rem;
  }

  .hero-service-content h2 {
    font-size: 1.3rem;
  }
  .hero-header h2 {
    font-size: 1.8rem;
  }
  .cta-text h3 {
    font-size: 20px;
  }
  .stat-card h3 {
    font-size: 1.8rem;
  }
  .hero-service {
    background-position: 53% center;
  }
}
@media(max-width: 768px) {
  .hero__badge {
 margin-bottom: 0px; 
         width: fit-content;
        margin-left: auto;
        margin-right: auto;
}
.hero-content h1 {
  margin-top: 0px;
}
}

/* Телефон — дёргается влево-вправо */
@keyframes phone-shake {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}

.about-card--phone:hover .about-icon img {
  animation: phone-shake 0.5s ease-in-out;
}

/* Часы — крутятся по кругу */
@keyframes clock-rotate {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.about-card--hours:hover .about-icon img {
  animation: clock-rotate 2s linear infinite;
}

/* Адрес — пин подпрыгивает 3 раза и тыкается вниз */
@keyframes pin-bounce {
  0%, 10% { transform: translateY(0); }
  20% { transform: translateY(-12px); }
  30% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  50% { transform: translateY(0); }
  60% { transform: translateY(-7px); }
  70% { transform: translateY(0); }
  80% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

.about-card--address:hover .about-icon img {
  animation: pin-bounce 0.8s ease-in-out;
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: 70px;
  }
}

@media (max-width: 601px) {
  #contacts {
    scroll-margin-top: 90px;
  }
}

.logo-scissors {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.scissor-blade-top,
.scissor-blade-bottom {
  transform-origin: 12px 20px;
  transition: transform 0.2s ease;
}

.logo:hover .scissor-blade-top {
  animation: snipTop 0.5s ease;
}

.logo:hover .scissor-blade-bottom {
  animation: snipBottom 0.5s ease;
}

@keyframes snipTop {
  0%   { transform: rotate(0deg); }
  40%  { transform: rotate(12deg); }
  70%  { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}

@keyframes snipBottom {
  0%   { transform: rotate(0deg); }
  40%  { transform: rotate(-12deg); }
  70%  { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

@media(max-width: 1000px) {

.page-content {
  padding-bottom: 25px;
}
}

/* 404 page */

.error-404 {
  background: #1a1a1a;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.error-404__inner {
  text-align: center;
}

.error-404__code {
  font-size: clamp(80px, 20vw, 180px);
  font-weight: 900;
  color: #e63946;
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -4px;
}

.error-404__title {
  color: #fff;
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 16px;
}

.error-404__text {
  color: #999;
  font-size: 16px;
  margin-bottom: 32px;
}

.error-404__btn {
  display: inline-block;
  padding: 14px 36px;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.error-404__btn:hover {
  background: #c42634;
}

/* section-header-2-for-pages */
.btn-back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1a1a1a;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #1a1a1a;
}

.btn-back-to-home:hover {
  background-color: #fff;

  border-color: #1a1a1a;
}

.btn-back-to-home svg {
  transition: transform 0.3s ease;
}

.btn-back-to-home:hover svg {
  transform: translateX(-4px);
}


@media(max-width: 420px) {
    .logo-scissors {
        display: none;
    }
}









// TVOY BARBER — ОБЩИЙ СТИЛЬ ВСЕХ МЕТОК ТОВАРОВ

/* Палитра всех архивов меток WooCommerce */
body.tax-product_tag {
    --tb-black: #111111;
    --tb-red: #c62828;
    --tb-red-hover: #a51d1d;
    --tb-border: #e8e8e8;
    --tb-muted: #777777;
    color: var(--tb-black);
}

/* Контейнер каталога */
body.tax-product_tag .site-main,
body.tax-product_tag .content-area {
    max-width: 1440px;
    margin-inline: auto;
    padding: 35px 24px 60px;
}

/* Заголовок и описание метки */
body.tax-product_tag .woocommerce-products-header {
    margin: 0 0 32px;
    padding: 32px 36px;
    background: var(--tb-black);
    border-left: 5px solid var(--tb-red);
    color: #fff;
}

body.tax-product_tag .woocommerce-products-header__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1px;
    text-transform: uppercase;
}

body.tax-product_tag .term-description {
    max-width: 800px;
    color: #d0d0d0;
    font-size: 15px;
    line-height: 1.7;
}

body.tax-product_tag .term-description p:last-child {
    margin-bottom: 0;
}

/* Количество товаров и сортировка */
body.tax-product_tag .woocommerce-result-count {
    color: var(--tb-muted);
    font-size: 13px;
}

body.tax-product_tag .woocommerce-ordering select {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--tb-border);
    border-radius: 0;
    background: #fff;
    color: var(--tb-black);
}

/* Сетка каталога */
body.tax-product_tag ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 18px;
    margin: 28px 0 40px !important;
    padding: 0 !important;
}

body.tax-product_tag ul.products::before,
body.tax-product_tag ul.products::after {
    display: none !important;
    content: none !important;
}

/* Карточки товаров */
body.tax-product_tag ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 0 18px !important;
    overflow: hidden;
    border: 1px solid var(--tb-border);
    border-radius: 2px;
    background: #fff;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.tax-product_tag ul.products li.product:hover {
    border-color: #bbb;
    box-shadow: 0 8px 24px rgb(0 0 0 / 7%);
}

/* Фото */
body.tax-product_tag ul.products li.product a img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    margin: 0 0 15px !important;
    padding: 12px;
    background: #f6f6f6;
}

/* Названия */
body.tax-product_tag ul.products li.product
.woocommerce-loop-product__title {
    margin: 0 14px 10px !important;
    padding: 0 !important;
    color: var(--tb-black);
    font-size: 15px !important;
    font-weight: 700;
    line-height: 1.45;
}

/* Цены */
body.tax-product_tag ul.products li.product .price {
    margin: 0 14px 15px !important;
    color: var(--tb-black) !important;
    font-size: 19px !important;
    font-weight: 800;
}

body.tax-product_tag ul.products li.product .price del {
    color: #999 !important;
    font-size: 13px;
    font-weight: 400;
}

body.tax-product_tag ul.products li.product .price ins {
    color: var(--tb-red) !important;
    text-decoration: none;
}

/* Кнопки */
body.tax-product_tag ul.products li.product .button {
    display: block;
    margin: 0 14px !important;
    padding: 13px 8px !important;
    border: 1px solid var(--tb-red) !important;
    border-radius: 0 !important;
    background: var(--tb-red) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease;
}

body.tax-product_tag ul.products li.product .button:hover {
    border-color: var(--tb-black) !important;
    background: var(--tb-black) !important;
    color: #fff !important;
}

/* Пагинация */
body.tax-product_tag .woocommerce-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    border: 0 !important;
}

body.tax-product_tag .woocommerce-pagination ul.page-numbers li {
    border: 0 !important;
}

body.tax-product_tag .woocommerce-pagination .page-numbers a,
body.tax-product_tag .woocommerce-pagination .page-numbers span {
    display: flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tb-border);
    color: var(--tb-black);
}

body.tax-product_tag .woocommerce-pagination .page-numbers .current {
    border-color: var(--tb-red);
    background: var(--tb-red);
    color: #fff;
}

/* Планшеты */
@media (max-width: 1024px) {
    body.tax-product_tag ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 14px;
    }
}

/* Телефоны */
@media (max-width: 640px) {
    body.tax-product_tag .site-main,
    body.tax-product_tag .content-area {
        padding: 20px 12px 40px;
    }

    body.tax-product_tag .woocommerce-products-header {
        padding: 23px 18px;
        margin-bottom: 22px;
    }

    body.tax-product_tag .woocommerce-products-header__title {
        font-size: 27px;
    }

    body.tax-product_tag ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 9px;
        margin-top: 20px !important;
    }

    body.tax-product_tag ul.products li.product {
        padding-bottom: 12px !important;
    }

    body.tax-product_tag ul.products li.product a img {
        padding: 6px;
        margin-bottom: 11px !important;
    }

    body.tax-product_tag ul.products li.product
    .woocommerce-loop-product__title {
        margin: 0 9px 8px !important;
        font-size: 13px !important;
    }

    body.tax-product_tag ul.products li.product .price {
        margin: 0 9px 12px !important;
        font-size: 16px !important;
    }

    body.tax-product_tag ul.products li.product .button {
        margin: 0 7px !important;
        padding: 11px 4px !important;
        font-size: 10px !important;
    }
}



