:root {
    --primary-blue: #0056b3; /* Насыщенный синий */
    --light-blue: #e3f2fd;   /* Светло-голубой фон */
    --accent-cyan: #00bcd4;  /* Голубой акцент */
    --dark-text: #333;
    --white: #ffffff;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

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

/* Header */
header {
    position: sticky; 
    width: 100%;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 1000;
    transition: transform 0.2s ease-in-out, background 0.3s;
    padding: 15px 0;
}

header.sticky.visible {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Стили для контейнера внутри хедера (если еще не добавили) */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
}
.logo span { color: var(--accent-cyan); }

/* Навигация */
nav ul { display: flex; list-style: none; gap: 20px; }
nav ul li a { text-decoration: none; color: #333; font-weight: 600; font-size: 14px; }
.phone { font-weight: 700; color: var(--primary-blue); }

@media (max-width: 992px) {
    header .container{ flex-wrap: wrap;justify-content: center; }
    
}


/* Обнуление для секции */
.hero-section {
    position: relative;
    font-family: 'Arial', sans-serif; /* Можно заменить на Montserrat */
    overflow: hidden;
}

.hero-main {
    display: flex;
    min-height: 550px;
}

/* Левая часть с текстом */
.hero-left {
    flex: 1.2;
    padding: 60px 5% 80px 7%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-text);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-title span {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 2px 8px;
    display: inline-block;
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

/* Список преимуществ с полосками вместо точек */
.hero-list {
    list-style: none;
    padding: 0;
}

.hero-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.hero-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-blue);
}

/* Правая часть с картинкой и скосом */
.hero-right {
    flex: 1;
    position: relative;
    /* Создаем характерный скос из референса */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-image-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to top, var(--primary-blue), transparent);
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Чтобы просвечивал синий фон для атмосферности */
}

/* Лампа (плавающий элемент) */
.hero-lamp {
    position: absolute;
    top: 0;
    left: 15%;
    z-index: 3;
    width: 140px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* Нижняя синяя полоса с формой */
.hero-bottom-bar {
    background-color: var(--primary-blue); /* Для яркости, либо var(--primary-blue) */
    padding: 20px 0;
    position: relative;
    z-index: 5;
}

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

.bar-text {
    font-weight: 700;
    font-size: 18px;
    color: white;
    max-width: 300px;
}

.bar-form {
    display: flex;
    gap: 10px;
}

.bar-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    width: 200px;
}

.bar-form .bar-btn {
    background-color: var(--dark-text);
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
    text-decoration: none;
    
}

.bar-form .bar-btn:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Адаптив для мобилок */
@media (max-width: 992px) {
    
    .hero-main { flex-direction: column; }
    .hero-right { 
        height: 300px; 
        clip-path: none; 
    }
    .hero-left { padding: 40px 20px; }
    .bar-container { flex-direction: column; text-align: center; gap: 20px; }
    .hero-lamp { width: 80px; left: 5%; }
    .bar-form{
        flex-direction: column;
        width: 100%;
    }
    .bar-form input{
        width: 100%;
    }
    .hero-title{
        font-size: 20px;
    }
    .hero-description, .hero-features{
        font-size: 14px;
    }
    .target-badges{
        flex-wrap: wrap;
    }
}


.shop-info {
    padding: 50px 0;
    background-color: var(--light-bg); /* Тот самый светло-голубой фон */
}

.info-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Стилизация изображения */
.info-image {
    flex: 1;
    position: relative;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 20px 20px 0px var(--accent-cyan); /* Декоративная рамка смещением */
}

