:root {
    --primary-blue: #0D6EFD;
    --accent-orange: #F28123;
    --text-dark: #212529;
    --text-light: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light-grey: #f8f9fa;
    --border-color: #dee2e6;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* Kolory dla gradientu sekcji "O nas" */
    --about-gradient-start: #2c3e50; /* Ciemny niebiesko-szary */
    --about-gradient-end: #465a6c;   /* Nieco jaśniejszy niebiesko-szary */

    /* Rozmiary ikon SVG */
    --icon-size-header: 1.1em;
    --icon-size-advantage: 48px;
    --icon-size-service: 48px;
    --icon-size-contact: 28px;

    /* Ustawienia dla nagłówka */
    --header-initial-bg: rgba(255, 255, 255, 0.85); /* Półprzezroczysty biały na starcie */
    --header-scrolled-bg: var(--bg-white); /* Pełny biały po przewinięciu */
    --header-height: 70px; /* Высота десктопного хедера */
    --mobile-header-height: 80px; /* Высота мобильного хедера, можно подстроить */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--header-height); /* Отступ для десктопного хедера */
}

body.no-scroll { /* Для блокировки скролла при открытом мобильном меню */
    overflow: hidden;
}

.page-wrapper {
    max-width: 100vw;
    overflow-x: hidden;
    flex-grow: 1;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* --- Style dla ikon SVG --- */
.header-icon, .advantage-icon, .service-icon, .contact-icon {
    display: inline-block;
    vertical-align: middle;
}

.header-icon.phone-icon {
    width: var(--icon-size-header);
    height: var(--icon-size-header);
    margin-right: 8px;
}

.advantage-icon {
    width: var(--icon-size-advantage);
    height: var(--icon-size-advantage);
    margin-bottom: 20px;
}

.service-icon {
    width: var(--icon-size-service);
    height: var(--icon-size-service);
    margin-bottom: 20px;
}

.contact-icon {
    width: var(--icon-size-contact);
    height: var(--icon-size-contact);
    margin-right: 15px;
    margin-top: 3px; 
    flex-shrink: 0; 
}


/* --- Nagłówek --- */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    background-color: var(--header-initial-bg);
    border-bottom: 1px solid transparent; 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
}

header.header-scrolled { 
    background-color: var(--header-scrolled-bg);
    border-bottom-color: var(--border-color); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-family: var(--font-primary);
    font-size: 1.9em;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}
.logo .logo-accent {
    color: var(--accent-orange);
}

/* --- Burger Menu Button --- */
.burger-menu-button {
    display: none; 
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1005; 
}
.burger-menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
.burger-menu-button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger-menu-button.active span:nth-child(2) {
    opacity: 0;
}
.burger-menu-button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Мобильный блок телефона в хедере --- */
.phone-contact-mobile-header {
    display: none; 
    align-items: center;
}
.phone-contact-mobile-header .header-icon {
    width: 1em; 
    height: 1em;
    margin-right: 6px;
}
.phone-contact-mobile-header a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
}

/* --- Навигация (Desktop по умолчанию) --- */
nav.main-nav { 
    display: flex;
    align-items: center;
}
nav.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
}
nav.main-nav ul li {
    margin-left: 15px;
}
nav.main-nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 0.9em;
    padding: 8px 10px;
    border-radius: 4px;
    transition: color 0.3s, background-color 0.3s;
}
nav.main-nav ul li a.active,
nav.main-nav ul li a:hover {
    color: var(--primary-blue);
    background-color: rgba(13, 110, 253, 0.1);
}
nav.main-nav ul li a.active {
    color: var(--primary-blue);
    font-weight: 700;
}
.header-actions { 
    display: flex;
    align-items: center;
    margin-left: 20px;
}
.phone-contact { 
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-dark);
}
.phone-contact a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
}
.phone-contact a:hover {
    color: var(--primary-blue);
}

