/* Общие стили */
:root {
    --primary-color: #8a2c28;
    --primary-dark: #6a221f;
    --primary-light: #a53d38;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f8f8;
    --border-color: #e0e0e0;
    --success-color: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта (двухъярусная витрина: меню + блоки контактов) */
.header {
    background-color: #ffffff;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
    padding: 12px 0 10px;
    border-bottom: 1px solid var(--border-color);
}

.header-mail-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.header-mail-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(138, 44, 40, 0.04);
}

.header-mail-pill .header-icon-svg {
    color: var(--primary-color);
}

.header-util {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
    padding: 16px 0 12px;
    align-items: start;
}

.header-util-block {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
}

.header-icon-wrap {
    flex-shrink: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.header-icon-svg {
    display: block;
}

.header-util-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.header-util-phone {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.header-util-phone:hover {
    color: var(--primary-color);
}

.header-util-sublink {
    font-size: 12px;
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
    width: fit-content;
}

.header-util-sublink:hover {
    text-decoration-style: solid;
}

.header-util-line {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-light);
}

.header-util-hours .header-util-body {
    gap: 2px;
}

.header-util-cta {
    background: linear-gradient(180deg, rgba(138, 44, 40, 0.06) 0%, rgba(138, 44, 40, 0.03) 100%);
    border: 1px solid rgba(138, 44, 40, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
    margin: -4px 0 0;
}

.header-icon-cta.header-icon-wrap {
    color: var(--primary-color);
}

.header-util-cta-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.25;
}

.header-util-cta-email {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
}

.header-util-cta-email-label {
    color: var(--text-light);
    font-weight: 500;
}

.header-util-cta-mail {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.header-util-cta-mail:hover {
    text-decoration: underline;
}

.header-geo {
    margin: 0;
    padding: 10px 0 14px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    transition: transform 0.25s ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

.burger-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.burger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu-toggle[aria-expanded="true"] .burger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.burger-menu-toggle[aria-expanded="true"] .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-menu-toggle[aria-expanded="true"] .burger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.mobile-nav-header {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: wrap;
    /* justify-content: center; */
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:focus-visible,
.header-mail-pill:focus-visible,
.header-util-phone:focus-visible,
.header-util-sublink:focus-visible,
.header-util-cta-mail:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

.maintenance-notice {
    flex-shrink: 0;
    max-width: 600px;
    min-width: 300px;
}

.notice-banner {
    background-color: rgba(138, 44, 40, 0.08);
    border: 1px solid rgba(138, 44, 40, 0.2);
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    padding: 8px 15px;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: background-color 0.3s ease;
    width: 100%;
}

.notice-banner:hover {
    background-color: rgba(138, 44, 40, 0.12);
}

.notice-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.notice-text {
    flex: 1;
}

.notice-text strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: 600;
}

.notice-text p {
    margin: 0;
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.5;
}

/* Плавающий информационный блок */
.floating-info-card {
    flex-shrink: 0;
    width: 265px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.info-card-content {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    box-shadow: 
        0 10px 40px rgba(138, 44, 40, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(138, 44, 40, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.info-card-content:hover {
    box-shadow: 
        0 12px 48px rgba(138, 44, 40, 0.25),
        0 6px 20px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(138, 44, 40, 0.1);
}

.info-card-icon {
    font-size: 24px;
    line-height: 1;
}

.info-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.info-card-body {
    margin-bottom: 16px;
}

.info-card-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(138, 44, 40, 0.05) 0%, rgba(138, 44, 40, 0.02) 100%);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    margin-bottom: 8px;
    border: 1px solid rgba(138, 44, 40, 0.1);
    animation: slideInScale 0.6s ease-out backwards;
    will-change: transform;
}

.info-card-phone:nth-of-type(1) {
    animation-delay: 0.2s;
}

.info-card-phone:nth-of-type(2) {
    animation-delay: 0.4s;
}

.info-card-phone:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateX(6px) scale(1.02);
    box-shadow: 0 6px 16px rgba(138, 44, 40, 0.4);
    animation: none;
}

.info-card-phone:hover .phone-icon {
    animation: bounce 0.6s ease-in-out infinite;
}

.info-card-phone:active {
    transform: translateX(4px) scale(0.98);
}

.info-card-phone.secondary {
    margin-bottom: 4px;
    padding: 10px 14px;
}

.phone-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.phone-number {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

.info-card-text {
    font-size: 12px;
    color: var(--text-light);
    margin: 0 0 8px 0;
    padding-left: 4px;
}

.info-card-text.small {
    font-size: 11px;
    margin-bottom: 0;
}

.info-card-footer {
    padding-top: 12px;
    border-top: 1px solid rgba(138, 44, 40, 0.08);
    text-align: center;
}

.info-card-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 4px 0;
}

.hours-icon {
    font-size: 16px;
}

.info-card-days {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* Плашка с уведомлением под header */
.maintenance-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 0;
    border-bottom: 1px solid var(--primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.maintenance-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.maintenance-icon {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}

.maintenance-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: white;
}

/* Главная секция с акцией */
.hero-promo {
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    color: var(--text-color);
    padding: 50px 0 60px;
    position: relative;
    overflow: visible;
}

.hero-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 44, 40, 0.1), transparent);
}

.hero-promo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 44, 40, 0.15), transparent);
}

