/* ==========================================================================
   PT LOCATIONS (KONTAKT) - MAPY NA DOLE KARTY
   ========================================================================== */

.pt-locations-wrap {
    --ptc-navy: #1b2d42;
    --ptc-navy-dark: #101d2a;
    --ptc-ink: #1b2d42;
    --ptc-muted: #64748b;
    --ptc-border: rgba(27, 45, 66, 0.12);
    
    --ptc-bg: #f8fafc;
    --ptc-card: #ffffff;
    --ptc-shadow: 0 20px 45px rgba(27, 45, 66, 0.05);
    --ptc-shadow-hover: 0 25px 50px rgba(27, 45, 66, 0.08);

    --ptc-radius-lg: 20px;
    --ptc-gap: 32px;

    background: var(--ptc-bg);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    color: var(--ptc-ink);
}

.pt-locations-wrap.theme-dark {
    --ptc-bg: #1b2d42;
    --ptc-card: #101d2a;
    --ptc-border: rgba(255, 255, 255, 0.1);
    --ptc-ink: #ffffff;
    --ptc-muted: #94a3b8;
    --ptc-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    --ptc-shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* --- Nagłówki --- */
.pt-locations__title {
    font-family: 'Lora', serif !important;
    font-weight: 600 !important;
    font-size: 38px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ptc-ink);
    margin: 0 0 16px 0;
}

.pt-locations__lead {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    letter-spacing: 0.01em !important;
    font-weight: 400 !important;
    color: var(--ptc-muted);
    margin: 0 0 48px 0;
}

/* --- Lista / Grid lokalizacji --- */
.pt-locations__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ptc-gap);
    align-items: stretch;
}

/* --- Karta Lokalizacji --- */
.pt-location-card {
    background: var(--ptc-card);
    border: 1px solid var(--ptc-border);
    border-radius: var(--ptc-radius-lg);
    overflow: hidden;
    box-shadow: var(--ptc-shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(.16, 1, .3, 1);
}

.pt-location-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ptc-shadow-hover);
    border-color: rgba(27, 45, 66, 0.25);
}

.pt-locations-wrap.theme-dark .pt-location-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

/* --- Zawartość karty --- */
.pt-location-card__content {
    padding: 36px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pt-location-card__title {
    font-family: 'Lora', serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: var(--ptc-ink);
    margin: 0 0 24px 0;
    line-height: 1.25;
}

.pt-location-card__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ptc-muted);
}

.pt-location-card__row a {
    color: var(--ptc-ink);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(27, 45, 66, 0.2);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.pt-locations-wrap.theme-dark .pt-location-card__row a {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.pt-location-card__row a:hover {
    color: #101d2a;
    border-bottom-color: #1b2d42;
}

.pt-locations-wrap.theme-dark .pt-location-card__row a:hover {
    color: #94a3b8;
    border-bottom-color: #ffffff;
}

/* Godziny otwarcia */
.pt-location-card__hours {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pt-location-card__hours li {
    margin-bottom: 4px;
}
.pt-location-card__hours li:last-child {
    margin-bottom: 0;
}

/* Dodatkowe pola customowe */
.pt-location-card__custom {
    list-style: none;
    padding: 0;
    margin: 12px 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: var(--ptc-muted);
}

.pt-location-card__custom strong {
    color: var(--ptc-ink);
    font-weight: 600;
}

.pt-locations-wrap.theme-dark .pt-location-card__custom strong {
    color: #ffffff;
}

/* Ikony */
.pt-ico {
    width: 18px;
    height: 18px;
    stroke: var(--ptc-navy);
    opacity: 0.8;
    flex-shrink: 0;
    margin-top: 3px;
}

.pt-locations-wrap.theme-dark .pt-ico {
    stroke: #ffffff;
}

/* --- Przycisk Booksy / CTA --- */
.pt-location-card__action {
    margin-top: auto;
    padding-top: 24px;
}

.pt-location-card__booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: #1b2d42;
    color: #ffffff;
    transition: all 0.35s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 0 10px 20px rgba(27, 45, 66, 0.06);
}

.pt-locations-wrap.theme-dark .pt-location-card__booking {
    background: #ffffff;
    color: #1b2d42;
}

.pt-location-card__booking:hover {
    background: #101d2a;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(27, 45, 66, 0.12);
}

.pt-locations-wrap.theme-dark .pt-location-card__booking:hover {
    background: #f1f5f9;
}

/* --- Mapa na dole karty --- */
.pt-location-card__map {
    border-top: 1px solid var(--ptc-border);
    background: rgba(0, 0, 0, 0.02);
    position: relative;
    height: 280px;
    width: 100%;
}

.pt-location-card__map iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border: 0;
    filter: saturate(0.95) contrast(1.02);
}

/* ==========================================================================
   RESPONSIVENESS (RWD DLA KONTAKTU)
   ========================================================================== */

@media (max-width: 992px) {
    .pt-locations-wrap {
        padding: 50px 0;
    }

    .pt-locations__title {
        font-size: 32px !important;
    }

    .pt-locations__list {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pt-location-card__content {
        padding: 24px;
    }

    .pt-location-card__title {
        font-size: 24px !important;
    }

    .pt-locations__lead,
    .pt-location-card__row {
        font-size: 16px !important;
        line-height: 1.8 !important;
    }

    .pt-location-card__booking {
        width: 100%;
        box-sizing: border-box;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .pt-location-card__map {
        height: 240px;
    }
}