/*
 * Typografia serwisu - Georgia.
 * Wzorzec swissprive.ch deklarowal "Cormorant Garamond, Georgia, serif",
 * ale nigdy nie wczytywal arkusza Google Fonts (w <head> jest wylacznie
 * preconnect), wiec produkcyjnie renderowal sie fallback Georgia.
 * Klient potwierdzil 18.08.2026, ze chce ten wlasnie krój.
 * Gelasio = metrycznie zgodny odpowiednik Georgii dla systemow, ktore
 * jej nie maja (Android, wiekszosc Linuksow) - pobiera sie wylacznie tam.
 */
@font-face {
  font-family: "Gelasio";
  src: url("../fonts/gelasio-variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Gelasio";
  src: url("../fonts/gelasio-variable-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html {
  background: #000;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  overflow-x: hidden;
  font-family: Georgia, "Gelasio", "Times New Roman", serif;
}

/* Four service cards need two columns before the mobile stack starts. */
@media (min-width: 768px) and (max-width: 1120px) {
  .sp-home-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 40px;
  }

  .sp-home-services-grid .sp-card-enter,
  .sp-home-services-grid .card-premium {
    width: 100%;
    min-width: 0;
  }
}

.text-\[34px\] { font-size: 34px; }
.text-\[36px\] { font-size: 36px; }
.text-\[38px\] { font-size: 38px; }
.text-\[46px\] { font-size: 46px; }
.leading-\[40px\] { line-height: 40px; }
.leading-\[42px\] { line-height: 42px; }
.leading-\[44px\] { line-height: 44px; }
.pt-12 { padding-top: 3rem; }

/* "What Defines Swiss Private Service?" - numerowana lista 01-05 (wybor Marcina 20.08.2026, wariant B) */
.sp-why-list {
  display: flex;
  flex-direction: column;
}

.sp-why-row {
  display: flex;
  align-items: baseline;
  gap: 2.25rem;
  padding: 1.375rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.sp-why-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sp-why-num {
  width: 2.5rem;
  flex-shrink: 0;
  font-size: 1.0625rem;
  letter-spacing: 2px;
  color: #e5aa18;
}

.sp-why-title {
  width: 340px;
  flex-shrink: 0;
  font-size: 1.4375rem;
  font-weight: 600;
  color: #fff;
}

.sp-why-body {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: hsl(205 9% 78%);
}

@media (max-width: 1279px) {
  .sp-why-title {
    width: 250px;
    font-size: 1.25rem;
  }

  .sp-why-row {
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .sp-why-row {
    flex-wrap: wrap;
    gap: 0.375rem 1rem;
    padding: 1rem 0;
  }

  .sp-why-title {
    width: calc(100% - 3.5rem);
    font-size: 1.125rem;
  }

  .sp-why-body {
    width: 100%;
    padding-left: 3.5rem;
    font-size: 1rem;
  }
}

body.sp-menu-open {
  overflow: hidden;
}

/* WP Cookie Consent Pro - SwissPrivé brand layer. */
:root {
  --wccp-primary: #e5aa18;
  --wccp-primary-dark: #f0c35c;
  --wccp-primary-light: #1b1b1b;
  --wccp-text: #ffffff;
  --wccp-text-light: #c7cbce;
  --wccp-border: #5b5b5b;
  --wccp-btn-accept-bg: #e5aa18;
  --wccp-btn-accept-text: #000000;
  --wccp-btn-reject-bg: #101010;
  --wccp-btn-reject-text: #ffffff;
  --wccp-btn-save-bg: #060606;
  --wccp-btn-save-text: #e5aa18;
  --wccp-overlay: rgb(0 0 0 / .82);
  --wccp-banner-bg: #060606;
  --wccp-font-family: Georgia, "Times New Roman", serif;
  --wccp-radius-large: 0;
  --wccp-radius-medium: 0;
  --wccp-radius-small: 0;
  --wccp-mobile-radius: 0;
  --wccp-settings-radius: 0;
}

html body #wccp-prefs.wccp-prefs .wccp-container {
  border-color: rgb(229 170 24 / .72) !important;
  box-shadow: 0 28px 90px rgb(0 0 0 / .65) !important;
}

html body #wccp-prefs.wccp-prefs .wccp-content {
  padding: 30px !important;
}

html body #wccp-prefs.wccp-prefs .wccp-header,
html body #wccp-prefs.wccp-prefs .wccp-title,
html body #wccp-prefs.wccp-prefs .wccp-text {
  text-align: left !important;
}

html body #wccp-prefs.wccp-prefs .wccp-title {
  color: #e5aa18 !important;
  font-size: 1.65rem !important;
  font-weight: 400 !important;
  letter-spacing: .01em !important;
}

html body #wccp-prefs.wccp-prefs .wccp-text {
  color: #c7cbce !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

html body #wccp-prefs.wccp-prefs .wccp-categories {
  border-color: rgb(255 255 255 / .28) !important;
}

html body #wccp-prefs.wccp-prefs .wccp-category {
  border-color: rgb(255 255 255 / .2) !important;
}

