/* Основные переменные */
:root {
    /* Обновленные цвета */
    --primary-color: #2F353F;
    --primary-hover: #3E454F;
    --primary-light: rgba(47, 53, 63, 0.05);
    --secondary-color: #5D646E;
    --accent-color: #2F353F;
    --success-color: #3E454F;
    
    /* Обновленные фоновые цвета */
    --background: #ffffff;
    --light-background: #f8f9fa;
    --dark-background: #2F353F;
    
    /* Улучшенные тени */
    --shadow-sm: 0 2px 4px rgba(47, 53, 63, 0.02);
    --shadow: 0 4px 12px rgba(47, 53, 63, 0.03);
    --shadow-md: 0 8px 24px rgba(47, 53, 63, 0.05);
    --shadow-lg: 0 16px 32px rgba(47, 53, 63, 0.06);
    --shadow-hover: 0 24px 48px rgba(47, 53, 63, 0.08);
    
    /* Новые размеры */
    --header-height: 80px;
    --border-radius: 0px;
    --border-radius-lg: 0px;
    --border-radius-xl: 0px;
    
    /* Текстовые цвета */
    --text-color: #2F353F;
    --light-text: #5D646E;
    --dark-text: #1a1a1a;
    
    /* Размеры */
    --container-width: 1280px;
    
    /* Переходы */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --bs-body-font-family: 'Inter', sans-serif;
    --section-padding: 80px;
}

/* Шапка сайта */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--primary-light);
}

