/* ZMIENNE - COP SERWIS (GRAFIT/BETON & POMARAŃCZ BUDOWLANY) */
:root {
    --primary-color: #ea580c;   /* Ostry, budowlany pomarańcz */
    --primary-hover: #c2410c;
    --steel-color: #64748b;     /* Stalowy / Betonowy */
    --navy-brand: #0f172a;      /* Głęboki granat logo COP */
    --dark-color: #1e293b;      /* Ciemny grafit */
    --light-color: #f8fafc;     /* Jasny, czysty tynk */
    --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 - "Ceglaste", ostre krawędzie, budują wrażenie solidności */
.btn {
    display: inline-block;
    padding: 14px 34px;
    font-weight: 800;
    border-radius: 4px;
    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: 4px 4px 0px rgba(30, 41, 59, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(30, 41, 59, 0.2);
}

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

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

.btn-outline-dark {
    background-color: var(--white);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    box-shadow: 4px 4px 0px rgba(30, 41, 59, 0.1);
}

.btn-outline-dark:hover {
    background-color: var(--dark-color);
    color: var(--white);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px rgba(30, 41, 59, 0.1);
}

/* NAVBAR + SYGNET I TYPOGRAFIA COP. SERWIS */
.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%;
}

.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.24em;
    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);
}
.nav-links a:hover { color: var(--primary-color); }

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

/* HERO SECTION */
.hero {
    min-height: 580px;
    padding: 80px 0;
    background: url('images/tlo.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%;
    background: linear-gradient(95deg, rgba(15, 23, 42, 0.76) 0%, rgba(15, 23, 42, 0.48) 52%, rgba(15, 23, 42, 0.14) 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(234, 88, 12, 0.16);
    border: 1px solid var(--primary-color);
    color: #fdba74;
    padding: 6px 16px;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.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-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.25em;
    color: var(--primary-color);
    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);
}

.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: var(--light-color);
    padding: 45px 30px;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid var(--steel-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid var(--primary-color);
    background: var(--white);
}

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

.steel-card { background: linear-gradient(180deg, #f8fafc 0%, #fff7ed 100%); }
.steel-card:hover { border-bottom: 4px solid var(--primary-color); }
.steel-icon { color: var(--primary-color); }

.service-card:hover .icon-box { color: var(--primary-color); }

.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(234, 88, 12, 0.1);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 4px;
    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: 4px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.ba-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background-color: var(--steel-color);
}

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

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

.ba-badge {
    position: absolute; top: 15px; padding: 6px 14px;
    font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 800;
    border-radius: 2px; 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: 12px;
}
.ba-card-title { font-size: 1.08rem; color: var(--dark-color); margin: 0; }
.ba-verified {
    font-size: 0.8rem; font-weight: 700; color: var(--steel-color);
    background-color: #f1f5f9; padding: 6px 14px; border-radius: 2px; border: 1px solid #e2e8f0;
    white-space: nowrap;
}

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

/* Z PLACU BOJU — POJEDYNCZE ZDJĘCIA SPRZĘTU I PRAC W TOKU */
.fieldwork-block {
    margin-top: 75px;
    padding-top: 60px;
    border-top: 2px solid #e2e8f0;
}

.fieldwork-header {
    text-align: center;
    margin-bottom: 36px;
}

.fieldwork-header h3 {
    font-size: 1.9rem;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.fieldwork-header p {
    max-width: 680px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.05rem;
}

.fieldwork-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.field-card {
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-bottom: 4px solid var(--dark-color);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.field-card:hover {
    transform: translateY(-4px);
    border-bottom-color: var(--primary-color);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
}

.field-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background-color: var(--dark-color);
}

.field-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.field-card:hover .field-img-wrap img {
    transform: scale(1.06);
}

.field-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(15, 23, 42, 0.88);
    border-left: 3px solid var(--primary-color);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    border-radius: 2px;
}

.field-body {
    padding: 18px 18px 20px;
}

.field-body h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.field-body p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
}

/* BANER CTA */
.ba-cta-banner {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--dark-color) 0%, #334155 100%);
    color: var(--white);
    padding: 45px 50px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-left: 6px solid var(--primary-color);
    box-shadow: 8px 8px 0px rgba(234, 88, 12, 0.2);
}

.ba-cta-text h3 { font-size: 1.5rem; margin-bottom: 10px; }
.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;
}
.photo-modal.open { display: flex; }
.photo-modal img { max-width: 90vw; max-height: 80vh; border-radius: 4px; border: 3px solid #334155; }
.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.1);
    color: var(--white); border: none; font-size: 1.8rem; width: 60px; height: 60px; border-radius: 4px; cursor: pointer; transition: 0.3s;
}
.modal-nav:hover { background: var(--primary-color); }
.modal-prev { left: 40px; } .modal-next { right: 40px; }

/* CENNIK (PRZYWRÓCONE KOLORY + NOWY UKŁAD NETTO / BRUTTO) */
.pricing {
    padding: 100px 0;
    background-color: var(--white);
}

.pricing .section-title {
    text-align: center;
    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: 4px;
    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-steel) {
    border-bottom: 6px solid var(--primary-color);
}

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

.pricing-header {
    padding: 40px 30px;
    text-align: center;
    color: var(--white);
}

.paint-header {
    background-color: var(--primary-color);
}

.steel-header {
    background-color: var(--dark-color);
    border-bottom: 6px solid var(--steel-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.02rem;
}

.pricing-list li:last-child {
    border-bottom: none;
}

.price-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
}

.price-values strong {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.25;
}

.price-brutto {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.pricing-min-order {
    padding: 18px 30px 24px;
    background-color: #f1f5f9;
    border-top: 1px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.95rem;
    color: #475569;
}

.pricing-min-order strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: var(--dark-color);
}

.pricing-disclaimer {
    background-color: var(--light-color);
    padding: 25px 30px;
    border-radius: 4px;
    border-left: 5px solid var(--primary-color);
}

.pricing-disclaimer h4 {
    font-size: 1.15rem;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.pricing-notes-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
    color: #475569;
    font-size: 0.95rem;
}

.pricing-notes-list li {
    margin-bottom: 6px;
}

.pricing-vat-note {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

/* 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(300px, 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-color); 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-color); }
.footer-email:hover { color: var(--primary-color); }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #334155; color: #94a3b8; font-size: 0.9rem; }

/* 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);
}
.btn-cookie { background-color: var(--primary-color); color: white; border: none; padding: 10px 24px; border-radius: 4px; cursor: pointer; font-weight: bold; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
/* Baner cookies: oba przyciski czytelne i tej samej wielkości */
.cookie-banner { border-top: 3px solid var(--primary-color); }
.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: 1024px) {
    .fieldwork-grid { grid-template-columns: repeat(2, 1fr); }
}

@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; }
    .fieldwork-header h3 { font-size: 1.45rem; }
    .ba-img-box { height: 210px; }
    .ba-card-Footer { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fieldwork-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-list li { flex-direction: column; align-items: flex-start; gap: 6px; }
    .price-values { align-items: flex-start; text-align: left; }
    .modal-nav { width: 45px; height: 45px; font-size: 1.3rem; }
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
}
/* Drugi numer telefonu i przyciski WhatsApp / Facebook w stopce */
.phone-number-2 { margin-top: 0; font-size: 1.5rem; }
.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;
}

/* Zdjęcie w karcie Serwis i Konserwacja */
.service-photo {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 16px;
}
