/* ZMIENNE - COP BŁYSK (WODA & CZYSTOŚĆ + GRANAT COP) */
:root {
    --primary-color: #0ea5e9;   /* Świeży błękit/cyan z logo */
    --primary-bright: #38bdf8;  /* Jasny błękit (kontrast na ciemnym tle) */
    --primary-hover: #0284c7;
    --indoor-color: #10b981;    /* Sterylna zieleń miętowa na sprzątanie wnętrz */
    --navy-brand: #0f172a;      /* Głęboki granat logo COP */
    --dark-color: #0f172a;      /* Głęboki, mokry granat */
    --light-color: #f1f5f9;     /* Chłodny, czysty jasnoszary */
    --white: #ffffff;
    --text-color: #334155;
}

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

html { scroll-behavior: smooth; }

section, footer {
    scroll-margin-top: 85px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

h1, h2 { text-transform: uppercase; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

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

/* BUTTONS - Czyste, ostre, z nowoczesnym połyskiem */
.btn {
    display: inline-block;
    padding: 14px 34px;
    font-weight: 700;
    border-radius: 6px;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-transparent {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.85);
    margin-left: 15px;
}

.btn-transparent:hover {
    background-color: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
}

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

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

/* NAVBAR + SYGNET I TYPOGRAFIA COP. BŁYSK */
.navbar {
    background-color: var(--white);
    color: var(--dark-color);
    height: 100px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid var(--primary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 70px;
}

.logo-mark {
    height: 58px;
    width: auto;
    object-fit: contain;
}

.nav-brand-text {
    display: inline-flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.nav-brand-cop {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--navy-brand);
    line-height: 0.9;
}

.brand-dot {
    display: inline-block;
    width: 0.24em;
    height: 0.24em;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-left: 0.08em;
    flex-shrink: 0;
}

.nav-brand-sub {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0.31em;
    color: var(--primary-color);
    margin-top: 3px;
}

.nav-brand-tagline {
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #334155;
    margin-top: 3px;
}

.nav-links { display: flex; align-items: center; }
.nav-links li { margin-left: 28px; }

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.3s;
    text-transform: uppercase;
    color: var(--dark-color);
    white-space: nowrap;
}
.nav-links a:hover { color: var(--primary-color); }

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    box-shadow: none;
}
.btn-nav:hover {
    background-color: var(--dark-color);
    color: var(--white) !important;
}

/* HERO SECTION */
.hero {
    min-height: 580px;
    padding: 80px 0;
    background: url('images/tlo-czyszczenie.jpg') no-repeat center center/cover;
    background-color: #1e293b;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Chłodny granatowy gradient — wyraźnie widać tlo-czyszczenie.jpg przy ostrym napisie po lewej */
    background: linear-gradient(95deg, rgba(15, 23, 42, 0.80) 0%, rgba(15, 23, 42, 0.50) 52%, rgba(15, 23, 42, 0.16) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 780px;
    text-shadow: 0 2px 14px rgba(15, 23, 42, 0.85);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(14, 165, 233, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.6);
    color: #7dd3fc;
    padding: 6px 16px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* TYPOGRAFICZNY NAPIS NA TLE HERO (ODWZOROWANIE UKŁADU Z DODATEK_3.JPG) */
.hero-brand-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
    line-height: 1;
}

.hero-brand-lockup .brand-cop {
    display: inline-flex;
    align-items: baseline;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(3.8rem, 8.2vw, 6rem);
    line-height: 0.88;
    letter-spacing: -2.5px;
    color: var(--white);
}

.hero-brand-lockup .brand-dot {
    background-color: var(--primary-bright);
}

.hero-brand-lockup .brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.95rem, 4.2vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: 0.32em;
    color: var(--primary-bright);
    margin-top: 8px;
}

.hero-brand-lockup .brand-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(0.82rem, 1.55vw, 1.15rem);
    line-height: 1.2;
    letter-spacing: 0.13em;
    color: #e2e8f0;
    margin-top: 10px;
}