html body #wccp-prefs.wccp-prefs .wccp-category-header,
html body #wccp-prefs.wccp-prefs .wccp-category-details {
  background: #101010 !important;
}

html body #wccp-prefs.wccp-prefs .wccp-category-header:hover,
html body #wccp-prefs.wccp-prefs .wccp-toggle:hover {
  background: #1b1b1b !important;
}

html body #wccp-prefs.wccp-prefs .wccp-category-name,
html body #wccp-prefs.wccp-prefs .wccp-category-details p {
  color: #ffffff !important;
}

html body #wccp-prefs.wccp-prefs .wccp-category-details p {
  color: #c7cbce !important;
}

html body #wccp-prefs.wccp-prefs .wccp-badge {
  color: #e5aa18 !important;
  background: rgb(229 170 24 / .12) !important;
}

html body #wccp-prefs.wccp-prefs .wccp-category-label input:checked + .wccp-checkbox::after {
  border-color: #000000 !important;
}

html body #wccp-prefs.wccp-prefs .wccp-btn {
  min-height: 50px !important;
  border-width: 1px !important;
  font-size: .95rem !important;
  font-weight: 400 !important;
}

html body #wccp-prefs.wccp-prefs .wccp-btn-reject {
  border-color: rgb(255 255 255 / .55) !important;
}

html body #wccp-prefs.wccp-prefs .wccp-btn-reject:hover {
  background: #1b1b1b !important;
  color: #ffffff !important;
}

html body #wccp-prefs.wccp-prefs .wccp-btn-save:hover {
  background: rgb(229 170 24 / .12) !important;
}

html body #wccp-prefs.wccp-prefs .wccp-footer {
  border-color: rgb(255 255 255 / .2) !important;
}

html body #wccp-prefs.wccp-prefs .wccp-powered-by,
html body #wccp-prefs.wccp-prefs .wccp-powered-by a {
  color: #9b9b9b !important;
}

html body #wccp-prefs.wccp-prefs button:focus-visible,
html body #wccp-prefs.wccp-prefs input:focus-visible + .wccp-checkbox,
html body #wccp-prefs.wccp-prefs a:focus-visible,
html body #wccp-settings-btn.wccp-settings-btn:focus-visible {
  outline: 2px solid #e5aa18 !important;
  outline-offset: 3px !important;
}

html body #wccp-settings-btn.wccp-settings-btn {
  border-color: rgb(229 170 24 / .72) !important;
  background: rgb(6 6 6 / .96) !important;
  color: #e5aa18 !important;
  opacity: .88 !important;
}

html body #wccp-settings-btn.wccp-settings-btn:hover {
  border-color: #e5aa18 !important;
  background: #101010 !important;
  color: #e5aa18 !important;
  opacity: 1 !important;
}

@media (max-width: 600px) {
  html body #wccp-prefs.wccp-prefs .wccp-container {
    max-height: calc(100dvh - 32px) !important;
  }

  html body #wccp-prefs.wccp-prefs .wccp-content {
    padding: 22px 18px !important;
  }

  html body #wccp-prefs.wccp-prefs .wccp-title {
    font-size: 1.35rem !important;
  }

  html body #wccp-prefs.wccp-prefs .wccp-text {
    font-size: .9rem !important;
  }
}

body.sp-menu-open main,
body.sp-menu-open footer {
  overflow: clip;
}

body.admin-bar .sp-site-header,
body.admin-bar .sp-menu-overlay {
  top: 32px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  transform: translateY(-150%);
  background: #fff;
  color: #000;
  padding: 10px 16px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sp-custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .3s;
  will-change: left, top;
}

.sp-custom-cursor__ring {
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid hsl(var(--foreground) / .6);
  border-radius: 9999px;
  background: transparent;
  transition: width .5s cubic-bezier(.16, 1, .3, 1), height .5s cubic-bezier(.16, 1, .3, 1), border-color .3s, background-color .3s;
}

.sp-custom-cursor.is-interactive .sp-custom-cursor__ring {
  width: 80px;
  height: 80px;
  border-color: hsl(var(--gold));
  background: hsl(var(--gold) / .1);
}

@media (min-width: 768px) {
  .sp-offer-core { min-height: 528px; }
  .sp-real-overview { min-height: 272px; }
  .sp-real-coordination { min-height: 172px; }
  .sp-residence-corporate { min-height: 208px; }
  .sp-residence-feature { min-height: 216px; }
  .sp-insurance-foreign { min-height: 180px; }
}

.sp-logo img {
  display: block;
  width: auto;
  height: 7rem;
}

footer {
  position: relative;
}

footer .sp-logo img,
.sp-menu-overlay .sp-logo img {
  height: 8rem;
}

.sp-footer-credit {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: hsl(var(--muted-foreground) / .62);
  font-size: .6875rem;
  line-height: 1;
  letter-spacing: .035em;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color .2s ease;
}

.sp-menu-overlay[hidden] {
  display: none;
}

.sp-menu-overlay {
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all .5s cubic-bezier(.4, 0, .2, 1);
}

.sp-menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.sp-menu-links {
  min-height: 0;
}

