* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f7fc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 2rem 1rem;
}

/* --- NAGŁÓWEK (zmniejszony 2x) --- */
.header-card {
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.15);
    padding: 0.15rem;
    margin-bottom: 0.5rem;
}

.main-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 40px;
    min-height: 84px;
    padding: 0.2rem 1.2rem;
    gap: 0.4rem 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.logo-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 84px;
}

/* logo – wysokość dopasowana do nagłówka (44px) */
.logo-png {
    height: 84px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 70, 150, 0.08));
    transition: transform 0.15s ease;
    border-radius: 6px;
    background: #f0f5fb;
}

.logo-png:hover {
    transform: scale(1.04);
}

.company-name {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #0b1e33;
    background: linear-gradient(145deg, #0f2b44, #1a3b5c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 0rem 0rem;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem 0.6rem;
    flex-wrap: wrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1b3a5e;
    background: transparent;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    line-height: 1.3;
    white-space: nowrap;
    height: 36px;
}

.nav-link:hover {
    background: #eef4fa;
    color: #0b2b4a;
    border-color: #cbdae8;
    box-shadow: 0 2px 6px rgba(0, 60, 120, 0.06);
}

.nav-link.contact {
    background: #0b2b4a;
    color: white;
    border-color: #0b2b4a;
    box-shadow: 0 6px 14px rgba(11, 43, 74, 0.18);
    padding: 0.35rem 1.2rem;
}

.nav-link.contact:hover {
    background: #1a3f64;
    border-color: #1a3f64;
    color: white;
    box-shadow: 0 10px 18px rgba(11, 43, 74, 0.25);
    transform: translateY(-1px);
}

/* ikony social media – dopasowane do wysokości nagłówka */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.social-link:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

.social-link img {
    width: 48px;
    height: 48px;
    display: block;
}

/* responsywność */
@media (max-width: 768px) {
    .logo-png {
        height: 64px;
    }
    .logo-graphic {
        height: 64px;
    }
    .main-header {
        min-height: 64px;
        padding: 0.2rem 1rem;
    }
    .company-name {
        font-size: 1.2rem;
    }
    .nav-link {
        font-size: 0.8rem;
        padding: 0.25rem 0.8rem;
        height: 32px;
    }
    .social-link {
        width: 32px;
        height: 32px;
    }
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 650px) {
    .main-header {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        padding: 0.6rem 1rem;
        gap: 0.4rem;
    }
    .brand {
        justify-content: center;
    }
    .company-name {
        font-size: 1.3rem;
        white-space: normal;
        word-break: break-word;
    }
    .nav-wrapper {
        justify-content: center;
    }
    .logo-png {
        height: 48px;
    }
    .logo-graphic {
        height: 48px;
    }
}

@media (max-width: 400px) {
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    .nav-link {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
        height: 34px;
    }
    .company-name {
        font-size: 1.1rem;
    }
    .logo-png {
        height: 32px;
    }
    .logo-graphic {
        height: 32px;
    }
    .nav-wrapper {
        flex-direction: column;
        width: 100%;
    }
    .social-link {
        width: 36px;
        height: 36px;
    }
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

.spacer {
    height: 0.75rem;
}

/* --- GALERIA ZDJĘĆ --- */
.gallery-card {
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.15);
    padding: 1.2rem 1.2rem 1.4rem 1.2rem;
    margin-top: 1rem;
}

.gallery-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    background: #f9fcff;
    border-radius: 24px;
    border: 1px solid #e8eef6;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #e8eef6;
}

.gallery-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-height: 2.8rem;
    padding: 0.65rem 1rem;
    background: white;
    border-top: 1px solid #eef4fa;
}

.gallery-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #0b2b4a;
    text-align: left;
    flex: 1;
    line-height: 1.2;
}

.gallery-facebook-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gallery-facebook-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.gallery-facebook-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- SEKCJA OFERTA --- */
.offer-card {
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.15);
    padding: 1.2rem 1.2rem 1.4rem 1.2rem;
    margin-top: 1rem;
}

.offer-card h2 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0b1e33;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    border-bottom: 3px solid #eef4fa;
    padding-bottom: 0.75rem;
}

.offer-card h2 span {
    background: #0b2b4a;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.1rem 0.9rem;
    border-radius: 60px;
    letter-spacing: 0.02em;
    margin-left: 0.3rem;
}

.offer-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1f3f5c;
    background: #f9fcff;
    padding: 1rem 1.6rem;
    border-radius: 20px;
    border: 1px solid #e8eef6;
    margin-bottom: 2rem;
}

.offer-description strong {
    color: #0b2b4a;
}

.offer-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    list-style: none;
}

.offer-gallery li {
    background: #f9fcff;
    border-radius: 24px;
    border: 1px solid #e8eef6;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.offer-gallery li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(11, 43, 74, 0.08);
    border-color: #cbdae8;
}

.offer-gallery li img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #e8eef6;
}

.offer-gallery li .img-label {
    padding: 0.8rem 1rem 0.9rem 1rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0b2b4a;
    text-align: center;
    background: white;
    border-top: 1px solid #eef4fa;
    letter-spacing: 0.01em;
}

