* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #1f2a3e;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(2px);
    background-color: rgba(255,255,255,0.98);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f8;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 52px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.header-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.9rem;
    color: #2c3e66;
}

.header-contacts a {
    color: #2c3e66;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.header-contacts a:hover {
    color: #ef2026;
}

.header-contacts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    padding: 12px 0;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    gap: 28px;
}

.nav-list a {
    text-decoration: none;
    font-weight: 600;
    color: #1f2a3e;
    transition: 0.2s;
    font-size: 1rem;
}

.nav-list a:hover {
    color: #ef2026;
}

/* HERO */
.hero {
    background: linear-gradient(105deg, #f0f7ff 0%, #ffffff 100%);
    padding: 40px 0 60px;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 1.2;
}

.hero-content h1 {
    font-size: 2.6rem;
    color: #1a3d5c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #2d4a6e;
    margin-bottom: 28px;
}

.hero-btn {
    background: #1e4a76;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}

.hero-btn:hover {
    background: #ef2026;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* SECTIONS */
.section {
    padding: 70px 0;
    border-bottom: 1px solid #eef2f6;
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #1a3d5c;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: #ef2026;
    margin-top: 8px;
}

.section-sub {
    max-width: 780px;
    margin-bottom: 48px;
    color: #4a5b6e;
    font-size: 1.1rem;
}

/* OFERTA */
.offer-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.offer-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    background: #fefefe;
    border-radius: 32px;
    padding: 24px;
}

.offer-block:nth-child(even) .offer-image {
    order: 2;
}

.offer-image img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.08);
    background: #f1f5f9;
}

.offer-content h3 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: #1a3d5c;
}

.offer-content h4 {
    font-size: 1.3rem;
    margin: 20px 0 8px;
    color: #1f2a3e;
}

.offer-content p {
    margin-bottom: 12px;
    color: #2c3e4e;
}

.offer-btn {
    display: inline-block;
    margin-top: 20px;
    background: #1e4a76;
    color: white;
    padding: 10px 24px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.offer-btn:hover {
    background: #ef2026;
}

/* FEATURES */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 32px;
}

.feature-card {
    flex: 1;
    background: #f8fafc;
    padding: 30px 24px;
    border-radius: 28px;
    text-align: center;
    transition: 0.2s;
    border: 1px solid #eef2f8;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1e4a76;
}

/* GALERIA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.product-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.02);
    border: 1px solid #edf2f7;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px -12px rgba(0,0,0,0.1);
}

.product-img {
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 18px 16px 22px;
}

.product-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    color: #1f2a3e;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    color: #1e4a76;
    padding: 8px 18px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    transition: 0.2s;
}

.product-link:hover {
    background: #1e4a76;
    color: white;
}

.gallery-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 48px 0 20px 0;
    color: #1e4a76;
    border-left: 5px solid #ef2026;
    padding-left: 18px;
}

/* ROZWIJANA LISTA KATEGORII */
.expandable-cats {
    background: #f0f6fe;
    border-radius: 32px;
    padding: 28px 32px;
    margin: 50px 0 20px;
}

.expandable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a3d5c;
}

.expandable-header span {
    font-style: normal;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.expandable-content.open {
    max-height: 600px;
    margin-top: 24px;
}

.cat-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    list-style: none;
}

.cat-links-grid li a {
    text-decoration: none;
    color: #1f2a3e;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.cat-links-grid li a:hover {
    color: #ef2026;
    transform: translateX(4px);
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid #e2edf7;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    background: #ffffff;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    padding: 0 24px 18px 24px;
    color: #334155;
    display: none;
    border-top: 1px solid #e2edf7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* KONTAKT Z MAPĄ */
.contact-map-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    background: #ffffff;
    border-radius: 48px;
    padding: 0;
    align-items: center;
}

.contact-details {
    background: #f8fafd;
    padding: 32px;
    border-radius: 40px;
    box-shadow: 0 12px 24px -12px rgba(0,0,0,0.05);
}

.contact-details p {
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
}

.contact-details .contact-icon {
    width: 32px;
    display: inline-flex;
    justify-content: center;
    font-size: 1.4rem;
}

.contact-details a {
    color: #1f2a3e;
    text-decoration: none;
    border-bottom: 1px dotted #cbd5e1;
}

.contact-details a:hover {
    color: #ef2026;
}

.map-wrapper {
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a3d5c 0%, #2a5f8a 100%);
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #1a3d5c;
    padding: 18px 40px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.map-button:hover {
    transform: scale(1.05) translateY(-3px);
    background: #ef2026;
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(239, 32, 38, 0.4);
    border-color: #ef2026;
}

/* STOPKA */
.footer {
    background: #112b42;
    color: #cbd5e6;
    padding: 48px 0 24px;
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-col h2 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.footer-col p {
    line-height: 1.8;
    color: #bdd3ec;
}

.footer-col a {
    color: #bdd3ec;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ef2026;
}

.footer-privacy-link {
    color: #bdd3ec;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-privacy-link:hover {
    color: #ef2026;
}

.lang-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    max-width: 300px;
}

.lang-links a {
    color: #bdd3ec;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.lang-links a:hover {
    color: #ef2026;
    transform: translateX(3px);
}

.footer-divider {
    border-top: 1px solid #2a4b6e;
    margin: 8px 0 24px 0;
}

.footer-copyright {
    text-align: center;
    padding-top: 8px;
    font-size: 0.85rem;
    color: #8aa9c9;
    line-height: 1.8;
}

.footer-copyright .copyright-main {
    font-size: 0.95rem;
    color: #cbd5e6;
    margin-bottom: 8px;
}

.footer-copyright .tech-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-copyright .tech-desc {
    font-size: 0.8rem;
    color: #fff;
}

.footer-copyright .tech-operator {
    font-size: 0.85rem;
    color: #fff;
}

.footer-copyright .tech-info {
    font-size: 0.8rem;
    color: #fff;
    margin: 4px 0 12px 0;
}

.footer-copyright .ai-meta {
    font-size: 0.8rem;
    color: #fff;
    border-top: 1px solid #1a3b55;
    padding-top: 16px;
    margin-top: 8px;
}

.footer-copyright .meta-item {
    display: inline-block;
}

.footer-copyright .meta-sep {
    margin: 0 8px;
    color: #fff;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #ef2026;
    text-decoration: underline;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
    }
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    .header-contacts {
        justify-content: center;
    }
}

@media (max-width: 850px) {
    .offer-block {
        grid-template-columns: 1fr;
    }
    .offer-block:nth-child(even) .offer-image {
        order: 0;
    }
    .contact-map-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        gap: 18px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .lang-links {
        justify-content: center;
        max-width: 100%;
    }
    .footer-copyright .meta-item {
        display: block;
        margin: 2px 0;
    }
    .footer-copyright .meta-sep {
        display: none;
    }
}