.contact-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 0 4px;
}

.contact-intro h2 {
  margin: 5px 0 10px;
  color: var(--blue);
  font: 42px/1.08 var(--serif);
}

.contact-intro p {
  max-width: 730px;
  margin: 0;
  color: #344a78;
  font-size: 15px;
  line-height: 1.7;
}

.contact-section.contact-section-v24 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: 24px;
  padding: 26px 0 18px;
}

.contact-section-v24 .places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.place-v24 {
  overflow: hidden;
  border: 1px solid #d9e1ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 36, 109, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.place-v24:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 36, 109, .13);
}

.place-media {
  position: relative;
  overflow: hidden;
  height: 255px;
  background: #eef2f7;
}

.place-v24 .place-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.place-v24:first-child .place-photo {
  object-position: center 39%;
}

.place-v24:hover .place-photo {
  transform: scale(1.025);
}

.place-media > span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--blue);
  box-shadow: 0 5px 18px rgba(0, 27, 82, .15);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.place-v24 .place-body {
  padding: 23px 22px 21px;
}

.place-v24 h3 {
  margin: 0 0 14px;
  color: var(--blue);
  font: 28px/1.12 var(--serif);
}

.place-address {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 48px;
  margin: 0;
  color: #18376f;
  font-weight: 700;
  line-height: 1.55;
}

.place-address > svg {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
}

.place-arrival {
  min-height: 45px;
  margin: 8px 0 16px;
  color: #56698f;
  font-size: 12.5px;
  line-height: 1.5;
}

.place-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 0;
}

.place-actions button,
.place-actions a {
  display: flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  cursor: pointer;
  font: 700 12px/1 var(--sans);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.place-actions button {
  background: var(--blue);
  color: #fff;
}

.place-actions a {
  border-color: var(--orange);
  background: #fff;
  color: var(--orange);
}

.place-actions button:hover,
.place-actions button[aria-expanded="true"] {
  background: #001b55;
}

.place-actions a:hover {
  background: var(--orange);
  color: #fff;
}

.place-actions svg,
.phone-reveal svg,
.place-extra-links svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.phone-reveal {
  margin-top: 10px;
  padding: 11px 13px;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  background: #f7f9fc;
}

.phone-reveal[hidden] {
  display: none;
}

.phone-reveal > span {
  display: block;
  margin-bottom: 5px;
  color: #617295;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.phone-reveal a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 17px;
}

.place-extra-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e7ebf2;
}

.place-extra-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #425a88;
  font-size: 11px;
  font-weight: 700;
}

.place-extra-links a:hover {
  color: var(--orange);
}

.place-info-symbol {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font: 800 12px/1 Georgia, serif;
}

.contact-side {
  display: grid;
  gap: 18px;
}

.contact-section-v24 .contact-card,
.contact-section-v24 .map {
  border: 1px solid #d9e1ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 36, 109, .06);
}

.contact-section-v24 .contact-card {
  padding: 25px;
}

.contact-section-v24 .contact-card .section-heading {
  margin-bottom: 17px;
}

.contact-section-v24 .contact-card h2 {
  margin: 0;
  font-size: 25px;
}

.contact-section-v24 .map {
  overflow: hidden;
  padding: 0;
}

.map-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px 19px 13px;
}

.map-heading strong {
  font-size: 15px;
}

.map-heading small {
  color: #617295;
}

.contact-section-v24 .map-image {
  display: block;
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-top: 1px solid #e3e8f0;
}

.map-location-list {
  display: grid;
  gap: 12px;
  padding: 4px 16px 18px;
}

.map-location {
  --map-accent: #ff6500;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 14px 15px;
  color: #062b72;
  text-decoration: none;
  border: 1px solid #d9e2f0;
  border-left: 5px solid var(--map-accent);
  border-radius: 16px;
  background:
    radial-gradient(circle at 93% 18%, color-mix(in srgb, var(--map-accent) 10%, transparent) 0 34px, transparent 35px),
    linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.map-location-szczecinek {
  --map-accent: #0a55b5;
}

.map-location:hover,
.map-location:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--map-accent) 45%, #d9e2f0);
  box-shadow: 0 11px 26px rgba(0, 36, 109, .1);
  outline: none;
}

.map-location-pin {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 50% 50% 50% 14%;
  background: var(--map-accent);
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--map-accent) 26%, transparent);
}

.map-location-pin svg {
  width: 21px;
  height: 21px;
  transform: rotate(45deg);
}