/* --- Sekcja Hero --- */
.hero {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 40px;
}
.hero-text {
    flex-basis: 55%;
    max-width: 600px;
}
.hero-text h1 {
    font-family: var(--font-primary);
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}
.hero-text h1 .highlight {
    color: var(--primary-blue);
}
.hero-text p {
    font-size: 1.1em;
    color: #555c63;
    margin-bottom: 35px;
    font-family: var(--font-secondary);
}
.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--text-light);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-primary);
    font-size: 1em;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    border: none; 
}
.cta-button:hover {
    background-color: #e07017;
    transform: translateY(-2px);
}
.hero-illustration {
    flex-basis: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 450px;
}
.hero-illustration img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* --- Sekcja O Nas --- */
.about-us-section {
    padding: 80px 0;
    background-image: linear-gradient(135deg, var(--about-gradient-start) 0%, var(--about-gradient-end) 100%);
    position: relative;
    color: var(--text-light);
}
.about-us-section .container {
    position: relative;
    z-index: 2;
}
.about-us-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}
.about-us-section h2 .highlight {
    color: var(--accent-orange);
}
.about-content {
    max-width: 800px;
    margin: 0 auto;
}
.about-content p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: left;
}
 .about-content p:last-child {
    margin-bottom: 0;
}

/* --- Sekcja Marki (Brands Section) --- */
.brands-section {
    padding: 60px 0; 
    background-color: var(--bg-white);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.brands-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.brands-section h2 .highlight {
    color: var(--primary-blue);
}

.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; 
    margin-bottom: 40px;
    max-width: 900px; 
    margin-left: auto;
    margin-right: auto;
}

.brand-tag {
    background-color: var(--bg-light-grey);
    color: var(--text-dark);
    padding: 8px 18px; 
    border-radius: 20px; 
    font-size: 1em;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s, color 0.3s;
    cursor: default; 
    display: inline-block; 
}

.brand-tag:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-color: var(--primary-blue);
}

.brands-info {
    font-size: 1.1em;
    color: #555c63;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.phone-cta-button {
    display: inline-flex; 
    align-items: center;    /* Vertically align icon and text */
    justify-content: center; /* Horizontally center icon and text group */
    text-decoration: none; 
    color: var(--text-light) !important; 
    line-height: 1; /* Prevent extra space from line-height */
}

.phone-cta-button .button-icon {
    width: 1.1em; /* Slightly adjusted for better balance */
    height: 1.1em;
    margin-right: 8px; /* Slightly adjusted for better balance */
    filter: invert(1); 
    /* vertical-align: middle; /* Alternative or additional alignment */
}

/* --- Sekcja Zalety (Dlaczego my) --- */
.advantages-section {
    padding: 80px 0;
    background-color: var(--bg-light-grey);
}
.advantages-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}
.advantages-section h2 .highlight {
    color: var(--primary-blue);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.advantage-item {
    background-color: var(--bg-white);
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.advantage-item h3 {
    font-family: var(--font-primary);
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.advantage-item p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #555c63;
}


/* --- Sekcja Usługi --- */
.services-section { padding: 80px 0; background-color: var(--bg-white); }
.services-section h2 { font-family: var(--font-primary); font-size: 2.5em; font-weight: 700; text-align: center; margin-bottom: 50px; color: var(--text-dark); }
.services-section h2 .highlight { color: var(--primary-blue); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-item { background-color: var(--bg-light-grey); padding: 30px 25px; border-radius: 8px; text-align: center; border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.service-item h3 { font-family: var(--font-primary); font-size: 1.4em; font-weight: 700; color: var(--text-dark); margin-bottom: 15px; }
.service-item p { font-size: 0.95em; line-height: 1.6; color: #555c63; }


/* --- Sekcja Opinie (Reviews Section) --- */
.reviews-section {
    padding: 80px 0;
    background-color: var(--bg-light-grey);
    position: relative; 
}

.reviews-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.reviews-section h2 .highlight {
    color: var(--primary-blue);
}

.reviews-swiper {
    width: 100%;
    padding-bottom: 50px; 
    padding-left: 50px;  
    padding-right: 50px; 
    box-sizing: border-box; 
    position: relative; 
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    height: auto; 
    padding: 0 10px; 
    box-sizing: border-box;
}

.review-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 280px; 
    justify-content: space-between; 
    box-sizing: border-box;
}

.review-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    flex-shrink: 0; 
}

.review-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555c63;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1; 
}

.review-author {
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-primary);
    margin-top: auto; 
}

/* Swiper Navigation & Pagination */
.reviews-swiper .swiper-pagination {
    bottom: 10px; 
}
.reviews-swiper .swiper-pagination-bullet {
    background-color: var(--primary-blue);
    opacity: 0.6;
}
.reviews-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--accent-orange);
}

