/* Locations 2026: shared visual language for hub and all three details. */
body.pptp-location-2026 {
  --location-navy: #003e7e;
  --location-deep: #062e66;
  --location-blue: #087cf0;
  --location-cyan: #0aaee8;
  --location-pink: #ed1878;
  --location-text: #26364b;
  --location-muted: #5e6d80;
  --location-line: #d9e4ef;
  --location-pale: #eef7ff;
  color: var(--location-text);
  background: #fff;
}

body.pptp-location-2026 .pptp-2026-icon {
  width: 30px;
  height: 30px;
  display: block;
}

body.pptp-location-2026 .pptp-2026-icon__primary {
  stroke: currentColor;
}

body.pptp-location-2026 .pptp-2026-icon__accent,
body.pptp-location-2026 .pptp-2026-icon__accent-fill {
  stroke: var(--location-pink);
}

/* Detail hero */
.location-detail-hero {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(2, 32, 73, 0.97) 0%, rgba(3, 48, 98, 0.9) 34%, rgba(3, 50, 102, 0.58) 67%, rgba(3, 50, 102, 0.26) 100%),
    var(--location-hero);
  background-position: center, center 48%;
  background-size: cover;
}

.location-detail-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 62, 126, 0.16), transparent 58%);
  content: "";
  pointer-events: none;
}

.location-detail-hero__inner {
  position: relative;
  z-index: 1;
  padding: 30px 26px;
}

.location-detail-hero h1 {
  max-width: 720px;
  margin: 0 0 12px;
  color: var(--location-cyan);
  font-size: clamp(30px, 2.65vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.location-detail-hero p {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(16px, 1.28vw, 21px);
  font-weight: 700;
  line-height: 1.42;
}

.location-breadcrumbs {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
  color: #5a6980;
  font-size: 13px;
  line-height: 1.4;
}

.location-breadcrumbs a {
  color: var(--location-navy);
  text-decoration: none;
}

.location-breadcrumbs a:hover {
  color: var(--location-pink);
}

/* Detail composition copied from the approved Za Bramką frame. */
.location-detail-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(20px, 2.8vw, 42px);
  padding: 0 10px 42px;
}

.location-detail-copy {
  min-width: 0;
  padding: 18px clamp(22px, 2.2vw, 34px) 0 0;
  border-right: 1px solid var(--location-line);
}

.location-detail-copy h2 {
  position: relative;
  margin: 0 0 25px;
  padding-bottom: 14px;
  color: var(--location-navy);
  font-size: clamp(26px, 2.15vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.012em;
}

.location-detail-copy h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--location-pink);
  content: "";
}

.location-detail-copy__intro p {
  margin: 0 0 13px;
  color: #516075;
  font-size: 14px;
  line-height: 1.58;
}