.info-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-blue);
    color: white;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.info-experience .number {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.info-experience .text {
    font-size: 14px;
    text-align: center;
}

/* Текстовый контент */
.info-text {
    flex: 1.2;
}

.info-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.info-title span {
    color: var(--primary-blue);
}

.info-lead {
    font-size: 18px;
    color: #444;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Элементы преимуществ */
.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 30px;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-content h4 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 15px;
    color: #666;
}

/* Кнопки */
.info-buttons {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-primary-blue {
    background: var(--primary-blue);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
}

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

.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.btn-link:hover {
    border-bottom-color: var(--primary-blue);
}

/* Адаптив */
@media (max-width: 992px) {
    .info-wrapper {
        flex-direction: column-reverse;
    }
    .info-image {
        width: 90%;
        margin-top: 40px;
    }
}

.services-detailed {
    padding: 0px 0 100px;
    background-color: #fff;
}

.services-intro {
    text-align: center;
    margin-bottom: 30px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-row:last-child {
    margin-bottom: 0;
}

/* Информационный блок */
.service-info {
    flex: 1;
}

.service-number {
    font-size: 60px;
    font-weight: 900;
    color: var(--light-blue);
    line-height: 1;
    margin-bottom: -15px;
    opacity: 1;
}

.service-info h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin: 20px 0 10px;
    position: relative;
    line-height: 1.2;
    z-index: 1;
}

.service-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Маркированный список */
.service-steps {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-steps li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--dark-text);
}

.service-steps li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-cyan);
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.service-link:hover {
    color: var(--accent-cyan);
    border-bottom-color: var(--primary-blue);
}

/* Визуальный блок */
.service-visual {
    flex: 1;
}

.service-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 74, 153, 0.15);
}

/* Адаптив */
@media (max-width: 992px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .service-visual img {
        height: 300px;
    }
    
    .service-number {
        font-size: 45px;
    }
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--primary-blue); color: var(--white); }
.btn-primary:hover { background: #003d80; }

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    margin-left: 10px;
}

.btn-dark { background: #222; color: #fff; width: 100%; }

/* Services Grid */
.services { padding: 80px 0; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.section-title span{
    color: var(--primary-blue);
}
.target-badges{
    display: flex;
    gap: 5px;
    margin: 10px 0px;
}
.target-badges .badge{
    background: white;
    border-radius: 50px;
    border: 1px solid var(--primary-blue);
    font-size: 12px;
    font-weight: bold;
    padding: 4px 12px;
    color: var(--primary-blue);
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 5px solid var(--accent-cyan);
}

.card:hover { transform: translateY(-10px); }

.card .icon { font-size: 3rem; margin-bottom: 20px; }

.main-footer {
    background-color: #1a1d21; /* Очень темный серый, почти черный для контраста */
    color: #e1e1e1;
    padding: 80px 0 30px;
    font-family: 'Arial', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 30px;
}

/* Логотип в футере */
.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--accent-cyan);
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
}

/* Заголовки колонок */
.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-cyan);
}

/* Ссылки */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

/* Контактные элементы */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 5px;
    align-items: flex-start;
}

.contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.contact-item .icon {
    filter: grayscale(1) brightness(2);
}

/* Соцсети */
.footer-socials {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Нижняя панель */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
}

.legal-links a:hover {
    color: #aaa;
}
    .footer-grid iframe{ border-radius: 4px; }

/* Адаптив */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-grid iframe{
        width: 100%;
    }
}
/* Responsive */
@media (max-width: 768px) {
    nav { display: none; }
}

/* Стили для модального окна Cookie */
.cookie-modal {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.2);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999;
    display: none; /* Скрыто по умолчанию */
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon { font-size: 30px; }

.cookie-text { flex: 1; min-width: 250px; }

.cookie-text h4 {
    margin: 0 0 5px;
    color: var(--primary-blue);
    font-size: 16px;
}

.cookie-text p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-accept-all {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-accept {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-refuse {
    background-color: #f0f0f0;
    color: #888;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
    .cookie-actions { width: 100%; flex-direction: column; }
    .cookie-btn { width: 100%; }
    .cookie-modal{ 
        max-width: unset;
        width: calc(100vw - 40px);
    }
}

/* Базовый класс для всех анимируемых элементов */
.anim {
    opacity: 0;
    /* Указываем transition-property отдельно, чтобы не сбрасывать delay */
    transition-property: transform, opacity;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

/* Эффекты появления */
.anim-fade-in { transform: scale(0.95); }
.anim-slide-up { transform: translateY(50px); }
.anim-slide-down { transform: translateY(-50px); }
.anim-slide-left { transform: translateX(50px); }
.anim-slide-right { transform: translateX(-50px); }

/* Состояние после активации (когда элемент в центре экрана) */
.anim.show {
    opacity: 1;
    transform: translate(0) scale(1);
}