/* --- SEKCJA PRZEDSTAWICIELI --- */
.representatives-card {
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.18);
    padding: 2rem 2.2rem 2.5rem 2.2rem;
    margin-top: 1rem;
}

.representatives-card h2 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0b1e33;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    border-bottom: 3px solid #eef4fa;
    padding-bottom: 0.75rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 28px;
    border: 1px solid #e8eef6;
    background: #f9fcff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.representatives-table {
    width: 100%;
    border-collapse: collapse;
}

.representatives-table th,
.representatives-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e8eef6;
}

.representatives-table th {
    background: #0b2b4a;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.representatives-table tbody tr:nth-child(even) {
    background: #f4f8fc;
}

.representatives-table tbody tr:hover {
    background: #ffffff;
}

.representatives-table td {
    color: #0c2a44;
    font-weight: 500;
}

.representatives-table td a {
    color: #0b2b4a;
    text-decoration: none;
    font-weight: 600;
}

.representatives-table td a:hover {
    text-decoration: underline;
}

/* --- SEKCJA KONTAKT --- */
.contact-card {
    max-width: 1100px;
    width: 100%;
    background: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.18);
    padding: 2rem 2.2rem 2.5rem 2.2rem;
    margin-top: 1rem;
}

.contact-card h2 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0b1e33;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.6rem;
    border-bottom: 3px solid #eef4fa;
    padding-bottom: 0.75rem;
}

.contact-card h2 span {
    background: #0b2b4a;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.1rem 0.9rem;
    border-radius: 60px;
    letter-spacing: 0.02em;
    margin-left: 0.3rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-list li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.6rem 1.2rem;
    background: #f9fcff;
    padding: 1.2rem 1.8rem 1.2rem 1.8rem;
    border-radius: 28px;
    border: 1px solid #e8eef6;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    align-items: center;
}

.contact-list li:hover {
    background: #ffffff;
    border-color: #cbdae8;
    box-shadow: 0 6px 18px rgba(11, 43, 74, 0.06);
}

.contact-label {
    font-weight: 600;
    color: #1b3a5e;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    grid-column: 1 / 2;
}

.contact-label .icon {
    font-size: 1.4rem;
    line-height: 1;
    width: 1.8rem;
    text-align: center;
    flex-shrink: 0;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: #0c2a44;
    word-break: break-word;
    background: #eef4fa;
    padding: 0.2rem 1.2rem 0.2rem 1.2rem;
    border-radius: 60px;
    border: 1px solid transparent;
    transition: background 0.1s;
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    min-height: 2.4rem;
}

.contact-list li:hover .contact-value {
    background: #e2ebf5;
    border-color: #bccfe0;
}

@media (max-width: 650px) {
    .offer-card,
    .contact-card,
    .representatives-card,
    .gallery-card {
        padding: 1.5rem 1.2rem 1.8rem 1.2rem;
    }

    .gallery-slider {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .gallery-item img {
        height: 140px;
    }

    .offer-card h2,
    .contact-card h2,
    .representatives-card h2 {
        font-size: 1.6rem;
        flex-wrap: wrap;
    }

    .representatives-table th,
    .representatives-table td {
        padding: 0.8rem 0.9rem;
        font-size: 0.95rem;
    }

    .contact-list li {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        padding: 1rem 1.2rem;
        border-radius: 24px;
    }

    .contact-label {
        font-size: 0.9rem;
        gap: 0.3rem;
        grid-column: auto;
        border-bottom: 1px dashed #dce5ef;
        padding-bottom: 0.15rem;
        margin-bottom: 0.1rem;
    }

    .contact-label .icon {
        font-size: 1.2rem;
        width: 1.6rem;
    }

    .contact-value {
        font-size: 0.95rem;
        padding: 0.2rem 0.8rem;
        grid-column: auto;
        background: transparent;
        border: none;
        padding-left: 0.5rem;
        min-height: auto;
    }

    .contact-list li:hover .contact-value {
        background: transparent;
        border-color: transparent;
    }

    .offer-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .offer-gallery li img {
        height: 140px;
    }
}

@media (max-width: 400px) {
    .contact-list li {
        padding: 0.8rem 0.9rem;
    }
    .offer-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.site-footer {
    max-width: 1100px;
    width: 100%;
    background: #0b2b4a;
    color: #ffffff;
    border-radius: 40px;
    box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.18);
    padding: 2rem 2.2rem;
    margin-top: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.site-footer p {
    margin-bottom: 0.35rem;
    color: #dce8f3;
    line-height: 1.5;
}

.footer-bank-lines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
}

.footer-bank-lines span {
    white-space: nowrap;
}

@media (max-width: 650px) {
    .site-footer {
        padding: 1.5rem 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

.back-link {
    margin-top: 2.2rem;
    font-size: 0.95rem;
    color: #3b5b7a;
    background: rgba(255,255,255,0.6);
    padding: 0.5rem 2rem;
    border-radius: 80px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.6);
}
.back-link a {
    color: #0b2b4a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #7a9bcb;
}
.back-link a:hover {
    border-bottom: 2px solid #0b2b4a;
}