@media (min-width: 1280px) {
  .sp-menu-links {
    justify-content: flex-start;
    padding-top: 130px;
    padding-bottom: 20px;
  }
}

/* Keep the accepted eight-item navigation fully visible on shorter desktops. */
@media (min-width: 1280px) and (max-height: 820px) {
  .sp-menu-links {
    gap: 4px;
    padding-top: 100px;
  }

  .sp-menu-link > span:first-child {
    font-size: 44px;
    line-height: 1.25;
  }
}

@media (min-width: 1280px) and (max-height: 720px) {
  .sp-menu-links {
    padding-top: 88px;
  }

  .sp-menu-link > span:first-child {
    font-size: 38px;
  }
}

.sp-menu-link {
  display: block;
  width: max-content;
  max-width: calc(100vw - 40px);
  opacity: 0;
  transform: translateX(-20px);
  transition-duration: .4s;
  transition-property: all;
  transition-timing-function: ease;
}

.sp-menu-overlay.is-open .sp-menu-link {
  opacity: 1;
  transform: translateX(0);
}

.sp-menu-link__line {
  display: block;
}

.sp-menu-link:hover .sp-menu-link__line,
.sp-menu-link:focus-visible .sp-menu-link__line {
  width: 100%;
  max-width: 280px;
}

.sp-menu-link:focus-visible,
.sp-header-action:focus-visible,
.sp-source-button:focus-visible,
.sp-footer-link:focus-visible {
  outline: 2px solid hsl(var(--gold));
  outline-offset: 5px;
}

.sp-menu-toggle span {
  display: block;
}

.sp-richtext > :first-child {
  margin-top: 0;
}

.sp-richtext > :last-child {
  margin-bottom: 0;
}

.sp-richtext p + p {
  margin-top: 1rem;
}

.sp-home-about-copy p:first-child {
  color: hsl(var(--muted-foreground));
  font-size: 1.875rem;
  font-weight: 500;
  line-height: 1.28;
}

.sp-home-about-copy p:not(:first-child) {
  color: hsl(var(--foreground) / .8);
  font-size: 1.125rem;
  line-height: 1.5;
}

.sp-source-button {
  text-decoration: none;
}

.sp-service-card-image img,
.sp-wide-image img,
.sp-cta-image img,
.sp-content-image img,
.sp-partner-image img,
.sp-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-service-card-image img,
.sp-wide-image img,
.sp-cta-image img,
.sp-partner-image img,
.sp-blog-card-image img {
  filter: grayscale(1);
}

.sp-partner-image {
  width: 190px;
  height: 230px;
}

.sp-about-gallery .sp-content-image {
  height: 360px;
}

.sp-offer-gallery .sp-content-image,
.sp-service-gallery .sp-content-image {
  height: 340px;
}

.sp-scope-image {
  height: 220px;
}

.sp-inner-cta-image {
  min-height: 520px;
}

.sp-blog-card {
  height: 330px;
}

.sp-home-cta-image {
  height: auto;
}

@media (max-width: 1279px) {
  .sp-menu-link > span:first-child {
    font-size: 32px;
  }

  .sp-menu-link:hover .sp-menu-link__line,
  .sp-menu-link:focus-visible .sp-menu-link__line { max-width: 200px; }

  .sp-home-cta-image {
    height: auto;
  }
}

@media (max-width: 1023px) {
  .sp-menu-link > span:first-child {
    font-size: 28px;
  }

  .sp-menu-link:hover .sp-menu-link__line,
  .sp-menu-link:focus-visible .sp-menu-link__line { max-width: 160px; }

  .sp-home-cta-image {
    height: auto;
  }
}

.sp-service-card-image img {
  position: absolute;
  inset: 0;
}

.sp-gold-geometry {
  mix-blend-mode: color-dodge;
}

.sp-wide-image img {
  transform: scale(1.15);
  transform-origin: center;
  will-change: transform;
}

.sp-source-heading-line {
  width: 0;
  transition: width 1.2s cubic-bezier(.16, 1, .3, 1) .3s;
}

.sp-source-heading-line--cta {
  transition-delay: .4s;
}

.is-visible .sp-source-heading-line {
  width: 6rem;
}

[data-parity-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

[data-parity-reveal="scale"] {
  transform: scale(.94);
}

[data-parity-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.sp-card-enter {
  opacity: 0;
  transform: translateY(60px) scale(.95);
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
}

.is-visible .sp-card-enter {
  opacity: 1;
  transform: none;
}

.sp-card-enter:nth-child(2) { transition-delay: 150ms; }
.sp-card-enter:nth-child(3) { transition-delay: 300ms; }
.sp-card-enter:nth-child(4) { transition-delay: 450ms; }

.sp-contact-form .wpcf7,
.sp-contact-form .wpcf7-form,
.sp-contact-form .wpcf7-form-control-wrap {
  display: contents;
}

.sp-contact-form,
.sp-contact-page-form {
  position: relative;
}

.sp-contact-form .wpcf7-form {
  font-family: inherit;
}

.sp-contact-form .wpcf7-spinner {
  position: absolute;
  left: calc(100% - 24px);
  right: auto;
  bottom: -32px;
  margin: 0;
}

.sp-contact-form .wpcf7-not-valid-tip {
  display: block;
  color: #fca5a5;
  font-size: .875rem;
  margin-top: .35rem;
}

.sp-contact-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: .75rem 0 0 !important;
  border: 1px solid hsl(var(--foreground) / .45) !important;
  padding: .75rem 1rem !important;
  color: hsl(var(--foreground));
}

.sp-contact-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
  width: 100%;
  padding: .75rem 1rem;
  background: transparent;
  border: 1px solid hsl(var(--foreground));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.sp-contact-form textarea.wpcf7-form-control {
  min-height: 118px;
  resize: vertical;
}

.sp-contact-form .wpcf7-form-control:not(.wpcf7-submit):focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px hsl(var(--gold));
}