.promo-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.container {
    position: relative;
}

.promo-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 0;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: -0.8px;
    line-height: 1.15;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(138, 44, 40, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(138, 44, 40, 0);
    }
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(138, 44, 40, 0.3), 0 0 10px rgba(138, 44, 40, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(138, 44, 40, 0.6), 0 0 25px rgba(138, 44, 40, 0.4);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

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

/* Оптимизация производительности анимаций */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    will-change: transform, opacity;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, visibility 0s linear 0.6s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, visibility 0s linear 0s;
    will-change: auto;
}

.animate-on-scroll.fade-in.animated {
    animation: fadeIn 0.8s ease-out forwards;
    visibility: visible;
    will-change: auto;
}

.animate-on-scroll.slide-left.animated {
    animation: slideInLeft 0.7s ease-out forwards;
    visibility: visible;
    will-change: auto;
}

.animate-on-scroll.slide-right.animated {
    animation: slideInRight 0.7s ease-out forwards;
    visibility: visible;
    will-change: auto;
}

.animate-on-scroll.scale-in.animated {
    animation: scaleIn 0.6s ease-out forwards;
    visibility: visible;
    will-change: auto;
}

/* Оптимизация: отключаем will-change после анимации */
.animate-on-scroll.animated,
.animate-on-scroll.fade-in,
.animate-on-scroll.slide-left,
.animate-on-scroll.slide-right,
.animate-on-scroll.scale-in {
    will-change: auto;
}

/* Плавная прокрутка для всего сайта */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 200px;
}

/* Оптимизация рендеринга */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.promo-title-decoration {
    display: none;
}

/* Основной контент hero */
.hero-main-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 35px;
    position: relative;
}