.map-location-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.map-location-copy small {
  color: var(--map-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.map-location-copy strong {
  margin: 2px 0 3px;
  color: #052b71;
  font: 700 23px/1.05 Georgia, serif;
}

.map-location-copy span {
  color: #526684;
  font-size: 12px;
  line-height: 1.35;
}

.map-location-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--map-accent);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.map-location-action b {
  font-size: 24px;
  line-height: 1;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 15px 34px;
  font-size: 18px;
}

.contact-email > span {
  color: var(--orange);
  font-size: 23px;
}

.contact-email a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-links > a,
.social-links > span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #dce4ef;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.social-links > a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-links svg rect,
.social-links svg circle:not(.solid) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-disabled {
  opacity: .48;
  cursor: help;
}

footer .shell {
  align-items: center;
  gap: 24px;
}

.footer-brand-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 52px;
  flex: 0 0 66px;
  padding: 2px 0;
  opacity: .98;
}

.footer-brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.footer-brand-mark .footer-center-ring {
  stroke: #fff;
}

.footer-brand-mark .footer-glasses {
  filter: saturate(1.08) brightness(1.08);
}

.footer-brand-mark:hover {
  opacity: .82;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

footer .social-links > a,
footer .social-links > span {
  width: 34px;
  min-height: 34px;
  justify-content: center;
  padding: 0;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: #fff;
}

footer .social-links span span,
footer .social-links a span {
  display: none;
}

footer .social-disabled {
  opacity: .38;
}

.social-links > a.social-facebook {
  border-color: #1877f2;
  background: #1877f2;
  color: #fff;
  box-shadow: 0 5px 15px rgba(24,119,242,.18);
}

.social-links > a.social-instagram {
  border-color: transparent;
  background: linear-gradient(135deg, #405de6, #c13584 52%, #fd1d1d 74%, #fcb045);
  color: #fff;
  box-shadow: 0 5px 15px rgba(193,53,132,.18);
}

.social-links > a.social-facebook:hover,
.social-links > a.social-instagram:hover {
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.social-links > a.social-facebook svg,
.place-extra-links a.social-facebook svg {
  fill: currentColor;
  stroke: none;
}

.social-links > a.social-instagram svg,
.place-extra-links a.social-instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.social-links > a.social-instagram svg .solid,
.place-extra-links a.social-instagram svg .solid {
  fill: currentColor;
  stroke: none;
}

.place-extra-links a.social-facebook {
  color: #1877f2;
}

.place-extra-links a.social-instagram {
  color: #c13584;
}

footer .social-links > a.social-facebook {
  border-color: #1877f2;
  background: #1877f2;
}

footer .social-links > a.social-instagram {
  border-color: transparent;
  background: linear-gradient(135deg, #405de6, #c13584 52%, #fd1d1d 74%, #fcb045);
}

.contact-hero-universal {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 3px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #e9eef4;
}

.contact-hero-universal figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dfe6ed;
}

.contact-hero-universal .contact-hero-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}

body[data-page="contact"] .hero {
  height: 480px;
  min-height: 480px;
}

body[data-page="contact"] .hero-copy,
body[data-page="contact"] .hero-media {
  min-height: 0;
}

body[data-page="contact"] .hero-media {
  height: 100%;
}

.contact-hero-universal figure:first-child .contact-hero-photo {
  object-position: center 41%;
}

.contact-hero-universal figure:last-child .contact-hero-photo {
  object-position: center 48%;
}

.contact-hero-universal figure:hover .contact-hero-photo {
  transform: scale(1.02);
}

.contact-hero-universal figure::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 25, 77, .58));
}

.contact-hero-universal figcaption {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 16, 58, .35);
}

.contact-hero-universal figcaption strong {
  font-size: 23px;
  letter-spacing: .1em;
}