.sp-contact-form .wpcf7-submit {
  width: 100%;
  border: 1px solid hsl(var(--foreground));
  background: transparent;
  color: hsl(var(--foreground));
  padding: 1rem 1.5rem;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .3s, border-color .3s, background-color .3s, transform .3s;
}

.sp-contact-form .wpcf7-submit:hover {
  border-color: hsl(var(--gold));
  color: hsl(var(--gold));
}

.sp-contact-form .wpcf7-acceptance label {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  color: hsl(var(--muted-foreground));
  font-size: .9rem;
  line-height: 1.35;
}

.sp-contact-form .wpcf7-acceptance input {
  margin-top: .2rem;
}

.sp-contact-form .wpcf7-acceptance a {
  color: hsl(var(--foreground));
  text-decoration: underline;
}

.sp-contact-page-form .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sp-contact-page-form .wpcf7-form > p {
  margin: 0;
}

.sp-contact-page-form .wpcf7-form > p:nth-of-type(3),
.sp-contact-page-form .wpcf7-form > p:nth-of-type(4),
.sp-contact-page-form .wpcf7-form > p:nth-of-type(5),
.sp-contact-page-form .wpcf7-submit,
.sp-contact-page-form .wpcf7-response-output {
  grid-column: 1 / -1;
}

.sp-contact-page-form label {
  display: block;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
}

.sp-contact-page-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: .45rem;
}

.sp-contact-page-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
  width: 100%;
  border: 1px solid transparent;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  padding: 1rem;
  outline: none;
}

.sp-contact-page-form textarea.wpcf7-form-control {
  min-height: 220px;
  resize: vertical;
}

.sp-contact-page-form .wpcf7-form-control:focus {
  border-color: hsl(var(--gold));
}

.sp-contact-page-form .wpcf7-acceptance label {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .875rem;
  line-height: 1.35;
}

.sp-contact-page-form .wpcf7-acceptance input {
  margin-top: .2rem;
}

.sp-contact-page-form .wpcf7-submit {
  width: 100%;
  border: 1px solid hsl(var(--foreground));
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 1rem 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
}

.sp-contact-page-form .wpcf7-submit:hover {
  background: hsl(var(--gold));
  border-color: hsl(var(--gold));
}

.sp-contact-page-form .wpcf7-not-valid-tip {
  color: #fca5a5;
  font-size: .875rem;
}

.sp-contact-page-form .wpcf7-spinner {
  position: absolute;
  left: calc(100% - 24px);
  right: auto;
  bottom: -32px;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-links .page-numbers {
  border: 1px solid hsl(var(--foreground));
  padding: .5rem .8rem;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  border-color: hsl(var(--gold));
  color: hsl(var(--gold));
}

.sp-footer-credit img {
  display: block;
  width: 72px;
  height: auto;
  opacity: .58;
  filter: grayscale(1) brightness(1.7);
  transition: filter .2s ease, opacity .2s ease;
}

.sp-footer-credit:hover,
.sp-footer-credit:focus-visible {
  color: hsl(var(--gold));
}

.sp-footer-credit:focus-visible {
  outline: 1px solid hsl(var(--gold));
  outline-offset: 5px;
}

.sp-footer-credit:hover img,
.sp-footer-credit:focus-visible img {
  filter: grayscale(1) brightness(2.2);
  opacity: .9;
}


.sp-page-prose h2,
.sp-page-prose h3 {
  color: hsl(var(--foreground));
  font-weight: 400;
  line-height: 1.08;
}

.sp-page-prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: 2.25rem;
}

.sp-page-prose h3 {
  margin: 1.75rem 0 .75rem;
  font-size: 1.75rem;
}

.sp-page-prose p,
.sp-page-prose li {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  line-height: 1.55;
}

.sp-page-prose p + p,
.sp-page-prose ul + p,
.sp-page-prose ol + p {
  margin-top: 1rem;
}

.sp-page-prose ul,
.sp-page-prose ol {
  margin: 1rem 0 0 1.25rem;
}

