/* ==========================================================================
   Tarasy Lipnickie — UB Stroj Group
   Design & development: MaxWeb Studio
   ========================================================================== */

:root {
  --green-950: #0f2817;
  --green-900: #14361f;
  --green-800: #1d4d2b;
  --green-700: #26633a;
  --green-600: #2f7a3f;
  --green-500: #3f9450;
  --lime: #b4e27f;
  --lime-soft: #e9f5dc;
  --sand: #f6f4ec;
  --tint: #f3f6f0;
  --ink: #17201a;
  --text: #3a443d;
  --muted: #6c766f;
  --line: #e3e8e0;
  --white: #fff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(20, 54, 31, .06);
  --shadow: 0 18px 50px -18px rgba(20, 54, 31, .25);
  --shadow-lg: 0 30px 80px -30px rgba(15, 40, 23, .4);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--green-950); }

.ico { width: 20px; height: 20px; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.eyebrow.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow span { margin: 0 .9em; opacity: .55; }
.eyebrow.eyebrow-light { color: rgba(255, 255, 255, .88); }
.h-xl { font-size: clamp(36px, 5vw, 58px); font-weight: 600; }
.h-lg { font-size: clamp(30px, 3.6vw, 44px); }
.h-md { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--green-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border-radius: 12px;
  font-weight: 600; font-size: 16px; line-height: 1;
  background: var(--bg); color: #fff;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--green-500), var(--green-700)); box-shadow: 0 10px 24px -10px rgba(47, 122, 63, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(47, 122, 63, .8); }
.btn-dark { background: var(--green-800); }
.btn-dark:hover { background: var(--green-900); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--green-900); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--lime); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green-700); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

.glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: #fff; }
.glass-dark { background: rgba(15, 40, 23, .55); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(20, 54, 31, .06);
  transition: height .3s var(--ease), box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { --header-h: 74px; box-shadow: 0 10px 30px -18px rgba(15, 40, 23, .35); background: rgba(255, 255, 255, .97); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green-700); flex: none; }
.brand-logo { width: 48px; height: 48px; flex: none; border-radius: 13px; transition: transform .35s var(--ease); }
.brand:hover .brand-logo { transform: rotate(-4deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; font-weight: 700; letter-spacing: .05em; color: var(--ink); }
.brand-text small { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand-light, .brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .6); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.main-nav a {
  position: relative; display: block; padding: 8px 0; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--green-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--green-600); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap; transition: color .2s; }