.hero p {
    font-size: 1.18rem;
    margin-bottom: 38px;
    color: #e2e8f0;
    max-width: 680px;
}

/* SERVICES */
.services {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #64748b;
}

.services .section-title { margin-bottom: 60px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 45px 30px;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.12);
    border-bottom: 4px solid var(--primary-color);
    background: var(--white);
}

.icon-box {
    font-size: 3.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: 0.3s;
}

/* Karta Higiena / Wiaty */

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
    color: var(--dark-color);
}
.service-card p { font-size: 1rem; color: #475569; }

/* REALIZACJE PRZED I PO */
.before-after {
    padding: 100px 0;
    background-color: var(--light-color);
}

.ba-header-center { text-align: center; }

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(14, 165, 233, 0.12);
    color: var(--primary-hover);
    padding: 6px 18px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.ba-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ba-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.ba-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background-color: #cbd5e1;
}

.ba-arrow-divider {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
    border: 3px solid var(--white);
    pointer-events: none;
}

.ba-img-box {
    position: relative; height: 280px; overflow: hidden; cursor: pointer;
    background-color: #e2e8f0;
}
.ba-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s ease; display: block; }
.ba-img-box:hover img { transform: scale(1.05); }

.ba-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.78);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}
.ba-img-box:hover .ba-zoom-hint { opacity: 1; }

.ba-badge {
    position: absolute; top: 15px; padding: 6px 14px;
    font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 800;
    border-radius: 4px; text-transform: uppercase; z-index: 2;
}

.badge-before { left: 15px; background-color: var(--dark-color); color: var(--white); }
.badge-after { right: 15px; background-color: var(--primary-color); color: var(--white); }

.ba-card-Footer {
    padding: 22px 25px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.ba-card-title { font-size: 1.08rem; color: var(--dark-color); margin: 0; text-transform: none; }
.ba-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--indoor-color);
    background-color: rgba(16, 185, 129, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.ba-more-wrap { text-align: center; margin-top: 50px; }

.ba-cta-banner {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e3a8a 100%);
    color: var(--white);
    padding: 45px 50px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

.ba-cta-text h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--white); }
.ba-cta-text p { font-size: 1rem; color: #cbd5e1; margin: 0; max-width: 650px; }
.ba-cta-action { flex-shrink: 0; }

/* LIGHTBOX MODAL */
.photo-modal {
    display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.95);
    z-index: 2000; justify-content: center; align-items: center; flex-direction: column;
    padding: 20px;
}
.photo-modal.open { display: flex; }
.photo-modal img { max-width: 90vw; max-height: 80vh; border-radius: 8px; }
.modal-caption { margin-top: 20px; color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; text-align: center; padding: 0 20px; }
.modal-close { position: fixed; top: 20px; right: 30px; background: transparent; border: none; color: var(--white); font-size: 2.5rem; cursor: pointer; }
.modal-nav {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.12);
    color: var(--white); border: none; font-size: 1.8rem; width: 60px; height: 60px; border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.modal-nav:hover { background: var(--primary-color); }
.modal-prev { left: 40px; } .modal-next { right: 40px; }

/* CENNIK */
.pricing { padding: 100px 0; background-color: var(--white); }
.pricing .section-title { margin-bottom: 55px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); }

.pricing-card:not(.border-indoor) { border-bottom: 6px solid var(--primary-color); }
.pricing-card.border-indoor { border-bottom: 6px solid var(--indoor-color); }

.pricing-header { padding: 40px 30px; text-align: center; color: var(--white); }
.water-header { background-color: var(--primary-color); }
.indoor-header { background-color: var(--dark-color); border-bottom: 6px solid var(--indoor-color); }

.pricing-header i { font-size: 2.8rem; margin-bottom: 15px; display: block; }
.pricing-header h3 { font-size: 1.6rem; margin: 0; color: var(--white); }
.pricing-sub { font-size: 1rem; color: rgba(255, 255, 255, 0.85); margin-top: 10px; }