@media (max-width: 767px) {
  .sp-offer-hero {
    min-height: 612px;
  }

  .sp-offer-service-card {
    min-height: 186px;
  }

  .sp-real-overview {
    min-height: 610px;
  }

  .sp-real-cards {
    min-height: 988px;
  }

  .sp-real-coordination {
    min-height: 434.5px;
  }

  .sp-privacy-content {
    letter-spacing: -.08px;
  }

  .sp-insurance-foreign {
    min-height: 350px;
  }

  .sp-residence-corporate {
    min-height: 510.25px;
  }

  .sp-residence-feature {
    min-height: 386px;
  }

	.sp-logo img {
	  height: 5rem;
	}

	.sp-menu-link > span:first-child {
	  font-size: 26px;
	}

	.sp-menu-link:hover .sp-menu-link__line,
	.sp-menu-link:focus-visible .sp-menu-link__line { max-width: 140px; }

	.max-md\:text-\[38px\] {
	  font-size: 38px;
	}

	.sp-home-cta-image {
	  height: auto;
	}
	.sp-whatsapp {
	  right: calc(100vw - 100%);
	}
	.sp-partner-image {
	  width: 100%;
	  height: 300px;
	}

	.sp-about-gallery .sp-content-image,
	.sp-offer-gallery .sp-content-image,
	.sp-service-gallery .sp-content-image {
	  height: 250px;
	}

	.sp-inner-cta-image {
	  min-height: 0;
	}

  .sp-contact-page-form .wpcf7-form {
    grid-template-columns: 1fr;
  }

  .sp-contact-page-form .wpcf7-form > p {
    grid-column: 1;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .sp-custom-cursor { display: none; }
}

.sp-page-prose ul { list-style: disc; }
.sp-page-prose ol { list-style: decimal; }

.sp-compact-copy p {
  margin: 0;
}

.sp-footer-legal strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.sp-home-form .wpcf7,
.sp-home-form .wpcf7-form,
.sp-contact-page-form .wpcf7,
.sp-contact-page-form .wpcf7-form {
  width: 100%;
}

.sp-home-form .wpcf7-form,
.sp-contact-page-form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sp-home-form .wpcf7-form > p,
.sp-contact-page-form .wpcf7-form > p,
.sp-home-form .wpcf7-form-control-wrap,
.sp-contact-page-form .wpcf7-form-control-wrap {
  margin: 0;
}

.sp-home-form .wpcf7-form-control-wrap,
.sp-contact-page-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.sp-home-form .sp-home-input,
.sp-home-form .sp-home-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid hsl(var(--foreground));
  background: transparent;
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}

.sp-home-form .sp-home-input {
  height: 45px;
}

.sp-home-form .sp-home-textarea {
  min-height: 110px;
  resize: none;
}

.sp-home-form .sp-home-input:focus,
.sp-home-form .sp-home-textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px hsl(var(--gold));
}

.sp-home-private-button,
.sp-home-form .sp-home-submit {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  transition: color .3s, border-color .3s, background-color .3s, transform .3s;
}

.sp-home-private-button {
  border: 1px solid hsl(var(--foreground));
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

.sp-home-private-button:hover {
  border-color: hsl(var(--gold));
  background: hsl(var(--gold));
}

.sp-home-form .sp-home-submit {
  border: 1px solid hsl(var(--foreground));
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
}

.sp-home-form .sp-home-submit:hover {
  border-color: hsl(var(--gold));
  color: hsl(var(--gold));
}

.sp-form-consent {
  color: hsl(var(--muted-foreground));
  font-size: .78rem;
  line-height: 1.3;
}

.sp-form-consent .wpcf7-list-item {
  margin: 0;
}

.sp-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.sp-form-consent input {
  flex: 0 0 auto;
  margin-top: .15rem;
}

.sp-form-consent a {
  color: hsl(var(--foreground));
  text-decoration: underline;
}

.sp-contact-page-form .wpcf7-form .sp-contact-input,
.sp-contact-page-form .wpcf7-form .sp-contact-phone,
.sp-contact-page-form .wpcf7-form .sp-contact-code,
.sp-contact-page-form .wpcf7-form .sp-contact-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 0;
  background: #1a1a1a;
  color: hsl(var(--foreground));
  outline: none;
}

.sp-contact-page-form .wpcf7-form .sp-contact-input,
.sp-contact-page-form .wpcf7-form .sp-contact-phone,
.sp-contact-page-form .wpcf7-form .sp-contact-code {
  height: 48px;
  min-height: 48px;
  padding: .75rem 1rem;
}

.sp-contact-page-form .sp-contact-code {
  min-width: 80px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Runda 9: Safari ucinał „+41” - select z padding-y 12px + height 48px. Zero paddingu pionowego, przeglądarka centruje tekst sama.
   Specyficzność (0,4,1): musi przebić .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) (0,4,0), które daje padding 1rem. */
.sp-contact-page-form .wpcf7-form select.sp-contact-code.wpcf7-select {
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
  box-sizing: border-box;
}

.sp-contact-page-form .wpcf7-form-control-wrap[data-name="your-country-code"] {
  width: auto;
  flex: 0 0 auto;
}

.sp-contact-page-form .wpcf7-form-control-wrap[data-name="your-phone"] {
  width: auto;
  flex: 1 1 auto;
}

.sp-contact-page-form .sp-contact-phone {
  flex: 1;
}

.sp-contact-page-form .wpcf7-form .sp-contact-textarea {
  height: 216px;
  min-height: 216px;
  padding: .75rem 1rem;
  resize: none;
}