.contact-hero-universal figcaption span {
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1050px) {
  body[data-page="contact"] .hero {
    height: 450px;
    min-height: 450px;
  }

  .contact-section.contact-section-v24 {
    grid-template-columns: 1fr;
  }

  .contact-side {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .contact-section-v24 .map-image {
    height: 265px;
  }
}

@media (max-width: 950px) {
  body[data-page="contact"] .hero {
    height: auto;
    min-height: 0;
  }

  body[data-page="contact"] .hero-media {
    height: 360px;
  }
}

@media (max-width: 760px) {
  body[data-page="contact"] .hero-media {
    height: 330px;
  }

  .contact-intro {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 32px;
  }

  .contact-intro h2 {
    font-size: 34px;
  }

  .contact-section-v24 .places,
  .contact-side {
    grid-template-columns: 1fr;
  }

  .place-actions .place-call::after {
    content: " – połącz";
  }

  footer .shell {
    align-items: flex-start;
  }

  .footer-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 620px) {
  body[data-page="contact"] .hero-media {
    height: 285px;
  }

  .contact-hero-universal {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .contact-hero-universal figcaption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .contact-hero-universal figcaption strong {
    font-size: 15px;
  }

  .contact-hero-universal figcaption span {
    display: none;
  }

  .contact-intro .social-links {
    width: 100%;
  }

  .contact-intro .social-links > a,
  .contact-intro .social-links > span {
    flex: 1;
    justify-content: center;
  }

  .place-media {
    height: 225px;
  }

  .place-v24 .place-body {
    padding: 21px 18px 19px;
  }

  .place-v24 h3 {
    font-size: 26px;
  }

  .place-actions {
    grid-template-columns: 1fr;
  }

  .contact-section-v24 .contact-card {
    padding: 21px 16px;
  }

  .contact-section-v24 .map-image {
    height: 220px;
  }

  .map-location-list {
    padding: 2px 12px 14px;
  }

  .map-location {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 0;
    padding: 13px;
  }

  .map-location-pin {
    width: 40px;
    height: 40px;
  }

  .map-location-copy strong {
    font-size: 21px;
  }

  .map-location-action {
    grid-column: 2;
    margin-top: -5px;
  }

  .footer-brand-mark {
    width: 58px;
    height: 46px;
    flex-basis: 58px;
  }
}

/* Zwarta, premium stopka wspólna dla wszystkich podstron */
#site-footer {
  position: relative;
  margin-top: 62px;
  padding: 27px 0 16px;
  overflow: visible;
  background:
    radial-gradient(circle at 15% -50%, rgba(70, 126, 215, .28), transparent 42%),
    linear-gradient(135deg, #001846, #00246d 68%, #001a50);
}

#site-footer::before,
#site-footer::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 64px;
  content: "";
  pointer-events: none;
  clip-path: polygon(0 72%, 13% 62%, 31% 70%, 50% 51%, 69% 30%, 84% 38%, 100% 5%, 100% 100%, 0 100%);
}

#site-footer::before {
  top: -64px;
  background: var(--orange);
}

#site-footer::after {
  top: -59px;
  background: linear-gradient(135deg, #001846, #00246d 68%, #001a50);
}

#site-footer .footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(390px, 1fr) minmax(180px, 220px);
  align-items: stretch;
  gap: 24px;
}

.footer-brand-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 15px 19px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 28px rgba(0, 10, 42, .24);
}

.footer-brand-logo::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: var(--orange);
}

.footer-brand-logo .logo-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 305px;
  max-height: none;
  overflow: visible;
}

.footer-brand-logo .footer-tagline-vector {
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.footer-brand-logo .footer-vector-rule {
  shape-rendering: geometricPrecision;
}

.footer-brand-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(0, 10, 42, .3);
}

.footer-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(175px, 1fr));
  gap: 12px;
}

.footer-location-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .075);
  color: #fff;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.footer-location-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 101, 0, .85);
  background: rgba(255, 255, 255, .12);
}

.footer-location-card > span {
  color: #ff9b55;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.footer-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 5px 0 4px;
}

.footer-phone-link {
  color: #fff;
}

.footer-phone-link strong {
  color: #fff;
  font-size: 19px;
  line-height: 1.1;
}

.footer-location-card small {
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
}

.footer-location-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-location-socials a {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 5px 12px rgba(0, 10, 40, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-location-socials a:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 16px rgba(0, 10, 40, .3);
}

.footer-location-socials .social-facebook {
  background: #1877f2;
}

.footer-location-socials .social-instagram {
  background: radial-gradient(circle at 30% 108%, #ffd600 0 18%, #ff7a00 31%, #ff0169 52%, #d300c5 72%, #7638fa 100%);
}

.footer-location-socials svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-location-socials svg rect,
.footer-location-socials svg circle:not(.solid) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

#site-footer .footer-actions {
  display: flex;
  width: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.footer-social-title {
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

#site-footer .social-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

#site-footer .footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, .36);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

#site-footer .footer-contact-link span {
  color: var(--orange);
  font-size: 19px;
  line-height: .7;
}

#site-footer .footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .58);
  font-size: 10px;
  letter-spacing: .03em;
}

@media (max-width: 1030px) {
  #site-footer .footer-main {
    grid-template-columns: minmax(235px, 290px) 1fr;
  }

  #site-footer .footer-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  #site-footer .footer-social-title {
    margin-right: auto;
  }
}

@media (max-width: 720px) {
  #site-footer {
    margin-top: 48px;
    padding-top: 20px;
  }

  #site-footer::before,
  #site-footer::after {
    height: 50px;
  }

  #site-footer::before {
    top: -50px;
  }

  #site-footer::after {
    top: -46px;
  }

  #site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .footer-brand-logo {
    min-height: 104px;
    padding: 12px 18px 10px;
  }

  .footer-brand-logo .logo-svg {
    max-width: 315px;
    max-height: none;
  }

  #site-footer .footer-actions {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .footer-locations {
    grid-template-columns: 1fr;
  }

  .footer-location-card {
    min-height: 84px;
  }

  #site-footer .footer-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #site-footer .footer-social-title {
    width: 100%;
    margin: 0;
  }

  #site-footer .footer-contact-link {
    margin-left: auto;
  }

  #site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
