/* RESET I CZCIONKI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* BRANDOWE KOLORY */
:root {
    --brand-blue: #0056b3;
    --brand-blue-dark: #1c2541;
    --brand-red: #d90429;
    --brand-red-dark: #b1001e;
    --brand-blue-light: #f0f5fa;
    --brand-text-light: #E2E8F0;
}

/* SPÓJNOŚĆ IKON CHECKMARK - ZMIANA NA NIEBIESKI BRANDOWY */
.fa-circle-check {
    color: var(--brand-blue) !important;
}

/* MNIJSZE NAGŁÓWKI, PODTYTUŁY I IKONY W KARTACH USŁUG - NIEBIESKI BRANDOWY */
h3, h4, h5, h6 {
    color: var(--brand-blue-dark);
}

.about-text-content h3 {
    color: var(--brand-blue-dark);
}

.stat-box .icon {
    color: var(--brand-blue);
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #f8f9fa;
    color: #333;
    font-size: 16px;
}

/* CZCIONKA MONTSERRAT DLA NAWIGACJI I PRZYCISKÓW */
.top-bar,
.nav-menu,
.dropdown-menu,
.btn-appointment,
.btn-more,
.btn-gallery,
.nav-menu > ul > li > a,
button,
input[type="submit"] {
    font-family: 'Montserrat', sans-serif !important;
}

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

/* GÓRNA BELKA KONTAKTOWA */
.top-bar {
    background-color: #0b132b;
    color: #ffffff;
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-items {
    display: flex;
    align-items: center;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.info-item i {
    color: #d90429;
    font-size: 15px;
}

.info-item a {
    color: #ffffff;
    text-decoration: none;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #d90429;
}

/* NAWIGACJA GŁÓWNA */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1000;
}

.header-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.logo-img,
.logo img {
    height: 85px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center center;
}

.logo-img:hover,
.logo img:hover {
    transform: scale(1.05);
}

.header-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.nav-menu {
    grid-column: 2 / 5;
}

/* NAWIGACJA DESKTOP */
.nav-menu > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu li {
    position: relative;
}

.nav-menu > ul > li > a {
    text-decoration: none;
    color: #1c2541;
    font-weight: 700;
    font-size: 20px;
    padding: 14px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s ease;
}

.nav-menu > ul > li > a:hover {
    color: #d90429;
    transform: scale(1.05);
}

/* PRZYCISKI WIDOCZNOŚCI RESPONSYWNEJ */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #0b132b;
    cursor: pointer;
    padding: 8px 10px;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
    color: #d90429;
    outline: none;
}

.mobile-only-btn {
    display: none;
}

.desktop-only-btn {
    display: inline-block;
}

/* DROPDOWN MENU */
.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 240px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 10px 0;
    border-top: 4px solid #d90429;
    list-style: none;
    z-index: 999;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: #333;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    transform: none !important;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #d90429;
}

.dropdown:hover > .dropdown-menu {
    display: block !important;
}

/* PRZYCISKI GŁÓWNE */
.btn-appointment,
.btn-more {
    display: inline-block;
    background-color: #d90429;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    padding: 14px 26px;
    transition: all 0.3s ease;
}

.btn-appointment:hover,
.btn-more:hover {
    background-color: #b1001e;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.35);
    transform: translateY(-2px);
}

/* Przycisk z menu mobilnego nie może nadpisywać się regułą .btn-appointment */
.btn-appointment.mobile-only-btn {
    display: none;
}

.btn-appointment.mobile-only-btn:hover {
    background-color: #b1001e;
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.35);
    transform: translateY(-2px);
}

.btn-gallery {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    padding: 10px 30px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-gallery:hover {
    background-color: #ffffff;
    color: #0b132b;
    transform: scale(1.06);
}

/* HERO SECTION */
.hero-section {
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 110px 0;
}

.hero-content {
    display: flex;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 22px;
    font-weight: 800;
    min-height: 100px; 
    display: block;
    overflow: visible;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #e0e1dd;
}

/* PASEK GALERII */
.gallery-bar {
    background-color: #0b132b;
    color: #fff;
    padding: 25px 0;
}

.gallery-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-content h2 {
    font-size: 24px;
    font-weight: 600;
    position: relative;
    margin-bottom: 15px;
}

.gallery-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
    margin: 10px auto 0;
}

/* SEKCJA STATYSTYK */
.stats-section {
    padding: 80px 20px;
    text-align: center;
}

/* ALTERNATYWNE TŁO DLA SEKCJI - DELIKATNY NIEBIESKAWY */
section.alt-bg {
    background-color: var(--brand-blue-light);
}