/* Карусель баннеров */
.promo-banner-carousel {
    flex: 1;
    position: relative;
    max-width: 900px;
    min-width: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.promo-banner-carousel:hover .banner-prev,
.promo-banner-carousel:hover .banner-next {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.banner-slider {
    position: relative;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(138, 44, 40, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: #ffffff;
    border: 1px solid rgba(138, 44, 40, 0.08);
    transition: box-shadow 0.3s ease;
}

.banner-slider:hover {
    box-shadow: 
        0 12px 40px rgba(138, 44, 40, 0.16),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.banner-slide {
    grid-area: 1 / 1;
    width: 100%;
    margin: 0;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 16px;
    vertical-align: middle;
}

.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 15px;
    z-index: 20;
}

.banner-prev,
.banner-next {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 2px solid rgba(138, 44, 40, 0.15);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    animation: slideInScale 0.6s ease-out;
    will-change: transform;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
    box-shadow: 
        0 6px 20px rgba(138, 44, 40, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85);
    position: relative;
    overflow: hidden;
}

.banner-prev::before,
.banner-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 44, 40, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-prev::after,
.banner-next::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 2.5px solid var(--primary-color);
    border-right: 2.5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.banner-prev::after {
    transform: rotate(-135deg);
    left: 18px;
}

.banner-next::after {
    transform: rotate(45deg);
    right: 18px;
}

.banner-prev:hover,
.banner-next:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    transform: scale(1.15);
    box-shadow: 
        0 8px 24px rgba(138, 44, 40, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    animation: pulse 1.5s ease-in-out infinite;
}

.banner-prev:hover::before,
.banner-next:hover::before {
    opacity: 1;
}

.banner-prev:hover::after,
.banner-next:hover::after {
    border-color: white;
    width: 10px;
    height: 10px;
}

.banner-prev:hover::after {
    left: 17px;
}

.banner-next:hover::after {
    right: 17px;
}

.banner-prev:active,
.banner-next:active {
    transform: scale(1.05);
    animation: shake 0.3s ease-in-out;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 8px 0;
}

.banner-dot {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    font: inherit;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(138, 44, 40, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid transparent;
    position: relative;
    animation: slideInScale 0.5s ease-out backwards;
    will-change: transform;
}

.banner-dot:nth-child(1) {
    animation-delay: 0.1s;
}

.banner-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.banner-dot:nth-child(3) {
    animation-delay: 0.3s;
}

.banner-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(138, 44, 40, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-dot:hover {
    background-color: rgba(138, 44, 40, 0.35);
    transform: scale(1.4);
    border-color: rgba(138, 44, 40, 0.3);
    animation: bounce 0.6s ease-in-out infinite;
}

.banner-dot:hover::before {
    width: 20px;
    height: 20px;
}

.banner-dot.active {
    background-color: var(--primary-color);
    width: 28px;
    border-radius: 6px;
    border-color: rgba(138, 44, 40, 0.2);
    box-shadow: 0 2px 8px rgba(138, 44, 40, 0.25);
    animation: pulse 2s ease-in-out infinite;
}

.banner-dot.active::before {
    display: none;
}

.promo-short-info {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.promo-description {
    font-size: 22px;
    margin-bottom: 0;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(138, 44, 40, 0.1);
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.promo-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

.promo-subtitle {
    font-size: 18px;
    margin-bottom: 0;
    font-style: normal;
    color: var(--text-light);
    text-align: center;
    grid-column: 1 / -1;
    font-weight: 500;
    padding: 20px;
    background: linear-gradient(135deg, rgba(138, 44, 40, 0.05) 0%, rgba(138, 44, 40, 0.02) 100%);
    border-radius: 10px;
}

.promo-period {
    font-size: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    box-shadow: 0 6px 25px rgba(138, 44, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.promo-period::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.promo-period:hover::before {
    left: 100%;
}

.promo-period:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(138, 44, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.promo-period strong {
    font-weight: 700;
}

/* Секции */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* О компании */
.about {
    background-color: var(--bg-light);
    padding: 80px 0;
}

/* --- Stats bar --- */
.about-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(138, 44, 40, 0.05);
    border-radius: 12px;
    padding: 28px 40px;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 20px 0;
}

.stats-bar-item {
    text-align: center;
    flex: 1;
    min-width: 110px;
}

.stats-bar-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
}

.stats-bar-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.stats-bar-sep {
    width: 1px;
    height: 48px;
    background: rgba(138, 44, 40, 0.2);
    flex-shrink: 0;
    align-self: center;
}

/* --- Two-column layout --- */
.about-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}


.about-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* --- Directions column --- */
.about-directions {
    margin: 0;
}

.about-directions-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.directions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.direction-card {
    background: white;
    padding: 20px 18px;
    border-radius: 10px;
    border: 1px solid rgba(138, 44, 40, 0.12);
    border-left: 3px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.direction-card:hover {
    box-shadow: 0 6px 20px rgba(138, 44, 40, 0.14);
    border-color: var(--primary-color);
}

.direction-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.direction-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.3;
}

.direction-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Категории продукции */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.category-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: default;
    position: relative;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    box-shadow: 0 12px 28px rgba(138, 44, 40, 0.18);
    border-color: var(--primary-color);
}

.category-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(138, 44, 40, 0.08);
}

.category-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.category-kitchen {
    background-color: rgba(138, 44, 40, 0.12);
}

.category-furniture {
    background-color: rgba(165, 61, 56, 0.11);
}

.category-bathroom {
    background-color: rgba(106, 34, 31, 0.1);
}

.category-bar {
    background-color: rgba(138, 44, 40, 0.09);
}

.category-utensils {
    background-color: rgba(160, 61, 56, 0.1);
}

.category-household {
    background-color: rgba(138, 44, 40, 0.13);
}

.category-icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--primary-color);
}

.category-icon-svg {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    opacity: 0.92;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-icon-svg {
    opacity: 1;
}

.category-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.category-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Почему Shen */
.why-shen {
    background-color: var(--bg-light);
}

.why-shen-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 24px;
    align-items: start;
}

.why-shen-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-shen-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 16px;
}

.why-shen-icon {
    width: 26px;
    height: 26px;
    display: block;
}

.why-shen-item-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px;
    line-height: 1.3;
}

.why-shen-item-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

/* Акции и предложения */
.promotions {
    background-color: var(--bg-light);
}

.promotion-card {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.promotion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.promotion-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.rules-toggle {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
    animation: slideInScale 0.6s ease-out 0.3s backwards, buttonGlow 3s ease-in-out infinite 1s;
}

.rules-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.rules-toggle:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(138, 44, 40, 0.4);
    animation: slideInScale 0.6s ease-out 0.3s backwards, pulse 1.5s ease-in-out infinite;
}

.rules-toggle:hover::before {
    width: 300px;
    height: 300px;
}

.rules-toggle:active {
    transform: translateY(0) scale(0.98);
    animation: shake 0.3s ease-in-out;
}

.rules-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.toggle-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 12px;
    display: inline-block;
    will-change: transform;
}