.location-detail-copy h3 {
  margin: 27px 0 15px;
  color: var(--location-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.location-info-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-info-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  color: #53657e;
  font-size: 13px;
  line-height: 1.48;
}

.location-info-list__icon {
  color: var(--location-navy);
}

.location-info-list__icon .pptp-2026-icon {
  width: 26px;
  height: 26px;
}

.location-services {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.location-service-link {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 18px;
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d8e6f3;
  border-radius: 8px;
  background: #f7fbff;
  color: var(--location-navy);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.location-service-link:hover,
.location-service-link:focus-visible {
  border-color: #9fc8e8;
  background: #eef8ff;
  color: var(--location-navy);
  transform: translateX(2px);
}

.location-service-link__icon {
  color: var(--location-pink);
}

.location-service-link__icon .pptp-2026-icon {
  width: 25px;
  height: 25px;
}

.location-service-link__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.location-service-link__copy strong {
  font-size: 13px;
  line-height: 1.3;
}

.location-service-link__copy small {
  color: #53657e;
  font-size: 11px;
  line-height: 1.35;
}

.location-service-link__arrow {
  color: var(--location-cyan);
  font-size: 17px;
  font-weight: 800;
}

.location-notice {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  margin-top: 25px;
  padding: 17px 18px;
  border: 1px solid #c9ddf1;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--location-navy);
}

.location-notice__icon {
  color: var(--location-navy);
}

.location-notice p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.location-office-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  color: var(--location-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.location-office-link span {
  color: var(--location-cyan);
  font-size: 21px;
  transition: transform 0.2s ease;
}

.location-office-link:hover {
  color: var(--location-pink);
}

.location-office-link:hover span {
  transform: translateX(5px);
}

.location-detail-visuals {
  min-width: 0;
  padding-top: 0;
}

.location-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(170px, 0.54fr) minmax(170px, 0.54fr);
  grid-template-rows: 145px 145px;
  gap: 12px;
}

.location-gallery__item {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #dfe8f2;
  cursor: zoom-in;
}

.location-gallery__item--1 {
  grid-row: 1 / 3;
}

.location-gallery__item--4 {
  grid-column: 2 / 4;
}

.location-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.location-gallery__item:hover img,
.location-gallery__item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.location-gallery__count {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 38, 84, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.location-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 13px;
  border: 1px solid var(--location-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.location-benefits article {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 15px 14px;
  border-right: 1px solid var(--location-line);
}

.location-benefits article:last-child {
  border-right: 0;
}

.location-benefits article > span {
  color: var(--location-navy);
}

.location-benefits article > span .pptp-2026-icon {
  width: 34px;
  height: 34px;
}

.location-benefits h3 {
  margin: 0 0 3px;
  color: var(--location-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.location-benefits p {
  margin: 0;
  color: #607189;
  font-size: 10px;
  line-height: 1.38;
}

.location-map-wrap {
  position: relative;
  height: 215px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--location-line);
  border-radius: 8px;
  background: #e8f0f7;
}

.location-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.location-map-card {
  position: absolute;
  z-index: 500;
  top: 14px;
  left: 14px;
  width: min(240px, calc(100% - 72px));
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 62, 126, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 44, 94, 0.13);
}

.location-map-card strong {
  color: #172c46;
  font-size: 13px;
}

.location-map-card span {
  color: #59697d;
  font-size: 11px;
  line-height: 1.4;
}

.location-map-card a {
  margin-top: 5px;
  color: var(--location-blue);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.location-map-marker {
  background: none;
  border: 0;
}

.location-map-marker svg {
  width: 34px;
  height: 42px;
  fill: var(--location-pink);
  filter: drop-shadow(0 4px 5px rgba(0, 25, 60, 0.22));
}

.location-map-marker circle {
  fill: #fff;
}

/* Detail contact strip */
.location-contact-cta {
  margin-bottom: 56px;
  padding: 26px 0;
  background: linear-gradient(110deg, #052c69 0%, #003e7e 54%, #065ca8 100%);
  color: #fff;
}

.location-contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(480px, 1.3fr);
  gap: 32px;
  align-items: center;
  padding-inline: 10px;
}

.location-contact-cta__lead {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.location-contact-cta__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 174, 232, 0.75);
  border-radius: 50%;
  color: #fff;
}

.location-contact-cta__icon .pptp-2026-icon {
  width: 34px;
  height: 34px;
}

.location-contact-cta h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(20px, 1.65vw, 27px);
  font-weight: 800;
  line-height: 1.2;
}

.location-contact-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.45;
}

.location-contact-cta small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
}

.location-contact-cta__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.location-contact-cta__contact,
.location-contact-cta__button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.location-contact-cta__contact .pptp-2026-icon {
  width: 24px;
  height: 24px;
}

.location-contact-cta__button {
  min-width: 220px;
  border-color: var(--location-cyan);
  background: var(--location-cyan);
  text-transform: uppercase;
}

.location-contact-cta__contact:hover,
.location-contact-cta__button:hover {
  border-color: var(--location-pink);
  background: var(--location-pink);
  color: #fff;
  transform: translateY(-2px);
}

/* Gallery dialog */
.location-lightbox[hidden] {
  display: none !important;
}

.location-lightbox {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  place-items: center;
  padding: 42px;
  background: rgba(2, 14, 33, 0.94);
}

.location-lightbox figure {
  width: min(1120px, 100%);
  margin: 0;
  text-align: center;
}

.location-lightbox figure img {
  width: 100%;
  max-height: calc(100vh - 120px);
  display: block;
  object-fit: contain;
}

.location-lightbox figcaption {
  margin-top: 10px;
  color: #fff;
  font-size: 13px;
}

.location-lightbox__close,
.location-lightbox__nav {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 62, 126, 0.72);
  color: #fff;
  cursor: pointer;
}

.location-lightbox__close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 30px;
  line-height: 1;
}

.location-lightbox__nav {
  width: 48px;
  height: 48px;
  font-size: 38px;
  line-height: 1;
}

body.location-lightbox-open {
  overflow: hidden;
}

/* Locations hub */
.locations-hub-2026 {
  padding: 42px 0 58px;
  background: linear-gradient(180deg, #fff 0%, #fff 88%, #f4f9fe 100%);
}

.locations-hub-hero {
  padding-inline: 10px;
}

.locations-hub-hero__eyebrow {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 14px;
  color: var(--location-blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.locations-hub-hero__eyebrow::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: var(--location-pink);
  content: "";
}

.locations-hub-hero h1 {
  margin: 0 0 12px;
  color: #082c68;
  font-size: clamp(46px, 4.3vw, 68px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.locations-hub-hero__intro {
  max-width: 580px;
  margin: 0;
  color: #52627a;
  font-size: clamp(17px, 1.36vw, 21px);
  line-height: 1.45;
}

.locations-hub-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.3vw, 34px);
  margin-top: 28px;
  padding-inline: 10px;
}

.locations-hub-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe4ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 45, 96, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.locations-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 45, 96, 0.14);
}

.locations-hub-card__image {
  height: clamp(180px, 14.5vw, 236px);
  display: block;
  overflow: hidden;
}

