/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700;800&display=swap');

/* --- Змінні для легкого керування дизайном --- */
:root {
    --color-accent: #f17c0e;
    --color-bg: #111113;
    --color-text: #e0e0e0;
    --header-bg: rgba(17, 17, 19, 0.75);
    --header-bg-scroll: rgba(17, 17, 19, 0.9);
    --header-height: 80px;
    --font-primary: 'Inter', sans-serif;
    
    /* Z-індекси для правильного нашарування */
    --z-header: 100;
    --z-menu-panel: 110;
    --z-menu-toggle: 120;
}

/* --- Базові стилі та скидання --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
}

.body-no-scroll {
    overflow: hidden;
}

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

/* --- Стилі Шапки (Header) --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-header);
    background-color: transparent;
    height: var(--header-height);
    transition: background-color 0.4s, border-color 0.4s;
}

.header.is-scrolled {
    background-color: var(--header-bg-scroll);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #2a2a2f;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav__logo img {
    height: 40px;
    display: block;
}

.nav__list--desktop {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav__link {
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

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


/* --- Стилі Мобільного меню --- */

/* Панель, що з'являється */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 19, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    z-index: 99;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.nav__list--mobile {
    list-style: none;
    text-align: center;
}

.nav__list--mobile li {
    margin-bottom: 2rem;
}

.nav__list--mobile .nav__link {
    font-size: 2rem;
    font-weight: 700;
}

/* Кнопка-бургер */
.nav__toggle {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    z-index: 999;
}

/* Анімація іконки бургера в хрестик */
.nav__toggle-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.nav__toggle-inner {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.1s 0.2s ease-in-out;
}

.nav__toggle-inner::before,
.nav__toggle-inner::after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 3px;
    position: absolute;
    left: 0;
    transition: transform 0.2s 0.2s ease-in-out;
}

.nav__toggle-inner::before { top: -10px; }
.nav__toggle-inner::after { bottom: -10px; }

.nav__toggle.is-active .nav__toggle-inner { background-color: transparent; }
.nav__toggle.is-active .nav__toggle-inner::before { transform: translateY(10px) rotate(45deg); }
.nav__toggle.is-active .nav__toggle-inner::after { transform: translateY(-10px) rotate(-45deg); }

/* --- Адаптивність --- */
@media (max-width: 768px) {
    .nav__list--desktop {
        display: none;
    }
    .nav__toggle {
        display: block;
    }
}

