:root {
  --green: #024562;
  --green-mid: #0a5a7a;
  --green-dark: #013047;
  --accent: #E78A45;
  --accent-soft: #F0A36A;
  --accent-hover: #d47a38;
  --red: #B71C1C;
  --danger: var(--red);
  --focus-ring: var(--accent);
  --sky: #006590;
  --cream: #f5f7f9;
  --ink: #000000;
  --muted: #4a5560;
  --paper: #ffffff;
  --sand: #eef3f7;
  --line: #d5dee6;
  --white: #fff;
  --cookie-track: #c9d4cc;
  --alert-info-bg: #ecfdf5;
  --alert-info-border: #6ee7b7;
  --alert-warn-bg: #fff7ed;
  --alert-warn-border: #fdba74;
  --progress-track: #e8efe9;
  --skeleton-mid: #e8eef2;
  --font-display: "Sansation", "Poppins", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-slogan: "Playfair Display", Georgia, "Times New Roman", serif;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sansation";
  src: url("/assets/fonts/sansation-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-400-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-400-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-700-latin-ext.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/playfair-display-700-latin.woff2") format("woff2");
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  background: #fff;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-dark); }
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: .5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.preview-banner {
  background: #7a3e00; color: #fff; text-align: center; padding: .5rem; font-size: .9rem;
}

/* ─── Site header - floating squeezed navy bar ─── */
.site-header {
  position: sticky;
  top: 10px;
  /* Above #domy-panel (1000) and map pins; below lightbox (1200) */
  z-index: 1100;
  background: transparent;
}

.header-inner {
  width: min(1140px, calc(100% - 24px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Floating bar: logo + nav + CTA */
.header-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  height: 72px;
  background: var(--green);
  border-radius: 0;
  padding: 0 20px;
  box-shadow: 0 4px 20px rgba(1,48,71,.22);
}

.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex-shrink: 0; max-width: 60px; }
.brand-logo { width: 100%; max-width: 60px; height: auto; object-fit: contain; display: block; }
.lang-switch { display: none !important; }

/* Hamburger + Menu label */
.nav-toggle {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: .35rem .15rem;
  flex-shrink: 0;
  color: #fff;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  flex-shrink: 0;
}
.nav-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav-toggle-bars span:nth-child(2) { width: 70%; }
.nav-toggle-label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  color: #fff;
  text-transform: none;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Mobile nav */
.site-nav { display: none; }
.site-nav.is-open {
  display: block;
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: var(--green);
  border-radius: 0;
  border-top: 0;
  padding: 1rem 1.5rem 1.2rem;
  box-shadow: 0 12px 28px rgba(1,48,71,.22);
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; flex-direction: column; gap: .2rem; }
.site-nav a {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  padding: .55rem .2rem;
  display: inline-block;
  transition: color .15s, transform .3s;
}
.site-nav a:hover { color: var(--accent); }
.nav-item-row { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 8px;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0; font: inherit; cursor: pointer; line-height: 1;
}
.submenu { display: none; padding: .25rem 0 .25rem .5rem; list-style: none; }
.has-children.is-open > .submenu { display: block; }
.submenu a { display: block; padding: .5rem .75rem; border-radius: 10px; color: rgba(255,255,255,.88); text-decoration: none; }
.submenu a:hover { background: rgba(255,255,255,.1); color: #fff; }
.submenu-toggle:focus-visible,
.site-nav a:focus-visible { outline: 2px solid var(--accent, #E78A45); outline-offset: 2px; }

/* Mobile nav overlay - dims page content behind the open menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(1, 48, 71, .55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease;
}
body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .nav-overlay { transition: none; }
}
@media (min-width: 900px) {
  .nav-overlay { display: none; }
}

/* When the nav is open on mobile, the header search moves inside it (via JS) so it
   isn't squeezed between the cart link and the hamburger button. */
.site-nav .header-search {
  display: block;
  margin: 0 0 1rem;
}
.site-nav .header-search input {
  width: 100%;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.site-nav .header-search input::placeholder { color: rgba(255, 255, 255, .75); }
.site-nav .header-search input:focus-visible {
  outline: 2px solid var(--accent, #E78A45);
  outline-offset: 2px;
}

/* CTA "Zapytaj o ofertę →" pill */
.nav-cta .nav-item-row > a {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 24px;
  padding: 8px 15px !important;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: filter .15s;
}
.nav-cta .nav-item-row > a::after { content: "→"; }
.nav-cta .nav-item-row > a:hover { filter: brightness(1.05); color: #fff !important; text-decoration: none !important; }

.need-banner { color: #fff; }
.need-inner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .75rem 0; flex-wrap: wrap; }
.need-banner p { margin: 0; font-weight: 600; }

.section { padding: 3.75rem 0; }
.section--compact { padding: 2.25rem 0; }
.section-alt { background: rgba(255,255,255,.55); }
@media (min-width: 900px) {
  .section { padding: 4.5rem 0; }
  .section--compact { padding: 2.75rem 0; }
}
.hero {
  position: relative; min-height: min(88vh, 720px); display: grid; align-items: end;
  color: #fff; overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  --hero-image: url('/assets/images/hero-fallback.svg');
  background-color: var(--green-dark);
  background-image:
    linear-gradient(100deg, rgba(8, 22, 16, .88) 0%, rgba(12, 36, 26, .72) 32%, rgba(16, 48, 34, .42) 55%, rgba(18, 72, 51, .22) 78%, rgba(18, 72, 51, .3) 100%),
    linear-gradient(180deg, rgba(18, 72, 51, .4), rgba(8, 22, 16, .9)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-media picture,
.hero-media .hero-media-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block;
}
.hero-media .hero-media-img {
  object-fit: cover; object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(100deg, rgba(8, 22, 16, .88) 0%, rgba(12, 36, 26, .72) 32%, rgba(16, 48, 34, .42) 55%, rgba(18, 72, 51, .22) 78%, rgba(18, 72, 51, .3) 100%),
    linear-gradient(180deg, rgba(18, 72, 51, .4), rgba(8, 22, 16, .9));
}
.hero-media:has(.hero-media-img) {
  background-image: none;
}
.hero-content { position: relative; z-index: 2; padding: 4rem 0 3rem; }
.hero-content h1,
.hero-content .lead,
.hero-content .eyebrow,
.hero-content .trust {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 6px 24px rgba(0, 0, 0, .35);
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .9; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); max-width: 12ch; margin: .4rem 0 1rem; }
.lead { font-size: 1.15rem; max-width: 38rem; }
.trust { opacity: .9; font-size: .95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.4rem 0 1rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  text-decoration: none; border: 0; border-radius: 999px; padding: .8rem 1.25rem;
  font-family: var(--font-body); font-weight: 500; cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.section .btn-ghost, .section-alt .btn-ghost, main .btn-ghost:not(.hero .btn-ghost) {
  background: transparent; color: var(--green); border: 1px solid var(--green-mid);
}
.hero .btn-ghost,
.section.hero .btn-ghost,
main .hero .btn-ghost {
  background: rgba(255,255,255,.22) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.85) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.hero .btn-ghost:hover,
.section.hero .btn-ghost:hover {
  background: rgba(255,255,255,.35) !important;
}
.btn-light { background: #fff; color: var(--green); }
.btn-danger-outline {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid var(--danger);
  font-weight: 600;
}
.btn-danger-outline:hover {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
}
.prose { overflow-wrap: anywhere; }
.prose img { max-width: 100%; height: auto; }
.prose pre, .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose h2 {
  margin: 2rem 0 .85rem;
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 600;
}
.prose h3 {
  margin: 1.5rem 0 .65rem;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  margin: 1rem 0 1.5rem;
}
.prose th,
.prose td {
  border: 1px solid var(--line, #d7e0da);
  padding: .65rem .75rem;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: #f3f7f5;
  font-weight: 600;
}
.prose ul { margin: .5rem 0 1.1rem; padding-left: 1.25rem; }
.prose li { margin: .35rem 0; }
.prose blockquote,
.donate-scripture {
  margin: 1.25rem 0;
  padding: .85rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: #faf8f5;
  color: var(--ink, #1a1f1c);
}
.prose blockquote p,
.donate-scripture p { margin: 0; }
.donate-scripture-note { color: var(--muted, #5b6b5e); margin: 0 0 1.5rem; }
.cols-2, .cols-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }

.split { display: grid; gap: 2rem; align-items: center; }
.media-frame {
  min-height: 220px; border-radius: 18px; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(27,107,74,.2), rgba(75,163,195,.25)),
    #dfece5;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-frame.round { border-radius: 28px; aspect-ratio: 1; max-width: 320px; }
.media-frame.card-thumb { min-height: 0; aspect-ratio: 16 / 10; margin-bottom: .85rem; }
.media-frame.lead-image { min-height: 0; aspect-ratio: 16 / 9; max-height: 420px; }
.card-item .media-frame.round.card-thumb { max-width: 160px; margin-bottom: 1rem; }

.grid { display: grid; gap: 1.25rem; }
.cards { grid-template-columns: 1fr; }
.card-item {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(27,107,74,.05);
}
.card-item a { text-decoration: none; color: inherit; }
.card-item a.btn-primary,
.card-item a.btn-accent { color: #fff; }
.card-item a.btn-ghost { color: var(--green); }
.stats { grid-template-columns: repeat(2, 1fr); }
.stat-value { font-family: var(--font-display); font-size: 2rem; color: var(--green); }
.stat-label { color: var(--muted); }

.cta-band, .donate-cta {
  background:
    linear-gradient(120deg, rgba(26,60,30,.96), rgba(16,40,16,.94)),
    var(--green);
  color: #fff;
}
.donate-cta { background: linear-gradient(120deg, var(--accent-hover), var(--accent)); }

.section-heading-accent {
  display: inline-block;
  padding: .15rem .55rem;
  background: linear-gradient(90deg, rgba(217,119,6,.18), transparent);
  border-left: 4px solid var(--accent);
}

.quote { margin: 0; font-family: var(--font-display); font-size: 1.4rem; }
.quote footer { font-family: var(--font-body); font-size: 1rem; color: var(--muted); margin-top: .75rem; }

.form { display: grid; gap: .85rem; margin-top: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; font: inherit; background: #fff;
}
.form label.check {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: .65rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 36rem;
}
.form label.check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  margin: .2rem 0 0;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid var(--green);
  border-radius: 3px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: .7rem .7rem;
  accent-color: var(--green);
  cursor: pointer;
}
.form label.check input[type="checkbox"]:checked {
  border-color: var(--green);
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form label.check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
.form label.check span { flex: 1; min-width: 0; }
.form label.check a { color: var(--green); text-decoration: underline; }
.form-inline { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.form-inline input { min-width: min(280px, 100%); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: 0; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: var(--danger); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gallery-item { margin: 0; }
.gallery-trigger {
  display: block; width: 100%; padding: 0; border: 0; background: transparent;
  cursor: zoom-in; border-radius: 8px; overflow: hidden;
}
.gallery-trigger:focus-visible {
  outline: 3px solid var(--sky); outline-offset: 3px;
}
.gallery-trigger img {
  display: block; width: 100%; height: auto; vertical-align: middle;
  transition: transform .25s ease;
}
.gallery-trigger:hover img { transform: scale(1.02); }
.gallery-item figcaption {
  margin-top: .5rem; font-size: .85rem; color: var(--muted); line-height: 1.35;
}

.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none !important; }
.lightbox-backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .82); cursor: zoom-out;
}
.lightbox-panel {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  padding: 3.5rem 4rem 2rem;
  box-sizing: border-box;
}
.lightbox-close {
  position: absolute; top: 1rem; right: 1.25rem; z-index: 3;
  width: 2.75rem; height: 2.75rem; min-width: 2.75rem; min-height: 2.75rem; border: 0; border-radius: 0;
  background: transparent; color: #fff; font-size: 1.75rem; line-height: 1;
  cursor: pointer;
  opacity: .9;
}
.lightbox-close:hover, .lightbox-nav:hover { opacity: 1; background: transparent; }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 3rem; height: 3rem; border: 0; border-radius: 0;
  background: transparent; color: #fff; font-size: 2.5rem;
  cursor: pointer; line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.lightbox-prev { left: .75rem; }
.lightbox-next { right: .75rem; }
.lightbox-figure {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: .65rem;
  min-width: 0; max-width: min(92vw, 1100px); width: 100%;
  height: min(82vh, 900px);
}
.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}
.lightbox-stage.is-zoomed { cursor: grab; }
.lightbox-stage.is-grabbing { cursor: grabbing; }
.lightbox-figure img,
.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
}
.lightbox-toolbar {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: .35rem;
  padding: .25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
}
.lightbox-zoom {
  min-width: 2.75rem;
  min-height: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font: 600 1rem/1 var(--font-body);
  cursor: pointer;
}
.lightbox-zoom:hover { background: rgba(255, 255, 255, .26); }
.lightbox-zoom-reset {
  min-width: 3.5rem;
  font-size: .8rem;
}
.lightbox-zoom-help {
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: .72rem;
  text-align: center;
}
.lightbox-meta {
  position: absolute;
  top: 1.15rem;
  left: 1.35rem;
  z-index: 3;
  text-align: left;
  color: #fff;
  max-width: 40rem;
  pointer-events: none;
}
.lightbox-counter {
  display: block;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  opacity: 1;
  margin: 0;
  letter-spacing: .02em;
}
.lightbox-caption { margin: .35rem 0 0; font-size: .9rem; line-height: 1.4; opacity: .85; }
@media (max-width: 699px) {
  .lightbox-panel { padding: 3.25rem 2.5rem 1.5rem; }
  .lightbox-figure { height: min(70vh, 700px); }
  .lightbox-prev { left: .15rem; }
  .lightbox-next { right: .15rem; }
  .lightbox-close { top: .75rem; right: .75rem; }
  .lightbox-meta { top: .9rem; left: .9rem; }
  .lightbox-toolbar { top: 3.25rem; }
  .lightbox-zoom-help { display: none; }
}

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; margin-bottom: .6rem; }

.site-footer {
  margin-top: 0;
  padding: 40px 0;
  min-height: 450px;
  color: #fff;
  /* Desktop: PNG has transparent sides - keep bg transparent so white page shows through */
  background-color: transparent;
  background-image: url("/assets/branding/stopka.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--font-body);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; opacity: .88; }
.site-footer-inner {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #fff;
}
.footer-logo-link {
  display: inline-flex;
  line-height: 0;
}
.footer-logo {
  width: auto;
  height: 48px;
  object-fit: contain;
  display: block;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent);
  color: #fff !important;
  border: 1px solid transparent;
  border-radius: 39px;
  padding: .55rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.footer-cta::after { content: "→"; }
.footer-cta:hover {
  background: #fff;
  color: var(--accent) !important;
  border-color: var(--accent);
  opacity: 1;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
}
.footer-col-contact {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer-contact-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.footer-contact-role {
  margin: 0 0 .55rem;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
}
.footer-contact-row {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  margin: .2rem 0;
}
.footer-contact-row img {
  width: 22px;
  height: auto;
  flex-shrink: 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
}
.footer-col-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}
.footer-social-row {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  line-height: normal;
}
.footer-social-row img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-privacy {
  margin-top: .35rem;
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  line-height: normal;
}
/* Mobile: content stacks taller than desktop art - drop fixed min-height, keep logo+CTA on one row */
@media (max-width: 699px) {
  .site-footer {
    min-height: 0;
    padding: 28px 0 40px;
    background-position: center top;
    /* Opaque fallback only on mobile (PNG letterboxing / tall stack) - not on desktop sides */
    background-color: #01435f;
  }
  .footer-top {
    flex-wrap: nowrap;
    gap: .75rem;
    padding-bottom: 1rem;
  }
  .footer-logo {
    height: 40px;
  }
  .footer-cta {
    flex-shrink: 0;
    padding: .45rem 1rem;
    font-size: 13px;
  }
  .footer-cols {
    gap: 1.5rem;
    padding-top: 1.5rem;
  }
}
@media (min-width: 700px) {
  .footer-cols {
    /* Live: contact left, nav + social clustered on the right */
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: clamp(2.5rem, 6vw, 5.5rem);
    row-gap: 2rem;
    align-items: start;
  }
  .footer-col-nav {
    justify-self: end;
  }
  .footer-col-social {
    justify-self: end;
    align-items: flex-end;
    text-align: end;
  }
  .footer-logo {
    height: 56px;
  }
}
@media (min-width: 900px) {
  .footer-cols {
    column-gap: clamp(3rem, 8vw, 7rem);
    padding-top: 2.5rem;
  }
}

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: var(--paper);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -12px 40px rgba(16,40,16,.14);
  padding: var(--space-4) var(--space-5) var(--space-5);
}
.cookie-banner-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; gap: 1.25rem; align-items: start;
}
.cookie-title { margin: 0 0 .35rem; font-weight: 700; color: var(--ink); }
.cookie-policy-link { margin: 0 0 .85rem; font-size: .92rem; color: var(--muted); }
.cookie-toggles { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.cookie-toggle {
  display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: center;
  cursor: pointer; font-size: .95rem;
}
.cookie-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cookie-switch {
  width: 2.6rem; height: 1.4rem; border-radius: 999px;
  background: var(--cookie-track, #c9d4cc); position: relative; transition: background .2s ease;
}
.cookie-switch::after {
  content: ""; position: absolute; top: .15rem; left: .15rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease;
}
.cookie-toggle input:checked + .cookie-switch { background: var(--accent); }
.cookie-toggle input:checked + .cookie-switch::after { transform: translateX(1.2rem); }
.cookie-toggle input:disabled + .cookie-switch { opacity: .85; }
.cookie-toggle input:disabled ~ .cookie-label { color: var(--muted); }
.cookie-toggle:focus-within .cookie-switch {
  outline: 2px solid var(--focus-ring, var(--accent));
  outline-offset: 3px;
}
.cookie-switch:focus-visible {
  outline: 2px solid var(--focus-ring, var(--accent));
  outline-offset: 3px;
}
.cookie-actions {
  display: flex; flex-direction: column; gap: .65rem; align-items: stretch;
}
.cookie-brand {
  align-self: flex-end;
  width: 180px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-bottom: .35rem;
}
.cookie-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.cookie-btn {
  border-radius: 999px; padding: .7rem 1rem; font: inherit; font-weight: 700;
  cursor: pointer; text-transform: uppercase; letter-spacing: .03em; font-size: .82rem;
}
.cookie-btn-outline {
  background: var(--white); color: var(--ink); border: 1px solid var(--ink);
}
.cookie-btn-outline:hover { border-color: var(--green-mid); color: var(--green); }
.cookie-btn-primary {
  background: var(--green); color: var(--white); border: 1px solid var(--green);
}
.cookie-btn-primary:hover { background: var(--green-mid); }
.cookie-reopen {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 70;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--green-dark); color: var(--white);
  box-shadow: 0 8px 24px rgba(16,40,16,.28);
  display: inline-flex; align-items: center; justify-content: center;
}
.cookie-reopen:hover { background: var(--green-mid); }
.cookie-banner[hidden], .cookie-reopen[hidden] { display: none !important; }
@media (min-width: 800px) {
  .cookie-banner-inner { grid-template-columns: 1.4fr .9fr; gap: 2rem; align-items: center; }
  .cookie-actions { align-self: stretch; justify-content: center; }
}

.progress { height: .75rem; background: var(--progress-track, #e8efe9); border-radius: 999px; overflow: hidden; margin: 1rem 0 .5rem; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--green), var(--accent)); width: 0; transition: width .4s ease; }
.progress-meta { color: var(--muted, #5b6b5e); margin: 0 0 1.25rem; }
.campaign-grid { display: grid; gap: 1.5rem; }
.campaign-teaser { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.campaign-card {
  border: 1px solid var(--line, #d5dee6);
  border-radius: 12px;
  background: var(--paper, #fff);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.campaign-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--sand, #eef3f7);
  overflow: hidden;
}
.campaign-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.campaign-card-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.campaign-card h2 {
  margin: 0;
  font-size: 1.2rem;
}
.campaign-card h2 a {
  color: inherit;
  text-decoration: none;
}
.campaign-card h2 a:hover { text-decoration: underline; }
.campaign-card-desc {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.campaign-card .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 640px) {
  .campaign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .campaign-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.donate-form fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
.donate-form legend { font-weight: 700; margin-bottom: .75rem; }
.donate-form label { display: block; margin: .6rem 0; }
.donate-form input[type="text"],
.donate-form input[type="email"],
.donate-form input[type="number"],
.donate-form select,
.donate-form textarea {
  width: 100%; max-width: 28rem; display: block; margin-top: .35rem;
  padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; font: inherit;
}
.amount-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.amount-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 10px;
  padding: .75rem 1.15rem; min-height: 2.75rem; cursor: pointer; font: inherit;
}
.amount-btn.is-active, .amount-btn:hover { border-color: var(--accent); background: var(--alert-warn-bg, #fff7ed); }
.bank-box {
  background: #f7faf7; border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.25rem; margin: 1rem 0 1.5rem; text-align: left;
  overflow-wrap: anywhere;
}
.bank-box.left { text-align: left; }
.alert { padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.alert.info { background: var(--alert-info-bg, #ecfdf5); border: 1px solid var(--alert-info-border, #6ee7b7); color: var(--green-dark, #14532d); }
.alert-warn { background: var(--alert-warn-bg, #fff7ed); border: 1px solid var(--alert-warn-border, #fdba74); }
.plain { list-style: none; padding: 0; }
.btn-row.center { justify-content: center; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: var(--danger); }
.plain-table { width: 100%; border-collapse: collapse; }
.plain-table th, .plain-table td { text-align: left; padding: .5rem 0; border-bottom: 1px solid var(--line); }

@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .campaign-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .submenu-toggle { display: none; }
  .site-nav { display: block !important; position: static; padding: 0; background: transparent; border: 0; box-shadow: none; }
  .site-nav > ul { flex-direction: row; align-items: center; gap: 30px; }
  .nav-item-row { display: block; }
  .has-children { position: relative; }
  .has-children > .submenu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 40;
    padding: .55rem; padding-top: calc(.55rem + .4rem);
    margin: 0; border: 0; background: transparent; box-shadow: none;
  }
  .has-children > .submenu::before {
    content: ""; position: absolute; left: 0; right: 0; top: .4rem; bottom: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 18px 44px rgba(16,40,16,.12); z-index: -1;
  }
  .submenu a { padding: .6rem .85rem; position: relative; z-index: 1; color: var(--ink); }
  .submenu a:hover { background: rgba(2,69,98,.06); color: var(--ink); }
  .has-children:hover > .submenu,
  .has-children:focus-within > .submenu { display: block; }
  /* Nav links spacing - live: gap 30px, 16px/400 */
  .site-nav > ul > li:not(.nav-cta) > .nav-item-row > a {
    padding: 0;
    font-size: 16px;
    font-weight: 400;
  }
  .site-nav > ul > li:not(.nav-cta) > .nav-item-row > a:hover {
    transform: scale(1.1);
    color: var(--accent);
    text-decoration: underline;
  }
  /* CTA stays at end, auto-pushed by flex space-between on pill */
  .site-split { grid-template-columns: 1.1fr .9fr; }
  .split-reverse { grid-template-columns: .9fr 1.1fr; }
  .split-reverse > :first-child { order: 2; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.founder-layout, .person-profile { display: grid; gap: 2rem; align-items: start; }
.founder-photo, .person-photo { max-width: 280px; width: 100%; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem 1.25rem; box-shadow: 0 8px 24px rgba(27,107,74,.05);
  margin-top: 1.5rem;
}
.contact-card h3 { margin-top: 0; }
.team-members-heading { margin: 0 0 1.75rem; }
.team-grid { display: grid; gap: 2.5rem; }
.person-body h2 { margin-top: 0; margin-bottom: .25rem; }
.person-body .quote { margin: .85rem 0 1rem; }
.program-block h2 { margin-top: 0; }
.program-block.center ul {
  list-style-position: inside;
  margin: .75rem auto 0;
  padding: 0;
  max-width: 36rem;
  text-align: left;
  display: inline-block;
}
.program-block.center .section-heading-accent {
  margin-left: auto;
  margin-right: auto;
}
.account-listings { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.85rem; }
.account-listing-row {
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.account-listing-actions { flex-wrap: wrap; }
@media (min-width: 720px) {
  .account-listing-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.sponsor-card {
  border: 1px solid var(--line, #d5dee6);
  border-radius: 12px;
  background: var(--paper, #fff);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sponsor-card-media {
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--sand, #eef3f7);
  overflow: hidden;
}
.sponsor-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.sponsor-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sponsor-card h2 {
  margin: 0;
  font-size: 1.15rem;
}
.sponsor-card .card-thumb { margin-bottom: .75rem; }
.sponsor-meta { color: var(--muted); font-size: .92rem; margin: .35rem 0; }
.sponsor-excerpt { color: var(--ink); font-size: .95rem; line-height: 1.45; margin: .65rem 0 1rem; }
.sponsor-intro { max-width: 48rem; }
.sponsor-card .media-frame.card-thumb {
  display: block;
  aspect-ratio: 3 / 4;
  min-height: 0;
}
.sponsor-card .media-frame.card-thumb img {
  object-fit: cover;
  object-position: center 15%;
}
.sponsor-detail-photo {
  aspect-ratio: 3 / 4;
  max-height: none;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.sponsor-detail-photo img {
  object-fit: cover;
  object-position: center 15%;
}
.story-carousel {
  margin: 1.25rem 0 0;
}
.story-carousel-viewport {
  overflow: hidden;
  border-radius: 14px;
  background: #dfece5;
}
.story-carousel-track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}
.story-carousel-slide {
  margin: 0;
  flex: 0 0 50%;
  min-width: 50%;
  box-sizing: border-box;
  padding-right: .4rem;
}
.story-carousel-slide:nth-child(even) {
  padding-right: 0;
  padding-left: .4rem;
}
.story-carousel-slide .gallery-trigger {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #c5d9ce;
}
.story-carousel-slide .gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.story-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-top: .85rem;
}
.story-carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.story-carousel-btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.story-carousel-btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.story-carousel-dots {
  display: flex;
  gap: .4rem;
  align-items: center;
}
.story-carousel-dot {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.story-carousel-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: .55rem;
  height: .55rem;
  margin: -.275rem 0 0 -.275rem;
  border-radius: 999px;
  background: #b7c9be;
}
.story-carousel-dot.is-active {
  background: transparent;
  transform: none;
}
.story-carousel-dot.is-active::after {
  background: var(--green);
  transform: scale(1.15);
}
.story-carousel-dot:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}
@media (min-width: 700px) {
  .founder-layout, .person-profile { grid-template-columns: minmax(200px, 280px) 1fr; gap: 2.5rem; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
}

/* -- Numbered section titles (canonical: 02. Lokalizacja) -- */
.section-num-title,
.image-text h2,
.apartment-availability h2,
.gallery h2,
.consultation h1,
.consultation-two-col h2,
.rich_text h2,
.section h1,
.section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0;
}

.section-num-title {
  margin: 0 0 1.25rem;
  font-size: 40px;
  line-height: 1.15;
  color: #000;
}
.section-num-title .nr {
  font-size: 27px;
  font-weight: 400;
}
@media (min-width: 900px) {
  .section-num-title {
    font-size: 48px;
    margin-bottom: 1.5rem;
  }
  .section-num-title .nr {
    font-size: 27px;
  }
}

.hero-split {
  position: relative;
  background-color: #fff;
  background-image: none;
  padding: 0;
  overflow: visible;
}
/* Same rail as floating nav - squeezed, not full-bleed (left + stats) */
.hero-split-shell {
  width: min(1140px, calc(100% - 24px));
  margin-inline: auto;
  position: relative;
  overflow: visible;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(72vh, 640px);
}
.hero-split-copy {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 3rem 1.25rem 5.5rem;
  min-width: 0;
  overflow: hidden;
}
.hero-split-copy-inner {
  width: 100%;
  max-width: 28rem;
  margin: 0;
}
.hero-split-copy h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: #000;
  font-size: 39px;
  max-width: 100%;
  margin: 0 0 1rem;
  line-height: 46px;
  letter-spacing: 0;
  text-shadow: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.hero-highlight {
  background: linear-gradient(268deg, var(--accent-bright, #FAA321) 27.43%, var(--sky) 80.99%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-display);
  font-weight: 400;
}
.hero-split-copy .lead {
  color: #000;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 100%;
  margin: 0;
  text-shadow: none;
}
.hero-split .btn-row { margin: 1.25rem 0 0; }
.hero-split .btn-accent {
  font-size: 16px;
  font-weight: 500;
  border-radius: 24px;
  padding: 8px 16px;
  max-width: none;
  width: auto;
  white-space: nowrap;
  text-align: center;
}
.hero-split-media {
  min-height: 280px;
  min-width: 0;
  background: #dfe7ee;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero-split-media picture {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 280px;
}
.hero-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  min-height: 280px;
  display: block;
}
/* Mobile stacked: reserve space to avoid CLS without breaking desktop absolute hero */
@media (max-width: 899px) {
  .hero-split-media {
    aspect-ratio: 1024 / 1093;
    min-height: 0;
  }
  .hero-split-media picture,
  .hero-split-media img {
    min-height: 0;
  }
}
.hero-stats-bar {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: -7rem 0 2.25rem;
  background: var(--sky);
  color: #fff;
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(1, 48, 71, .2);
}
.hero-stats-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
}
.hero-stat {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.hero-stat:last-of-type { border-bottom: 0; }
.hero-stat strong {
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-stat span {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  opacity: 1;
  color: #fff;
}
.hero-stats-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: .35rem;
}
.hero-stats-socials a {
  display: inline-flex;
  line-height: 0;
}
.hero-stats-socials img {
  width: 33px;
  height: 32px;
  display: block;
}

.estate-about {
  background: #fff;
  color: #fff;
  padding: 2.5rem 0;
}
.estate-about-panel {
  position: relative;
  isolation: isolate;
  background-image: radial-gradient(at top right, var(--sky) 79%, var(--accent-bright, #FAA321) 100%);
  padding: 2.25rem 2rem 2.5rem;
  color: #fff;
}
.estate-about-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(at bottom center, var(--accent-bright, #FAA321) 0%, var(--sky) 100%);
  opacity: 0.5;
}
.estate-about-panel > * {
  position: relative;
  z-index: 1;
}
.estate-about-heading {
  color: #fff !important;
  margin: 0 0 1.15rem;
}
.estate-about-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}
.estate-about-body p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 1rem;
  max-width: none;
}
.estate-about-body p:last-child {
  margin-bottom: 0;
}
.estate-about-top {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: start;
}
.estate-about-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #012938;
  overflow: hidden;
}
.estate-about-video-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.estate-about-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}
.estate-about-video-frame .hero-video-el {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}
/* Until native poster is applied (or on mobile forever): keep <picture> above the black video surface. */
.estate-about-video-frame:not(.is-playing):not(.has-native-poster) .estate-about-video-poster {
  z-index: 2;
}
/* After JS sets native poster on desktop, drop duplicate <picture> (avoids double download). */
@media (min-width: 900px) {
  .estate-about-video-frame.has-native-poster:not(.is-playing) .estate-about-video-poster {
    display: none;
  }
}
/* Mobile: hide inert black video chrome; clicks still hit the frame / pass through to handlers. */
@media (max-width: 899px) {
  .estate-about-video-frame:not(.is-playing) .hero-video-el {
    opacity: 0;
  }
}
.estate-about-video-frame.is-playing .estate-about-video-poster {
  display: none;
}
.estate-about-video video,
.estate-about-video img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  background: #012938;
  display: block;
  object-fit: contain;
  vertical-align: middle;
}
.estate-about-video-frame .hero-video-el {
  background: transparent;
}
.estate-about-bottom {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
.estate-about-side {
  min-height: 0;
  height: 100%;
}
.estate-about-side img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 0;
  display: block;
  object-fit: cover;
}
.estate-feature-grid {
  display: grid;
  gap: .85rem;
}
.estate-feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  padding: .75rem 1rem .75rem 1.1rem;
}
.estate-feature-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.estate-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.estate-feature-card h3 {
  margin: 0 0 0.85rem;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: #111;
  line-height: 1.2;
}
.estate-feature-card p {
  margin: 0;
  color: #333;
  font-size: .88rem;
  line-height: 1.4;
  font-family: var(--font-body);
}

.slogan-banner {
  /*
   * Band: #F5F5F5 - lighter than soft watermark #EDEDED / strokes #B7B7B7.
   * Art fills the full height of this strip; only horizontal inset remains.
   */
  --slogan-band: #f5f5f5;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-block: 2.5rem;
  padding: 0;
  background: var(--slogan-band);
  overflow: hidden;
  display: block;
  line-height: 0;
  box-sizing: border-box;
}
.slogan-banner-frame {
  position: relative;
  /* Side margins only - art is edge-to-edge vertically. */
  width: min(1320px, 92%);
  margin-inline: auto;
  line-height: 0;
  background: var(--slogan-band);
}
.slogan-banner-picture {
  display: block;
  width: 100%;
  line-height: 0;
}
.slogan-banner-art {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2400 / 500;
  vertical-align: top;
  object-fit: contain;
  object-position: center center;
  background: var(--slogan-band);
}
.slogan-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  background: transparent;
}
.slogan-hotspot--phone {
  left: 3.5%;
  top: 20%;
  width: 17%;
  height: 9%;
}
.slogan-hotspot--qr {
  left: 3.5%;
  top: 30%;
  width: 17%;
  height: 38%;
}
@media (min-width: 900px) {
  .slogan-banner {
    margin-block: 2.75rem;
  }
  .slogan-banner-frame {
    width: min(1360px, 90%);
  }
}
@media (max-width: 699px) {
  .slogan-banner {
    margin-block: 1.5rem;
  }
  .slogan-banner-frame {
    width: min(100% - 1rem, 96%);
  }
  .slogan-hotspot--phone {
    left: 2%;
    top: 18%;
    width: 22%;
    height: 10%;
  }
  .slogan-hotspot--qr {
    left: 2%;
    top: 28%;
    width: 22%;
    height: 42%;
  }
}

.newsletter {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  margin-top: 1.25rem;
  padding: 3.5rem 0;
  color: #fff;
  background:
    url('/assets/content/mlynowo/newsletter-bg.webp') center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.74;
  background-image: radial-gradient(at top right, color-mix(in srgb, var(--sky) 88%, transparent) 68%, color-mix(in srgb, var(--accent-bright, #FAA321) 88%, transparent) 94%);
}
.newsletter-inner {
  position: relative;
  z-index: 1;
}
.newsletter h2 {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 50px);
  letter-spacing: 0;
  line-height: 1.15;
}
.newsletter-lead {
  margin: 0 0 1.35rem;
  max-width: 40rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.35;
}
.newsletter-form {
  max-width: 40rem;
}
.newsletter-fields {
  max-width: 100%;
}
.newsletter-fields label {
  display: block;
  margin: 0 0 0.15rem;
  padding: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
}
.newsletter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}
.newsletter-row input[type="email"] {
  flex: 1 1 220px;
  min-height: 2.75rem;
  margin: 0;
  border: 0;
  border-radius: 3px;
  padding: 0.65rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
}
.newsletter-row input[type="email"]::placeholder {
  color: var(--muted, #5b6b5e);
}
.newsletter-submit {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.55rem 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.newsletter-submit:hover {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}
.newsletter-consent,
.newsletter .form label.newsletter-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.85rem;
  max-width: 40rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
}
.newsletter .form label.newsletter-consent input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  margin: 0.15rem 0 0;
  padding: 0;
  flex-shrink: 0;
  border: 2px solid #fff;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, .18);
  background-repeat: no-repeat;
  background-position: center;
  background-size: .7rem .7rem;
  accent-color: var(--accent);
  cursor: pointer;
}
.newsletter .form label.newsletter-consent input[type="checkbox"]:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.newsletter .form label.newsletter-consent span {
  flex: 1;
  min-width: 0;
}
.newsletter-consent a,
.newsletter .form label.newsletter-consent a {
  color: #fff;
  text-decoration: underline;
}
.newsletter-fields .req {
  color: var(--accent);
  margin-left: 0.1rem;
}
.newsletter .form-status {
  margin-top: 0.75rem;
  color: #fff;
}
@media (max-width: 599px) {
  .newsletter {
    min-height: 320px;
    padding: 2.75rem 0;
  }
  .newsletter-row .newsletter-submit {
    width: 100%;
  }
}
.location-section {
  background: #fff;
  padding: 5rem 0 3.5rem;
}
.location-inner {
  width: min(1140px, calc(100% - 2rem));
}
.location-heading {
  margin: 0 0 1.25rem;
}
.location-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
.location-map {
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
.location-map img,
.location-map picture {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.location-copy {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.55;
}
.location-copy p {
  margin: 0 0 1rem;
}
.location-copy p:last-child {
  margin-bottom: 0;
}
.location-copy strong {
  font-weight: 700;
}
.location-footer {
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: 1.55;
}
.location-footer p {
  margin: 0;
}

@media (min-width: 900px) {
  .location-heading {
    margin-bottom: 1.5rem;
  }
  .location-top {
    grid-template-columns: 0.6fr 0.4fr;
    gap: 1.5rem;
    align-items: start;
  }
  .location-copy {
    padding-top: 0.35rem;
  }
  .location-copy p {
    margin: 0 0 0.85rem;
  }
  .location-copy p + p {
    margin-top: -0.35rem;
  }
  .location-footer {
    margin-top: 1.25rem; /* ~20px like live */
  }
}
.gallery-section .gallery-heading { margin-bottom: 1.75rem; }

/* -- Młynowo unit showcase (03 Mieszkania) -- */
.unit-showcase {
  padding: 3.75rem 0;
}
.unit-showcase .unit-tabs,
.unit-showcase #lokale-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0.75rem 0 1.5rem;
}
.unit-showcase .button-lokal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 10px 1px;
  margin: 1px;
  text-decoration: none;
  color: #000;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 45px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: border-bottom .3s ease, color .3s ease, width .3s ease;
  font-family: var(--font-body);
  background: transparent;
}
.unit-showcase .button-lokal .expanded-text {
  display: none;
  font-weight: 600;
  color: var(--green);
  font-size: 14px;
}
.unit-showcase .button-lokal:hover,
.unit-showcase .button-lokal.active {
  border-bottom: 2px solid var(--green);
  color: var(--green);
  width: 120px;
}
.unit-showcase .button-lokal:hover .short-text,
.unit-showcase .button-lokal.active .short-text {
  display: none;
}
.unit-showcase .button-lokal:hover .expanded-text,
.unit-showcase .button-lokal.active .expanded-text {
  display: inline;
}
@media (max-width: 640px) {
  .unit-showcase .button-lokal:hover,
  .unit-showcase .button-lokal.active {
    width: 45px;
  }
  .unit-showcase .button-lokal:hover .short-text,
  .unit-showcase .button-lokal.active .short-text {
    display: inline;
  }
  .unit-showcase .button-lokal:hover .expanded-text,
  .unit-showcase .button-lokal.active .expanded-text {
    display: none;
  }
  .unit-showcase .button-lokal.active {
    border-bottom: 2px solid var(--green);
    color: var(--green);
    font-weight: 600;
  }
}
.unit-showcase .button-lokal:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line, #d5dee6);
  background: var(--sand, #eef3f7);
  color: inherit;
  text-decoration: none;
  font-size: 0.85rem;
}
.tag-chip:hover {
  border-color: var(--accent, #E78A45);
  color: var(--accent, #E78A45);
}
.blog-related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 1rem 0 2rem;
}
@media (min-width: 640px) {
  .blog-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.blog-card--compact .blog-card-body {
  padding: 0.85rem 1rem;
}
.blog-card--compact h3 {
  margin: 0;
  font-size: 1.05rem;
}
.blog-card--compact h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-card--compact h3 a:hover { text-decoration: underline; }
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 0;
}
.unit-showcase-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.unit-showcase-lead {
  margin: 0 0 1.25rem;
  max-width: none;
  font-size: 1rem;
  color: var(--ink);
}
.unit-showcase-lead p { margin: 0; }
.unit-data-table,
.unit-showcase #data-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 0;
}
.unit-data-table th,
.unit-data-table td,
.unit-showcase #data-table th,
.unit-showcase #data-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  font-size: .95rem;
}
.unit-data-table thead th,
.unit-showcase #data-table thead th {
  background-color: var(--green);
  color: #fff;
  font-weight: 600;
}
.unit-data-table tfoot th,
.unit-data-table tfoot td,
.unit-showcase #data-table tfoot th,
.unit-showcase #data-table tfoot td {
  background-color: var(--green);
  color: #fff;
  font-weight: 600;
}
.unit-data-table tfoot th,
.unit-showcase #data-table tfoot th {
  text-align: right;
}
.unit-data-table tbody tr:nth-child(even),
.unit-showcase #data-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
.unit-data-table tbody tr:hover,
.unit-showcase #data-table tbody tr:hover {
  background-color: #f1f1f1;
}
.unit-table-placeholder {
  text-align: center;
  color: var(--muted);
}
.unit-showcase-cta {
  display: grid;
  gap: .75rem;
  margin-top: 1.25rem;
}
.unit-showcase-cta .unit-cta {
  width: 100%;
  border-radius: 39px;
  padding: .55rem 1.25rem;
  justify-content: center;
}
.unit-showcase-cta .unit-cta:hover {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  box-sizing: border-box;
}
.unit-plan,
.unit-showcase #image-container {
  margin-top: 0;
  text-align: center;
}
.unit-plan-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
}
.unit-plan-trigger img,
.unit-showcase #image-display {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  background: #f5f7f9;
}

/* -- Młynowo gallery carousel (06 Galeria) -- */
.gallery-section {
  padding-top: 7.5rem;
  padding-bottom: 5.5rem;
  background: #fff;
  overflow-x: clip;
}
.gallery-heading {
  text-align: left;
  margin: 0 0 1.75rem;
}
.gallery-carousel {
  margin-top: 0;
}
.gallery-carousel--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.gallery-carousel-frame {
  position: relative;
  display: flex;
  align-items: center;
}
.gallery-carousel-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  container-type: inline-size;
  container-name: gallery-carousel;
}
.gallery-carousel-track {
  display: flex;
  gap: 10px;
  transition: transform .4s ease;
  will-change: transform;
}
.gallery-carousel-slide {
  /* Size against viewport (cqi), not the growing track - required for cloned infinite slides */
  flex: 0 0 calc((100cqi - 40px) / 5); /* 5 visible + 4 gaps of 10px */
  min-width: 0;
  margin: 0;
}
.gallery-carousel-slide .gallery-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  cursor: pointer;
  border-radius: 0;
  overflow: hidden;
  /* Match live mlynowo.pl carousel tiles (~near-square), not a flat 2.2:1 strip */
  aspect-ratio: 1.08 / 1;
}
.gallery-carousel-slide .gallery-trigger picture,
.gallery-carousel-slide .gallery-trigger img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-carousel-slide .gallery-trigger:hover img {
  transform: scale(1.03);
}
.gallery-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-carousel-arrow:hover { color: #fff; opacity: .85; }
.gallery-carousel-arrow:disabled { opacity: .25; cursor: default; }
.gallery-carousel-arrow--prev { left: .35rem; }
.gallery-carousel-arrow--next { right: .35rem; }
.gallery-carousel-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.15rem;
}
.gallery-carousel-dot {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.gallery-carousel-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: .5rem;
  height: .5rem;
  margin: -.25rem 0 0 -.25rem;
  border-radius: 999px;
  background: #c8c8c8;
}
.gallery-carousel-dot.is-active {
  background: transparent;
  transform: none;
}
.gallery-carousel-dot.is-active::after {
  background: #555;
}

@media (max-width: 899px) {
  .gallery-carousel-slide {
    flex: 0 0 calc((100cqi - 20px) / 3);
  }
}
@media (max-width: 599px) {
  .gallery-carousel-slide {
    flex: 0 0 100cqi;
  }
  .gallery-carousel-track { gap: 10px; }
}

@media (min-width: 900px) {
  .unit-showcase-layout { grid-template-columns: .95fr 1.05fr; gap: 3rem; }
}
@media (max-width: 600px) {
  .unit-data-table th,
  .unit-data-table td,
  .unit-showcase #data-table th,
  .unit-showcase #data-table td {
    padding: 6px;
    font-size: 14px;
  }
}

/* -- Młynowo investor about (05) i kontakt (07) -- */
.investor-about {
  padding: 2.5rem 0;
  background: #fff;
}
.investor-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.investor-about-heading {
  margin: 0 0 1.25rem;
  text-align: left;
}
.investor-about-body {
  color: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
.investor-about-body p {
  margin: 0 0 1.15rem;
  font-weight: 400;
}
.investor-about-body p:last-child {
  margin-bottom: 0;
}
.investor-about-body .investor-lead,
.investor-about-body p:first-child {
  font-weight: 600;
}
.investor-about-visual {
  display: block;
  width: min(520px, 100%);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0;
  justify-self: start;
  align-self: center;
}
.investor-about-copy h2 {
  margin-top: 0;
}

@media (min-width: 900px) {
  .investor-about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: center;
  }
  .investor-about-copy {
    max-width: 34rem;
  }
  .investor-about-visual {
    justify-self: end;
    align-self: center;
    width: min(520px, 100%);
  }
}

.consultation-two-col {
  padding: 5.5rem 0;
  background: #fff;
}
.consultation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.consultation-intro {
  margin-bottom: 1.25rem;
  color: var(--muted);
}
.consultation-intro:empty {
  display: none;
}
.consult-form.form {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: .75rem;
}

/* ── Form fields (calendar/time untouched below) ── */
.consult-form .form-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: .85rem;
  font-weight: 400;
}
.consult-form .form-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: #1a1a1a;
}
.consult-form .form-label .req {
  color: var(--accent);
  margin-left: .1rem;
}
.consult-form .form-input {
  border: 1px solid #cfd5de;
  border-radius: 4px;
  padding: .7rem .9rem;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s;
  outline: none;
  width: 100%;
}
.consult-form .form-input::placeholder {
  color: var(--muted, #5b6b5e);
}
.consult-form .form-input:focus {
  border-color: var(--green);
}
.consult-form .check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 0 0 .85rem;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted, #5b6b5e);
  max-width: none;
}
.consult-form .check a {
  color: var(--green);
  text-decoration: underline;
}
.consult-form .check input[type="checkbox"] {
  margin-top: .15rem;
  flex-shrink: 0;
  /* size/border come from .form label.check - keep Safari-visible */
}
.consult-form .btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: auto;
  margin-top: .35rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  padding: .7rem 1.6rem;
  border: 0;
}
.consult-form .btn-accent:hover {
  background: var(--accent-hover);
}

/* ── Calendar + time side-by-side ── */
.cal-time-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 540px) {
  .cal-time-row {
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: start;
  }
}

/* Calendar */
.cal-wrap {
  border: 1.5px solid #d6dce5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  width: 100%;
  max-width: none;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem .75rem;
  gap: .5rem;
}
.cal-month-label { font-size: .93rem; font-weight: 600; color: var(--ink); }
.cal-nav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--ink);
  padding: .1rem .4rem;
  border-radius: 6px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
}
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-nav:not(:disabled):hover { background: #f0f3f7; }
.cal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.cal-table th {
  padding: .35rem .25rem;
  text-align: center;
  color: #9aa3b0;
  font-weight: 600;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.cal-day { text-align: center; padding: .15rem .1rem; }
.cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: none;
  background: none;
  font: inherit;
  font-size: .82rem;
  cursor: pointer;
  color: var(--ink);
  transition: background .12s, color .12s;
}
.cal-day--other .cal-btn { color: #c5cad4; }
.cal-day--disabled .cal-btn,
.cal-day--disabled span.cal-btn { color: #c5cad4; cursor: default; }
.cal-day--active .cal-btn:not(:disabled):hover { background: rgba(2,69,98,.1); }
.cal-day--today .cal-btn { font-weight: 700; }
.cal-day--selected .cal-btn,
.cal-day--today.cal-day--selected .cal-btn {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
}

/* Time slots grid */
.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
  align-content: start;
  min-width: 0;
}
.time-slot {
  border: 1.5px solid #d6dce5;
  border-radius: 7px;
  background: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  padding: .55rem .35rem;
  min-height: 2.75rem;
  cursor: pointer;
  text-align: center;
  transition: border-color .12s, background .12s, color .12s;
}
.time-slot:hover { border-color: var(--green); background: rgba(2,69,98,.05); }
.time-slot.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 700;
}

/* ── Right column (no cards) ── */
.consultation-right {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  padding-top: .35rem;
}
.consultation-company-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.consultation-company-logo {
  width: 171px;
  height: 171px;
  min-width: 171px;
  min-height: 171px;
  flex-shrink: 0;
  border-radius: 0;
  overflow: hidden;
  border: 0;
  display: block;
  background: transparent;
  padding: 0;
}
.consultation-company-logo img {
  width: 171px;
  height: 171px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.consultation-company-info {
  min-width: 0;
}
.consultation-company-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  color: #000;
  line-height: 1.15;
}
.consultation-company-addr {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: #000;
  margin-top: .45rem;
  line-height: 1.35;
}
.consultation-company-socials {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
}
.consult-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  transition: opacity .15s;
}
.consult-social-btn img {
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: contain;
  display: block;
}
.consult-social-btn:hover {
  opacity: .85;
}

.consultation-agent-card {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
.consultation-agent-photo {
  width: 171px;
  min-width: 171px;
  min-height: 298px;
  flex-shrink: 0;
  align-self: stretch;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #e8eef2;
}
.consultation-agent-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0;
}
.consultation-agent-info {
  padding: 55px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  min-height: 298px;
}
.consultation-agent-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 30px;
  color: #000;
  line-height: 1.15;
  margin: 0;
}
.consultation-agent-role {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--sky);
  font-weight: 400;
  line-height: 1.25;
  margin: 1.65rem 0 0;
}
.consultation-agent-contacts {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: auto;
}
.consult-contact-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 22px;
}
.consult-contact-row a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.2;
}
.consult-contact-row a:hover {
  color: var(--green);
}
.consult-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

@media (min-width: 900px) {
  .consultation-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 4rem;
  }
  .consultation-right {
    padding-top: 2.75rem;
  }
}

@media (max-width: 899px) {
  .consultation-company-logo,
  .consultation-company-logo img {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
  }
  .consultation-company-name,
  .consultation-agent-name {
    font-size: 24px;
  }
  .consultation-company-addr,
  .consultation-agent-role {
    font-size: 16px;
  }
  .consult-contact-row,
  .consult-contact-row a {
    font-size: 18px;
  }
  .consultation-agent-photo {
    width: 140px;
    min-width: 140px;
    min-height: 240px;
  }
  .consultation-agent-info {
    min-height: 240px;
  }
}

/* -- Bezpłatna konsultacja landing (live Elementor match) -- */
.consult-landing {
  background: #fff;
}
.consult-landing-hero {
  position: relative;
  overflow: visible;
  background: #fff;
  padding-top: 2.5rem;
  margin-bottom: 0;
}
.consult-landing-hero-inner.container {
  width: min(1170px, calc(100% - 2rem));
}
.consult-landing-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
  align-items: start;
}
.consult-landing-title {
  margin: 0 0 2.25rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.15;
  color: #000;
}
.consult-landing-title-main {
  display: inline;
  color: #000;
}
.consult-landing-title-accent {
  display: inline;
  background: linear-gradient(268deg, var(--accent-bright, #FAA321) 27.43%, var(--sky) 80.99%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.consult-landing-lead {
  margin: 0 0 3.25rem;
  max-width: 36rem;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: #000;
}
.consult-landing-scroll {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--sky);
  text-decoration: none;
}
.consult-landing-scroll:hover {
  color: var(--green);
}
.consult-landing-scroll img {
  width: 20px;
  height: 20px;
  display: block;
}

.consult-landing-form-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  padding: 35px;
  border-radius: 0;
  background-color: var(--sky);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.consult-landing-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(at top right, var(--accent-bright, #FAA321) 0%, var(--sky) 100%);
  opacity: 0.36;
}
.consult-landing-form-inner {
  position: relative;
  z-index: 1;
}
.consult-landing-form-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  color: #fff;
  text-align: left;
}
.consult-landing-form {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.clf-field {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin: 0;
}
.clf-label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}
.clf-label .req {
  color: #fff;
  margin-left: .15rem;
}
.clf-input {
  width: 100%;
  border: 1px solid #d7dde3;
  border-radius: 0;
  background: #fff;
  color: #000;
  font: 400 16px/1.3 var(--font-body);
  padding: .7rem .85rem;
}
.consult-landing-form .clf-input,
.consult-landing-form input.clf-input {
  border-radius: 0;
}
.consult-landing-form .cal-time-row {
  margin-top: .25rem;
  margin-bottom: .85rem;
}
.consult-landing-form .cal-wrap {
  border-color: rgba(255, 255, 255, .35);
}
.consult-landing-form .time-slot {
  border-color: rgba(255, 255, 255, .45);
}
.consult-landing-form .time-slot:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.consult-landing-form .time-slot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
@media (max-width: 1099px) {
  .consult-landing-form .cal-time-row {
    grid-template-columns: 1fr;
  }
}
.clf-input::placeholder {
  color: #9aa3ab;
}
.clf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.clf-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem;
  align-items: start;
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
}
/* Custom checkbox - Safari native ones are tiny/near-invisible on dark blue */
.clf-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: 1.15rem;
  height: 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  margin: .12rem 0 0;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, .18);
  background-repeat: no-repeat;
  background-position: center;
  background-size: .7rem .7rem;
  flex-shrink: 0;
  cursor: pointer;
  vertical-align: top;
  accent-color: var(--accent);
}
.clf-check input[type="checkbox"]:checked {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.clf-check input[type="checkbox"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.clf-check a {
  color: #fff;
  text-decoration: underline;
}
.clf-submit {
  margin-top: .45rem;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font: 500 .95rem/1 var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .95rem 1.25rem;
  cursor: pointer;
}
.clf-submit:hover {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}
.consult-landing-form .form-status {
  color: #fff;
}
.consult-landing-form .form-status.is-error {
  color: #ffd0d0;
}

.consult-landing-info {
  position: relative;
  z-index: 0;
  /* Live Elementor photo band: fixed 506px, cover/center */
  height: 506px;
  min-height: 506px;
  padding: 0;
  background: var(--consult-info-bg) center center / cover no-repeat;
}
.consult-landing-info-body {
  position: relative;
  z-index: 1;
  /* Live: sibling of photo band with margin-top -250px → ~256px strip */
  margin-top: -250px;
  padding-bottom: 4rem;
}
.consult-landing-info-body > .container {
  width: min(1170px, calc(100% - 2rem));
}
.consult-landing-panel {
  position: relative;
  z-index: 1;
  background-color: var(--sky);
  color: #fff;
  padding: 25px 20px;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 0;
  isolation: isolate;
  overflow: hidden;
}
.consult-landing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(at bottom left, var(--accent-bright, #FAA321) 0%, var(--sky) 100%);
  opacity: 0.5;
}
.consult-landing-panel > * {
  position: relative;
  z-index: 1;
}
.consult-info-block + .consult-info-block {
  margin-top: 2.75rem;
}
.consult-info-heading {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  color: #fff;
}
.consult-info-heading .nr {
  font-size: 22px;
  font-weight: 400;
  margin-right: .15rem;
}
.consult-info-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: #fff;
}
.consult-info-body p {
  margin: 0 0 1rem;
}
.consult-info-body p:last-child {
  margin-bottom: 0;
}
.consult-info-body ul,
.consult-info-body ol {
  margin: .35rem 0 1rem;
  padding-left: 1.25rem;
}
.consult-info-body li {
  margin: .35rem 0;
}
.consult-info-body ol {
  list-style: lower-alpha;
}

.consultation-contact-only {
  padding: 4.5rem 0 5rem;
  background: #fff;
}
.consult-contact-only-title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: #000;
}
.consultation-right--solo {
  max-width: 1140px;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .consultation-right--solo {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem 3.5rem;
  }
  /* Natural DOM order: company left, Artur right */
  .consultation-right--solo .consultation-company-card,
  .consultation-right--solo .consultation-agent-card {
    order: 0;
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-start;
  }
  .consultation-right--solo .consultation-company-logo,
  .consultation-right--solo .consultation-company-logo img {
    width: 171px;
    height: 171px;
    min-width: 171px;
    min-height: 171px;
  }
  .consultation-right--solo .consultation-agent-photo {
    width: 171px;
    min-width: 171px;
    height: 171px;
    min-height: 171px;
    align-self: flex-start;
  }
  .consultation-right--solo .consultation-agent-info {
    padding-top: 0;
    min-height: 0;
    justify-content: flex-start;
  }
  .consultation-right--solo .consultation-agent-role {
    margin-top: .55rem;
  }
  .consultation-right--solo .consultation-agent-contacts {
    margin-top: 1rem;
  }
  .consultation-right--solo .consultation-company-info {
    padding-top: 0;
  }
}

@media (min-width: 768px) {
  .consult-landing-hero {
    padding-top: 69px;
    margin-bottom: -184px;
  }
  .consult-landing-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 61%) minmax(0, 39%);
    gap: 1.25rem 2rem;
    max-width: 1170px;
    align-items: start;
    padding-top: 0;
    padding-bottom: 0;
  }
  .consult-landing-copy {
    max-width: none;
    padding-left: 12px;
    padding-top: 0;
    padding-bottom: 3rem;
  }
  .consult-landing-title {
    font-size: 50px;
    line-height: 80px;
    margin-bottom: 2.25rem;
    white-space: nowrap;
  }
  .consult-landing-lead {
    font-size: 32px;
    line-height: 38px;
    max-width: 34rem;
    margin-bottom: 3.5rem;
  }
  .consult-landing-scroll {
    font-size: 20px;
    font-weight: 500;
  }
  .consult-landing-form-card {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    justify-self: stretch;
  }
  .consult-landing-form-title {
    font-size: 30px;
  }
  .consult-landing-info {
    height: 506px;
    min-height: 506px;
  }
  .consult-landing-info-body {
    margin-top: -250px;
  }
  .consult-landing-panel {
    padding: 25px 20px 2.5rem;
  }
  .consult-info-heading {
    font-size: 48px;
  }
  .consult-info-heading .nr {
    font-size: 27px;
  }
  .consult-contact-only-title {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .consult-landing-hero {
    margin-bottom: 0;
  }
  .consult-landing-title {
    white-space: normal;
    line-height: 1.15;
  }
  .consult-landing-form-card {
    max-width: 100%;
  }
  .consult-landing-info {
    height: 220px;
    min-height: 220px;
  }
  .consult-landing-info-body {
    margin-top: -80px;
  }
  .clf-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .hero-split-grid {
    grid-template-columns: minmax(380px, 0.4fr) minmax(0, 0.6fr);
    min-height: 745px;
  }
  .hero-split-copy {
    padding: 4rem 2rem 7.5rem 1.5rem;
    position: relative;
    z-index: 2;
  }
  .hero-split-copy-inner {
    margin: 0;
    width: 100%;
    max-width: 26rem;
  }
  .hero-split-copy h1 {
    font-size: 60px;
    line-height: 70px;
  }
  .hero-split-copy .lead {
    font-size: 24px;
    line-height: 38px;
  }
  .hero-split .btn-accent {
    font-size: 16px;
    padding: 8px 16px;
  }
  /* Full-bleed right; under header → slightly into gap under stats (before about) */
  .hero-split-media {
    position: absolute;
    top: -100px;
    /* A bit below the blue stats bar into the white gap - not flush with the bar */
    bottom: -1.35rem;
    left: 40%;
    right: calc(50% - 50vw);
    width: auto;
    max-width: none;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    z-index: 1;
    overflow: hidden;
  }
  .hero-split-media picture {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    will-change: transform;
  }
  .hero-split-media img {
    min-height: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-split-media picture {
      transform: none !important;
      will-change: auto;
      height: 100% !important;
      top: 0 !important;
    }
  }
  .hero-stats-bar {
    margin-top: -7rem;
    margin-bottom: 2.25rem;
    position: relative;
    z-index: 3;
  }
  .hero-stats-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 24px;
  }
  .hero-stat {
    border-bottom: 0;
    border-right: 1px solid #fff;
    padding: 0 1.25rem;
    flex: 0 0 auto;
  }
  .hero-stat:first-child { padding-left: 0; }
  .hero-stat:last-of-type {
    border-right: 1px solid #fff;
  }
  .hero-stat strong { font-size: 48px; }
  .hero-stat span { font-size: 20px; }
  .hero-stats-socials {
    margin-left: auto;
    padding-top: 0;
    padding-left: 1.25rem;
  }
  .estate-about-panel {
    padding: 2.5rem 2.5rem 2.75rem;
  }
  .estate-about-top {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.75rem;
    align-items: start;
  }
  .estate-about-bottom {
    grid-template-columns: 0.36fr 0.64fr;
    gap: 1.25rem;
    align-items: stretch;
  }
  .estate-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    height: 100%;
  }
  .estate-feature-card {
    height: 100%;
  }
}

