/* =========================================================
   ROD RELAX MŁAWA
   GŁÓWNY STYLE.CSS
   ========================================================= */


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;

    width: 100%;
    min-width: 0;

    font-family: 'Poppins', sans-serif;

    background: #f7f9f7;
    color: #37474f;

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   HEADER
   ========================================================= */

.main-header {
    position: sticky;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.header-container {
    width: 100%;
    max-width: 1400px;

    min-height: 80px;

    margin: 0 auto;

    padding: 12px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    flex-shrink: 0;
    min-width: 0;
}

.logo a {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #2e7d32 !important;

    font-size: 24px;
    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;
}

.logo-image {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    border-radius: 50%;

    background-image: url('/assets/images/ogrod.jpg');
    background-size: cover;
    background-position: center;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.25);
}

.logo-text {
    display: inline-block;
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 8px;

    margin-left: auto;

    min-width: 0;
}

.main-nav > a,
.nav-dropdown-toggle {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 0 12px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: #37474f;

    font-family: inherit;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.main-nav > a:hover,
.nav-dropdown-toggle:hover {
    color: #2e7d32;

    background:
        rgba(46, 125, 50, 0.08);
}


/* =========================================================
   DROPDOWN - INFORMACJE
   ========================================================= */

.nav-dropdown {
    position: relative;

    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    gap: 7px;

    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 10px;

    transition:
        transform 0.2s ease;
}

.nav-dropdown:hover
.nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 5px);
    left: 50%;

    transform:
        translateX(-50%)
        translateY(-5px);

    min-width: 210px;

    padding: 7px;

    background: #ffffff;

    border:
        1px solid rgba(0, 0, 0, 0.08);

    border-radius: 12px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 10000;
}

.nav-dropdown:hover
.nav-dropdown-menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform:
        translateX(-50%)
        translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;

    width: 100%;

    padding: 11px 13px;

    border-radius: 8px;

    color: #37474f;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease,
        color 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background:
        rgba(46, 125, 50, 0.10);

    padding-left: 18px;

    color: #2e7d32;
}


/* =========================================================
   PANEL DZIAŁKOWCA - DESKTOP
   ========================================================= */

.panel-link {
    background: #2e7d32 !important;

    color: #ffffff !important;

    padding:
        0 18px !important;

    border-radius:
        30px !important;

    box-shadow:
        0 6px 15px rgba(46, 125, 50, 0.25);
}

.panel-link:hover {
    background: #1b5e20 !important;

    color: #ffffff !important;

    transform:
        translateY(-2px);
}


/* =========================================================
   HAMBURGER
   DOMYŚLNIE UKRYTY
   ========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    margin: 0;

    padding: 0;

    border: none;

    border-radius: 10px;

    background:
        rgba(46, 125, 50, 0.10);

    color: #2e7d32;

    font-size: 21px;
}

.mobile-menu-toggle:hover {
    background:
        rgba(46, 125, 50, 0.18);
}


/* =========================================================
   MOBILE NAV
   DOMYŚLNIE CAŁKOWICIE UKRYTE
   ========================================================= */

.mobile-nav {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;

    height: 700px;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius:
        0 0 20px 20px;

    isolation: isolate;
}


/* =========================================================
   SLIDER
   ========================================================= */

.hero-slider {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 0;
}

.hero-slide,
.hero-bg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

    opacity: 0;

    transition:
        opacity 1s ease;

    z-index: 0;
}

.hero-slide.active,
.hero-bg.active {
    opacity: 1;
}


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            rgba(20, 45, 25, 0.40),
            rgba(20, 45, 25, 0.68)
        );

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 3;

    width: 100%;
    max-width: 1100px;

    padding: 30px;

    color: #ffffff;

    text-align: center;
}

.hero h1 {
    margin:
        0 0 20px;

    font-size: 60px;

    line-height: 1.1;

    font-weight: 700;

    color: #ffffff;

    text-shadow:
        0 5px 15px rgba(0, 0, 0, 0.4);
}