.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
    color: var(--accent-orange);
    top: 50%;
    transform: translateY(-50%);
    width: 30px; 
    height: 30px;
    transition: color 0.2s;
}
.reviews-swiper .swiper-button-next:hover,
.reviews-swiper .swiper-button-prev:hover {
    color: var(--primary-blue);
}
.reviews-swiper .swiper-button-next::after,
.reviews-swiper .swiper-button-prev::after {
    font-size: 24px; 
    font-weight: 900;
}

.reviews-swiper .swiper-button-prev { left: 10px; } 
.reviews-swiper .swiper-button-next { right: 10px; } 


/* --- Sekcja Formularza Kontaktowego na Stronie --- */
.inline-contact-form-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}
.inline-contact-form-section h2 {
    font-family: var(--font-primary);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}
.form-section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: #555c63;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.contact-form-standalone {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-light-grey);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.contact-form-standalone .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}
.contact-form-standalone .form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}
.contact-form-standalone .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-dark);
}
.contact-form-standalone .form-group input[type="text"],
.contact-form-standalone .form-group input[type="tel"],
.contact-form-standalone .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-secondary);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-standalone .form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-form-standalone .form-group input[type="text"]:focus,
.contact-form-standalone .form-group input[type="tel"]:focus,
.contact-form-standalone .form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    outline: none;
}
.contact-form-standalone .rodo-consent {
    display: flex;
    align-items: flex-start;
    font-size: 0.8em;
    color: #555c63;
    margin-top: 20px;
    margin-bottom: 25px;
}
.contact-form-standalone .rodo-consent input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    flex-shrink: 0;
    transform: scale(1.1);
}
.contact-form-standalone .rodo-consent label { font-weight: normal; cursor: pointer; }
.contact-form-standalone .rodo-consent a { color: var(--primary-blue); text-decoration: underline; }
.contact-form-standalone .rodo-consent a:hover { text-decoration: none; }

.form-submit-button {
    background-color: var(--accent-orange);
    color: var(--text-light);
    padding: 14px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    width: 100%;
    font-weight: 700;
    font-family: var(--font-primary);
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}
.form-submit-button:hover {
    background-color: #e07017;
}
.form-submit-button:disabled {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
}
.form-submit-button:disabled:hover {
    background-color: #ccc;
}