.header-phone:hover { color: var(--green-600); }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.header-cta { min-height: 48px; padding: 0 20px; font-size: 15px; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; background: var(--green-800); color: #fff; place-items: center; transition: background-color .2s, transform .2s; }
.nav-toggle:hover { background: var(--green-700); }
.nav-toggle:active { transform: scale(.94); }
.burger { position: relative; display: block; width: 22px; height: 16px; }
.burger i { position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, width .3s var(--ease); }
.burger i:nth-child(1) { top: 0; width: 100%; }
.burger i:nth-child(2) { top: 7px; width: 70%; }
.burger i:nth-child(3) { top: 14px; width: 100%; }
.nav-toggle:hover .burger i:nth-child(2) { width: 100%; }

/* ---------- Mobile menu (off-canvas) ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mm-overlay { position: absolute; inset: 0; background: rgba(8, 22, 12, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s ease; }
.mobile-menu.is-open .mm-overlay { opacity: 1; }
.mm-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, calc(100% - 44px));
  display: flex; flex-direction: column; background: #fff;
  box-shadow: -30px 0 60px -20px rgba(8, 22, 12, .35);
  transform: translateX(100%); transition: transform .45s var(--ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu.is-open .mm-panel { transform: none; }
.mm-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; padding: 0 var(--gutter); background: #fff; border-bottom: 1px solid var(--line); }
.mm-close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--green-900); transition: background-color .2s, transform .3s var(--ease); }
.mm-close:hover { background: var(--lime-soft); transform: rotate(90deg); }
.mm-close .ico { width: 22px; height: 22px; }
.mm-nav { padding: 12px var(--gutter) 8px; }
.mm-nav li { opacity: 0; transform: translateX(24px); transition: opacity .4s ease, transform .45s var(--ease); transition-delay: calc(var(--i) * 45ms + 80ms); }
.mobile-menu.is-open .mm-nav li { opacity: 1; transform: none; }
.mm-nav a { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 500; color: var(--ink); transition: color .2s, padding-left .3s var(--ease); }
.mm-nav li:last-child a { border-bottom: 0; }
.mm-num { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); min-width: 22px; }
.mm-label { flex: 1; }
.mm-nav .ico { width: 18px; height: 18px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.mm-nav a:hover, .mm-nav a:focus-visible { color: var(--green-600); padding-left: 10px; }
.mm-nav a:hover .ico { transform: translateX(4px); color: var(--green-600); }
.mm-nav a.is-active { color: var(--green-700); font-weight: 600; }
.mm-nav a.is-active .mm-num { color: var(--green-600); }
.mm-nav a.is-active .ico { color: var(--green-600); }
.mm-foot { margin-top: auto; display: grid; gap: 12px; padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom)); background: var(--tint); }
.mm-contact { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; transition: box-shadow .25s; }
.mm-contact:hover { box-shadow: var(--shadow-sm); }
.mm-contact-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--lime-soft); color: var(--green-700); flex: none; }
.mm-contact small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.mm-contact strong { display: block; font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.3; word-break: break-word; }
.mm-foot .socials a { background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); }
.mm-foot .socials a:hover { background: var(--green-700); color: #fff; }
.mm-socials:empty { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 860px);
  padding: calc(var(--header-h) + 72px) 0 150px;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--green-900);
}
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slides { z-index: -2; }
.hero-slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 30, 16, .78) 0%, rgba(10, 30, 16, .45) 45%, rgba(10, 30, 16, .05) 75%),
    linear-gradient(0deg, rgba(10, 30, 16, .55) 0%, transparent 35%),
    linear-gradient(180deg, rgba(10, 30, 16, .35) 0%, transparent 30%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; width: 100%; }
.hero-content { max-width: 680px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 .accent { display: block; color: var(--lime); }
.hero-lead { font-size: clamp(19px, 2vw, 25px); font-weight: 300; max-width: 460px; margin-bottom: 36px; color: rgba(255, 255, 255, .95); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-controls-wrap { position: absolute; left: 0; right: 0; bottom: 108px; display: flex; justify-content: flex-end; pointer-events: none; }
.hero-controls { display: flex; align-items: center; gap: 14px; pointer-events: auto; }
.round-btn { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; transition: background-color .2s, transform .2s; }
.round-btn:hover { background: rgba(255, 255, 255, .3); }
.round-btn .ico { width: 20px; height: 20px; }
.hero-counter { display: flex; flex-direction: column; align-items: center; font-size: 12px; letter-spacing: .1em; line-height: 1.3; min-width: 28px; }
.hero-counter b { font-weight: 600; }
.hero-counter i { width: 18px; height: 1px; background: rgba(255, 255, 255, .6); margin: 2px 0; }
.hero-counter span { opacity: .65; }

/* ---------- Features bar ---------- */
.features-wrap { position: relative; z-index: 3; margin-top: -86px; }
.features {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px 12px;
}
.feature { text-align: center; padding: 6px 18px; position: relative; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.feature-ico { width: 38px; height: 38px; margin: 0 auto 14px; color: var(--green-600); transition: transform .4s var(--ease); }
.feature:hover .feature-ico { transform: translateY(-4px) scale(1.06); }
.feature h3 { font-size: 16.5px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 + p { margin-top: 18px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-head-row > p { max-width: 420px; color: var(--muted); }

/* Investment */
.investment-grid { display: grid; grid-template-columns: 1.05fr 1fr .95fr; gap: 22px; align-items: stretch; }
.investment-text { padding-right: 18px; align-self: center; }
.investment-text h2 { margin-bottom: 20px; }
.investment-text p { margin-bottom: 30px; }
.investment-media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; box-shadow: var(--shadow); }
.investment-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.investment-media:hover img { transform: scale(1.05); }
.play-btn {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(15, 40, 23, .55); border: 2px solid #fff; color: #fff;
  backdrop-filter: blur(6px); transition: transform .3s var(--ease), background-color .3s;
}
.play-btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.play-btn .ico { width: 26px; height: 26px; margin-left: 4px; }
.play-btn:hover { transform: scale(1.08); background: var(--green-600); }

.unit-cards { display: grid; gap: 16px; }
.unit-card {
  position: relative; display: grid; grid-template-columns: auto 1fr 42%; align-items: center; gap: 18px;
  padding: 0 0 0 22px; min-height: 120px;
  background: var(--tint); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.unit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.unit-ico { color: var(--green-700); }
.unit-ico .ico { width: 42px; height: 42px; }
.unit-info strong { display: block; font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.unit-info small { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 4px; }
.unit-img { align-self: stretch; position: relative; }
.unit-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.unit-go { position: absolute; right: 12px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s; }
.unit-go .ico { width: 18px; height: 18px; }
.unit-card:hover .unit-go { background: var(--green-600); color: #fff; }

/* Location band */
.location { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 13vw, 180px) 0 clamp(100px, 10vw, 140px); }
.landscape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.location-inner { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.location-text { max-width: 620px; }
.location-text h2 { margin-bottom: 16px; color: var(--green-950); }
.location-text p { font-size: 19px; color: var(--green-900); }
.location-card {
  display: flex; align-items: center; gap: 22px; max-width: 450px; padding: 24px 64px 24px 26px; position: relative;
  background: rgba(255, 255, 255, .9); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(10px); font-size: 14.5px; color: var(--muted); line-height: 1.5;
  transition: transform .3s var(--ease);
}
.location-card:hover { transform: translateY(-4px); }
.location-card .eyebrow.eyebrow { font-size: 11px; margin-bottom: 6px; }
.location-ico { width: 54px; height: 54px; color: var(--green-700); padding-right: 22px; box-sizing: content-box; border-right: 1px solid var(--line); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.media-badge { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.media-badge .ico { color: var(--lime); }
.split-text h2 { margin-bottom: 22px; }
.split-text > p { margin-bottom: 26px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin-bottom: 34px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.4; }
.checklist .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--lime-soft); color: var(--green-700); }
.checklist-1 { grid-template-columns: 1fr; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  display: flex; flex-direction: column; padding: 32px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 24px; }
.why-ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--lime-soft); color: var(--green-700); transition: background-color .3s, color .3s; }
.why-ico .ico { width: 28px; height: 28px; }
.why-card:hover .why-ico { background: var(--green-600); color: #fff; }
.why-num { font-size: 38px; font-weight: 700; color: var(--line); line-height: 1; }
.why-card h3 { font-size: 21px; margin-bottom: 12px; }
.why-card p { font-size: 15.5px; color: var(--muted); }
.why-cta { background: linear-gradient(150deg, var(--green-700), var(--green-900)); color: rgba(255, 255, 255, .85); border: 0; justify-content: end; position: relative; overflow: hidden; }
.why-cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 40px solid rgba(180, 226, 127, .12); }
.why-cta h3 { color: #fff; font-size: 24px; }
.why-cta p { color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.why-cta .link-arrow { color: var(--lime); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(7) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 40, 23, .5), transparent 50%); opacity: 0; transition: opacity .35s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-zoom { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--green-800); opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.gallery-zoom .ico { width: 18px; height: 18px; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }

/* 3D + Film */
.media-duo { display: grid; grid-template-columns: 1.9fr 1fr; gap: 22px; }
.viz-card { display: grid; grid-template-columns: 1.25fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.viz-img { display: block; overflow: hidden; background: #f4f3ef; }
.viz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.viz-img:hover img { transform: scale(1.04); }
.viz-body { padding: clamp(26px, 3vw, 40px); align-self: center; }
.viz-body h2 { margin-bottom: 14px; }
.viz-body p { font-size: 15.5px; color: var(--muted); margin-bottom: 22px; }
.film-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; background: var(--green-900); }
.film-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 30px; background: linear-gradient(0deg, rgba(10, 30, 16, .85), rgba(10, 30, 16, .1) 60%); }
.film-overlay h2 { color: #fff; }
.film-overlay .play-btn { top: 50%; }
.play-btn-lg { width: 96px; height: 96px; }
.play-btn-lg .ico { width: 32px; height: 32px; }
.media-duo-single { grid-template-columns: 1fr; }
.film-soon { color: rgba(255, 255, 255, .7); margin-top: 8px; font-size: 15px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-head h2 { margin-bottom: 18px; }
.faq-head p { color: var(--muted); margin-bottom: 28px; }
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--tint); color: var(--green-700); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq-item[open] .faq-ico { transform: rotate(45deg); background: var(--green-600); color: #fff; }
.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* Closing */
.closing { padding-top: 0; }
.closing-inner { max-width: 900px; margin-inline: auto; text-align: center; }
.closing-inner h2 { margin-bottom: 22px; }
.closing-inner p { font-size: 18.5px; color: var(--muted); }

/* CTA band */
.cta-section { padding-top: 0; }
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: clamp(36px, 5vw, 60px); border-radius: var(--radius-lg);
  background: var(--green-900); color: #fff;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 40, 23, .96) 0%, rgba(15, 40, 23, .82) 55%, rgba(15, 40, 23, .35)); }
.cta-landscape { z-index: -2; }

/* Zdjęcia w tle sekcji (assets/img/bg/) */
.bg-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg-photo { z-index: -2; }
.cta-band.has-photo::before { background: linear-gradient(90deg, rgba(10, 30, 16, .92) 0%, rgba(10, 30, 16, .78) 50%, rgba(10, 30, 16, .4)); }
.location.has-photo { --loc-overlay: linear-gradient(90deg, rgba(10, 30, 16, .82) 0%, rgba(10, 30, 16, .55) 50%, rgba(10, 30, 16, .2)); }
.location.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--loc-overlay); pointer-events: none; }
.location.has-photo .bg-photo { z-index: -1; }
.location.has-photo .location-text h2, .location.has-photo .location-text p { color: #fff; }
.location.has-photo .location-text .eyebrow { color: var(--lime); }
.location.has-photo .location-text p:not(.eyebrow) { color: rgba(255, 255, 255, .9); }
.cta-content { max-width: 620px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; }
.cta-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: #fff; }
.cta-phone .ico { color: var(--lime); }
.cta-phone:hover { color: var(--lime); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 9vw, 120px)) 0 clamp(90px, 10vw, 130px);
  color: #fff; background: var(--green-900);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .edge, .hero .edge { z-index: 1; }
.hero .edge-hills { --edge-h: 70px; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 30, 16, .88), rgba(10, 30, 16, .55) 60%, rgba(10, 30, 16, .3)); }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; letter-spacing: -.03em; max-width: 860px; margin-bottom: 18px; }
.page-hero h1 .accent { color: var(--lime); }
.page-hero-lead { font-size: clamp(18px, 1.7vw, 21px); font-weight: 300; max-width: 640px; color: rgba(255, 255, 255, .9); }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.breadcrumbs .ico { width: 14px; height: 14px; opacity: .6; }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs span { color: #fff; }

/* ---------- O nas ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.stat { padding: 20px; border-radius: var(--radius); background: var(--tint); }
.stat strong { display: block; font-size: 32px; font-weight: 700; color: var(--green-700); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; margin-top: 6px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card { position: relative; padding: clamp(30px, 4vw, 48px); border-radius: var(--radius-lg); overflow: hidden; }
.mv-card h3 { font-size: 28px; margin-bottom: 14px; }
.mv-card p { font-size: 17.5px; }
.mv-card .mv-ico { width: 46px; height: 46px; margin-bottom: 22px; }
.mv-light { background: var(--tint); }
.mv-light .mv-ico { color: var(--green-600); }
.mv-dark { background: linear-gradient(150deg, var(--green-700), var(--green-900)); color: rgba(255, 255, 255, .85); }
.mv-dark h3 { color: #fff; }
.mv-dark .mv-ico { color: var(--lime); }
.mv-card strong { color: inherit; font-weight: 600; }
.mv-light strong { color: var(--ink); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { padding: 32px 26px; text-align: center; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .why-ico { margin: 0 auto 20px; }
.value h3 { font-size: 20px; margin-bottom: 10px; }
.value p { font-size: 15px; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; position: relative; }
.timeline::before { content: ""; position: absolute; top: 29px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--green-500) 0 8px, transparent 8px 16px); opacity: .45; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 2px solid var(--green-600); color: var(--green-700); font-weight: 700; font-size: 18px; box-shadow: 0 0 0 8px var(--tint); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reason { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.reason:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.reason .why-num { display: block; color: var(--green-500); font-size: 15px; font-weight: 600; letter-spacing: .1em; margin-bottom: 16px; }
.reason h3 { font-size: 19.5px; margin-bottom: 12px; }
.reason p { font-size: 15.5px; color: var(--muted); }

/* ---------- Standard ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.spec:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.spec .why-ico { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 18px; }
.spec .why-ico .ico { width: 24px; height: 24px; }
.spec h3 { font-size: 18px; margin-bottom: 6px; }
.spec p { font-size: 14.5px; color: var(--muted); }
.spec-wide { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: linear-gradient(150deg, var(--green-700), var(--green-900)); border: 0; }
.spec-wide h3 { color: #fff; }
.spec-wide p { color: rgba(255, 255, 255, .78); }
.spec-wide .why-ico { flex: none; margin: 0; background: rgba(255, 255, 255, .12); color: var(--lime); }

.qc-box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(30px, 5vw, 60px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.qc-list { display: grid; gap: 4px; counter-reset: qc; }
.qc-list li { counter-increment: qc; display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-weight: 500; color: var(--ink); }
.qc-list li::before { content: counter(qc, decimal-leading-zero); flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--lime-soft); color: var(--green-700); font-size: 14px; font-weight: 700; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: var(--lime-soft); color: var(--green-900); font-weight: 500; }
.note .ico { color: var(--green-600); width: 24px; height: 24px; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { padding: 30px 26px; border-radius: var(--radius-lg); background: var(--green-900); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.benefit:nth-child(2) { background: var(--green-800); }
.benefit:nth-child(3) { background: var(--green-700); }
.benefit:nth-child(4) { background: var(--green-600); }
.benefit .ico { width: 34px; height: 34px; color: var(--lime); margin-bottom: 26px; }
.benefit h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.benefit p { font-size: 15px; }

/* ---------- Inwestorzy ---------- */
.big-quote { font-size: clamp(26px, 3.2vw, 40px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); line-height: 1.25; }
.big-quote span { color: var(--green-600); }
.inv-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.inv-intro div p { font-size: 18.5px; }
.coop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.coop-card { padding: 34px 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.coop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.coop-card .why-ico { margin-bottom: 22px; }
.coop-card h3 { font-size: 21px; margin-bottom: 10px; }
.coop-card p { font-size: 15.5px; color: var(--muted); }
.offer-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--green-800), var(--green-950)); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; isolation: isolate; }
.offer-box::after { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(180, 226, 127, .07); }
.offer-box h2 { color: #fff; margin-bottom: 18px; }
.offer-list { display: grid; gap: 14px; }
.offer-list li { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 500; }
.offer-list .ico { width: 26px; height: 26px; color: var(--lime); }

/* ---------- Inwestycje ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 16px; background: var(--tint); margin-bottom: 40px; }
.tab { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15.5px; color: var(--muted); transition: background-color .25s, color .25s, box-shadow .25s; }
.tab .ico { width: 20px; height: 20px; }
.tab[aria-selected="true"] { background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); }
.tab:hover { color: var(--green-800); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.unit-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.unit-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--lime-soft); color: var(--green-800); font-size: 13.5px; font-weight: 600; }
.chip .ico { width: 16px; height: 16px; }
.unit-title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.unit-title span { color: var(--green-600); }
.plan-figure { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.plan-figure a { display: block; position: relative; }
.plan-figure img { width: 100%; }
.plan-figure figcaption { padding: 14px 20px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.plan-figure figcaption .ico { width: 18px; height: 18px; color: var(--green-600); }
.plan-stack { display: grid; gap: 18px; }

.area-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 26px 0 30px; font-size: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area-table caption { text-align: left; font-weight: 600; color: var(--ink); margin-bottom: 12px; font-size: 18px; }
.area-table th, .area-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.area-table thead th { background: var(--tint); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.area-table td:first-child { color: var(--muted); width: 56px; font-variant-numeric: tabular-nums; }
.area-table td:last-child, .area-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.area-table tbody th.area-group { text-align: left; background: var(--tint); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--green-800); font-weight: 600; padding-top: 10px; padding-bottom: 10px; }
.area-table tbody tr.area-sub td { font-weight: 600; color: var(--ink); }
.area-note { margin: -14px 0 30px; font-size: 14px; color: var(--muted); }

/* Ceny (dane: assets/js/ceny.js) */
.price-box { margin: 0 0 30px; padding: 24px 26px; border-radius: var(--radius-lg); background: var(--sand); border: 1px solid var(--line); }
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.price-head h3 { font-size: 20px; color: var(--ink); }
.price-status { padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; background: var(--line); color: var(--text); }
.price-status.is-free { background: var(--lime-soft); color: var(--green-800); }
.price-status.is-reserved { background: #fdf0d5; color: #8a5a00; }
.price-status.is-sold { background: #f6dede; color: #8f2424; }
.price-list { margin: 0; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row dt { color: var(--text); }
.price-row dt small { color: var(--muted); font-size: 13px; }
.price-row dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.price-main dd { font-size: 24px; font-weight: 700; color: var(--green-800); }
.price-ask { font-size: 15px; font-weight: 600; color: var(--green-700); }
.price-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.price-history { margin-top: 12px; font-size: 14px; }
.price-history summary { cursor: pointer; color: var(--green-700); font-weight: 600; }
.price-history table { width: 100%; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-history th, .price-history td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.price-history th:first-child, .price-history td:first-child { text-align: left; }
.price-history th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
@media (max-width: 560px) {
  .price-box { padding: 20px 18px; }
  .price-main dd { font-size: 20px; }
}
.area-table tbody tr { transition: background-color .2s; }
.area-table tbody tr:hover { background: #fafbf8; }
.area-table tfoot td { background: var(--green-800); color: #fff; font-weight: 700; border: 0; font-size: 17px; }
.area-table tfoot td:first-child { color: #fff; }

.unit-empty { padding: 30px; border-radius: var(--radius-lg); background: var(--tint); margin: 26px 0 30px; }
.unit-empty .ico { width: 34px; height: 34px; color: var(--green-600); margin-bottom: 14px; }
.unit-empty h3 { font-size: 20px; margin-bottom: 8px; }
.unit-empty p { color: var(--muted); }

.aerial-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: end; isolation: isolate; }
.aerial-banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.aerial-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 30, 16, .9) 5%, rgba(10, 30, 16, .35) 70%), linear-gradient(90deg, rgba(10, 30, 16, .55), transparent 70%); }
.aerial-content h2 { max-width: 760px; }
.aerial-content { padding: clamp(28px, 4vw, 50px); color: rgba(255, 255, 255, .85); display: flex; justify-content: space-between; align-items: end; gap: 30px; width: 100%; flex-wrap: wrap; }
.aerial-content h2 { color: #fff; margin-bottom: 10px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.contact-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.contact-card-head .why-ico { width: 50px; height: 50px; border-radius: 14px; }
.contact-card-head .why-ico .ico { width: 24px; height: 24px; }
.contact-card-head h2 { font-size: 20px; }
.contact-card-head small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.contact-lines { display: grid; gap: 10px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); line-height: 1.45; }
.contact-lines .ico { width: 18px; height: 18px; color: var(--green-600); margin-top: 3px; }
.contact-lines a { font-weight: 600; }
.contact-lines a:hover { color: var(--green-600); }
.contact-card-accent { background: linear-gradient(150deg, var(--green-700), var(--green-900)); border: 0; color: rgba(255, 255, 255, .85); }
.contact-card-accent h2, .contact-card-accent .contact-lines li { color: #fff; }
.contact-card-accent small { color: rgba(255, 255, 255, .7) !important; }
.contact-card-accent .why-ico { background: rgba(255, 255, 255, .12); color: var(--lime); }
.contact-card-accent .contact-lines .ico { color: var(--lime); }

.form-card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 24px); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label i { color: var(--green-600); font-style: normal; }
.input-wrap { position: relative; }
.input-wrap .ico { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px 13px 46px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--tint); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236c766f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(63, 148, 80, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d0533f; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-600); }
.consent a { color: var(--green-700); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 500; font-size: 15px; }
.form-status.is-ok { display: block; background: var(--lime-soft); color: var(--green-900); }
.form-status.is-error { display: block; background: #fcebe7; color: #8f2c1d; }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.map-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 440px; isolation: isolate; background: var(--tint); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 30px; }
.map-placeholder .landscape { z-index: -1; }
.map-placeholder > *:not(.landscape) { position: relative; }
.map-pin { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; color: var(--green-700); box-shadow: var(--shadow); }
.map-pin .ico { width: 32px; height: 32px; }
.map-placeholder p { max-width: 460px; color: var(--green-950); font-weight: 500; }
.map-placeholder small { color: var(--green-900); font-size: 13px; opacity: .8; }

/* ---------- Legal ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green-700); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 60px; background: var(--green-950); color: rgba(255, 255, 255, .7); font-size: 15.5px; padding-top: 70px; }
.footer-ridge { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: 84px; }
.footer-ridge .fr-front { fill: var(--green-950); }
.site-footer { margin-top: 80px !important; }
@media (max-width: 720px) { .footer-ridge { height: 58px; } .site-footer { margin-top: 56px !important; } }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { margin: 22px 0; max-width: 340px; line-height: 1.6; }
.footer-title { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .footer-contact a { transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--lime); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--lime); margin-top: 3px; }
.footer-contact a { color: #fff; word-break: break-word; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .25s, color .25s, transform .25s; }
.socials a:hover { background: var(--lime); color: var(--green-950); transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.footer-bottom a:hover { color: var(--lime); }
.credit a { color: #fff; font-weight: 600; }

/* ---------- Floating & overlays ---------- */
.to-top { position: fixed; right: 22px; bottom: 96px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-700); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .35s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-600); }

.lightbox, .video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 70px 80px; background: rgba(8, 20, 11, .92); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.lightbox[hidden], .video-modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lb-figure { max-width: min(1200px, 100%); }
.lb-figure img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb-figure figcaption { text-align: center; color: rgba(255, 255, 255, .8); margin-top: 14px; font-size: 15px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.video-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
body.no-scroll { overflow: hidden; padding-right: var(--sbw, 0px); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .header-phone { display: none; }
}

@media (max-width: 1240px) {
  .features { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .feature:nth-child(4)::before { display: none; }
  .investment-grid { grid-template-columns: 1fr 1fr; }
  .investment-text { grid-column: 1 / -1; padding: 0; max-width: 720px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .media-duo { grid-template-columns: 1fr; }
  .film-card { min-height: 380px; }
  .film-card > img { object-position: center 30%; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .site-header.is-scrolled { --header-h: 66px; }
  .nav-toggle { display: grid; }
  .header-cta { display: none; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }

  .hero-inner { grid-template-columns: 1fr; }
  .why-grid, .reasons, .coop { grid-template-columns: repeat(2, 1fr); }
  .values, .benefits { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 29px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--green-500) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 60px 1fr; gap: 4px 22px; text-align: left; padding: 0 0 28px; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; }
  .faq-wrap, .split, .contact-grid, .unit-layout, .inv-intro, .qc-box, .offer-box { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .faq-head, .form-card { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(4), .gallery-item:nth-child(7) { grid-column: span 1; }
  .gallery-item:nth-child(4):last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .location-inner { flex-direction: column; align-items: flex-start; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: flex-start; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .location.has-photo { --loc-overlay: linear-gradient(180deg, rgba(10, 30, 16, .78) 0%, rgba(10, 30, 16, .7) 60%, rgba(10, 30, 16, .5)); }
  .brand-logo { width: 42px; height: 42px; border-radius: 11px; }
  .brand-text strong { font-size: 14.5px; }
  .brand-text small { font-size: 9.5px; letter-spacing: .24em; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 48px) 0 190px; }
  .hero-shade { background: linear-gradient(0deg, rgba(10, 30, 16, .88) 0%, rgba(10, 30, 16, .62) 55%, rgba(10, 30, 16, .55)); }
  .hero-buttons .btn { flex: 1 1 auto; }
  .hero-controls-wrap { bottom: 96px; justify-content: flex-start; }
  .round-btn { width: 44px; height: 44px; }
  .features-wrap { margin-top: -70px; }
  .features { grid-template-columns: repeat(2, 1fr); padding: 22px 6px; }
  .feature { padding: 10px 10px; }
  .feature::before { display: none; }
  .feature h3 { font-size: 15px; }
  .feature p { font-size: 13px; }
  .investment-grid { grid-template-columns: 1fr; }
  .investment-media { min-height: 240px; }
  .unit-card { grid-template-columns: auto 1fr 34%; padding-left: 16px; gap: 14px; min-height: 104px; }
  .unit-ico .ico { width: 34px; height: 34px; }
  .unit-info strong { font-size: 19px; }
  .unit-info small { font-size: 13px; }
  .location-card { padding: 20px 54px 20px 20px; gap: 16px; }
  .location-ico { width: 42px; height: 42px; padding-right: 16px; }
  .checklist { grid-template-columns: 1fr; }
  .why-grid, .reasons, .coop, .values, .benefits, .mv-grid, .spec-grid { grid-template-columns: 1fr; }
  .why-card, .reason { padding: 26px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 10px; }
  .viz-card { grid-template-columns: 1fr; }
  .viz-img img { aspect-ratio: 4 / 3; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 14px 12px; }
  .stat strong { font-size: 24px; }
  .stat span { font-size: 12.5px; }
  .area-table th, .area-table td { padding: 12px 12px; font-size: 15px; }
  .area-table td:first-child { width: 44px; font-size: 13px; }
  .tabs { display: grid; grid-template-columns: 1fr; width: 100%; }
  .tab { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .lightbox, .video-modal { padding: 70px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; translate: none; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
  .to-top { right: 14px; bottom: 84px; width: 46px; height: 46px; }
  .map-box { min-height: 360px; }
}


/* ==========================================================================
   Hero — karta lokalizacji
   ========================================================================== */
.hero-loc {
  position: relative; width: 300px; align-self: center; overflow: hidden;
  border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, rgba(20, 54, 31, .62), rgba(10, 28, 16, .72));
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6);
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-loc-art { position: relative; height: 96px; background: linear-gradient(180deg, rgba(180, 226, 127, .16), rgba(180, 226, 127, 0)); overflow: hidden; }
.hero-loc-art svg { position: absolute; inset: auto 0 0; width: 100%; height: 100%; }
.hero-loc-art .m3 { fill: rgba(180, 226, 127, .14); }
.hero-loc-art .m2 { fill: rgba(180, 226, 127, .24); }
.hero-loc-art .m1 { fill: rgba(180, 226, 127, .38); }
.hero-loc-pin {
  position: absolute; right: 22px; top: 20px; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--green-950);
  box-shadow: 0 10px 24px -8px rgba(180, 226, 127, .7);
}
.hero-loc-pin::before, .hero-loc-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); animation: ring 2.6s ease-out infinite; }
.hero-loc-pin::after { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(2.1); opacity: 0; } }
.hero-loc-pin .ico { width: 22px; height: 22px; position: relative; }
.hero-loc-body { padding: 4px 22px 20px; }
.hero-loc-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }
.hero-loc-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(180, 226, 127, .2); }
.hero-loc strong { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.hero-loc p { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .82); margin-bottom: 16px; }
.hero-loc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-loc-coords { font-size: 12.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.hero-loc-link { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.hero-loc-link .ico { width: 18px; height: 18px; transform: rotate(90deg); }
.hero-loc-link:hover { background: var(--lime); color: var(--green-950); transform: translateY(2px); }

/* Paralaksa w sekcji lokalizacji */
.location .bg-photo[data-parallax] { inset: auto 0; top: -30%; height: 160%; will-change: transform; }
.location .landscape[data-parallax] { inset: auto 0; top: -8%; height: 116%; will-change: transform; }
/* Paralaksa: zdjęcie wyższe od bloku, przesuwane skryptem (main.js) */
.page-hero-bg { overflow: hidden; }
.page-hero-bg img[data-parallax] { position: absolute; left: 0; top: -15%; height: 130%; will-change: transform; }
.cta-band .bg-photo[data-parallax] { inset: auto 0; top: -25%; height: 150%; will-change: transform; }
.aerial-banner img[data-parallax] { inset: auto 0; top: -20%; height: 140%; will-change: transform; }

.head-aside { display: grid; gap: 14px; justify-items: start; max-width: 420px; color: var(--muted); }

/* ==========================================================================
   Okna modalne
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 24px; visibility: hidden; pointer-events: none; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 22, 12, .6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; transition: opacity .35s ease; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal-dialog {
  position: relative; width: min(1000px, 100%); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 28px; box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .35s ease, transform .45s var(--ease);
}
.modal.is-open .modal-dialog { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--green-900); transition: background-color .2s, transform .3s var(--ease); }
.modal-close:hover { background: var(--lime-soft); transform: rotate(90deg); }
.modal-close .ico { width: 20px; height: 20px; }


.modal-body { padding: 40px 44px 36px; }

/* Okno oferty — kompaktowe, bez przewijania */
.modal-offer { width: min(720px, 100%); overflow: hidden auto; }
.modal-ridge { height: 66px; background: linear-gradient(135deg, var(--green-700), var(--green-900)); position: relative; }
.modal-ridge::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; background: #fff;
  -webkit-mask: var(--mask-trees) center bottom / 1440px 100% no-repeat; mask: var(--mask-trees) center bottom / 1440px 100% no-repeat; }
.modal-ridge::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 40%, rgba(180, 226, 127, .35), transparent 40%); }
.modal-offer .modal-close { background: rgba(255, 255, 255, .14); color: #fff; }
.modal-offer .modal-close:hover { background: rgba(255, 255, 255, .26); }
.modal-offer .modal-body { padding: 0 36px 28px; position: relative; }
.offer-head { display: flex; align-items: flex-start; gap: 18px; margin: 0 0 16px; padding-top: 14px; }
.offer-head .offer-badge { margin-top: -46px; }
.offer-badge { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--green-700); box-shadow: 0 12px 26px -12px rgba(15, 40, 23, .45); }
.offer-badge .ico { width: 28px; height: 28px; }
.modal-offer .modal-title { font-size: 26px; margin-bottom: 2px; padding-right: 0; }
.modal-offer .modal-lead { font-size: 14.5px; margin: 0; }
.modal-offer .choice-group { margin-bottom: 14px; }
.modal-offer .choice-group legend { margin-bottom: 8px; font-size: 13.5px; }
.modal-offer .choice-card { flex-direction: row; align-items: center; gap: 10px; padding: 10px 30px 10px 10px; border-radius: 14px; }
.modal-offer .choice-card::after { top: 50%; translate: 0 -50%; right: 10px; width: 16px; height: 16px; }
.modal-offer .choice-ico { width: 36px; height: 36px; border-radius: 10px; }
.modal-offer .choice-ico .ico { width: 18px; height: 18px; }
.modal-offer .choice-text strong { font-size: 15.5px; }
.modal-offer .choice-text small { font-size: 12px; margin-top: 1px; }
.modal-offer .form-grid { gap: 12px 14px; }
.modal-offer .field { gap: 5px; }
.modal-offer .field label, .modal-offer .form-grid .choice-group legend { font-size: 13.5px; }
.modal-offer .form-grid .choice-group { margin: 0; }
.modal-offer .field input, .modal-offer .field textarea { min-height: 46px; padding-top: 11px; padding-bottom: 11px; font-size: 15px; border-radius: 11px; }
.modal-offer .input-wrap .ico { top: 14px; }
.modal-offer .field textarea { min-height: 64px; height: 64px; }
.chips-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px; border-radius: 12px; background: var(--tint); }
.chips-seg .chip-opt span { width: 100%; justify-content: center; min-height: 38px; border: 0; border-radius: 9px; background: transparent; }
.chips-seg .chip-opt input:checked + span { background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); }
.modal-offer .consent { font-size: 12.5px; line-height: 1.45; }
.modal-offer .consent input { width: 18px; height: 18px; }
.offer-submit { display: flex; align-items: center; gap: 18px; }
.offer-submit .btn { flex: 1; min-height: 52px; }
.offer-call { display: flex; align-items: center; gap: 10px; line-height: 1.2; flex: none; }
.offer-call > span:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lime-soft); color: var(--green-700); }
.offer-call > span:first-child .ico { width: 18px; height: 18px; }
.offer-call small { display: block; font-size: 12px; color: var(--muted); }
.offer-call strong { display: block; font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.offer-call:hover strong { color: var(--green-600); }
.modal-offer .form-status { margin-top: 12px; }
.modal-title { font-size: clamp(26px, 3vw, 32px); margin-bottom: 8px; padding-right: 50px; }
.modal-lead { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.opt { font-weight: 400; color: var(--muted); }
.form-grid-1 { grid-template-columns: 1fr; }

.choice-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.form-grid .choice-group { margin: 0; }
.choice-group legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.choice-group legend .ico { width: 18px; height: 18px; color: var(--green-600); }
.choice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.choice-card:hover { border-color: var(--green-500); transform: translateY(-2px); }
.choice-card input, .chip-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice-card:has(input:checked) { border-color: var(--green-600); background: var(--lime-soft); box-shadow: 0 10px 24px -14px rgba(47, 122, 63, .6); }
.choice-card:has(input:focus-visible), .chip-opt:has(input:focus-visible) span { outline: 3px solid var(--lime); outline-offset: 2px; }
.choice-card::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; transition: .2s; }
.choice-card:has(input:checked)::after { border: 5px solid var(--green-600); }
.choice-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: var(--green-700); transition: background-color .2s, color .2s; }
.choice-card:has(input:checked) .choice-ico { background: var(--green-700); color: #fff; }
.choice-text strong { display: block; font-size: 17px; color: var(--ink); line-height: 1.2; }
.choice-text small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { position: relative; cursor: pointer; }
.chip-opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text); transition: background-color .2s, color .2s, border-color .2s; }
.chip-opt span .ico { width: 16px; height: 16px; }
.chip-opt:hover span { border-color: var(--green-500); }
.chip-opt input:checked + span { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.form-success { text-align: center; padding: 40px 10px 20px; }
.form-success[hidden] { display: none; }
.form-success .modal-title { padding: 0; }
.form-success p { color: var(--muted); max-width: 380px; margin: 0 auto 26px; }
.success-ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--lime-soft); color: var(--green-700); animation: pop .5s var(--ease); }
.success-ico .ico { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: none; opacity: 1; } }
.form-view[hidden] { display: none; }