.sp-contact-page-form .sp-contact-input:focus,
.sp-contact-page-form .sp-contact-phone:focus,
.sp-contact-page-form .sp-contact-code:focus,
.sp-contact-page-form .sp-contact-textarea:focus {
  box-shadow: 0 0 0 1px hsl(var(--gold));
}

.sp-contact-page-form .sp-contact-submit {
  width: 100%;
  min-height: 60px;
  border: 0;
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .3s, color .3s, transform .3s;
}

.sp-contact-page-form .sp-contact-submit:hover {
  background: hsl(var(--gold));
}

.sp-home-form .wpcf7-response-output,
.sp-contact-page-form .wpcf7-response-output {
  margin: 0 !important;
  padding: .75rem 1rem !important;
  border: 1px solid hsl(var(--foreground) / .45) !important;
}

.sp-home-form .wpcf7-spinner,
.sp-contact-page-form .wpcf7-spinner {
  position: absolute;
  right: 0;
  bottom: -2rem;
  margin: 0;
}

.sp-article-prose > p {
  margin-bottom: 1.25rem;
  color: hsl(var(--foreground));
  font-size: 1rem;
  line-height: 1.8;
}

.sp-article-prose > h1,
.sp-article-prose > h2,
.sp-article-prose > h3 {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.sp-article-prose > h1 { margin: 2rem 0 1rem; font-size: 1.875rem; }
.sp-article-prose > h2 { margin: 1.5rem 0 .75rem; font-size: 1.5rem; }
.sp-article-prose > h3 { margin: 1.25rem 0 .5rem; font-size: 1.25rem; }
.sp-article-prose > ul { margin: 1rem 0; padding-left: 1.5rem; list-style: disc; }
.sp-article-prose > ol { margin: 1rem 0; padding-left: 1.5rem; list-style: decimal; }
.sp-article-prose > li { margin-bottom: .5rem; }

/* Property Management - complete content structure supplied by the client. */
.sp-property-page {
  padding: 132px 120px 0;
}

.sp-property-shell {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
}

.sp-property-heading {
  max-width: 1060px;
  margin-bottom: 54px;
}

.sp-property-heading h1 {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: clamp(3.25rem, 4.35vw, 5.2rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.045em;
}

.sp-property-gold {
  color: hsl(var(--gold));
}

.sp-property-heading__line {
  width: 96px;
  height: 2px;
  margin-top: 26px;
  background: hsl(var(--gold));
  transform-origin: left;
}

.sp-property-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(48px, 5vw, 96px);
  align-items: stretch;
}

.sp-property-hero__media {
  min-height: 610px;
  overflow: hidden;
}

.sp-property-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .7s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}

.sp-property-hero__media .sp-property-image {
  filter: grayscale(1);
}

.sp-property-hero__media:hover .sp-property-image {
  filter: grayscale(.35);
  transform: scale(1.018);
}

.sp-property-presence__media:hover .sp-property-image {
  transform: scale(1.018);
}

.sp-property-cta .grayscale {
  filter: none;
}

.sp-property-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 42px;
}

.sp-property-kicker {
  margin: 0 0 28px;
  color: hsl(var(--foreground));
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}

.sp-property-richtext {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.sp-property-copy {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 1.08rem;
  line-height: 1.72;
}

.sp-property-section {
  margin-top: 142px;
}

.sp-property-section h2,
.sp-property-closing h2 {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: clamp(2.65rem, 3.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.sp-property-section__intro {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(460px, 1.28fr);
  column-gap: clamp(54px, 7vw, 126px);
  align-items: start;
  margin-bottom: 64px;
}

.sp-property-hero__grid > *,
.sp-property-section__intro > *,
.sp-property-presence > *,
.sp-property-types > *,
.sp-property-why > * {
  min-width: 0;
}

.sp-property-section__intro h2,
.sp-property-section__intro .sp-property-heading__line {
  grid-column: 1;
}

.sp-property-section__intro .sp-property-richtext {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding-top: 8px;
}

.sp-property-support__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: hsl(var(--foreground) / .18);
  border: 1px solid hsl(var(--foreground) / .18);
}

.sp-property-support__card {
  grid-column: span 2;
  min-height: 310px;
  padding: 38px 34px 40px;
  background: hsl(var(--background));
}

/*
 * Domkniecie ostatniego rzedu tylko przy PIECIU kartach (4. i 5. rozlewaja sie
 * na polowki). Przy szesciu - a tyle zamowil klient 18.08.2026 - siatka 3+3
 * wypelnia sie sama, wiec wyjatek nie moze sie odpalac.
 */
.sp-property-support__card:nth-child(4):nth-last-child(2),
.sp-property-support__card:nth-child(5):nth-last-child(1) {
  grid-column: span 3;
}

.sp-property-support__card h3 {
  margin: 0 0 18px;
  color: hsl(var(--gold));
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.12;
  /*
   * Niemieckie zlozenia ("Immobilienangelegenheiten" = 344 px) sa szersze niz
   * kolumna karty na 390 px i rozpychaly siatke o 27 px. Dzielenie wyrazow
   * zalatwia to bez zmiany stopnia pisma; break-word to siatka bezpieczenstwa.
   */
  hyphens: auto;
  overflow-wrap: break-word;
}

.sp-property-support__lead {
  margin: 0 0 22px;
}

.sp-property-support__lead-copy {
  margin: 0;
  color: hsl(var(--foreground) / .92);
  font-size: 1.05rem;
  line-height: 1.5;
}

.sp-property-support__card ul,
.sp-property-types__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-property-support__card li,
.sp-property-types__list li {
  position: relative;
  padding-left: 24px;
  color: hsl(var(--muted-foreground));
  font-size: 1.02rem;
  line-height: 1.55;
}

.sp-property-support__card li + li {
  margin-top: 14px;
}

.sp-property-support__card li::before,
.sp-property-types__list li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 1px solid hsl(var(--gold));
}

.sp-property-presence {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(52px, 6vw, 112px);
  align-items: center;
}

.sp-property-presence__media {
  height: min(58vw, 720px);
  min-height: 570px;
  overflow: hidden;
}

.sp-property-presence__copy .sp-property-heading__line,
.sp-property-types__copy .sp-property-heading__line,
.sp-property-why__title .sp-property-heading__line,
.sp-property-closing .sp-property-heading__line {
  margin-bottom: 32px;
}

.sp-property-types {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(54px, 7vw, 132px);
  align-items: start;
  padding-block: 96px;
  border-top: 1px solid hsl(var(--foreground) / .18);
  border-bottom: 1px solid hsl(var(--foreground) / .18);
}

.sp-property-types__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 42px;
  padding-top: 9px;
}