.locations-hub-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.locations-hub-card:hover .locations-hub-card__image img {
  transform: scale(1.025);
}

.locations-hub-card__body {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 15px;
  padding: 24px 24px 25px;
}

.locations-hub-card__pin {
  color: var(--location-blue);
}

.locations-hub-card__pin .pptp-2026-icon {
  width: 44px;
  height: 44px;
}

.locations-hub-card h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 1.75vw, 28px);
  font-weight: 800;
  line-height: 1.14;
}

.locations-hub-card h2 a {
  color: #0a2e69;
  text-decoration: none;
}

.locations-hub-card h2 a:hover {
  color: var(--location-pink);
}

.locations-hub-card__body p {
  min-height: 73px;
  margin: 0 0 15px;
  color: #53647b;
  font-size: 15px;
  line-height: 1.48;
}

.locations-hub-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.locations-hub-card li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  color: #36506f;
  font-size: 14px;
}

.locations-hub-card li .pptp-2026-icon {
  width: 18px;
  height: 18px;
  color: var(--location-blue);
}

.locations-hub-card__more {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  color: var(--location-navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.locations-hub-card__more span {
  color: var(--location-cyan);
  font-size: 18px;
}

.locations-hub-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  padding-inline: 10px;
}

.locations-hub-action a {
  width: min(620px, 100%);
  min-height: 68px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 30px;
  gap: 17px;
  align-items: center;
  padding: 14px 30px;
  border-radius: 14px;
  background: #edf6ff;
  color: #092e69;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.locations-hub-action a .pptp-2026-icon {
  color: var(--location-blue);
}

.locations-hub-action a > span:last-child {
  color: var(--location-blue);
  font-size: 27px;
}

.locations-hub-action a:hover {
  background: var(--location-navy);
  color: #fff;
}

@media (max-width: 1199px) {
  .location-gallery {
    grid-template-columns: minmax(0, 1.2fr) minmax(140px, 0.5fr);
    grid-template-rows: repeat(3, 112px);
  }

  .location-gallery__item--1 {
    grid-row: 1 / 4;
  }

  .location-gallery__item--4 {
    grid-column: 2;
  }

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

  .location-benefits article:nth-child(2) {
    border-right: 0;
  }

  .location-benefits article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--location-line);
  }

  .location-contact-cta__inner {
    grid-template-columns: 1fr;
  }

  .location-contact-cta__actions {
    justify-content: flex-start;
  }

  .locations-hub-card__body {
    grid-template-columns: 40px minmax(0, 1fr);
    padding-inline: 19px;
  }

  .locations-hub-card__pin .pptp-2026-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 991px) {
  .location-detail-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .location-detail-copy {
    padding-right: 0;
    border-right: 0;
  }

  .location-detail-copy__intro {
    max-width: 780px;
  }

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

  .locations-hub-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .location-detail-hero {
    min-height: 250px;
    background-position: center, 60% center;
  }

  .location-detail-hero__inner {
    padding-inline: 12px;
  }

  .location-breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .location-detail-main {
    padding-inline: 0;
  }

  .location-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 230px 120px 120px;
  }

  .location-gallery__item--1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .location-gallery__item--4 {
    grid-column: 1 / -1;
  }

  .location-map-wrap {
    height: 330px;
  }

  .location-contact-cta {
    margin-bottom: 36px;
    padding-block: 32px;
  }

  .location-contact-cta__inner {
    padding-inline: 0;
  }

  .location-contact-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .location-contact-cta__contact,
  .location-contact-cta__button {
    width: 100%;
    min-width: 0;
  }

  .location-lightbox {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    padding: 24px 8px;
  }

  .location-lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .locations-hub-2026 {
    padding-top: 32px;
  }

  .locations-hub-cards {
    grid-template-columns: 1fr;
  }

  .locations-hub-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .locations-hub-card__image {
    height: 230px;
  }
}

@media (max-width: 480px) {
  .location-detail-hero h1 {
    font-size: 30px;
  }

  .location-detail-hero p {
    font-size: 16px;
  }

  .location-detail-copy h2 {
    font-size: 27px;
  }

  .location-benefits {
    grid-template-columns: 1fr;
  }

  .location-benefits article,
  .location-benefits article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--location-line);
  }

  .location-benefits article:last-child {
    border-bottom: 0;
  }

  .location-map-card {
    width: calc(100% - 76px);
  }

  .location-contact-cta__lead {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .location-contact-cta__icon {
    width: 50px;
    height: 50px;
  }

  .locations-hub-hero h1 {
    font-size: 44px;
  }

  .locations-hub-card__body {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 21px 17px 23px;
  }

  .locations-hub-card__body p {
    min-height: 0;
  }

  .locations-hub-action a {
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    padding-inline: 18px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .locations-hub-card,
  .locations-hub-card__image img,
  .location-gallery__item img,
  .location-contact-cta__contact,
  .location-contact-cta__button {
    transition: none !important;
  }
}