.modal-callback { width: min(480px, 100%); }
.modal-callback .modal-body { padding: 40px 36px 30px; }
.cb-head { text-align: center; margin-bottom: 6px; }
.cb-head .modal-title { padding: 0; }
.cb-ico { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(135deg, var(--green-500), var(--green-800)); color: #fff; }
.cb-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green-500); animation: ring 2.4s ease-out infinite; }
.cb-ico .ico { width: 30px; height: 30px; animation: shake 2.4s ease-in-out infinite; }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-12deg); } 70%, 80% { transform: rotate(12deg); } }
.cb-alt { text-align: center; margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.cb-alt a { font-weight: 600; color: var(--green-700); }

/* Pływający przycisk: zamów rozmowę */
.callback-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: flex; align-items: center; gap: 12px; padding: 6px 20px 6px 6px; border-radius: 99px;
  background: linear-gradient(135deg, var(--green-500), var(--green-800)); color: #fff;
  box-shadow: 0 16px 34px -12px rgba(29, 77, 43, .7);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .35s, visibility .35s, transform .4s var(--ease), box-shadow .3s;
}
.callback-fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.callback-fab:hover { box-shadow: 0 20px 40px -12px rgba(29, 77, 43, .85); transform: translateY(-2px); }
.callback-fab-ico { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--green-700); }
.callback-fab-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ring 2.4s ease-out infinite; }
.callback-fab-ico .ico { width: 24px; height: 24px; animation: shake 2.4s ease-in-out infinite; }
.callback-fab-label { font-weight: 600; font-size: 15.5px; white-space: nowrap; }
body.modal-open .callback-fab, body.nav-open .callback-fab { opacity: 0; visibility: hidden; }