/* Мобильное меню */
.navbar-toggler {
    padding: 0;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.toggler-icon {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    display: block;
    position: relative;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.toggler-icon::before,
.toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.toggler-icon::before {
    top: -8px;
}

.toggler-icon::after {
    bottom: -8px;
}

.navbar-toggler:not(.collapsed) .toggler-icon {
    background: transparent;
}

.navbar-toggler:not(.collapsed) .toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) .toggler-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Мобильные кнопки связи */
.mobile-phone,
.mobile-whatsapp {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-phone {
    background-color: var(--primary-color);
}

.mobile-whatsapp {
    background-color: #25D366;
}

.mobile-phone:hover,
.mobile-whatsapp:hover {
    transform: scale(1.1);
    color: #fff;
    opacity: 0.9;
}

/* Мобильное выпадающее меню */
@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        overflow-y: auto;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        z-index: 999;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-collapse.collapsing {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .navbar-nav {
        margin: 2rem 0;
    }

    .nav-item {
        margin: 0.5rem 0;
        transform: translateX(-10px);
        
        transition: all 0.3s ease;
    }

    .navbar-collapse.show .nav-item {
        transform: translateX(0);
        opacity: 1;
        transition-delay: calc(0.1s * var(--item-index, 0));
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        color: var(--text-color);
        font-weight: 500;
    }

    .nav-link:hover,
    .nav-link:focus {
        background: var(--primary-light);
        color: var(--primary-color);
        transform: translateX(5px);
    }

    .mobile-menu-buttons .btn {
        padding: 1rem;
        font-size: 1rem;
    }

    .header-phone {
        color: var(--text-color);
        text-decoration: none;
        font-weight: 500;
    }
}

/* Анимация появления меню */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show {
    animation: slideIn 0.3s ease forwards;
}

/* Улучшенный сброс стилей */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Улучшенные основные стили */
body {
    font-family: var(--bs-body-font-family);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--light-background);
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: var(--header-height);
}

/* Общие стили */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

/* Улучшенные кнопки */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity var(--transition-fast);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.button:hover::after {
    opacity: 1;
}

.button--primary {
    background: var(--gradient-bg);
    color: white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.button--secondary {
    background-color: var(--light-background);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.button--secondary:hover {
    background-color: var(--background);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.button--full {
    width: 100%;
}

/* Улучшенная шапка */
.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    color: var(--text-color);
}

.logo__text {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Навигация */
.nav__list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
}

/* Контакты в шапке */
.header__contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-phone {
    display: flex;
    flex-direction: column;
}

.header-phone:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header__phone-number {
    font-weight: 700;
}

.header__phone-label {
    font-size: 0.875rem;
    color: var(--light-text);
}

/* Улучшенный главный экран */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgb(255 255 255 / 84%), rgb(255 255 255 / 87%)), url(../images/bg.jpg) center / cover no-repeat fixed;
    margin-top: calc(-1 * var(--header-height));
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
    overflow: hidden;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 70% 30%, var(--primary-light) 0%, transparent 70%);
    z-index: 0;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.hero__container {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

.hero__features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature__icon {
    color: var(--primary-color);
}

/* Быстрый калькулятор */
.quick-calc {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.quick-calc__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

/* Улучшенные формы */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: var(--background);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Продукция */
.products__filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: none;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-button--active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Обновленные карточки продукции */
.product-card {
    background: var(--background);
    border: 1px solid var(--primary-light);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.product-card__header {
    background: var(--primary-light);
    padding: 1.75rem;
    color: var(--text-color);
}

.product-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

.product-card__body {
    padding: 1.5rem;
}

.product-card__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-background);
    border-radius: var(--border-radius);
}

.spec {
    text-align: center;
}

.spec__label {
    font-size: 0.875rem;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.spec__value {
    font-weight: 600;
    color: var(--text-color);
}

.product-card__features {
    margin-bottom: 1.5rem;
}

.product-card__footer {
    padding: 1.5rem;
    border-top: 1px solid var(--primary-light);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .nav__list {
        display: none;
    }
    
    .nav__toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding) 0;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .header__contact {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero__title {
        font-size: 2.5rem;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
}

/* Формы */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

/* Обновленные стили для блока контактов */
.contacts__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-block {
    position: relative;
    padding: 2.5rem;
    background: var(--background);
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-bg);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.contact-block:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.contact-block:hover::before {
    opacity: 1;
}

.contact-block__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.contact-block:hover .contact-block__icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.contact-block__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.contact-block__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-block__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.contact-block__link:hover {
    background: var(--primary-light);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-block__link i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact-block__description {
    color: var(--light-text);
    line-height: 1.6;
    margin-top: 0.5rem;
}

.contact-block__schedule {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--primary-light);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.schedule-item__day {
    font-weight: 600;
    color: var(--text-color);
}

.schedule-item__time {
    color: var(--primary-color);
}

.contact-block__button {
    margin-top: auto;
    padding: 1rem;
    text-align: center;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.contact-block__button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contacts__wrapper {
        grid-template-columns: 1fr;
    }

    .contact-block {
        padding: 2rem;
    }
}

/* Подвал */
.footer {
    position: relative;
    background: linear-gradient(180deg, var(--dark-background) 0%, #1a1f26 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 6rem 0 3rem;
    overflow: hidden;
}

.footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__brand {
    max-width: 400px;
}

.footer__logo {
    display: block;
    margin-bottom: 2rem;
}

.footer__logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    content: url('../images/logo.png');
}

.footer__logo:hover .footer__logo-img {
    transform: scale(1.05);
}

.footer__certificates {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 2rem;
    height: 2px;
    background: #519fd9;
}

.footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav-list li {
    margin-bottom: 0.75rem;
}

.footer__nav-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer__nav-list a:hover {
    color: #519fd9;
    transform: translateX(5px);
}

.footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__contact-item:hover {
    color: #519fd9;
    transform: translateX(5px);
}

.footer__contact-item i {
    font-size: 1.25rem;
    color: #519fd9;
}

.footer__contact-item div {
    display: flex;
    flex-direction: column;
}

.footer__contact-item small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer__schedule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer .schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .schedule-item:last-child {
    border-bottom: none;
}

.footer .schedule-item span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.footer .schedule-item span:last-child {
    color: #519fd9;
    font-weight: 500;
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: #519fd9;
    color: #fff;
    transform: translateY(-5px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer__bottom-links {
    display: flex;
    gap: 2rem;
}

.footer__bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__bottom-links a:hover {
    color: #519fd9;
}

@media (max-width: 1200px) {
    .footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer__brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer__main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer__bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Плавающие кнопки */
.floating-buttons {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

/* Улучшенные плавающие кнопки */
.floating-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.floating-button:hover {
    background: var(--primary-hover);
    transform: translateY(-5px);
}

/* Дополнительные стили для форм */
textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox input {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all var(--transition-normal);
    cursor: pointer;
    appearance: none;
    background-color: var(--background);
}

.checkbox input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease forwards;
}

/* Калькулятор - дополнительные стили */
.calculator__wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator__form {
    background: linear-gradient(135deg, var(--background) 0%, var(--light-background) 100%);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.calculator__options {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.calculator__options-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-group__addon {
    position: absolute;
    right: 1rem;
    color: var(--light-text);
}

.calculator__info {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.info-block {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.info-block__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-block__list {
    list-style: none;
}

.info-block__list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.info-block__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Доставка - дополнительные стили */
.delivery__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.delivery__map {
    position: relative;
}

.map {
    width: 100%;
    height: 400px;
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.delivery__zones {
    background-color: var(--background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.delivery__zones-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.delivery-zones__list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.delivery-zone {
    background: var(--bs-light);
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.delivery-zone:hover {
    transform: translateY(-2px);
}

.delivery-zone__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.delivery-zone__price {
    font-weight: bold;
    color: var(--bs-dark);
}

.delivery-zone__areas {
    color: var(--bs-gray-600);
    font-size: 0.9rem;
}

/* Особенности доставки */
.delivery-feature {
    background: var(--light-background);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    transition: all var(--transition-normal);
}

.delivery-feature:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow);
}

/* Улучшенные стили форм */
.form-control, .form-select {
    border: 1px solid var(--primary-light);
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* Улучшенные кнопки */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .process-card {
        padding: 2rem;
    }
    
    .process-card__number {
        font-size: 3rem;
        top: -0.5rem;
        right: -0.5rem;
    }
    
    .product-card__header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .delivery-zone {
        padding: 1rem;
    }
    
    .delivery-feature {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-card {
        padding: 1rem;
    }
    
    .process-card {
        padding: 1.5rem;
    }
    
    .product-card__specs {
        grid-template-columns: 1fr;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Улучшенные бейджи */
.badge {
    padding: 0.75em 1.5em;
    font-weight: 500;
    background: var(--primary-light);
    color: var(--primary-color);
}

/* Тени и эффекты */
.shadow-hover {
    transition: all var(--transition-normal);
}

.shadow-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Обновленные заголовки */
.display-4, .display-5 {
    font-weight: 800;
    color: var(--text-color);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.display-4::after, .display-5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

/* Дополнительные улучшения */
.quick-calc-card {
    transition: all 0.3s ease;
    position: relative;
}

.quick-calc-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.5rem;
    background: linear-gradient(45deg, rgba(81, 159, 217, 0.1), rgba(81, 159, 217, 0.05));
    z-index: -1;
}

.quick-calc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(81, 159, 217, 0.1) !important;
}

.quick-calc-card .form-select,
.quick-calc-card .form-control {
    border: 2px solid rgba(81, 159, 217, 0.1);
    transition: all 0.3s ease;
}

.quick-calc-card .form-select:focus,
.quick-calc-card .form-control:focus {
    border-color: #519fd9;
    box-shadow: 0 0 0 0.25rem rgba(81, 159, 217, 0.25);
}

.quick-calc-card .btn-primary {
    background-color: #519fd9;
    border-color: #519fd9;
    transition: all 0.3s ease;
}

.quick-calc-card .btn-primary:hover {
    background-color: #4089c4;
    border-color: #4089c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(81, 159, 217, 0.2);
}

/* Статистика на главном экране */
.stat-card {
    background: var(--background);
    border: 1px solid var(--primary-light);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.stat-card .h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #519fd9;
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card .h2 {
        font-size: 2rem;
    }
    
    .stat-card .small {
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

@media (max-width: 576px) {
    .stat-card .h2 {
        font-size: 1.75rem;
    }
}

/* Процесс работы */
.process-card {
    background: var(--background);
    border: 1px solid var(--primary-light);
    padding: 2rem;
    transition: all 0.4s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.process-card__number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

/* Мобильное меню */
@media (max-width: 1024px) {
    .nav__list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--primary-light);
        box-shadow: var(--shadow-md);
    }

    .nav__list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }

    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.5rem;
        height: 2.5rem;
        border: none;
        background: none;
        cursor: pointer;
        position: relative;
    }

    .nav__toggle-icon,
    .nav__toggle-icon::before,
    .nav__toggle-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
    }

    .nav__toggle-icon {
        transform: translateY(-1px);
    }

    .nav__toggle-icon::before {
        transform: translateY(-8px);
    }

    .nav__toggle-icon::after {
        transform: translateY(8px);
    }

    .nav__toggle[aria-expanded="true"] .nav__toggle-icon {
        background: transparent;
    }

    .nav__toggle[aria-expanded="true"] .nav__toggle-icon::before {
        transform: rotate(45deg);
    }

    .nav__toggle[aria-expanded="true"] .nav__toggle-icon::after {
        transform: rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .calculator__wrapper,
    .delivery__content,
    .contacts__wrapper {
        grid-template-columns: 1fr;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
}

/* Анимации для карточек */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Результаты калькулятора */
.calculation-result {
    background-color: var(--light-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.calculation-result h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.calculation-result p {
    margin-bottom: 0.75rem;
}

.calculation-result h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.delivery-note {
    font-size: 0.875rem;
    color: var(--light-text);
    margin-top: 1rem;
}

/* Дополнительные стили */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Кнопки фильтров */
.btn-group .btn {
    border-radius: 30px;
    padding: 8px 20px;
    margin: 0 5px;
}

/* Обновленные карточки преимуществ */
.advantage-card {
    background: var(--background);
    border: 1px solid var(--primary-light);
    padding: 2rem;
    transition: all 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.advantage-card__icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 0;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card:hover .advantage-card__icon {
    background: var(--primary-color);
    color: white;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .hero {
        padding: calc(var(--header-height) + 40px) 0 40px;
    }
    
    .btn-group {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .btn-group .btn {
        flex: 1 1 calc(50% - 10px);
        margin: 0;
    }
}

/* Улучшенные стили для карточек */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-header {
    background: var(--primary-light);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0 !important;
    padding: 1.5rem;
}

/* Улучшенные кнопки */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-bg);
    border-color: transparent;
}

/* Обновленная навигация */
.navbar {
    padding: 0;
    height: 100%;
}

.navbar-nav {
    height: 100%;
    align-items: center;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.navbar-brand {
    padding: 0.5rem 0;
    margin-right: 3rem;
}

/* Улучшенные формы */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Улучшенные списки */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Дополнительные утилиты */
.text-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.border-gradient {
    border: 2px solid;
    border-image: var(--gradient-bg) 1;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

/* Дополнительные эффекты */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow);
}

.hover-lift {
    transition: all var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Улучшенные градиенты */
.gradient-text {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-border {
    position: relative;
}

.gradient-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-bg);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.gradient-border:hover::after {
    transform: scaleX(1);
}

/* Дополнительные анимации */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Улучшенные тени */
.shadow-soft {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shadow-strong {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Дополнительные стили для форм */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Улучшенные списки */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.custom-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Дополнительные утилиты */
.text-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: var(--gradient-bg);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

.border-gradient {
    border: 2px solid;
    border-image: var(--gradient-bg) 1;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
}

/* Стили логотипа */
.logo-img {
    max-height: 50px;
    width: auto;
    transition: transform var(--transition-normal);
}

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

.navbar-brand {
    padding: 0;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 40px;
    }
}

/* Улучшенные стили для бейджей зон доставки */
.delivery-zone .badge {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.delivery-zone .badge.bg-success {
    background-color: #2B7FBF !important;
    color: #ffffff !important;
}

.delivery-zone .badge.bg-primary {
    background-color: #519fd9 !important;
    color: #ffffff !important;
}

.delivery-zone .badge.bg-warning {
    background-color: #7FBFE2 !important;
    color: #ffffff !important;
}

.delivery-zone .badge.bg-danger {
    background-color: #A6D2EA !important;
    color: #ffffff !important;
}

.delivery-zone__price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #111827;
}

.delivery-zone__areas {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 40px;
    }
}

/* Общие стили для ссылок */
a, 
.nav-link, 
.header-phone, 
.contact-block__link,
.footer a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
}

/* Навигация */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover::after {
    width: 100%;
    opacity: 1;
}

/* Контактные блоки */
.contact-block__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.contact-block__link:hover {
    background: var(--primary-light);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Кнопки в мобильном меню */
.mobile-menu-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Плавающие кнопки */
.floating-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-lg);
}

.floating-buttons a:hover {
    transform: translateY(-5px);
    background: var(--primary-hover);
    color: white;
}

/* WhatsApp кнопка */
.floating-buttons a[href*="wa.me"] {
    background: #25D366;
}

.floating-buttons a[href*="wa.me"]:hover {
    background: #22c35e;
}

/* Убираем подчеркивание у остальных ссылок */
.header-phone:hover,
.footer a:hover,
.contact-block__link:hover {
    text-decoration: none;
    color: var(--primary-color);
} 