.rules-toggle:hover .toggle-icon {
    transform: translateY(2px);
}

.rules-toggle[aria-expanded="true"]:hover .toggle-icon {
    transform: rotate(180deg) translateY(2px);
}

.promotion-main-info {
    margin-bottom: 30px;
}

.promotion-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.highlight-item {
    background-color: var(--bg-light);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.highlight-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.highlight-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.promotion-rules {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.promotion-rules h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.promotion-rules h5 {
    font-size: 18px;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
}

.rules-section {
    margin-bottom: 25px;
}

.rules-section ul {
    list-style: none;
    padding-left: 0;
}

.rules-section ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.7;
}

.rules-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.rules-section p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.rules-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.rules-section a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.social-links p {
    margin-bottom: 15px;
    font-weight: 500;
}

.social-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-dark);
}

/* Контакты */
.contacts {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.contacts-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacts-locations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contacts-departments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.contact-block {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(138, 44, 40, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-block:hover {
    box-shadow: 0 12px 32px rgba(138, 44, 40, 0.12);
    border-color: rgba(138, 44, 40, 0.2);
}

.contact-block--place {
    padding: 28px 30px;
}

.contact-block--dept {
    padding: 18px 20px;
}

.contact-block--dept .contact-block-title {
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.contact-block-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(138, 44, 40, 0.08);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-block-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 2px;
    flex-shrink: 0;
}

.contact-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
    padding: 8px 0;
}

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

.contact-item-column {
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    flex-shrink: 0;
    line-height: 1.5;
    min-width: 7.5rem;
}

.contact-block--dept .contact-label {
    min-width: 4.5rem;
}

.contact-value {
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.5;
    flex: 1;
    margin-top: -3px;
    transition: color 0.2s ease;
}

a.contact-value {
    font-weight: 600;
    color: var(--text-color);
}

a.contact-value:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact-value:not(a) {
    font-weight: 400;
    color: var(--text-color);
}

.contacts-hours {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    width: 100%;
    padding: 16px 22px;
    border-radius: 12px;
    border: 1px solid rgba(138, 44, 40, 0.1);
    background-color: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contacts-hours-label {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contacts-hours-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.5;
    flex: 1;
    min-width: min(100%, 280px);
}

@media (max-width: 992px) {
    .contacts-departments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Футер */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    padding: 70px 0 35px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(138, 44, 40, 0.5) 50%, var(--primary-color) 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand-subtitle {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-copyright {
    font-size: 14px;
    color: #888888;
    margin-top: auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-contact-list,
.footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-light);
}

.footer-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.footer-link {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.25s ease;
    line-height: 1.5;
}

.footer-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-text {
    color: #d0d0d0;
    font-size: 15px;
    line-height: 1.5;
}

.footer-hours-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.footer-days {
    font-weight: 600;
    color: #ffffff;
    font-size: 15px;
    min-width: 110px;
}

.footer-time {
    color: #d0d0d0;
    font-size: 15px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom-text {
    color: #888888;
    font-size: 14px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-copyright-symbol {
    color: #aaaaaa;
    font-size: 16px;
}

.footer-copyright-years {
    color: #aaaaaa;
    font-weight: 500;
}

.footer-company-name {
    color: var(--primary-light);
    font-weight: 600;
    margin: 0 4px;
}

.footer-rights {
    color: #888888;
}

.footer-bottom-sep {
    color: #666666;
    margin: 0 4px;
    user-select: none;
}

.footer-privacy-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease;
}

.footer-privacy-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: #d0d0d0;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-link:hover {
    background: rgba(138, 44, 40, 0.2);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(138, 44, 40, 0.3);
}

.footer-social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer-social-text {
    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 1280px) {
    .footer-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }
}

/* Юридическая страница */
.legal-simple-header {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

.legal-simple-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.legal-back {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.legal-page {
    padding: 48px 0 90px;
}

.legal-page-title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px;
    line-height: 1.2;
}

.legal-page-lead {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0 0 40px;
    max-width: 640px;
}

.legal-section {
    margin-bottom: 48px;
    scroll-margin-top: 96px;
}

.legal-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 16px;
    line-height: 1.3;
}

.legal-subheading {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    margin: 24px 0 10px;
    line-height: 1.35;
}

.legal-section .legal-subheading:first-of-type {
    margin-top: 8px;
}

.legal-toc {
    margin: 0 0 40px;
    padding: 20px 22px;
    background-color: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-toc-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 10px;
}

.legal-toc-list {
    margin: 0;
    padding-left: 1.25em;
    line-height: 1.7;
    font-size: 15px;
    color: var(--text-color);
}

.legal-toc-list a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-toc-list a:hover {
    text-decoration: underline;
}

.legal-section p {
    margin: 0 0 12px;
    line-height: 1.65;
    color: var(--text-color);
    font-size: 15px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-placeholder {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    padding: 18px 20px;
    background-color: var(--bg-light);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    margin-top: 8px;
}

.legal-requisites {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-color);
    white-space: pre-line;
    margin: 0;
    padding: 20px 22px;
    background-color: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-footer-strip {
    margin-top: auto;
    padding: 28px 0 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.legal-footer-strip a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.legal-footer-strip a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .floating-info-card {
        right: 15px;
        width: 285px;
    }

    .info-card-content {
        padding: 18px;
    }

    .info-card-title {
        font-size: 16px;
    }

    .phone-number {
        font-size: 15px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }

    .header-util-phone {
        font-size: 16px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
}

@media (max-width: 1200px) {
    .header-util {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 240px;
    }

    .header-top {
        padding: 10px 0 8px;
    }

    .header-mail-pill {
        display: none;
    }

    .burger-menu-toggle {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Панель меню z-index: 1000; бургер не должен быть «вторым крестиком» поверх неё */
    body.menu-open .burger-menu-toggle {
        visibility: hidden;
        pointer-events: none;
    }

    .header-util {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px 0 10px;
    }

    .header-util-cta {
        margin: 0;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 88vw);
        max-width: 100%;
        height: 100%;
        min-height: 100dvh;
        flex: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        margin: 0;
        background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
        box-shadow:
            -12px 0 48px rgba(0, 0, 0, 0.12),
            -4px 0 0 var(--primary-color);
        border-radius: 16px 0 0 16px;
        z-index: 1000;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition:
            transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
            visibility 0s linear 0.38s,
            box-shadow 0.38s ease;
    }

    .main-nav.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition:
            transform 0.38s cubic-bezier(0.32, 0.72, 0, 1),
            visibility 0s linear 0s,
            box-shadow 0.38s ease;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-shrink: 0;
        padding: calc(16px + env(safe-area-inset-top, 0px)) 18px 14px;
        border-bottom: 1px solid rgba(138, 44, 40, 0.1);
        background: rgba(255, 255, 255, 0.95);
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .mobile-nav-title {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--primary-color);
    }

    .mobile-nav-close {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        border-radius: 12px;
        background: rgba(138, 44, 40, 0.08);
        color: var(--primary-color);
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .mobile-nav-close:hover {
        background: rgba(138, 44, 40, 0.14);
    }

    .mobile-nav-close:active {
        transform: scale(0.96);
    }

    .mobile-nav-close:focus-visible {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

    .mobile-nav-close-line {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 2px;
        margin: -1px 0 0 -9px;
        border-radius: 1px;
        background: currentColor;
    }

    .mobile-nav-close .mobile-nav-close-line:first-child {
        transform: rotate(45deg);
    }

    .mobile-nav-close .mobile-nav-close-line:last-child {
        transform: rotate(-45deg);
    }

    .nav-menu {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        width: 100%;
        padding: 12px 14px 24px;
        flex: 1;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        width: 100%;
        text-align: left;
        border-radius: 12px;
        margin-bottom: 0;
        font-size: 17px;
        font-weight: 600;
        border: 1px solid transparent;
        transition:
            background-color 0.2s ease,
            border-color 0.2s ease,
            color 0.2s ease;
    }

    .nav-link:hover {
        background-color: rgba(138, 44, 40, 0.07);
        border-color: rgba(138, 44, 40, 0.12);
    }

    body.menu-open {
        overflow: hidden;
        touch-action: none;
    }

    /* Затемнение фона при открытом меню */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 999;
        opacity: 1;
        pointer-events: auto;
    }

    .hero-main-content {
        flex-direction: column;
        gap: 20px;
        margin-top: 28px;
    }

    .promo-banner-carousel {
        width: 100%;
        max-width: 100%;
    }

    .floating-info-card {
        width: 100%;
        max-width: 100%;
        align-self: center;
    }

    .info-card-content {
        padding: 16px;
    }

    .info-card-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .info-card-title {
        font-size: 15px;
    }

    .info-card-phone {
        padding: 10px 12px;
    }

    .phone-number {
        font-size: 14px;
    }

    .hero-promo {
        padding: 35px 0 45px;
    }

    .promo-title {
        font-size: 34px;
        margin-bottom: 0;
        letter-spacing: -0.6px;
    }

    .promo-banner-carousel {
        margin: 0;
        max-width: 100%;
    }

    .banner-slider {
        border-radius: 12px;
    }

    .banner-image {
        border-radius: 12px;
    }

    .banner-prev,
    .banner-next {
        opacity: 1;
        transform: scale(1);
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .banner-controls {
        padding: 0 10px;
        top: 40%;
    }

    .banner-prev,
    .banner-next {
        width: 44px;
        height: 44px;
    }

    .banner-prev::after {
        left: 16px;
        width: 7px;
        height: 7px;
    }

    .banner-next::after {
        right: 16px;
        width: 7px;
        height: 7px;
    }

    .banner-prev:hover::after,
    .banner-next:hover::after {
        width: 8px;
        height: 8px;
    }

    .banner-prev:hover::after {
        left: 15px;
    }

    .banner-next:hover::after {
        right: 15px;
    }

    .promo-short-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .promo-description {
        font-size: 18px;
        padding: 25px 20px;
        text-align: center;
    }

    .about {
        padding: 60px 0;
    }

    .about-stats-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
        padding: 22px 24px;
        margin-bottom: 40px;
        align-items: start;
        justify-items: center;
    }

    .stats-bar-sep {
        display: none;
    }

    .stats-bar-item {
        flex: unset;
        min-width: 0;
        width: 100%;
    }

    .stats-bar-value {
        font-size: 28px;
    }

    .about-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-directions-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .category-image-wrapper {
        height: 180px;
    }

    .category-content {
        padding: 16px;
    }

    .category-title {
        font-size: 16px;
    }

    .category-description {
        font-size: 13px;
    }

    .why-shen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }

    .why-shen-icon-wrap {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
    }

    .why-shen-icon {
        width: 24px;
        height: 24px;
    }

    .why-shen-item-title {
        font-size: 16px;
    }

    .why-shen-item-text {
        font-size: 13px;
    }

    .promo-subtitle {
        padding: 15px;
    }

    .promo-period {
        padding: 16px 30px;
        font-size: 16px;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

    .section-title {
        font-size: 28px;
    }

    .promotion-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .rules-toggle {
        width: 100%;
        justify-content: center;
    }

    .about {
        padding: 50px 0;
    }

    .about-stats-bar {
        padding: 18px 16px;
        margin-bottom: 32px;
        gap: 16px 12px;
    }

    .stats-bar-value {
        font-size: 24px;
    }

    .stats-bar-label {
        font-size: 12px;
    }

    .stats-bar-item {
        min-width: 0;
    }

    .about-body {
        gap: 28px;
    }

    .about-text {
        font-size: 14px;
    }

    .directions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .direction-card {
        padding: 16px 14px;
    }

    .direction-title {
        font-size: 13px;
    }

    .advantage-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .advantage-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .advantage-text {
        font-size: 13px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .category-image-wrapper {
        height: 160px;
    }

    .category-content {
        padding: 14px;
    }

    .category-title {
        font-size: 15px;
    }

    .category-description {
        font-size: 12px;
    }

    .contacts-layout {
        gap: 22px;
    }

    .contacts-locations {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contacts-departments {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-block {
        padding: 20px;
    }

    .contact-block--place {
        padding: 22px 20px;
    }

    .contact-block--dept {
        padding: 16px 18px;
    }

    .contact-block-title {
        font-size: 17px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .contact-block--dept .contact-block-title {
        font-size: 15px;
    }

    .contact-item {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 14px;
        padding: 6px 0;
    }

    .contact-label {
        min-width: auto;
        font-size: 12px;
    }

    .contact-block--dept .contact-label {
        min-width: auto;
    }

    .contact-value {
        font-size: 14px;
    }

    .contacts-hours {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 18px;
        gap: 8px;
    }

    .contacts-hours-label {
        font-size: 14px;
    }

    .contacts-hours-text {
        font-size: 14px;
    }

    .footer {
        padding: 50px 0 25px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-social-link {
        padding: 10px 14px;
    }

    .footer-social-icon {
        width: 22px;
        height: 22px;
    }

    .footer-social-text {
        font-size: 14px;
    }

    .footer-brand-title {
        font-size: 28px;
    }

    .footer-brand-subtitle {
        font-size: 14px;
    }

    .footer-title {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .footer-contact-list,
    .footer-hours-list {
        gap: 14px;
    }

    .footer-link,
    .footer-text,
    .footer-days,
    .footer-time {
        font-size: 14px;
    }

    .footer-days {
        min-width: 100px;
    }

    .footer-bottom {
        margin-top: 35px;
        padding-top: 25px;
    }

    .footer-bottom-text {
        font-size: 13px;
        gap: 6px;
    }

    .footer-copyright-symbol {
        font-size: 14px;
    }

    .footer-company-name {
        margin: 0 2px;
    }

    .promotion-highlights {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 38px;
    }

    .burger-menu-toggle {
        width: 26px;
        height: 20px;
    }

    .burger-line {
        height: 2.5px;
    }

    .main-nav {
        width: min(300px, 92vw);
        border-radius: 14px 0 0 14px;
    }

    .maintenance-bar {
        padding: 10px 0;
    }

    .maintenance-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .maintenance-icon {
        font-size: 18px;
    }

    .maintenance-text {
        font-size: 13px;
    }

    .notice-icon {
        font-size: 16px;
    }

    .notice-text p {
        font-size: 12px;
    }

    .footer {
        padding: 40px 0 20px;
        margin-top: 50px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-brand-title {
        font-size: 24px;
    }

    .footer-brand-subtitle {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .footer-copyright {
        font-size: 12px;
        margin-top: 16px;
    }

    .footer-social-link {
        padding: 8px 12px;
    }

    .footer-social-icon {
        width: 20px;
        height: 20px;
    }

    .footer-social-text {
        font-size: 13px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .footer-title::after {
        width: 30px;
        height: 2px;
    }

    .footer-contact-list,
    .footer-hours-list {
        gap: 12px;
    }

    .footer-icon {
        width: 22px;
        height: 22px;
    }

    .footer-link,
    .footer-text,
    .footer-days,
    .footer-time {
        font-size: 13px;
    }

    .footer-days {
        min-width: 90px;
    }

    .footer-hours-item {
        padding: 6px 0;
    }

    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
    }

    .footer-bottom-text {
        font-size: 12px;
        gap: 5px;
        flex-direction: column;
        line-height: 1.6;
    }

    .footer-copyright-symbol {
        font-size: 13px;
    }

    .footer-company-name {
        margin: 0;
    }

    .contacts-layout {
        gap: 18px;
    }

    .contacts-locations {
        gap: 18px;
    }

    .contacts-departments {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-block {
        padding: 18px;
        border-radius: 12px;
    }

    .contact-block--place {
        padding: 18px;
    }

    .contact-block--dept {
        padding: 14px 16px;
    }

    .contact-block-title {
        font-size: 16px;
        margin-bottom: 14px;
        padding-bottom: 8px;
    }

    .contact-block--dept .contact-block-title {
        font-size: 14px;
    }

    .contact-item {
        margin-bottom: 12px;
        padding: 5px 0;
    }

    .contact-label {
        font-size: 11px;
    }

    .contact-value {
        font-size: 13px;
    }

    .contacts-hours {
        padding: 12px 14px;
    }

    .contacts-hours-label {
        font-size: 13px;
    }

    .contacts-hours-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-promo {
        padding: 30px 0 40px;
    }

    .promo-title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .hero-main-content {
        flex-direction: column;
        gap: 15px;
        margin-top: 0;
    }

    .promo-banner-carousel {
        width: 100%;
        max-width: 100%;
    }

    .floating-info-card {
        width: 100%;
        max-width: 100%;
    }

    .banner-slider {
        border-radius: 10px;
    }

    .banner-image {
        border-radius: 10px;
    }

    .banner-prev,
    .banner-next {
        opacity: 1;
        transform: scale(1);
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .banner-dots {
        margin-top: 16px;
        gap: 8px;
    }

    .banner-dot {
        width: 7px;
        height: 7px;
    }

    .banner-dot.active {
        width: 24px;
    }

    .banner-prev,
    .banner-next {
        width: 40px;
        height: 40px;
    }

    .banner-prev::after {
        left: 14px;
        width: 6px;
        height: 6px;
        border-width: 2px;
    }

    .banner-next::after {
        right: 14px;
        width: 6px;
        height: 6px;
        border-width: 2px;
    }

    .banner-prev:hover::after,
    .banner-next:hover::after {
        width: 7px;
        height: 7px;
    }

    .banner-prev:hover::after {
        left: 13px;
    }

    .banner-next:hover::after {
        right: 13px;
    }

    .banner-dots {
        margin-top: 15px;
        gap: 8px;
    }

    .banner-dot {
        width: 10px;
        height: 10px;
    }

    .banner-dot.active {
        width: 25px;
    }

    .promo-description {
        font-size: 16px;
        padding: 20px 15px;
    }

    .promo-subtitle {
        font-size: 16px;
        padding: 12px;
    }

    .promo-period {
        padding: 14px 25px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .promotion-card {
        padding: 20px;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 40px 0;
    }

    .nav-menu {
        gap: 3px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 13px;
    }

    .maintenance-bar {
        padding: 8px 0;
    }

    .maintenance-text {
        font-size: 12px;
    }

    .maintenance-icon {
        font-size: 16px;
    }
}