.section-title {
    font-size: 36px;
    color: #1c2541;
    font-weight: 700;
    position: relative;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
    margin: 10px auto 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-box {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    flex: 1;
    min-width: 250px;
}

.stat-box .icon {
    font-size: 42px;
    color: #d90429;
    margin-bottom: 20px;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #0b132b;
}

.stat-box p {
    color: #555;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
}

/* SLIDER OPINII */
.slider-section {
    background-color: #eaeaea;
    padding: 80px 0;
    text-align: center;
}

.swiper {
    max-width: 800px;
    padding: 40px 20px !important;
}

.review-text {
    font-size: 20px;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.review-author {
    color: #d90429;
    font-size: 16px;
    font-weight: 700;
}

/* BANNER DLA PODSTRON */
.page-header {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    position: relative;
    margin-bottom: 20px;
}

.page-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-blue);
    margin: 10px auto 0;
}

.page-content {
    padding: 60px 0;
    background-color: #ffffff;
}

/* PEŁNOEKRANOWA SEKCJA GALERII COVERFLOW */
.gallery-section {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-controls-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.btn-toggle-view {
    background-color: transparent;
    color: #1c2541;
    border: 2px solid #1c2541;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-toggle-view:hover {
    background-color: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}

.gallery-swiper {
    width: 100% !important;
    height: 75vh !important;
    padding: 20px 0 !important;
    overflow: visible !important;
}

.gallery-swiper .swiper-slide {
    width: 55vw !important;
    max-width: 800px;
    height: 100% !important;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 0 !important;
    margin: 0;
    border: none;
    opacity: 0.35;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-swiper .swiper-slide-active {
    opacity: 1 !important;
}

.gallery-swiper .swiper-slide-next,
.gallery-swiper .swiper-slide-prev {
    opacity: 0.7 !important;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: auto;
    background: none !important;
    padding: 0;
    margin: 0;
    pointer-events: none;
    z-index: 10;
}

.slide-caption .typed-target {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px  2px 8px rgba(0, 0, 0, 0.8);
    -webkit-text-stroke: 0;
}

.typed-cursor {
    color: #d90429;
    font-weight: 800;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    -webkit-text-stroke: 0;
}

/* Półprzezroczyste kółka pod strzałkami galerii */
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.5) !important; /* 50% krycia */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(3px); /* subtelne rozmycie tła pod kółkiem */
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

/* Efekt po najechaniu myszką (Hover) */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.65) !important; /* 65% krycia */
    transform: scale(1.08) !important; /* Delikatne powiększenie */
}

/* Wyśrodkowanie i rozmiar czerwonej strzałki wewnątrz kółka */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    color: #d90429 !important; /* Czerwony kolor marki */
    font-weight: bold;
}

/* Wyśrodkowanie i baza dla obu przycisków */
.swiper-button-prev,
.swiper-button-next {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Korekta optyczna LEWEJ strzałki (przesunięcie w lewo) */
.swiper-button-prev::after {
    transform: translateX(-2px) !important;
}

/* Korekta optyczna PRAWEJ strzałki (przesunięcie w prawo) */
.swiper-button-next::after {
    transform: translateX(2px) !important;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: #d90429;
}

/* WIDOK SIATKI (EFEKT GALERII) */
.gallery-section.grid-mode-active {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    padding: 60px 0 !important;
}

.gallery-swiper.grid-mode {
    padding: 0 !important;
    height: auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto;
    overflow: visible !important;
}

.gallery-swiper.grid-mode .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px;
    transform: none !important;
    width: 100% !important;
}

.gallery-swiper.grid-mode .swiper-slide {
    width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    background-color: #0b132b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-swiper.grid-mode .swiper-slide:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.gallery-swiper.grid-mode .swiper-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.gallery-swiper.grid-mode .slide-caption {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    padding: 14px 15px;
    background-color: #0b132b !important;
    text-align: center;
    box-sizing: border-box;
}