/* Parallax active ≥1025px (JS); media column is the image window */
@media (min-width: 1025px) {
  .hero-split-media {
    top: -110px;
    bottom: -1.35rem;
  }
}

.apartment-availability {
  padding: 2.5rem 0;
}
.apartment-availability--full {
  padding-left: 0;
  padding-right: 0;
}
.apartment-availability-intro {
  margin-bottom: 1.25rem;
}
.apartment-availability--full #domy-container {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}
.apartment-availability .table-wrap {
  overflow-x: auto;
  margin-top: 1.25rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.price-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.price-history-table th,
.price-history-table td {
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.price-history-table th {
  font-weight: 700;
  color: var(--ink);
  background: rgba(2, 69, 98, .04);
}
.price-history-table tbody tr:hover td {
  background: rgba(255, 123, 0, .06);
}

/* Platform UX: empty states, forms spinner, shop/classifieds mobile */
.empty-state {
  grid-column: 1 / -1;
  padding: 2rem 1.25rem;
  text-align: center;
  background: rgba(2, 69, 98, 0.04);
  border: 1px dashed var(--line, #d5dee6);
  border-radius: 12px;
}
.empty-state-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green);
}
.empty-state-desc {
  margin: 0;
  color: var(--muted, #5a6b74);
}
.empty-state-desc a {
  color: var(--accent);
}
.breadcrumbs {
  font-size: 0.9rem;
  margin: 0 0 1rem;
  color: var(--muted, #5a6b74);
}
.breadcrumbs a { color: var(--green); text-decoration: none; }
.breadcrumbs a:focus-visible,
.btn:focus-visible,
.product-card-link:focus-visible,
.product-add-to-cart:focus-visible,
button.primary:focus-visible,
.button:focus-visible,
a.button:focus-visible {
  outline: 2px solid var(--accent, #E78A45);
  outline-offset: 2px;
}
.header-search {
  display: block;
  margin: 0;
}
.header-search input {
  width: min(12rem, 42vw);
  min-width: 7.5rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 999px;
  font: inherit;
  background: #fff;
}
.header-cart {
  min-height: 2.75rem;
  padding-block: .35rem;
}
@media (min-width: 900px) {
  .header-search input {
    width: min(12rem, 28vw);
    padding: 0.45rem 0.65rem;
  }
}
.header-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}
.header-cart-badge[hidden] {
  display: none;
}
.error-links {
  margin: 1.25rem 0;
}
.error-search {
  margin-top: 1.5rem;
  max-width: 28rem;
}
.cpt-meta-list {
  margin: 0;
  padding-left: 1.1rem;
}
.product-grid,
.blog-card {
  border: 1px solid var(--line, #d5dee6);
  border-radius: 12px;
  background: var(--paper, #fff);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--sand, #eef3f7);
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.blog-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
}
.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-card h2 a:hover { text-decoration: underline; }
.blog-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}
.blog-filter-active {
  margin: 0 0 1rem;
}
.blog-grid,
.classifieds-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line, #d5dee6);
}
.account-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  min-height: 2.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}
.account-nav-link:hover {
  background: var(--sand, #eef3f7);
}
.account-nav-link.is-active {
  background: var(--sand, #eef3f7);
  border-color: var(--line, #d5dee6);
  font-weight: 600;
}
.account-nav-logout {
  margin-left: auto;
  color: var(--muted);
}
.account-stat {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
  background: var(--paper, #fff);
}
.account-stat-label {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
}
.account-stat-value {
  margin: 0;
  font-size: 1.25rem;
}
.account-manage-hint {
  margin-top: 1.5rem;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.status-chip-ok {
  background: #e7f4ec;
  color: #1d6b3a;
}
.status-chip-warn {
  background: #fdf1e2;
  color: #9a5a12;
}
.status-chip-pending {
  background: #e8eef5;
  color: #2a4a6a;
}
.status-chip-danger {
  background: #fce8e8;
  color: #8b1e1e;
}
.status-chip-muted {
  background: var(--sand, #eef3f7);
  color: var(--muted);
}
@media (min-width: 640px) {
  .product-grid,
  .blog-grid,
  .classifieds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .product-grid,
  .blog-grid,
  .classifieds-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.product-card {
  padding: 1rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill, 999px);
  border: 1px solid var(--line, #d5dee6);
  background: #fff;
  color: var(--ink, #000);
  text-decoration: none;
  font-size: 0.85rem;
}
.filter-chip:hover { border-color: var(--accent, #E78A45); color: var(--accent, #E78A45); }
.filter-chip-clear {
  background: transparent;
  border-style: dashed;
  color: var(--muted, #4a5560);
}
.filters-sheet {
  margin-bottom: 1.25rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
  padding: 0 1rem;
}
.filters-sheet-summary {
  cursor: pointer;
  padding: 0.85rem 0;
  font-weight: 600;
  list-style: none;
}
.filters-sheet-summary::-webkit-details-marker { display: none; }
.filters-sheet-summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.5rem;
  transition: transform 0.15s ease;
}
.filters-sheet[open] .filters-sheet-summary::before { transform: rotate(90deg); }
.filters-sheet .classifieds-filters { padding-bottom: 1rem; }
@media (min-width: 900px) {
  .filters-sheet { border: 0; padding: 0; }
  .filters-sheet-summary { display: none; }
  .filters-sheet > *:not(summary) { display: grid !important; }
}
.classifieds-filters,
.checkout-form,
.blog-search {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 720px) {
  .classifieds-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .checkout-form {
    max-width: 420px;
  }
}
.classifieds-filters input,
.classifieds-filters select,
.checkout-form input,
.checkout-form select,
.blog-search input {
  width: 100%;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 8px;
  font: inherit;
}
.search-section {
  margin-top: 1.75rem;
}
.search-section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.search-result-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
  background: #fff;
}
.search-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill, 999px);
  background: rgba(2, 69, 98, 0.08);
  color: var(--green-dark, #013047);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.search-result-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.search-result-card h3 a { color: inherit; text-decoration: none; }
.search-result-card h3 a:hover { text-decoration: underline; }
.search-result-excerpt {
  margin: 0.25rem 0 0;
}
.classifieds-map {
  height: 280px;
  margin: 1rem 0;
  background: #e8eef2;
  border-radius: 10px;
  overflow: hidden;
}
.cart-panel,
.cart-lines {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.cart-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.cart-line-item {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line, #d5dee6);
}
.cart-line-main {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.cart-qty-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.cart-qty-input {
  width: 4rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 6px;
  font: inherit;
}
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.cart-skeleton {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem 0;
  max-width: 28rem;
}
.cart-skeleton-bar {
  height: 0.9rem;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--line, #d5dee6) 0%, var(--skeleton-mid, #e8eef2) 50%, var(--line, #d5dee6) 100%);
  background-size: 200% 100%;
  animation: cart-skeleton-shimmer 1.2s ease-in-out infinite;
}
.cart-skeleton-bar:nth-child(1) { width: 100%; }
.cart-skeleton-bar:nth-child(2) { width: 82%; }
.cart-skeleton-bar:nth-child(3) { width: 58%; }
@keyframes cart-skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-skeleton-bar { animation: none; background: var(--line, #d5dee6); }
}
.form.is-submitting button[type="submit"],
form[data-form].is-submitting button[type="submit"] {
  opacity: 0.85;
  cursor: wait;
}
.btn-spinner {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -0.1em;
  animation: cms-spin 0.7s linear infinite;
}
@keyframes cms-spin {
  to { transform: rotate(360deg); }
}
.form-status.is-pending {
  color: var(--muted, #5a6b74);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-spinner { animation: none; }
  .progress-bar { transition: none; }
  .story-carousel-track {
    transition: none;
    will-change: auto;
  }
}

/* UI/UX plan: shop/classifieds/checkout polish */
.product-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  background: rgba(2, 69, 98, 0.06);
}
.product-card-image--placeholder {
  min-height: 140px;
}
.product-card-link {
  color: inherit;
  text-decoration: none;
}
.product-card-link h2,
.product-card-link h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}
.product-layout {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
}
.product-main-image {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(2, 69, 98, 0.06);
}
.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.product-thumb {
  border: 2px solid transparent;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  width: 72px;
  height: 72px;
}
.product-thumb.is-active,
.product-thumb:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-buy {
  display: grid;
  gap: 0.75rem;
  max-width: 22rem;
  margin-top: 1rem;
}
.product-buy label,
.checkout-form label,
.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
}
.shop-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted, #5a6b74);
  font-size: 0.95rem;
}
.shop-steps li.is-current {
  color: var(--green);
  font-weight: 600;
}
.shop-steps a { color: inherit; }
.checkout-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .checkout-form { max-width: none; }
}
.checkout-summary.panel,
.panel {
  padding: 1.25rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 12px;
  background: #fff;
}
.cart-coupon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.inpost-locker {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
  background: rgba(2, 69, 98, 0.03);
}
.inpost-locker-manual { display: grid; gap: 0.5rem; }
.inpost-locker-help summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--green-dark, #013047);
  padding: 0.15rem 0;
}
.inpost-locker-help summary:focus-visible { outline: 2px solid var(--accent, #E78A45); outline-offset: 2px; }
.inpost-locker-help p { margin: 0.5rem 0 0; }
.inpost-geowidget-mount {
  min-height: 3rem;
  border-radius: 8px;
  overflow: hidden;
}
.inpost-locker-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 8px;
  background: #fff;
}
.inpost-locker-selected p { margin: 0; }
.cart-extras { margin-top: 1rem; }
.account-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .account-grid { grid-template-columns: 1fr 1fr; }
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}
.data-table table { width: 100%; }
.data-table th,
.data-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line, #d5dee6);
  text-align: left;
}
.listing-card {
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
  padding: 0.85rem;
}
.listing-card a { color: inherit; text-decoration: none; }
.listing-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  display: block;
  /* Shimmer placeholder shows through until the lazy-loaded image paints over it. */
  background: linear-gradient(90deg, var(--line, #d5dee6) 0%, var(--skeleton-mid, #e8eef2) 50%, var(--line, #d5dee6) 100%);
  background-size: 200% 100%;
  animation: cart-skeleton-shimmer 1.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .listing-card-image { animation: none; background: var(--line, #d5dee6); }
}
.listing-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0;
}
.listing-gallery img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.listing-contact,
.listing-report { margin-top: 1.5rem; }
.comments .form { max-width: 28rem; margin-top: 1rem; }
.toc {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 10px;
  margin: 1rem 0 1.5rem;
  background: rgba(2, 69, 98, 0.03);
}
.lead { font-size: 1.15rem; color: var(--muted, #5a6b74); }
.cookie-banner { z-index: 1200; }
.cookie-banner.is-open,
.cookie-banner:not([hidden]) { z-index: 2100; }
html.cms-popup-open { overflow: hidden; }
.cpt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.cpt-card {
  border: 1px solid var(--line, #d5dee6);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--paper, #fff);
}
.cpt-card h2 { margin: 0 0 .4rem; font-size: 1.15rem; }
.cpt-card-media {
  display: block;
  margin: -1rem -1.1rem 0.85rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sand, #eef3f7);
}
.cpt-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpt-meta {
  display: grid;
  grid-template-columns: minmax(8rem, 12rem) 1fr;
  gap: .4rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line, #d5dee6);
}
.cpt-meta dt { font-weight: 600; color: var(--muted); }
.cpt-meta dd { margin: 0; }
.comments { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line, #d5dee6); }
.comment { padding: .75rem 0; border-bottom: 1px solid var(--line, #d5dee6); }
button:focus-visible,
.btn:focus-visible,
.sidebar-link:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--danger);
  font-weight: 500;
}
.field-error[hidden] {
  display: none !important;
}
[aria-invalid="true"] {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 1px var(--danger);
}

.countdown {
  text-align: center;
  margin: 1.25rem 0;
}
.countdown-display {
  display: inline-block;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--ink, #123);
  background: var(--sand, #eef3f7);
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
}

.sticky-cta {
  position: fixed;
  z-index: 40;
  left: 1rem;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: var(--accent, #024562);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(2, 69, 98, 0.35);
}
.sticky-cta.mobile-only {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta.mobile-only {
    display: inline-flex;
  }
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.pricing-list li {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line, #d5dee6);
  border-radius: 12px;
  background: var(--paper, #fff);
}
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.pricing-tiers .tier {
  border: 1px solid var(--line, #d5dee6);
  border-radius: 14px;
  padding: 1.25rem;
  background: var(--paper, #fff);
}
.pricing-tiers .tier.is-highlighted {
  border-color: var(--accent, #024562);
  box-shadow: 0 0 0 2px rgba(2, 69, 98, 0.15);
}
.pricing-tiers .price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
}
.pricing-tiers .price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted, #667);
}
.testimonials {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
.testimonials blockquote {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--accent, #024562);
  background: var(--sand, #eef3f7);
  border-radius: 0 12px 12px 0;
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
}
.logo-strip img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  max-width: 28rem;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line, #d5dee6);
}
.social-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  text-align: center;
}
.social-proof strong {
  display: block;
  font-size: 1.75rem;
}
.social-proof span {
  color: var(--muted, #667);
  font-size: 0.95rem;
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.comparison {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.comparison th,
.comparison td {
  border: 1px solid var(--line, #d5dee6);
  padding: 0.65rem 0.85rem;
  text-align: left;
}
.comparison thead th {
  background: var(--sand, #eef3f7);
}
.listing-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.listing-gallery-preview figure {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line, #d5dee6);
  background: var(--sand, #eef3f7);
}
.listing-gallery-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.listing-gallery-preview .btn-small {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
}


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