/* --- Sekcja Kontakt --- */
.contact-section { padding: 80px 0; background-color: var(--bg-light-grey); }
.contact-section h2 { font-family: var(--font-primary); font-size: 2.5em; font-weight: 700; text-align: center; margin-bottom: 50px; color: var(--text-dark); }
.contact-section h2 .highlight { color: var(--primary-blue); }
.contact-content-wrapper { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    align-items: flex-start; 
}
.map-area { 
    flex: 1.5; 
    min-width: 300px; 
    max-width: 100%; 
    height: 450px; 
    background-color: #e9e9e9; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: #777; 
    font-size: 1.2em; 
    border: 1px solid var(--border-color); 
    overflow: hidden; 
}
.map-area iframe { border-radius: 8px; }
.contact-details-area { 
    flex: 1; 
    min-width: 300px; 
    max-width: 100%; 
    background-color: var(--bg-white); 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
}
.contact-info-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 25px; 
    font-size: 1em; 
    line-height: 1.6; 
}
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item strong { 
    font-family: var(--font-primary); 
    font-weight: 600; 
    color: var(--text-dark); 
    display: block; 
    margin-bottom: 1px; 
}
.contact-info-item a { color: var(--accent-orange); text-decoration: none; transition: color 0.3s; }
.contact-info-item a:hover { color: #d96f15; text-decoration: underline; }

/* --- Sekcja Disclaimer --- */
.disclaimer-section {
    padding: 40px 0;
    background-color: var(--bg-light-grey);
    border-top: 1px solid var(--border-color);
}

.disclaimer-section .container p {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px dashed var(--border-color);
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600; 
    color: #333;
    line-height: 1.6;
    text-align: center;
    font-style: italic; 
}

/* --- Modal --- */
.modal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); padding-top: 60px; animation: fadeIn 0.3s ease-out; }
.modal-content { background-color: var(--bg-white); margin: 5% auto; padding: 30px 35px; border-radius: 8px; width: 90%; max-width: 550px; position: relative; box-shadow: 0 8px 25px rgba(0,0,0,0.2); animation: slideIn 0.3s ease-out; }
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes slideIn { from {transform: translateY(-30px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
.modal-close-button { color: #aaa; position: absolute; top: 15px; right: 20px; font-size: 32px; font-weight: bold; transition: color 0.2s; }
.modal-close-button:hover, .modal-close-button:focus { color: var(--text-dark); text-decoration: none; cursor: pointer; }
.modal h2 { font-family: var(--font-primary); font-size: 1.8em; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; text-align: center; }
.modal-subtitle { font-size: 0.95em; color: #555c63; margin-bottom: 25px; text-align: center; line-height: 1.5; }
.modal .form-group { margin-bottom: 18px; }
.modal .form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9em; color: var(--text-dark); }
.modal .form-group input[type="text"], .modal .form-group input[type="tel"] { width: 100%; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 5px; font-size: 1em; font-family: var(--font-secondary); transition: border-color 0.2s, box-shadow 0.2s; }
.modal .form-group input[type="text"]:focus, .modal .form-group input[type="tel"]:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25); outline: none; }
.modal .rodo-consent { display: flex; align-items: flex-start; font-size: 0.8em; color: #555c63; margin-top: 20px; margin-bottom: 25px; }
.modal .rodo-consent input[type="checkbox"] { margin-right: 10px; margin-top: 4px; flex-shrink: 0; transform: scale(1.1); }
.modal .rodo-consent label { font-weight: normal; cursor: pointer; }
.modal .rodo-consent a { color: var(--primary-blue); text-decoration: underline; }
.modal .rodo-consent a:hover { text-decoration: none; }
.modal-submit-button { background-color: var(--accent-orange); color: var(--text-light); padding: 14px 25px; border: none; border-radius: 5px; font-size: 1.1em; cursor: pointer; width: 100%; font-weight: 700; font-family: var(--font-primary); transition: background-color 0.3s; text-transform: uppercase; letter-spacing: 0.5px; }
.modal-submit-button:hover { background-color: #e07017; }
.modal-submit-button:disabled { background-color: #ccc; color: #888; cursor: not-allowed; }
.modal-submit-button:disabled:hover { background-color: #ccc; }

/* --- Stopka --- */
.site-footer {
    background-color: #343a40;
    color: rgba(255, 255, 255, 0.75);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 4px solid var(--accent-orange);
    margin-top: auto;
}
.site-footer p {
    margin: 0;
    line-height: 1.5;
}

/* --- Cookie Banner --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #212529;
    color: #f8f9fa;
    padding: 20px 0;
    z-index: 1002;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    font-size: 0.9em;
    border-top: 1px solid #444;
}
.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.cookie-banner-text {
    flex-grow: 1;
    margin-right: 20px;
}
.cookie-banner-text p {
    margin: 0;
    line-height: 1.5;
}
.cookie-banner a {
    color: var(--accent-orange);
    text-decoration: underline;
}
.cookie-banner a:hover {
    text-decoration: none;
}
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, opacity 0.3s;
    white-space: nowrap;
    font-size: 0.9em;
}
.cookie-btn-accept {
    background-color: var(--accent-orange);
    color: var(--text-light);
}
.cookie-btn-accept:hover {
    background-color: #e07017;
}
.cookie-btn-reject {
    background-color: #495057;
    color: var(--text-light);
}
.cookie-btn-reject:hover {
    background-color: #343a40;
}


/* --- Responsywność --- */
@media (max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; margin-bottom: 40px; flex-basis: auto; }
    .hero-illustration { flex-basis: auto; height: auto; max-height: 350px; width: 100%; max-width: 400px; margin: 0 auto; }
    .hero-text h1 { font-size: 2.5em; }
    .about-us-section h2, .services-section h2, .contact-section h2, .advantages-section h2, .inline-contact-form-section h2, .reviews-section h2, .brands-section h2 { font-size: 2.2em; }
    .about-content { max-width: 90%; }
    
    .contact-content-wrapper { 
        flex-direction: column; 
        align-items: center; 
    }
    .contact-form-standalone .form-row { flex-direction: column; gap: 0; margin-bottom: 0;}
    .contact-form-standalone .form-row .form-group { margin-bottom: 18px; }
}

/* --- СТИЛИ ДЛЯ МОБИЛЬНОГО ХЕДЕРА --- */
@media (max-width: 768px) {
    body {
        padding-top: var(--mobile-header-height); 
    }

    header { 
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: var(--mobile-header-height);
        background-color: var(--bg-white); 
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
        backdrop-filter: none; 
        -webkit-backdrop-filter: none;
        padding: 0; 
        display: flex; 
        align-items: center;
    }
    header.header-scrolled { 
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    }

    header .container {
        display: grid; 
        grid-template-columns: auto 1fr; 
        grid-template-rows: 1fr 1fr;    
        align-items: center;    
        width: 100%;            
        height: 100%;           
        padding: 0 15px;        
    }

    .burger-menu-button {
        display: block; 
        grid-column: 1 / 2; 
        grid-row: 1 / 3;    
        align-self: center; 
        margin-right: 10px; 
    }

    .logo { 
        grid-column: 2 / 3;     
        grid-row: 1 / 2;        
        justify-self: center;   
        align-self: end;        
        
        display: inline-block;  
        text-align: center;     
        line-height: 1;         
        padding-bottom: 3px;    
        font-size: 1.6em;       
        margin-left: 0;        
        margin-right: 0;

        position: relative; 
        left: -20px; 
    }

    .phone-contact-mobile-header { 
        display: flex !important; 
        align-items: center;      
        justify-content: center;  
        
        grid-column: 2 / 3;       
        grid-row: 2 / 3;          
        justify-self: center;     
        align-self: start;        
        
        width: auto;              
        padding-top: 3px;         
        font-size: 0.85em;        
        margin-left: 0;           
        margin-right: 0;     

        position: relative; 
        left: -20px; 
    }
    .phone-contact-mobile-header a { 
        text-align: center;
    }
    .phone-contact-mobile-header .header-icon { 
        width: 0.9em;
        height: 0.9em;
        margin-right: 5px;
    }


    /* Навигационное меню (становится панелью бургера) */
    nav.main-nav {
        position: fixed;
        top: var(--mobile-header-height); 
        left: -100%; 
        width: 80%; 
        max-width: 280px; 
        height: calc(100vh - var(--mobile-header-height)); 
        background-color: var(--bg-white);
        box-shadow: 2px 0 10px rgba(0,0,0,0.15);
        transition: left 0.3s ease-in-out;
        z-index: 999; 
        padding: 0; 
        overflow-y: auto; 
        display: block; 
    }
    nav.main-nav.active {
        left: 0; 
    }

    nav.main-nav ul {
        display: block; 
        flex-direction: column; 
        align-items: stretch;   
        width: 100%;
        margin: 0;
        padding: 0;
    }
    nav.main-nav ul li {
        margin: 0; 
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    nav.main-nav ul li:first-child {
        border-top: 1px solid var(--border-color); 
    }
    nav.main-nav ul li a {
        display: block; 
        padding: 15px 20px; 
        font-size: 1em;
        font-weight: 500;
    }
    nav.main-nav ul li a.active,
    nav.main-nav ul li a:hover {
         background-color: rgba(13, 110, 253, 0.05); 
    }

    nav.main-nav .header-actions {
        display: none !important; 
    }

    .hero { padding-top: 20px; }
    .hero-text { max-width: 90%; } .hero-text h1 { font-size: 2.1em; } .hero-text p { font-size: 1em; }
    /* .cta-button { padding: 12px 28px; font-size: 0.95em; } */ /* Removed to allow specific button sizing below */
    .hero-illustration { max-height: 300px; }

    .about-us-section, .services-section, .advantages-section, .inline-contact-form-section, .reviews-section, .brands-section { padding: 60px 0; }
    .contact-section { padding: 60px 0; } 
    .about-us-section h2, .services-section h2, .contact-section h2, .advantages-section h2, .inline-contact-form-section h2, .reviews-section h2, .brands-section h2 { font-size: 2em; }
    .about-content p { font-size: 1em; }
    .services-grid, .advantages-grid { grid-template-columns: 1fr; }
    .map-area { 
        height: 300px; 
        width: 100%; 
        max-width: 450px; 
    }
    .contact-details-area {
        width: 100%; 
        max-width: 450px; 
    }
    .modal-content { width: 95%; margin: 10% auto; padding: 25px; }
    .modal h2 {font-size: 1.6em;}
    .modal-subtitle {font-size: 0.9em;}
    .site-footer { padding: 20px 0; font-size: 0.85em; }

    .cookie-banner-content { flex-direction: column; text-align: center; gap: 15px; }
    .cookie-banner-actions { width: 100%; justify-content: center; }
    .cookie-btn { flex-grow: 1; max-width: 200px; }

    .disclaimer-section {
        padding: 30px 0;
    }
    .disclaimer-section .container p {
        padding: 15px;
        font-size: 0.85em;
    }
    
    /* Reviews Responsive */
    .reviews-swiper {
        padding-left: 15px; 
        padding-right: 15px;
    }
     .review-card { min-height: 250px; }

    /* Brands Responsive */
    .brands-section { padding: 50px 0; }
    .brands-list { gap: 10px; }
    .brand-tag { font-size: 0.9em; padding: 6px 15px;}
    .brands-info { font-size: 1em; }
}

@media (max-width: 480px) {
    .logo { 
        font-size: 1.4em; 
        left: -15px; 
    } 
    .phone-contact-mobile-header { 
        font-size: 0.8em; 
        left: -15px; 
    }
    .phone-contact-mobile-header .header-icon {
        width: 0.8em;
        height: 0.8em;
    }

    .map-area, .contact-details-area {
         max-width: 100%; 
    }


    .hero-text { max-width: 95%; text-align: left; } .hero-text h1 { font-size: 1.8em; }
    .hero-illustration { max-height: 250px; }
    .cta-button { /* This applies to ALL .cta-button on small screens */
        width: 100%; 
        text-align: center; /* Centers the inline-flex box if it's not full width due to inline-flex nature */
        padding: 12px 15px; /* Adjusted padding for smaller screens */
        font-size: 1em; /* Consistent font size for all cta buttons */
        justify-content: center; /* Center content if it's also a flex container like .phone-cta-button */
    }
    .phone-cta-button { /* Specific for the phone button */
        padding: 12px 15px; /* Ensure consistent padding */
    }

    .about-us-section h2, .services-section h2, .contact-section h2, .advantages-section h2, .inline-contact-form-section h2, .reviews-section h2, .brands-section h2 { font-size: 1.8em; }
    .service-item h3, .advantage-item h3 { font-size: 1.3em; }
    .service-item p, .advantage-item p { font-size: 0.9em; }
    .contact-details-area { padding: 20px; }
    .contact-info-item { font-size: 0.95em; }
    .modal-content { margin: 15% auto; padding: 20px; }
    .modal h2 {font-size: 1.4em;}
    .modal-subtitle {font-size: 0.85em;}
    .modal-submit-button, .form-submit-button { padding: 12px 20px; font-size: 1em;}
    .cookie-banner { font-size: 0.85em; padding: 15px 0; }
    .cookie-banner-text { margin-right: 0; margin-bottom: 10px;}
    .cookie-banner-actions { flex-direction: column; align-items: center; }
    .cookie-btn { width: 80%; max-width: none; }
    .contact-form-standalone { padding: 25px 20px; }

    /* Reviews Responsive */
    .reviews-swiper {
        padding-left: 10px;
        padding-right: 10px;
    }
     .review-card { padding: 20px; min-height: 230px;}
     .review-text { font-size: 0.9em; }

     /* Brands Responsive */
     .brand-tag { font-size: 0.85em; padding: 5px 12px;}
}

/* === FIX FOR ARROWS (HIDE ON < 992px) === */
@media (max-width: 991px) {
    .reviews-swiper .swiper-button-next,
    .reviews-swiper .swiper-button-prev {
       display: none !important; 
    }
    .reviews-swiper { 
        padding-left: 15px; 
        padding-right: 15px;
    }
}