/* --- Загальний стиль для кнопок (необхідний для Hero) --- */
.button { display: inline-block; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 16px 32px; border-radius: 8px; transition: all 0.3s ease-in-out; border: 2px solid transparent; cursor: pointer; }
.button--primary { background-color: var(--color-accent); color: #fff; border-color: var(--color-accent); animation: pulse 2s infinite; }
.button--primary:hover { background-color: var(--color-accent-dark, #d96d0c); border-color: var(--color-accent-dark, #d96d0c); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(241, 124, 14, 0.2); animation-play-state: paused; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(241, 124, 14, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(241, 124, 14, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 124, 14, 0); }
}

/* --- Стилі для секції Hero --- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-height) + 60px) 0 60px 0; overflow: hidden; }
.hero__grid-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background-image: linear-gradient(to right, rgba(42, 42, 47, 0.8) 1px, transparent 1px), linear-gradient(to bottom, rgba(42, 42, 47, 0.8) 1px, transparent 1px); background-size: 50px 50px; animation: moveGrid 20s linear infinite; }
@keyframes moveGrid { from { background-position: 0 0; } to { background-position: 50px 50px; } }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; background: radial-gradient(circle 400px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(241, 124, 14, 0.15), transparent); }
.hero__container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; width: 100%; }
.hero__content { text-align: left; }
.hero__title { font-size: 3.2rem; font-weight: 800; line-height: 1.25; margin-bottom: 2rem; display: flex; flex-direction: column; }
.hero__title-line { display: block; overflow: hidden; }
.hero__title-line span { display: block; transform: translateY(110%); animation: revealText 1s forwards; }
.hero__title-line:nth-child(1) span { animation-delay: 0.3s; }
.hero__title-line:nth-child(2) span { animation-delay: 0.5s; }
.hero__title-line--accent span { color: var(--color-accent); }
@keyframes revealText { to { transform: translateY(0); } }
.hero__description { font-size: 1rem; color: var(--color-text-light); margin-bottom: 2.5rem; line-height: 1.7; animation: fadeIn 1s 0.8s forwards; opacity: 0; }
.hero__cta { animation: fadeIn 1s 1s forwards; opacity: 0; }
@keyframes fadeIn { to { opacity: 1; } }

/* --- Нова 3D-картка Instagram --- */
.hero__widget {
    perspective: 1000px; /* Створюємо 3D-простір */
    display: flex;
    justify-content: center;
    align-items: center;
}
.insta-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.insta-card {
    width: 350px;
    background: rgba(26, 26, 29, 0.8);
    border: 1px solid #2a2a2f;
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s, box-shadow 0.4s;
}
.insta-card-link:hover .insta-card {
    transform: scale(1.05) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.insta-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
.insta-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
}
.insta-card__user-info {
    line-height: 1.3;
}
.insta-card__username {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.insta-card__handle {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.insta-card__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}
.insta-card__gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.insta-card__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-weight: 500;
    color: var(--color-accent);
}
.insta-card__footer svg {
    transition: transform 0.3s;
}
.insta-card-link:hover .insta-card__footer svg {
    transform: translateX(5px);
}


/* --- Адаптивність для Hero --- */
@media (max-width: 992px) {
    .hero__container { grid-template-columns: 1fr; gap: 60px; }
    .hero__content { text-align: center; order: 2; }
    .hero__widget { order: 1; }
    .hero__description { margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .hero__title { font-size: 2.2rem; }
    .hero__description { font-size: 0.9rem; }
}

/* --- Стили для Секции Обзора Услуг --- */
.services-overview {
    background-color: var(--color-bg-light, #1a1a1d); /* Fallback color */
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light, #a0a0a0);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    /* На десктопе 3 колонки, на мобильных будет 1 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1500px; /* Создаем 3D-пространство для дочерних карточек */
}

.service-card {
    background: linear-gradient(145deg, #1f1f22, #161618);
    border: 1px solid var(--color-border, #2a2a2f);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    
    /* Плавный переход для 3D-эффекта */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
}

/* 3D-эффект при наведении */
.service-card:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card__icon {
    margin: 0 auto 1.5rem auto;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(241, 124, 14, 0.1);
    border-radius: 50%;
    color: var(--color-accent);
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
}

.service-card__title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-card__description {
    color: var(--color-text-light, #a0a0a0);
    line-height: 1.6;
}

/* --- Адаптивность для этой секции --- */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* --- Стили для Секции "О нас" с Видео --- */
.about-section {
    padding: 100px 0;
    /* Убираем фон, чтобы он был таким же, как у body */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: left; /* Выравнивание по левому краю */
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-text-light, #a0a0a0);
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--color-text, #e0e0e0);
    font-weight: 700;
}

.video-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--color-border, #2a2a2f);
}

.video-container video {
    width: 100%;
    display: block;
}


/* --- Стили для Секции с Ценами --- */
.pricing-section {
    padding: 100px 0;
    background-color: var(--color-bg-light, #1a1a1d);
}

.pricing-list {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1f1f22, #161618);
    border: 1px solid var(--color-border, #2a2a2f);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border, #2a2a2f);
    transition: background-color 0.3s;
}

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

.price-item:hover {
    background-color: rgba(241, 124, 14, 0.05);
}

.price-item p {
    margin: 0;
    color: var(--color-text, #e0e0e0);
    padding-right: 20px; /* Отступ, чтобы текст не сливался с ценой */
}

.price-item .price-value {
    font-weight: 700;
    white-space: nowrap; /* Чтобы цена не переносилась на новую строку */
    font-size: 1.1rem;
    color: var(--color-accent);
}

/* --- Адаптивность для этих секций --- */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .about-title {
        font-size: 2.2rem;
    }
}

/* --- Стили для Секции "Door to Door" --- */
.d2d-section {
    position: relative;
    padding: 120px 0;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.d2d-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.d2d-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d2d-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 19, 0.8); /* Более сильное затемнение для читабельности */
    z-index: -1;
}

.d2d-content {
    position: relative;
    z-index: 1;
}

.d2d-content h2 {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
}

.d2d-content .section-subtitle {
    color: var(--color-text, #e0e0e0);
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* --- Адаптивность для этой секции --- */
@media (max-width: 768px) {
    .d2d-content h2 {
        font-size: 2.5rem;
    }
}

/* --- Стили для Секции Ключевых Услуг --- */
.premium-services {
    padding: 100px 0;
    /* Фон такой же, как у body, для визуальной целостности */
    background-color: var(--color-bg, #111113);
}

/* Стили для блоков с чередованием */
.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px; /* Отступ между блоками */
}
.feature-layout:last-child {
    margin-bottom: 0;
}

.feature-layout__image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.feature-layout__content h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

/* Декоративная линия под заголовком */
.feature-layout__content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.feature-layout__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-light, #a0a0a0);
}

/* Модификатор для "зеркального" блока */
.feature-layout--reversed .feature-layout__image {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.feature-layout--reversed .feature-layout__content {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

/* --- Адаптивность для этой секции --- */
@media (max-width: 992px) {
    .feature-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }
    /* Сбрасываем позиционирование для мобильных, чтобы картинка всегда была сверху */
    .feature-layout--reversed .feature-layout__image,
    .feature-layout--reversed .feature-layout__content {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .feature-layout__content h3 {
        font-size: 2rem;
    }
    .feature-layout__content p {
        font-size: 1rem;
    }
}

/* --- Стили для Секции Портфолио (Карусель) --- */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--color-bg-light, #1a1a1d);
}

/* Контейнер для слайдера, щоб позиціонувати стрілки */
.portfolio-slider-container {
    position: relative;
    max-width: 1200px; /* Можна налаштувати */
    margin: 0 auto;
}

.portfolio-slider {
    padding: 0 10px 50px 10px; /* Відступи для тіні та пагінації */
}

.swiper-slide {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Ефект при завантаженні */
    transform: scale(0.95);
    opacity: 0.8;
    transition: transform 0.4s, opacity 0.4s;
}

/* Стилі для активного слайда по центру */
.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Оверлей при наведенні */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 19, 0.7);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 1.2rem;
    font-weight: 500;
}
.swiper-slide a:hover .slide-overlay {
    opacity: 1;
}
.swiper-slide a:hover img {
    transform: scale(1.1);
}

/* Стилізація стрілок навігації */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-accent);
    top: 50%;
    transform: translateY(-70%); /* Піднімаємо трохи вище через пагінацію */
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
    font-weight: 800;
    padding: 20px;
    background: rgba(26, 26, 29, 0.8);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: background-color 0.3s, color 0.3s;
}
.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
    background-color: var(--color-accent);
    color: #fff;
}

/* Стилізація пагінації (крапок) */
.swiper-pagination {
    bottom: 0px !important; /* Розміщуємо пагінацію внизу */
}
.swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    width: 10px;
    height: 10px;
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* --- Стили для Футера --- */
.footer {
    padding-top: 80px;
    background-color: var(--color-bg-light, #1a1a1d);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.contact-details p {
    font-size: 1.1rem;
    color: var(--color-text-light, #a0a0a0);
    margin-bottom: 1.5rem;
}
.contact-details strong {
    color: var(--color-text, #e0e0e0);
}
.contact-details a {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text, #e0e0e0);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 20px;
}
.social-links a {
    color: var(--color-text-light, #a0a0a0);
    transition: color 0.3s, transform 0.3s;
}
.social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

/* Нижняя панель футера */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--color-border, #2a2a2f);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-dark, #888);
    font-size: 0.9rem;
}
.privacy-policy-button {
    background: none;
    border: none;
    color: var(--color-text-dark, #888);
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}
.privacy-policy-button:hover {
    color: var(--color-accent);
}

/* --- Стили для Модального Окна (Поп-ап) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--color-bg-light, #1a1a1d);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-border, #2a2a2f);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s;
}
.modal-overlay.is-open .modal-content {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-dark, #888);
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close:hover {
    color: var(--color-accent);
}
.modal-content h2 {
    color: #fff;
    margin-bottom: 2rem;
}
.modal-text p {
    color: var(--color-text-light, #a0a0a0);
    margin-bottom: 1rem;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-bottom .container {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- Стили для Баннера Cookie --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 19, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border, #2a2a2f);
    padding: 20px 0;
    z-index: 999;

    /* Начальное состояние: скрыто под экраном */
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner__text {
    margin: 0;
    color: var(--color-text-light, #a0a0a0);
    font-size: 0.9rem;
}

/* Стили для кнопки-ссылки внутри текста */
.cookie-banner__policy-link {
    background: none;
    border: none;
    color: var(--color-accent);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit; /* Наследует размер шрифта от родителя */
    font-family: inherit;
}
.cookie-banner__policy-link:hover {
    text-decoration: none;
}

.cookie-banner__button {
    /* Уменьшаем кнопку для баннера */
    padding: 12px 24px;
    font-size: 0.9rem;
    flex-shrink: 0; /* Чтобы кнопка не сжималась */
}

/* Адаптивность для баннера */
@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner__text {
        margin-bottom: 15px;
    }
}

/* --- Стили для Плавающей Кнопки Контакта --- */
.floating-contact-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998; /* Чуть ниже других оверлеев, но поверх контента */
    
    background-color: var(--color-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 50%; /* Круглая по умолчанию (для мобильных) */
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(241, 124, 14, 0.4);
    
    /* Начальное состояние: скрыто */
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.4s, transform 0.4s, width 0.4s, border-radius 0.4s, visibility 0.4s;
}

/* Класс для показа кнопки */
.floating-contact-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.floating-contact-btn:hover {
    background-color: var(--color-accent-dark, #d96d0c);
    box-shadow: 0 6px 20px rgba(241, 124, 14, 0.5);
    color: #fff;
}

/* Иконка внутри кнопки */
.floating-contact__icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

/* Текст внутри кнопки (по умолчанию скрыт) */
.floating-contact__text {
    display: none;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

/* --- Адаптивность для кнопки (версия для ПК) --- */
@media (min-width: 769px) {
    .floating-contact-btn {
        /* Превращаем круг в "пилюлю" */
        width: auto;
        height: auto;
        border-radius: 50px;
        padding: 14px 24px;
        gap: 10px;
    }

    /* Прячем иконку и показываем текст */
    .floating-contact__icon {
        display: none;
    }
    .floating-contact__text {
        display: block;
    }
}