.hero p {
    margin:
        0 0 40px;

    font-size: 22px;

    line-height: 1.7;

    color: #ffffff;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding:
        15px 28px;

    border-radius:
        50px;

    background: #ffffff;

    color: #2e7d32;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.hero-btn:hover {
    transform:
        translateY(-3px);
}

.hero-main {
    background: #2e7d32;

    color: #ffffff;
}

.hero-main:hover {
    background: #1b5e20;

    color: #ffffff;
}


/* =========================================================
   STRZAŁKI SLIDERA
   ========================================================= */

.hero-slider-btn {
    position: absolute;

    top: 50%;

    transform:
        translateY(-50%);

    z-index: 6;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background:
        rgba(0, 0, 0, 0.40);

    color: #ffffff;

    font-size: 18px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hero-slider-btn:hover {
    background:
        rgba(46, 125, 50, 0.90);

    transform:
        translateY(-50%)
        scale(1.08);
}

.hero-slider-prev {
    left: 25px;
}

.hero-slider-next {
    right: 25px;
}


/* =========================================================
   KROPKI SLIDERA
   ========================================================= */

.hero-slider-dots {
    position: absolute;

    bottom: 22px;

    left: 50%;

    transform:
        translateX(-50%);

    z-index: 7;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;

    padding: 0;

    border:
        2px solid #ffffff;

    border-radius: 50%;

    background: transparent;

    opacity: 0.70;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

.hero-slider-dot:hover {
    opacity: 1;
}

.hero-slider-dot.active {
    background: #ffffff;

    opacity: 1;

    transform:
        scale(1.25);
}


/* =========================================================
   SEKCJE
   ========================================================= */

.section {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding:
        30px 20px;
}

.section-title {
    margin:
        0 auto 35px;

    text-align: center;

    font-size: 42px;

    line-height: 1.2;

    font-weight: 800;

    color: #263238;
}

.section-title::after {
    content: "";

    display: block;

    width: 200px;
    height: 5px;

    margin:
        18px auto 0;

    background: #2e7d32;

    border-radius: 20px;
}


/* =========================================================
   GRID KAFELKÓW
   ========================================================= */

.posts-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 35px;

    width: 100%;
}


/* =========================================================
   KARTA POSTA
   ========================================================= */

.post-card {
    width: 100%;
    min-width: 0;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    display: flex;

    flex-direction: column;

    min-height: 200px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.post-card:hover {
    transform:
        translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   ZDJĘCIE POSTA
   ========================================================= */

.post-card-image {
    width: 100%;

    height: 220px;

    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.post-card:hover
.post-card-image img {
    transform:
        scale(1.08);
}


/* =========================================================
   TREŚĆ POSTA
   ========================================================= */

.post-card-content {
    padding: 25px;

    display: flex;

    flex-direction: column;

    flex: 1;

    min-width: 0;
}

.post-date {
    margin-bottom: 12px;

    font-size: 13px;

    color: #78909c;
}

.post-card h3 {
    margin:
        10px 0;

    font-size: 21px;

    line-height: 1.3;
}

.post-card h3 a {
    color: #263238;
}

.post-card h3 a:hover {
    color: #2e7d32;
}

.post-card p {
    margin:
        0 0 20px;

    font-size: 15px;

    line-height: 1.6;

    color: #546e7a;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   READ MORE
   ========================================================= */

.read-more {
    margin-top: auto;

    width: max-content;
    max-width: 100%;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        8px 16px;

    border-radius:
        30px;

    background: #2e7d32;

    color: #ffffff !important;

    font-size: 14px;

    font-weight: 600;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.read-more:hover {
    background: #1b5e20;

    transform:
        translateY(-2px);
}


/* =========================================================
   PORTAL STATS
   ========================================================= */

.portal-stats {
    width: 100%;
    max-width: 1500px;

    margin:
        30px auto 70px;

    padding:
        0 25px;

    position: relative;

    z-index: 20;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}

.portal-stat {
    min-width: 0;

    background: #ffffff;

    border-radius: 22px;

    padding: 35px;

    text-align: center;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.portal-stat:hover {
    transform:
        translateY(-8px);

    box-shadow:
        0 20px 45px rgba(46, 125, 50, 0.20);
}

.stat-icon {
    margin-bottom: 15px;

    font-size: 42px;
}

.stat-number {
    margin-bottom: 10px;

    font-size: 40px;

    line-height: 1;

    font-weight: 700;

    color: #2e7d32;
}

.stat-title {
    color: #607d8b;

    font-size: 16px;

    font-weight: 600;
}


/* =========================================================
   PORTAL
   ========================================================= */

.portal-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding:
        50px 40px;
}

.portal-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 30px;
}

.portal-card {
    min-width: 0;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    display: flex;

    flex-direction: column;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.portal-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15);
}

.portal-card-content {
    padding: 25px;
}

.portal-card h3 {
    margin:
        0 0 15px;

    font-size: 22px;
}

.portal-card p {
    margin: 0;

    color: #546e7a;

    line-height: 1.6;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.portal-card img {
    width: 100%;

    height: 220px;

    display: block;

    object-fit: cover;
}


/* =========================================================
   SZCZEGÓŁY POSTA / DOKUMENTU
   ========================================================= */

.post-content {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 40px;

    background: #ffffff;

    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);

    overflow: hidden;
}

.post-content h1 {
    margin:
        20px 0;

    font-size: 36px;

    line-height: 1.2;

    color: #263238;
}

.post-content img {
    max-width: 100%;
    height: auto;

    border-radius: 15px;

    margin:
        20px 0;
}

.article-text {
    margin-top: 25px;

    font-size: 17px;

    line-height: 1.8;

    color: #455a64;

    overflow-wrap: break-word;

    word-wrap: break-word;

    word-break: break-word;

    white-space: normal;
}

.article-text p {
    margin:
        0 0 15px;
}

.article-text img {
    max-width: 100%;
    height: auto;

    border-radius: 12px;
}

.article-text a {
    word-break: break-all;
}


/* =========================================================
   POST IMAGE
   ========================================================= */

.post-image {
    width: 100%;

    overflow: hidden;

    border-radius: 20px;
}

.post-image img {
    width: 100%;

    max-height: 450px;

    display: block;

    object-fit: cover;
}


/* =========================================================
   PAGINACJA
   ========================================================= */

.pagination {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin:
        40px 0;
}

.pagination a {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #ffffff;

    color: #2e7d32;

    font-weight: 600;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);
}

.pagination .active,
.pagination a:hover {
    background: #2e7d32;

    color: #ffffff;
}


/* =========================================================
   WAŻNE OGŁOSZENIE
   ========================================================= */

.important-box {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 30px;

    background:
        linear-gradient(
            135deg,
            #fff8e1,
            #ffffff
        );

    border-left:
        6px solid #ff9800;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}

.important-icon {
    flex-shrink: 0;

    font-size: 60px;
}

.important-box h3 {
    margin: 0;

    font-size: 28px;
}

.important-box p {
    margin:
        10px 0;
}

.important-box a {
    color: #2e7d32;

    font-weight: 600;

    text-decoration: none;
}


/* =========================================================
   KALENDARZ
   ========================================================= */

.event-date {
    margin-bottom: 15px;

    font-size: 32px;

    font-weight: 700;

    color: #2e7d32;
}

.event-type {
    display: inline-block;

    margin-top: 20px;

    padding:
        8px 14px;

    background: #e8f5e9;

    color: #2e7d32;

    border-radius: 20px;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   DOKUMENTY
   ========================================================= */

.document-category {
    margin-top: 15px;

    color: #607d8b;
}

.document-actions {
    display: flex;

    align-items: center;

    gap: 15px;

    flex-wrap: wrap;
}


/* =========================================================
   KONTAKT
   ========================================================= */

.contact-info-box {
    width: 100%;

    padding: 40px;

    background: #ffffff;

    border-radius: 22px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);

    text-align: center;
}

.contact-info-box h1 {
    margin:
        0 0 20px;

    font-size: 28px;

    color: #2e7d32;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 25px;
}

.contact-card {
    min-width: 0;

    padding: 30px;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
    margin:
        0 0 15px;

    font-size: 21px;

    color: #2e7d32;
}

.contact-card p {
    color: #546e7a;

    font-size: 16px;
}

.contact-phone {
    font-size: 18px !important;

    font-weight: 600;

    color: #263238 !important;
}

.contact-phone i {
    margin-right: 8px;

    color: #2e7d32;
}


/* =========================================================
   OPŁATY
   ========================================================= */

.fees-section {
    padding:
        40px 20px 60px;
}

.fees-container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}

.fees-description {
    margin:
        -15px 0 35px;

    text-align: center;

    color: #777;

    font-size: 16px;
}

.fees-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.fee-card {
    padding: 25px;

    margin: 0;
}

.fee-card-content {
    width: 100%;
}

.fee-name {
    margin:
        0 0 12px;

    font-size: 18px;

    font-weight: 600;
}

.fee-value {
    font-size: 28px;

    font-weight: 700;

    color: #0b5c2c;
}

.fee-value span {
    margin-left: 4px;

    font-size: 15px;

    font-weight: 500;

    color: #777;
}

.fee-info {
    margin-top: 30px;

    padding: 25px;
}

.fee-info h3 {
    margin-top: 0;

    margin-bottom: 10px;
}

.fee-info p {
    margin: 0;

    line-height: 1.6;
}


/* =========================================================
   STOPKA
   ========================================================= */

footer {
    margin-top: 60px;

    padding: 35px;

    background: #1b5e20;

    color: #ffffff;

    text-align: center;
}


/* =========================================================
   TABELE
   ========================================================= */

table {
    max-width: 100%;
}

th,
td {
    overflow-wrap: break-word;
}


/* =========================================================
   TABLETY
   ========================================================= */

@media (max-width: 1200px) {

    .header-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-nav {
        gap: 3px;
    }

    .main-nav > a,
    .nav-dropdown-toggle {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 14px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .posts-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .portal-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TELEFONY
   ========================================================= */

@media (max-width: 900px) {

    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .main-header {
        position: sticky;

        top: 0;

        z-index: 9999;
    }

    .header-container {
        min-height: 70px;

        padding:
            8px 15px;

        gap: 10px;
    }


    /* LOGO */

    .logo {
        min-width: 0;

        max-width:
            calc(100% - 55px);
    }

    .logo a {
        max-width: 100%;

        font-size: 20px;
    }

    .logo-image {
        width: 48px;
        height: 48px;
    }

    .logo-text {
        min-width: 0;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }


    /* -----------------------------------------------------
       DESKTOP MENU - ABSOLUTNIE UKRYTE
       ----------------------------------------------------- */

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


    /* -----------------------------------------------------
       HAMBURGER
       ----------------------------------------------------- */

    .mobile-menu-toggle {
        display: flex !important;

        margin-left: auto;
    }


    /* -----------------------------------------------------
       MENU MOBILNE
       ----------------------------------------------------- */

    .mobile-nav {
        position: absolute;

        top: calc(100% + 6px);

        left: 10px;
        right: 10px;

        display: none !important;

        flex-direction: column;

        gap: 3px;

        padding: 8px;

        background: #ffffff;

        border:
            1px solid rgba(0, 0, 0, 0.08);

        border-radius: 14px;

        box-shadow:
            0 12px 35px rgba(0, 0, 0, 0.20);

        z-index: 10000;
    }

    .mobile-nav.active {
        display: flex !important;
    }

    .mobile-nav a {
        display: flex;

        align-items: center;

        width: 100%;

        min-height: 45px;

        padding:
            11px 14px;

        border-radius: 9px;

        color: #37474f;

        font-size: 15px;

        font-weight: 500;

        text-decoration: none;

        transition:
            background 0.2s ease,
            color 0.2s ease;
    }

    .mobile-nav a:hover {
        background:
            rgba(46, 125, 50, 0.10);

        color: #2e7d32;
    }

    .mobile-nav .mobile-panel-link {
        justify-content: center;

        margin-top: 5px;

        background: #2e7d32;

        color: #ffffff;

        font-weight: 600;
    }

    .mobile-nav .mobile-panel-link:hover {
        background: #1b5e20;

        color: #ffffff;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        height: 500px;

        min-height: 500px;

        border-radius:
            0 0 15px 15px;
    }

    .hero-content {
        width: 100%;

        padding:
            30px 20px;
    }

    .hero h1 {
        margin-bottom: 15px;

        font-size:
            clamp(30px, 8vw, 48px);
    }

    .hero p {
        margin-bottom: 30px;

        font-size:
            clamp(14px, 3.5vw, 18px);

        line-height: 1.6;
    }

    .hero-slider-btn {
        width: 42px;
        height: 42px;

        font-size: 15px;
    }

    .hero-slider-prev {
        left: 10px;
    }

    .hero-slider-next {
        right: 10px;
    }


    /* -----------------------------------------------------
       STATYSTYKI
       ----------------------------------------------------- */

    .portal-stats {
        margin:
            30px auto 50px;

        padding:
            0 15px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .portal-stat {
        padding:
            20px 12px;
    }

    .stat-icon {
        margin-bottom: 8px;

        font-size: 30px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-title {
        font-size: 13px;
    }


    /* -----------------------------------------------------
       SEKCJE
       ----------------------------------------------------- */

    .section {
        padding:
            25px 15px;
    }

    .section-title {
        margin-bottom: 25px;

        font-size:
            clamp(25px, 7vw, 34px);
    }

    .section-title::after {
        width: 140px;

        height: 4px;
    }


    /* -----------------------------------------------------
       KARTY
       ----------------------------------------------------- */

    .posts-grid {
        grid-template-columns:
            1fr;

        gap: 20px;
    }

    .post-card {
        width: 100%;
    }

    .post-card-image {
        height: 210px;
    }


    /* -----------------------------------------------------
       PORTAL GRID
       ----------------------------------------------------- */

    .portal-container {
        padding:
            30px 15px;
    }

    .portal-grid {
        grid-template-columns:
            1fr;

        gap: 20px;
    }


    /* -----------------------------------------------------
       KONTAKT
       ----------------------------------------------------- */

    .contact-grid {
        grid-template-columns:
            1fr;

        gap: 18px;
    }

    .contact-info-box {
        padding: 25px;
    }


    /* -----------------------------------------------------
       POST / DOKUMENT
       ----------------------------------------------------- */

    .post-content {
        padding: 25px 20px;

        border-radius: 16px;
    }

    .post-content h1 {
        font-size: 28px;
    }

    .article-text {
        font-size: 16px;
    }


    /* -----------------------------------------------------
       OGŁOSZENIA
       ----------------------------------------------------- */

    .important-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 22px;

        gap: 15px;
    }

    .important-icon {
        font-size: 42px;
    }

    .important-box h3 {
        font-size: 23px;
    }


    /* -----------------------------------------------------
       OPŁATY
       ----------------------------------------------------- */

    .fees-section {
        padding:
            30px 15px 50px;
    }

    .fees-grid {
        grid-template-columns:
            1fr;
    }


    /* -----------------------------------------------------
       DOKUMENT ACTIONS
       ----------------------------------------------------- */

    .document-actions {
        flex-direction: column;

        align-items: stretch;
    }


    /* -----------------------------------------------------
       TABELKI
       ----------------------------------------------------- */

    table {
        display: block;

        width: 100%;

        max-width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }


    /* -----------------------------------------------------
       OBRAZY
       ----------------------------------------------------- */

    img {
        max-width: 100%;
    }
}


/* =========================================================
   MAŁE TELEFONY
   ========================================================= */

@media (max-width: 480px) {

    .header-container {
        min-height: 62px;

        padding:
            7px 10px;
    }

    .logo a {
        font-size: 18px;

        gap: 8px;
    }

    .logo-image {
        width: 44px;
        height: 44px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;

        font-size: 20px;
    }

    .mobile-nav {
        left: 7px;
        right: 7px;
    }


    /* HERO */

    .hero {
        height: 430px;

        min-height: 430px;
    }

    .hero-content {
        padding:
            25px 15px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 14px;

        line-height: 1.55;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-btn {
        width: 100%;

        max-width: 320px;
    }

    .hero-slider-btn {
        width: 36px;
        height: 36px;

        font-size: 13px;
    }

    .hero-slider-prev {
        left: 7px;
    }

    .hero-slider-next {
        right: 7px;
    }

    .hero-slider-dots {
        bottom: 12px;
    }


    /* STATYSTYKI */

    .portal-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;

        padding:
            0 10px;
    }

    .portal-stat {
        padding:
            15px 6px;
    }

    .stat-icon {
        font-size: 25px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-title {
        font-size: 11px;
    }


    /* SEKCJE */

    .section-title {
        font-size: 25px;
    }


    /* KARTY */

    .post-card-image {
        height: 190px;
    }

    .post-card-content {
        padding: 20px;
    }


    /* POST */

    .post-content {
        padding:
            20px 15px;
    }

    .post-content h1 {
        font-size: 24px;
    }

    .article-text {
        font-size: 15px;
    }


    /* KONTAKT */

    .contact-info-box {
        padding: 20px 15px;
    }


    /* FOOTER */

    footer {
        padding:
            25px 15px;
    }
}

/* ==========================================
   HERO + STATYSTYKI — DESKTOP
   ========================================== */

@media (min-width: 901px) {

    .hero {
        height: clamp(560px, 68vh, 750px);
    }

    .hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .portal-stats {
        margin: 30px auto 70px;
    }

}

/* ==========================================
   NAPRAWA DROPDOWN „INFORMACJE”
   ========================================== */

@media (min-width: 901px) {

    .main-nav .nav-dropdown {
        position: relative;
        height: 44px;
        display: flex;
        align-items: center;
    }

    .main-nav .nav-dropdown-toggle {
        height: 44px;
        padding: 0 15px;
        border: 0;
        background: transparent;
        cursor: pointer;
        white-space: nowrap;
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .main-nav .nav-dropdown-menu {
        position: absolute;

        /* Ważne — menu zaczyna się praktycznie
           bezpośrednio pod przyciskiem */
        top: 100%;
        left: 50%;

        transform: translateX(-50%) translateY(5px);

        min-width: 210px;
        padding: 8px;

        background: #fff;
        border: 1px solid rgba(0,0,0,.08);
        border-radius: 12px;

        box-shadow: 0 12px 30px rgba(0,0,0,.15);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity .18s ease,
            transform .18s ease,
            visibility .18s ease;

        z-index: 99999;
    }

    /*
       Niewidzialny obszar nad menu.
       Dzięki niemu kursor nie „wypada”
       pomiędzy przyciskiem a dropdownem.
    */
    .main-nav .nav-dropdown-menu::before {
        content: "";
        position: absolute;

        top: -12px;
        left: 0;
        right: 0;

        height: 12px;

        background: transparent;
    }

    .main-nav .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateX(-50%) translateY(0);
    }

    .main-nav .nav-dropdown-menu a {
        display: flex;
        align-items: center;

        width: 100%;

        padding: 11px 13px;

        border-radius: 8px;

        color: #37474f;
        text-decoration: none;

        white-space: nowrap;

        transition:
            background .18s ease,
            color .18s ease,
            padding-left .18s ease;
    }

    .main-nav .nav-dropdown-menu a:hover {
        background: rgba(46,125,50,.10);
        color: #2e7d32;

        padding-left: 18px;
    }

    .main-nav .nav-dropdown-toggle i {
        transition: transform .2s ease;
    }

    .main-nav .nav-dropdown:hover .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }

}

/* ==========================================
   UJEDNOLICENIE LINKÓW DROPDOWN „INFORMACJE”
   ========================================== */

@media (min-width: 901px) {

    .main-nav .nav-dropdown-menu a,
    .main-nav .nav-dropdown-menu a:visited,
    .main-nav .nav-dropdown-menu a:hover,
    .main-nav .nav-dropdown-menu a:active {

        display: flex;
        align-items: center;

        width: 100%;
        min-height: 42px;

        margin: 0;
        padding: 10px 13px;

        box-sizing: border-box;

        border-radius: 8px;

        background: transparent;

        color: #37474f !important;

        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;

        text-decoration: none !important;

        white-space: nowrap;

        transform: none;
    }

    .main-nav .nav-dropdown-menu a:hover {

        background: rgba(46, 125, 50, .10);

        color: #2e7d32 !important;

        padding: 10px 13px;
    }

}