/* ==========================================================================
   Strona Galeria
   ========================================================================== */
.gal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.gal-filter { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 99px; background: var(--tint); font-weight: 600; font-size: 15px; color: var(--ink); transition: background-color .25s, color .25s, transform .2s; }
.gal-filter span { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 99px; background: #fff; font-size: 12px; color: var(--muted); }
.gal-filter:hover { transform: translateY(-1px); background: var(--lime-soft); }
.gal-filter.is-active { background: var(--green-800); color: #fff; }
.gal-filter.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 16px; }
.gal-item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--tint); }
.gal-item.gal-big { grid-column: span 2; grid-row: span 2; }
.gal-item.gal-wide { grid-column: span 2; }
.gal-item.gal-tall { grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(15, 40, 23, .62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease); }
.gal-cap .ico { width: 16px; height: 16px; color: var(--lime); }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }
.gal-in { animation: fadeUp .45s var(--ease); }

@media (max-width: 1024px) {
  .hero-loc { width: 100%; max-width: 520px; display: grid; grid-template-columns: 110px 1fr; animation: none; margin-top: 8px; }
  .hero-loc-art { height: auto; min-height: 100%; }
  .hero-loc-pin { left: 50%; right: auto; top: 50%; translate: -50% -60%; }
  .hero-loc-body { padding: 16px 18px; }
  .hero-loc strong { font-size: 20px; margin-bottom: 4px; }
  .hero-loc p { font-size: 13.5px; margin-bottom: 10px; }
  .hero-loc-foot { padding-top: 10px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
}

@media (max-width: 720px) {
  .hero-loc { grid-template-columns: 1fr; }
  .hero-loc-art { display: none; }
  .hero-loc-body { padding: 14px 16px; }
  .hero-loc p, .hero-loc-coords { display: none; }
  .hero-loc-foot { border: 0; padding: 0; position: absolute; right: 14px; top: 50%; translate: 0 -50%; }
  .hero-loc-tag { margin-bottom: 4px; }
  .hero-loc strong { font-size: 18px; margin: 0; }
  .gal-grid { grid-auto-rows: 150px; gap: 10px; }
  .gal-item.gal-tall { grid-row: span 1; }
  .gal-cap { opacity: 1; transform: none; font-size: 12.5px; padding: 7px 10px; left: 8px; right: 8px; bottom: 8px; }
  .gal-cap > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gal-item:not(.gal-big):not(.gal-wide) .gal-cap { display: none; }
  .gal-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .gal-filter { flex: none; }

  .modal { padding: 0; place-items: end center; }
  .modal-dialog { width: 100%; max-height: 92dvh; border-radius: 26px 26px 0 0; transform: translateY(100%); transition: transform .45s var(--ease), opacity .2s; }
  .modal-dialog::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--line); margin: 10px auto 0; }
  .modal-callback { width: 100%; }
  .modal-body, .modal-callback .modal-body { padding: 18px 20px calc(24px + env(safe-area-inset-bottom)); }
  .modal-close { top: 18px; right: 14px; width: 40px; height: 40px; }
  .choice-cards { grid-template-columns: 1fr; gap: 8px; }
  .modal-ridge { height: 60px; border-radius: 26px 26px 0 0; }
  .modal-dialog.modal-offer::before { position: absolute; left: 50%; translate: -50% 0; z-index: 2; background: rgba(255,255,255,.5); margin-top: 8px; }
  .modal-offer .modal-body { padding: 0 20px calc(22px + env(safe-area-inset-bottom)); }
  .offer-head .offer-badge { margin-top: -40px; }
  .offer-badge { width: 52px; height: 52px; border-radius: 15px; }
  .modal-offer .modal-title { font-size: 23px; }
  .offer-submit { flex-direction: column; align-items: stretch; gap: 12px; }
  .modal-offer .choice-cards { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .modal-offer .choice-card { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 10px 10px 12px; }
  .modal-offer .choice-card::after { top: 10px; translate: none; right: 8px; width: 14px; height: 14px; }
  .modal-offer .choice-card:has(input:checked)::after { border-width: 4px; }
  .modal-offer .choice-ico { display: none; }
  .modal-offer .choice-text strong { font-size: 13.5px; padding-right: 16px; }
  .modal-offer .choice-text small { font-size: 11.5px; }
  .modal-offer .form-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .modal-offer .form-grid > :nth-child(n+3) { grid-column: 1 / -1; }
  .offer-head { padding-top: 10px; margin-bottom: 12px; }
  .modal-offer .modal-lead { font-size: 13.5px; }
  .offer-call { justify-content: center; }
  .choice-card { flex-direction: row; align-items: center; padding: 10px 44px 10px 10px; }
  .choice-card::after { top: 50%; translate: 0 -50%; }
  .chips { gap: 6px; }
  .chip-opt span { min-height: 40px; padding: 0 13px; font-size: 14px; }
  .callback-fab { right: 14px; bottom: 14px; padding: 0; }
  .callback-fab-ico { width: 58px; height: 58px; background: transparent; color: #fff; }
  .callback-fab-ico::after { border-color: rgba(255, 255, 255, .6); }
  .callback-fab-label { display: none; }
}


/* ==========================================================================
   Fasonowane krawędzie sekcji: wzgórza, góry, las
   Użycie: <span class="edge edge-bottom edge-mountains" style="--edge-color:#fff"></span>
   ========================================================================== */
:root {
  --mask-hills: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 60%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 60V34C120 14 240 14 360 30S600 52 720 36 960 6 1080 22 1320 46 1440 26V60Z%22/%3E%3C/svg%3E");
  --mask-mountains: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 70%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 70V50L70 38 130 46 230 14 300 38 380 26 470 52 560 30 650 42 760 8 850 36 930 24 1040 50 1140 28 1230 40 1330 12 1440 38V70Z%22/%3E%3C/svg%3E");
  --mask-trees: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 90%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0 90V57.5L0 57.5L24 56.2L48 55.0L72 53.9L96 52.9L120 52.0L144 51.3L168 50.8L192 50.4L216 50.2L240 50.2L264 50.3L288 50.7L312 51.2L336 51.9L360 52.8L384 53.8L408 54.9L432 56.1L456 57.5L480 58.9L504 60.3L528 61.8L552 63.3L576 64.7L600 66.2L624 67.5L648 68.8L672 70.0L696 71.0L720 71.9L744 72.6L768 73.2L792 73.6L816 73.8L840 73.9L864 73.7L888 73.4L912 72.9L936 72.2L960 71.4L984 70.5L1008 69.4L1032 68.2L1056 66.9L1080 65.6L1104 64.2L1128 62.7L1152 61.3L1176 59.9L1200 58.6L1224 57.3L1248 56.1L1272 55.0L1296 54.0L1320 53.2L1344 52.5L1368 51.9L1392 51.5L1416 51.3L1440 51.2V90ZM6.0 14.6L11.7 29.8L9.0 29.8L14.0 44.9L10.6 44.9L16.4 59.2L-4.4 59.2L1.4 44.9L-2.0 44.9L3.0 29.8L0.3 29.8ZM43.0 36.6L46.3 43.6L44.8 43.6L47.7 50.6L45.7 50.6L49.1 57.2L36.9 57.2L40.3 50.6L38.3 50.6L41.2 43.6L39.7 43.6ZM94.1 35.9L96.5 42.4L95.4 42.4L97.5 48.9L96.1 48.9L98.6 55.0L89.6 55.0L92.1 48.9L90.7 48.9L92.8 42.4L91.6 42.4ZM116.3 34.1L119.2 40.9L117.9 40.9L120.4 47.7L118.6 47.7L121.7 54.1L110.8 54.1L113.9 47.7L112.1 47.7L114.7 40.9L113.3 40.9ZM136.2 17.9L140.7 30.0L138.6 30.0L142.6 42.1L139.8 42.1L144.6 53.5L127.8 53.5L132.5 42.1L129.8 42.1L133.7 30.0L131.6 30.0ZM165.4 23.7L169.1 33.6L167.4 33.6L170.6 43.5L168.4 43.5L172.3 52.8L158.6 52.8L162.5 43.5L160.2 43.5L163.4 33.6L161.7 33.6ZM217.8 36.5L219.9 41.8L218.9 41.8L220.7 47.2L219.5 47.2L221.6 52.2L214.1 52.2L216.2 47.2L215.0 47.2L216.7 41.8L215.8 41.8ZM238.6 18.5L243.0 29.9L241.0 29.9L244.8 41.4L242.2 41.4L246.7 52.2L230.6 52.2L235.1 41.4L232.5 41.4L236.3 29.9L234.3 29.9ZM271.2 16.5L276.5 28.7L274.1 28.7L278.7 41.0L275.5 41.0L280.9 52.4L261.6 52.4L267.0 41.0L263.8 41.0L268.4 28.7L266.0 28.7ZM328.9 19.9L333.8 31.4L331.5 31.4L335.8 42.9L332.8 42.9L337.9 53.7L319.9 53.7L324.9 42.9L322.0 42.9L326.3 31.4L324.0 31.4ZM355.3 24.6L359.7 34.8L357.6 34.8L361.5 45.0L358.8 45.0L363.4 54.6L347.1 54.6L351.7 45.0L349.0 45.0L352.9 34.8L350.8 34.8ZM410.1 40.1L412.4 45.9L411.3 45.9L413.3 51.6L411.9 51.6L414.2 57.0L406.0 57.0L408.3 51.6L407.0 51.6L408.9 45.9L407.9 45.9ZM443.6 38.5L446.6 45.4L445.2 45.4L447.7 52.3L446.0 52.3L449.0 58.8L438.2 58.8L441.3 52.3L439.5 52.3L442.0 45.4L440.7 45.4ZM467.4 21.7L473.7 34.8L470.8 34.8L476.3 47.8L472.5 47.8L479.0 60.1L455.9 60.1L462.4 47.8L458.6 47.8L464.1 34.8L461.1 34.8ZM506.5 43.1L509.2 49.7L507.9 49.7L510.3 56.3L508.6 56.3L511.4 62.5L501.5 62.5L504.3 56.3L502.7 56.3L505.0 49.7L503.8 49.7ZM525.5 33.8L529.3 44.0L527.5 44.0L530.9 54.1L528.6 54.1L532.5 63.6L518.4 63.6L522.4 54.1L520.1 54.1L523.4 44.0L521.6 44.0ZM564.3 32.0L569.0 43.6L566.8 43.6L570.9 55.1L568.1 55.1L572.9 66.0L555.7 66.0L560.5 55.1L557.7 55.1L561.8 43.6L559.6 43.6ZM620.0 41.5L624.4 51.0L622.3 51.0L626.1 60.4L623.5 60.4L628.0 69.3L612.0 69.3L616.5 60.4L613.9 60.4L617.7 51.0L615.6 51.0ZM694.5 31.4L700.5 45.5L697.7 45.5L702.9 59.6L699.3 59.6L705.5 72.9L683.6 72.9L689.7 59.6L686.2 59.6L691.3 45.5L688.6 45.5ZM724.5 54.2L727.3 61.0L726.0 61.0L728.4 67.7L726.7 67.7L729.6 74.0L719.5 74.0L722.4 67.7L720.7 67.7L723.1 61.0L721.8 61.0ZM793.7 29.8L799.9 45.4L797.0 45.4L802.5 61.0L798.7 61.0L805.2 75.6L782.2 75.6L788.6 61.0L784.9 61.0L790.3 45.4L787.4 45.4ZM854.6 33.0L861.6 47.5L858.3 47.5L864.4 62.1L860.2 62.1L867.4 75.8L841.8 75.8L849.0 62.1L844.8 62.1L850.9 47.5L847.6 47.5ZM903.8 61.5L905.6 66.1L904.8 66.1L906.3 70.7L905.2 70.7L907.0 75.1L900.6 75.1L902.4 70.7L901.4 70.7L902.9 66.1L902.1 66.1ZM927.7 61.5L929.5 65.9L928.6 65.9L930.2 70.3L929.1 70.3L931.0 74.5L924.3 74.5L926.2 70.3L925.1 70.3L926.7 65.9L925.8 65.9ZM951.8 53.5L954.8 60.3L953.4 60.3L955.9 67.2L954.2 67.2L957.2 73.7L946.3 73.7L949.4 67.2L947.6 67.2L950.2 60.3L948.8 60.3ZM987.7 31.4L993.3 45.3L990.7 45.3L995.6 59.2L992.2 59.2L998.0 72.3L977.4 72.3L983.2 59.2L979.9 59.2L984.7 45.3L982.1 45.3ZM1020.4 25.1L1026.8 40.7L1023.8 40.7L1029.4 56.2L1025.5 56.2L1032.2 70.8L1008.6 70.8L1015.3 56.2L1011.4 56.2L1017.0 40.7L1014.0 40.7ZM1067.8 54.9L1069.6 59.4L1068.8 59.4L1070.3 64.0L1069.3 64.0L1071.1 68.2L1064.5 68.2L1066.4 64.0L1065.3 64.0L1066.9 59.4L1066.0 59.4ZM1087.8 48.8L1090.3 55.0L1089.1 55.0L1091.2 61.2L1089.8 61.2L1092.3 67.1L1083.3 67.1L1085.9 61.2L1084.4 61.2L1086.5 55.0L1085.4 55.0ZM1110.0 47.7L1112.5 53.9L1111.3 53.9L1113.5 60.0L1112.0 60.0L1114.6 65.8L1105.3 65.8L1107.9 60.0L1106.4 60.0L1108.6 53.9L1107.4 53.9ZM1136.4 48.1L1139.0 53.6L1137.8 53.6L1140.0 59.1L1138.5 59.1L1141.2 64.2L1131.7 64.2L1134.4 59.1L1132.8 59.1L1135.1 53.6L1133.9 53.6ZM1185.0 25.1L1190.2 37.4L1187.8 37.4L1192.3 49.8L1189.2 49.8L1194.6 61.4L1175.4 61.4L1180.8 49.8L1177.7 49.8L1182.2 37.4L1179.8 37.4ZM1242.4 18.0L1248.1 31.7L1245.5 31.7L1250.4 45.5L1247.0 45.5L1252.9 58.4L1232.0 58.4L1237.9 45.5L1234.4 45.5L1239.4 31.7L1236.7 31.7ZM1321.5 23.6L1325.7 34.3L1323.7 34.3L1327.4 45.0L1324.8 45.0L1329.2 55.1L1313.8 55.1L1318.1 45.0L1315.6 45.0L1319.2 34.3L1317.3 34.3ZM1345.5 36.2L1348.2 42.4L1346.9 42.4L1349.3 48.6L1347.7 48.6L1350.5 54.4L1340.5 54.4L1343.3 48.6L1341.7 48.6L1344.0 42.4L1342.8 42.4ZM1368.5 43.1L1369.9 46.8L1369.3 46.8L1370.5 50.4L1369.7 50.4L1371.1 53.9L1366.0 53.9L1367.4 50.4L1366.6 50.4L1367.8 46.8L1367.1 46.8ZM1383.2 32.5L1386.1 39.7L1384.7 39.7L1387.2 46.9L1385.5 46.9L1388.4 53.6L1378.0 53.6L1381.0 46.9L1379.3 46.9L1381.7 39.7L1380.4 39.7ZM1410.7 31.1L1413.8 38.7L1412.3 38.7L1415.0 46.2L1413.1 46.2L1416.3 53.3L1405.0 53.3L1408.2 46.2L1406.3 46.2L1409.0 38.7L1407.6 38.7Z%22/%3E%3C/svg%3E");
}
.edge {
  position: absolute; left: 0; right: 0; z-index: 3; display: block; pointer-events: none;
  height: var(--edge-h, 56px); background: var(--edge-color, #fff);
  -webkit-mask: var(--edge-mask) center bottom / max(100%, 1440px) 100% no-repeat;
          mask: var(--edge-mask) center bottom / max(100%, 1440px) 100% no-repeat;
}
.edge-bottom { bottom: -1px; }
.edge-top { top: -1px; transform: scaleY(-1); }
.edge-hills { --edge-mask: var(--mask-hills); --edge-h: 48px; }
.edge-mountains { --edge-mask: var(--mask-mountains); --edge-h: 62px; }
.edge-trees { --edge-mask: var(--mask-trees); --edge-h: 78px; }

/* Szare sekcje — automatycznie łagodne wzgórza u góry i u dołu */
.section-tint { position: relative; z-index: 1; }
.section-tint::before, .section-tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 46px; background: var(--tint); pointer-events: none;
  -webkit-mask: var(--mask-hills) center bottom / max(100%, 1440px) 100% no-repeat;
          mask: var(--mask-hills) center bottom / max(100%, 1440px) 100% no-repeat;
}
.section-tint::before { bottom: calc(100% - 1px); }
.section-tint::after { top: calc(100% - 1px); transform: scale(-1, -1); }

@media (max-width: 720px) {
  .edge-hills { --edge-h: 30px; }
  .edge-mountains { --edge-h: 40px; }
  .edge-trees { --edge-h: 54px; }
  .section-tint::before, .section-tint::after { height: 28px; }
}

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

@media print {
  .site-header, .site-footer, .to-top, .hero-controls, .lightbox { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Interaktywna elewacja — wybór mieszkania (main.js: initUnitMap) */
.unit-map { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 72px); }
.um-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
@media (min-width: 1025px) {
  .unit-map { grid-template-columns: minmax(260px, 1fr) minmax(0, 760px); align-items: center; gap: 48px; }
}
.um-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); }
.um-stage img { display: block; width: 100%; height: auto; }
.um-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.um-svg [data-unit] { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .85); stroke-width: 4; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .2s, stroke-width .2s; outline: none; }
.um-svg [data-unit].is-free { fill: rgba(63, 148, 80, .38); }
.um-svg [data-unit].is-reserved { fill: rgba(232, 176, 30, .45); }
.um-svg [data-unit].is-sold { fill: rgba(200, 52, 52, .45); cursor: default; }
.um-svg [data-unit].is-unknown { fill: rgba(120, 128, 122, .3); cursor: default; }
.um-svg [data-unit].is-free:is(:hover, .is-active) { fill: rgba(63, 148, 80, .62); }
.um-svg [data-unit].is-reserved:is(:hover, .is-active) { fill: rgba(232, 176, 30, .68); }
.um-svg [data-unit].is-sold:is(:hover, .is-active) { fill: rgba(200, 52, 52, .65); }
.um-svg [data-unit]:is(:hover, .is-active, :focus-visible) { stroke: #fff; stroke-width: 3; }
.um-tip { position: absolute; left: 0; top: 0; z-index: 2; min-width: 200px; max-width: 260px; padding: 16px 18px; border-radius: var(--radius); background: rgba(15, 40, 23, .94); color: #fff; box-shadow: var(--shadow-lg); pointer-events: none; display: grid; gap: 2px; text-align: center; font-size: 14px; line-height: 1.4; }
.um-tip strong { font-size: 18px; }
.um-tip-meta { color: rgba(255, 255, 255, .75); font-size: 13px; }
.um-tip-area { font-size: 16px; font-weight: 600; }
.um-tip-status { margin: 8px auto 4px; padding: 3px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: rgba(255, 255, 255, .15); }
.um-tip-status.is-free { background: var(--green-500); }
.um-tip-status.is-reserved { background: #e8b01e; color: #2a2000; }
.um-tip-status.is-sold { background: #c83434; }
.um-tip-price { font-size: 20px; font-weight: 700; }
.um-tip-price .price-ask { color: var(--lime); font-size: 15px; }
.um-tip-m2 { font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.um-tip-hint { margin-top: 6px; font-size: 12px; color: var(--lime); }
.um-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text); }
.um-legend li { display: inline-flex; align-items: center; gap: 8px; }
.um-dot { width: 14px; height: 14px; border-radius: 4px; }
.um-dot.is-free { background: rgba(63, 148, 80, .75); }
.um-dot.is-reserved { background: rgba(232, 176, 30, .85); }
.um-dot.is-sold { background: rgba(200, 52, 52, .8); }
.um-demo { display: none; position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-sm); }
.unit-map[data-unit-map="demo"] .um-demo { display: block; }
@media (max-width: 560px) {
  .um-stage { border-radius: var(--radius); }
  .um-tip { min-width: 170px; padding: 12px 14px; }
}

/* Wariant szeroki (rzut piętra) + przykładowy rzut */
.unit-map.is-wide { grid-template-columns: 1fr; gap: 22px; }
.unit-map.is-wide .um-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.unit-map.is-wide .um-head > div { max-width: 640px; }
.unit-map.is-wide .um-legend { margin: 0; }
.um-example { margin: 0; padding: 14px 18px; border-radius: var(--radius); background: #fdf3d8; border: 1px solid #f1dc9c; color: #6b4e00; font-size: 14.5px; }
.um-stage:has(.um-plan) { background: #fff; border: 1px solid var(--line); padding: clamp(10px, 2.5vw, 28px); }
.um-svg.um-plan { position: static; display: block; height: auto; }
.um-plan .um-outline { fill: none; stroke: #b9c2b8; stroke-width: 2; stroke-dasharray: 7 6; }
.um-plan .um-core { fill: #eef1ec; stroke: #1d4d2b; stroke-width: 3; }
.um-plan .um-stairs { fill: url(#um-hatch); }
.um-plan .um-hatch-line { stroke: #d4dbd2; stroke-width: 2; }
.um-plan .um-stair-lines line { stroke: #9aa59b; stroke-width: 1.5; }
.um-plan .um-units [data-unit] { stroke: #1d4d2b; stroke-width: 3; vector-effect: none; }
.um-plan .um-units [data-unit]:is(:hover, .is-active, :focus-visible) { stroke: #0f2817; stroke-width: 5; }
.um-plan .um-labels { pointer-events: none; }
.um-plan .um-num { font: 700 22px/1 var(--font); fill: #0f2817; text-anchor: middle; }
.um-plan .um-area { font: 500 15px/1 var(--font); fill: #2b3a2f; text-anchor: middle; opacity: .8; }
@media (max-width: 560px) {
  .um-plan .um-num { font-size: 26px; }
  .um-plan .um-area { display: none; }
}
.um-plan .um-units .is-free { fill: rgba(63, 148, 80, .42); }
.um-plan .um-units .is-reserved { fill: rgba(232, 176, 30, .55); }
.um-plan .um-units .is-sold { fill: rgba(200, 52, 52, .45); }
.um-plan .um-units .is-free:is(:hover, .is-active) { fill: rgba(63, 148, 80, .72); }
.um-plan .um-units .is-reserved:is(:hover, .is-active) { fill: rgba(232, 176, 30, .8); }
.um-plan .um-units .is-sold:is(:hover, .is-active) { fill: rgba(200, 52, 52, .68); }
.um-scroll-hint { display: none; margin: 8px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 700px) {
  .um-stage:has(.um-plan) { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .um-svg.um-plan { min-width: 640px; }
  .um-plan .um-area { display: block; }
  .um-plan .um-num { font-size: 22px; }
  .unit-map .um-tip { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; max-width: none; transform: none !important; z-index: 60; }
  .um-scroll-hint { display: block; }
}

/* Wizualizacja (zdjęcie) z numerami mieszkań */
.um-stage.um-photo { background: #1a241d; }
.um-photo .um-svg [data-unit] { stroke: rgba(255, 255, 255, .7); stroke-width: 2; cursor: pointer; }
.um-photo .um-svg [data-unit]:is(:hover, .is-active, :focus-visible) { stroke: #fff; stroke-width: 3.5; }
.um-photo .um-svg [data-unit].is-free { fill: rgba(63, 148, 80, .3); }
.um-photo .um-svg [data-unit].is-reserved { fill: rgba(232, 176, 30, .36); }
.um-photo .um-svg [data-unit].is-sold { fill: rgba(200, 52, 52, .36); }
.um-photo .um-svg [data-unit].is-free:is(:hover, .is-active) { fill: rgba(63, 148, 80, .58); }
.um-photo .um-svg [data-unit].is-reserved:is(:hover, .is-active) { fill: rgba(232, 176, 30, .62); }
.um-photo .um-svg [data-unit].is-sold:is(:hover, .is-active) { fill: rgba(200, 52, 52, .6); }
.um-svg [data-unit].is-dim { fill: rgba(15, 25, 18, .45); stroke-opacity: .3; }
.um-tip[hidden] { display: none; }
.unit-map.is-wide { grid-template-columns: minmax(0, 1fr); }
.um-filters > * { min-width: 0; max-width: 100%; }
.um-pin { position: absolute; z-index: 1; translate: -50% -50%; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--green-950); font-size: 14px; font-weight: 700; line-height: 1.2; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); pointer-events: none; transition: opacity .2s; }
.um-pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.um-pin.is-reserved::before { background: #e8b01e; }
.um-pin.is-sold::before { background: #c83434; }
.um-pin.is-dim { opacity: .35; }
.um-pin.is-crowded { visibility: hidden; }
.um-pin.um-seg { translate: -50% -120%; padding: 3px 9px; font-size: 13px; min-width: 26px; justify-content: center; }
.um-pin.um-seg::before { display: none; }
@media (max-width: 700px) {
  .um-pin { gap: 4px; padding: 2px 7px; font-size: 11px; }
  .um-pin::before { width: 6px; height: 6px; }
  .um-pin.um-seg { padding: 1px 5px; font-size: 10px; min-width: 18px; }
}

/* Lista mieszkań */
.um-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.um-filters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; }
.um-fgroup { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--tint); }
.um-f { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--green-900); transition: background-color .2s, box-shadow .2s; }
.um-f:hover { background: rgba(255, 255, 255, .65); }
.um-f.is-active { background: #fff; box-shadow: var(--shadow-sm); }
.um-f b { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.um-f .um-dot { width: 10px; height: 10px; border-radius: 3px; }
.um-table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.um-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.um-table th, .um-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.um-table thead th { background: var(--tint); color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.um-table tbody tr { cursor: pointer; transition: background-color .15s; }
.um-table tbody tr:last-child > * { border-bottom: 0; }
.um-table tbody tr:is(:hover, .is-hl) { background: var(--lime-soft); }
.um-table tbody tr.is-sold { color: var(--muted); }
.um-table .price-status { padding: 4px 10px; font-size: 11.5px; }
.um-nr { display: inline-grid; place-items: center; min-width: 46px; padding: 4px 8px; border-radius: 10px; background: var(--tint); color: var(--green-900); font-weight: 700; }
.um-c-price { color: var(--green-900); font-weight: 700; }
.um-c-price .price-ask { font-weight: 500; color: var(--muted); }
.um-table .um-act { text-align: right; }
.um-card-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--green-800); font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.um-card-btn .ico { width: 16px; height: 16px; }
.um-table tr:is(:hover, .is-hl) .um-card-btn, .um-card-btn:focus-visible { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.um-empty { margin: 0; padding: 18px; text-align: center; color: var(--muted); }
@media (max-width: 860px) {
  .um-filters { flex-direction: column; }
  .um-fgroup { align-self: stretch; }
  .um-f { flex: 1 1 auto; justify-content: center; padding: 0 10px; }
  .um-table-wrap { overflow: visible; border: 0; border-radius: 0; background: none; }
  .um-table thead { display: none; }
  .um-table, .um-table tbody { display: block; }
  .um-table tbody { display: grid; gap: 10px; }
  .um-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
  .um-table tbody tr[hidden] { display: none; }
  .um-table th, .um-table td { padding: 0; border: 0; white-space: normal; }
  .um-table td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 1px; color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
  .um-table td[data-l="Status"] { grid-column: 2; grid-row: 1; align-self: center; text-align: right; }
  .um-table td[data-l="Status"]::before { display: none; }
  .um-table .um-act { grid-column: 1 / -1; text-align: left; }
  .um-card-btn { width: 100%; justify-content: center; min-height: 42px; }
}

/* Karta mieszkania (okno) */
.modal-unit { width: min(1120px, 100%); }
.modal-unit .modal-body { padding: 0; }
.uc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.uc-media { display: grid; align-content: center; gap: 14px; padding: 28px; background: var(--tint); }
.uc-switch { justify-self: start; display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.uc-sw { padding: 8px 16px; border-radius: 9px; color: var(--green-900); font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s; }
.uc-sw.is-active { background: var(--green-700); color: #fff; }
.uc-plan { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.uc-plan[hidden] { display: none; }
.uc-plan img { display: block; width: 100%; height: auto; }
.uc-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: rgba(15, 40, 23, .85); color: #fff; font-size: 13px; font-weight: 600; }
.uc-zoom .ico { width: 15px; height: 15px; }
.uc-noplan { margin: 0; padding: 60px 20px; text-align: center; color: var(--muted); }
.uc-info { display: grid; align-content: start; gap: 18px; padding: 40px 40px 32px; }
.uc-info .eyebrow { margin: 0; }
.uc-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-right: 48px; }
.uc-title h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.uc-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.uc-facts > div { padding: 12px 14px; background: #fff; }
.uc-facts dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.uc-facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }
.uc-price { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: #fff; }
.uc-price small { display: block; font-size: 12.5px; opacity: .75; }
.uc-price strong { font-size: 24px; }
.uc-price div + div strong { font-size: 18px; }
.uc-price .price-ask { color: var(--lime); font-size: 16px; }
.uc-sold { margin: 0; padding: 14px 16px; border-radius: 14px; background: #f6dede; color: #8f2424; }
.uc-rooms { border: 1px solid var(--line); border-radius: 14px; }
.uc-rooms summary { padding: 12px 16px; color: var(--green-900); font-weight: 600; cursor: pointer; }
.uc-rooms table { width: 100%; border-collapse: collapse; font-size: 14px; }
.uc-rooms th, .uc-rooms td { padding: 7px 16px; border-top: 1px solid var(--line); text-align: left; }
.uc-rooms td:first-child { width: 64px; color: var(--muted); }
.uc-rooms td:last-child { text-align: right; white-space: nowrap; }
.uc-grp th { background: var(--tint); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.uc-sum td { font-weight: 700; }
.uc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.uc-actions .btn { flex: 1 1 auto; min-height: 50px; padding: 0 20px; font-size: 15px; gap: 10px; }
.uc-demo { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fdf3d8; color: #6b4e00; font-size: 13px; }
@media (max-width: 900px) {
  .uc { grid-template-columns: 1fr; }
  .uc-media { padding: 56px 16px 16px; }
  .uc-info { gap: 16px; padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); }
  .uc-title { padding-right: 0; }
  .uc-price strong { font-size: 21px; }
}
@media (max-width: 720px) {
  .modal-dialog.modal-unit::before { position: absolute; left: 50%; translate: -50% 0; z-index: 2; margin-top: 8px; }
}