.gallery-swiper.grid-mode .slide-caption .typed-target {
    font-size: 15px !important;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.gallery-swiper.grid-mode .swiper-pagination,
.gallery-swiper.grid-mode .swiper-button-next,
.gallery-swiper.grid-mode .swiper-button-prev {
    display: none !important;
}

/* LIGHTBOX */
.image-modal {
    display: none; 
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content-wrapper > img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.modal-thumbnails[hidden] {
    display: none;
}

.modal-thumbnail {
    width: 84px;
    height: 64px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-caption {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #888888;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 100000;
}

.modal-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* MAPA */
.mapa-kontener {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mapa-kontener iframe {
    pointer-events: none;
    filter: grayscale(80%) invert(90%) hue-rotate(180deg) saturate(300%) contrast(130%);
    transition: filter 0.4s ease;
    width: 100%;
    display: block;
}

.mapa-nakladka {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.mapa-kontener:hover .mapa-nakladka {
    opacity: 0;
    pointer-events: none;
}

.mapa-kontener:hover iframe {
    filter: grayscale(0%) invert(0%) hue-rotate(0deg) saturate(100%) contrast(100%);
    pointer-events: auto;
}

/* FOOTER */
.site-footer {
    background: #0b1c2c;
    color: var(--brand-text-light);
    padding: 60px 0 50px;
    font-family: 'Montserrat', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr;
    gap: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color:white;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.footer-title .title-bar {
    display: inline-block;
    width: 4px;
    height: 22px;
    background: #d90429;
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--brand-text-light);
}

.footer-list li i {
    color: var(--brand-blue);
    font-size: 16px;
    width: 18px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-list a {
    color: #e8eef5;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: var(--brand-blue);
}

.footer-list.links li {
    margin-bottom: 12px;
}

.footer-list.links a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-list.links i {
    font-size: 11px;
    color: var(--brand-blue);
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: var(--brand-text-light);
}

/* ===== REGUŁY RESPONSYWNOŚCI (RWD) ===== */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    /* Górna belka na wąskich ekranach */
    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    .info-items .info-hours,
    .info-items .info-email,
    .info-items .info-wa {
        display: none;
    }
    .info-items {
        gap: 10px;
    }
    .top-bar-content {
        gap: 12px;
    }

    body.nav-open {
        overflow: hidden;
    }

    /* Nagłówek: logo + hamburger */
    .header-content {
        display: flex;
        justify-content: space-between;
        height: 72px;
        gap: 12px;
    }
    .logo {
        justify-content: flex-start;
    }
    .logo-img,
    .logo img {
        height: 52px;
        max-width: min(180px, 55vw);
    }

    .header-actions {
        display: flex;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .nav-menu {
        grid-column: auto;
    }

    /* Wysuwane menu pod belką nagłówka */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 12px 24px rgba(11, 19, 43, 0.14);
        padding: 12px 20px 24px;
        border-top: 3px solid #d90429;
        z-index: 999;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu > ul {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 0;
        align-items: stretch;
        margin-bottom: 16px;
    }
    .nav-menu > ul > li > a {
        font-size: 18px;
        padding: 14px 8px;
        display: block;
        transform: none;
        border-bottom: 1px solid rgba(11, 19, 43, 0.08);
    }
    .nav-menu > ul > li:last-child > a {
        border-bottom: none;
    }
    .nav-menu > ul > li > a:hover {
        transform: none;
        color: #d90429;
    }
    .btn-appointment.mobile-only-btn {
        display: block;
        text-align: center;
        width: 100%;
        padding: 14px 26px;
    }
}

@media (max-width: 768px) {
    .hero-text .typed-text-wrap {
        display: block;
        height: 2.6em;
        line-height: 1.3;
        overflow: hidden;
    }

    /* Galeria w trybie siatki mobilnej */
    .gallery-swiper.grid-mode .swiper-wrapper {
        grid-template-columns: 1fr !important;
    }

    /* DOPASOWANIE SLAJDERA I KART */
    .gallery-swiper .swiper-slide {
        width: 88% !important;
        margin: 0 auto !important;
    }

    /* TEKST NA KARTACH */
    .slide-caption .typed-target {
        font-size: 18px !important;
        line-height: 1.3 !important;
        padding: 15px !important;
    }

    /* POZYCJONOWANIE STRZAŁEK NAWIGACYJNYCH */
    .swiper-button-next,
    .swiper-button-prev {
        width: 38px !important;
        height: 38px !important;
    }

    .swiper-button-prev {
        left: 5px !important;
    }

    .swiper-button-next {
        right: 5px !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px !important;
    }

    /* PRZYCISK PRZEŁĄCZANIA WIDOKU */
    .gallery-controls-wrapper {
        justify-content: center !important;
    }

    .btn-toggle-view {
        display: block;
        margin: 0 auto 15px auto;
        text-align: center;
    }

    /* PAGINACJA (KROPKI) */
    .swiper-pagination {
        margin-top: 15px !important;
    }

    /* POZYCJONOWANIE KARTY WŁAŚCICIELA W SEKCJI O NAS */
    .about-owner-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 auto 20px auto !important;
        left: 0 !important;
        transform: none !important;
    }

    .about-owner-card > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }

    .about-owner-card > div > img {
        width: 100% !important;
        height: auto !important;
        border-radius: 12px !important;
    }

    .about-owner-card > div > span {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
        padding: 0 5px !important;
    }
}

@media (max-width: 480px) {
    .social-icons {
        display: none;
    }
    .top-bar-content {
        justify-content: center;
    }
    .header-content {
        height: 64px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .logo-img,
    .logo img {
        height: 44px;
        max-width: min(150px, 52vw);
    }
    .mobile-nav-toggle {
        font-size: 24px;
        padding: 6px 4px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.about-owner-card > div > img{
    display: initial !important;
}