.pricing-list { padding: 30px; flex-grow: 1; }
.pricing-list li {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 16px 0; border-bottom: 1px solid #cbd5e1; font-size: 1.05rem;
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li strong { color: var(--dark-color); font-weight: 700; text-align: right; min-width: 140px; flex-shrink: 0; }

.pricing-disclaimer {
    background-color: var(--light-color); padding: 25px 30px; border-radius: 8px; border-left: 5px solid var(--primary-color);
}
.pricing-disclaimer p { font-size: 0.95rem; color: #64748b; margin: 0; font-style: italic; }

/* FOOTER */
.footer { background-color: var(--dark-color); color: var(--white); padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-section h3 { font-size: 1.4rem; margin-bottom: 25px; border-bottom: 4px solid var(--primary-color); display: inline-block; padding-bottom: 8px; }
.phone-number { display: block; font-size: 1.8rem; font-weight: bold; color: var(--primary-bright); margin: 20px 0 10px; }

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #e2e8f0;
    transition: color 0.25s;
}
.footer-email i { color: var(--primary-bright); }
.footer-email:hover { color: var(--primary-bright); }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem; }
/* Przyciski kontaktu w stopce */
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 10px; text-decoration: none; color: #fff; font-weight: 600; }
.footer-social a:hover { opacity: 0.9; }
.footer-social .btn-whatsapp { background: #25d366; }
.footer-social .btn-facebook { background: #1877f2; }
/* Przycisk OLX w stopce */
.olx-btn { display: inline-flex; align-items: center; background-color: var(--primary-color); color: var(--navy-brand); padding: 12px 24px; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-weight: 800; margin-top: 14px; transition: 0.3s; }
.olx-btn:hover { background-color: var(--primary-hover); color: var(--white); }
.olx-btn strong { font-size: 1.2rem; margin-right: 10px; }

/* COOKIE BANNER */
.cookie-banner {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--dark-color); color: #fff;
    padding: 15px 25px; z-index: 9999; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}
.cookie-banner p { margin: 0; flex: 1; min-width: 250px; }
.btn-cookie { background-color: var(--primary-color); color: white; border: none; padding: 10px 24px; border-radius: 6px; cursor: pointer; font-weight: bold; font-family: 'Montserrat', sans-serif; }
.btn-cookie:hover { background-color: var(--primary-hover); }
.cookie-banner { border-top: 3px solid var(--primary-color); }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-buttons .btn-cookie { min-width: 150px; text-align: center; }
.btn-cookie-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-cookie-secondary:hover { background-color: var(--white); color: var(--navy-brand); }

/* RESPONSIVE */
.menu-toggle { display: none; }

@media (max-width: 900px) {
    .ba-grid { grid-template-columns: 1fr; }
    .ba-cta-banner { flex-direction: column; text-align: center; padding: 40px 30px; }
}

@media (max-width: 768px) {
    .navbar { height: 80px; }
    .logo-mark { height: 44px; }
    .nav-brand-cop { font-size: 1.45rem; }
    .nav-brand-sub { font-size: 0.78rem; }
    .nav-brand-tagline { font-size: 0.48rem; }
    .menu-toggle { display: block; cursor: pointer; }
    .bar { display: block; width: 25px; height: 3px; background-color: var(--dark-color); margin: 5px auto; transition: 0.3s; }
    .nav-links {
        position: fixed; left: -100%; top: 80px; flex-direction: column;
        background-color: var(--white); width: 100%; text-align: center;
        padding-bottom: 30px; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 20px 0; }
    .hero { min-height: 500px; padding: 60px 0; }
    .hero p { font-size: 1.05rem; }
    .hero-buttons { display: flex; flex-direction: column; gap: 15px; }
    .btn-transparent { margin-left: 0; }
    .section-title { font-size: 1.9rem; }
    .ba-img-box { height: 210px; }
    .ba-card-Footer { flex-direction: column; align-items: flex-start; gap: 12px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
    .pricing-list li strong { margin-top: 4px; text-align: left; }
    .modal-nav { width: 45px; height: 45px; font-size: 1.3rem; }
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
}