.sp-property-types__list li {
  color: hsl(var(--foreground) / .86);
  font-size: 1.12rem;
}

.sp-property-why {
  display: grid;
  grid-template-columns: minmax(300px, .68fr) minmax(520px, 1.32fr);
  gap: clamp(54px, 7vw, 132px);
  align-items: start;
}

.sp-property-why__copy {
  padding-top: 8px;
}

.sp-property-why__copy .sp-property-copy:last-child {
  color: hsl(var(--foreground));
  font-size: 1.3rem;
  font-weight: 600;
}

.sp-property-cta {
  margin-top: 142px;
}

.sp-property-closing {
  max-width: 1120px;
  padding: 12px 0 112px;
  text-align: center;
}

.sp-property-closing .sp-property-heading__line {
  margin-inline: auto;
}

.sp-property-closing .sp-property-richtext {
  max-width: 860px;
  margin-inline: auto;
}

@media (max-width: 1180px) {
  .sp-property-page {
    padding-right: 40px;
    padding-left: 40px;
  }

  .sp-property-hero__grid,
  .sp-property-presence {
    gap: 46px;
  }

  .sp-property-hero__media {
    min-height: 520px;
  }

  .sp-property-section__intro,
  .sp-property-types,
  .sp-property-why {
    column-gap: 54px;
  }

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

  .sp-property-support__card,
  .sp-property-support__card:nth-child(4):nth-last-child(2) {
    grid-column: span 1;
  }

  .sp-property-support__card:nth-child(5):nth-last-child(1) {
    grid-column: span 2;
  }

  .sp-property-presence__media {
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  .sp-property-page {
    padding: 100px 20px 0;
  }

  .sp-property-heading {
    margin-bottom: 34px;
  }

  .sp-property-heading h1 {
    font-size: 2.55rem;
    line-height: 1.01;
    letter-spacing: -.035em;
  }

  /*
   * "Immobilienverwaltung" w Georgii 40,8 px ma 385 px i nie miesci sie
   * w kolumnie 390 px. Jeden stopien mniej dla niemieckiego zamiast
   * dzielenia wyrazu myslnikiem w hero.
   */
  html[lang^="de"] .sp-property-heading h1 {
    font-size: 2.15rem;
  }

  .sp-property-heading__line {
    width: 72px;
    margin-top: 20px;
  }

  .sp-property-hero__grid,
  .sp-property-section__intro,
  .sp-property-presence,
  .sp-property-types,
  .sp-property-why {
    grid-template-columns: 1fr;
  }

  .sp-property-hero__grid,
  .sp-property-presence,
  .sp-property-types,
  .sp-property-why {
    gap: 32px;
  }

  .sp-property-hero__media {
    min-height: 0;
    height: 58vw;
  }

  .sp-property-hero__copy {
    padding-block: 0;
  }

  .sp-property-kicker {
    margin-bottom: 20px;
    font-size: 1.45rem;
  }

  .sp-property-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .sp-property-section {
    margin-top: 88px;
  }

  .sp-property-section h2,
  .sp-property-closing h2 {
    font-size: 2.35rem;
    line-height: 1.04;
  }

  html[lang^="de"] .sp-property-heading h1,
  html[lang^="de"] .sp-property-section h2,
  html[lang^="de"] .sp-property-closing h2 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .sp-property-section__intro {
    margin-bottom: 38px;
  }

  .sp-property-section__intro .sp-property-richtext {
    grid-column: 1;
    grid-row: auto;
    padding-top: 0;
  }

  .sp-property-support__grid,
  .sp-property-types__list {
    grid-template-columns: 1fr;
  }

  .sp-property-support__card,
  .sp-property-support__card:nth-child(4):nth-last-child(2),
  .sp-property-support__card:nth-child(5):nth-last-child(1) {
    grid-column: span 1;
  }

  .sp-property-support__card {
    min-height: 0;
    padding: 30px 26px 32px;
  }

  .sp-property-support__card h3 {
    font-size: 1.48rem;
  }

  .sp-property-presence__media {
    min-height: 0;
    height: 76vw;
  }

  .sp-property-presence__copy .sp-property-heading__line,
  .sp-property-types__copy .sp-property-heading__line,
  .sp-property-why__title .sp-property-heading__line,
  .sp-property-closing .sp-property-heading__line {
    margin-bottom: 26px;
  }

  .sp-property-types {
    padding-block: 70px;
  }

  .sp-property-types__list {
    gap: 22px;
    padding-top: 0;
  }

  .sp-property-why__copy {
    padding-top: 0;
  }

  .sp-property-cta {
    margin-top: 88px;
  }

  .sp-property-closing {
    padding: 0 0 76px;
  }
}

@media (max-width: 360px) {
  html[lang^="de"] .sp-property-heading h1 {
    font-size: 2rem;
  }

  html[lang^="de"] .sp-service-generic h1 {
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -.03em;
  }

  html[lang^="de"] .sp-service-generic h1 span {
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  html[lang^="de"] .sp-legal-page h1 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  .sp-home-private-button,
  .sp-home-form .sp-home-submit {
    font-size: 1.125rem;
  }

  .sp-contact-page-form .sp-contact-textarea {
    min-height: 160px;
  }

  .sp-article-prose > p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 782px) {
  body.admin-bar .sp-site-header,
  body.admin-bar .sp-menu-overlay {
    top: 46px;
  }
}

@media (max-width: 767px) {
	.sp-footer-credit {
		bottom: .75rem;
		gap: .4rem;
		font-size: .625rem;
	}

	.sp-footer-credit img {
		width: 64px;
	}

  .sp-logo img {
    height: 5rem;
  }

  footer .sp-logo img,
  .sp-menu-overlay .sp-logo img {
    height: 5rem;
  }

  .sp-home-about-copy p:first-child {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .sp-home-about-copy p:not(:first-child) {
    font-size: 1rem;
    line-height: 1.5;
  }

  .sp-menu-overlay nav {
    overflow-y: auto;
    padding-bottom: 2rem;
  }

  .sp-contact-form .wpcf7-submit {
    font-size: 1.125rem;
  }

  .sp-page-prose h2 { font-size: 1.75rem; }
  .sp-page-prose h3 { font-size: 1.45rem; }
  .sp-page-prose p,
  .sp-page-prose li { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  [data-parity-reveal],
  .sp-card-enter {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .sp-menu-overlay,
  .sp-menu-link {
    transition-delay: 0s !important;
  }
}

.sp-why-list ~ .btn-learn-more {
  margin-top: 1.25rem;
}

/* Runda 9 (25.08): separator sekcji usług - krótka wyśrodkowana złota linia zamiast białej border-t na całą szerokość */
.sp-section-divide {
  position: relative;
  padding-top: 3.5rem;
}

.sp-section-divide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4rem;
  height: 1px;
  background: hsl(var(--gold));
  opacity: .8;
  transform: translateX(-50%);
}


/* Runda 11 (27.08): home "What Defines" - Safari/Georgia renderuje nagłówek 70 px szerzej niż kolumna 387 px
   i wjeżdża w akapit obok (20 px odstępu). Mniejszy stopień + szerszy odstęp kolumn od 1280 px. */
@media (min-width: 1280px) {
  .sp-home-why-grid {
    gap: 3rem;
  }
  .sp-home-why-title {
    font-size: 64px;
    line-height: 68px;
    letter-spacing: -2.4px;
    overflow-wrap: normal;
  }
}

/* Runda 11 (27.08): Who We Are - tekst hero równo z górną krawędzią zdjęcia, nie wyśrodkowany */
.sp-about-hero-copy {
  justify-content: flex-start;
}

/* Runda 11 (27.08): kolor po najechaniu na WSZYSTKIE zdjęcia treści (wzorzec z hero Property Management).
   Domyślnie B&W przez CSS; hover odsłania kolor tam, gdzie plik jest kolorowy. Logo i hero home wyłączone. */
main img:not(.home-hero__image):not([src$=".svg"]) {
  filter: grayscale(1);
  transition: filter .7s ease, transform 1s cubic-bezier(.16, 1, .3, 1);
}
main :is(a, div, figure, article, section):hover > img:not(.home-hero__image):not([src$=".svg"]),
main .card-premium:hover img,
main .sp-team-photo:hover img,
main .sp-wide-image:hover img,
main .sp-cta-image:hover img,
main .sp-service-card-image:hover img,
main .sp-blog-card-image:hover img,
main .sp-partner-image:hover,
main .sp-property-presence__media:hover .sp-property-image {
  filter: grayscale(.35);
}
