/* ─── SELF-HOSTED FONTS (merged from fonts.css to save a render-blocking request) ─── */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rP2Wp2ywxg089UriCZaSExdy3sGt9zz86GPwyKK58UfivUw4aw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rP2Wp2ywxg089UriCZaSExdy3sGt9zz86GPwyKy58UfivUw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-nFhOHM81r4j6k0gjAW3mujVU2B2G_VB3vD2xWr53BJl.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-nFhOHM81r4j6k0gjAW3mujVU2B2G_VB0PD2xWr53A.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-nFnOHM81r4j6k0gjAW3mujVU2B2G_5x0vrx52jJ3Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/-nFnOHM81r4j6k0gjAW3mujVU2B2G_Bx0vrx52g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #1a1a28;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0b233d; }
::-webkit-scrollbar-thumb { background: #8dc63f; border-radius: 3px; }

/* ─── TOKENS ─── */
:root {
  --navy:   #0b233d;
  --navy2:  #091c30;
  --green:      #8dc63f;
  --green2:     #a0d655;
  --green3:     #7ab034;
  --green-text: #8dc63f;
  --gold:       #8dc63f;
  --gold2:      #a0d655;
  --off:    #f7f8f5;
  --gray:   #828899;
  --light:  #eef0ea;
  --r:      10px;
  --sh:     0 24px 64px rgba(0,0,0,.10);
  --t:      .35s cubic-bezier(.25,.8,.25,1);
}

/* ─── CONTAINER ─── */
.container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 80px;
  padding-right: 80px;
}
@media (max-width: 1200px) { .container { padding-left: 48px; padding-right: 48px; } }
@media (max-width: 768px)  { .container { padding-left: 24px; padding-right: 24px; } }

/* ─── TYPOGRAPHY ─── */
.serif { font-family: 'DM Serif Display', Georgia, serif; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--green-text);
}
.tag::before { content: ''; width: 28px; height: 1px; background: currentColor; display: block; }
.tag.on-dark { color: var(--green); }

h1, h2, h3 { line-height: 1.12; }
.display {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 500;
  color: var(--navy);
}
.display.light { color: #fff; }
.display em { font-style: italic; color: var(--green-text); }
.display.light em { color: var(--gold); }

.lead {
  font-size: 1.05rem; color: #5a6478; line-height: 1.85;
}
.section-dark .lead { color: rgba(255,255,255,.88); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .84rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
  padding: 18px 40px; border-radius: 5px; cursor: pointer;
  border: none; transition: var(--t); white-space: nowrap;
}
.btn-green { background: var(--green); color: var(--navy); font-weight: 800; }
.btn-green:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(141,198,63,.3); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid rgba(11,35,61,.25); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: rgba(255,255,255,.45); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 90px;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
nav .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
nav.scrolled,
body.page-inner nav {
  background: rgba(11,35,61,.95);
  backdrop-filter: blur(24px);
  box-shadow: 0 2px 40px rgba(0,0,0,.3);
  border-bottom-color: rgba(255,255,255,.06);
}
nav.scrolled .nav-logo {
  background: rgba(255,255,255,.92);
  border-radius: 100px;
  padding: 8px 12px 8px 15px;
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
}
nav.scrolled .nav-logo img {
  filter: none;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.92);
  border-radius: 100px;
  padding: 8px 12px 8px 15px;
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
}
.nav-logo img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 25px; list-style: none; }
.nav-links a { font-size: .82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.9); transition: color var(--t); text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-phone { font-size: .9rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 7px; }
.nav-cta { padding: 11px 24px; font-size: .82rem; }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh; min-height: 680px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--navy);
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .75;
  transform: scale(1.06);
  animation: hzoom 14s ease-out forwards;
}
@keyframes hzoom { to { transform: scale(1); } }
.hero-gradient {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(11,35,61,.5) 0%, transparent 22%),
    linear-gradient(to top, rgba(11,35,61,.75) 0%, rgba(11,35,61,.35) 35%, rgba(11,35,61,.05) 70%, transparent 100%),
    linear-gradient(to right, rgba(11,35,61,.35) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; padding-bottom: 90px;
}
.hero-content .container { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: end; }
.hero-badge {
  position: absolute; top: 104px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(11,35,61,.78); backdrop-filter: blur(14px);
  border: 1px solid rgba(141,198,63,.55); color: #fff;
  font-size: .78rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 14px 26px; border-radius: 100px;
  box-shadow: 0 12px 36px rgba(11,35,61,.45);
}
.hero-badge i { color: var(--green); font-size: .9rem; }
@media (max-width: 768px) {
  .hero-badge { top: 78px; padding: 9px 16px; font-size: .62rem; letter-spacing: 2px; }
}
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-weight: 500; line-height: 1.05;
  color: #fff; margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 1rem; color: rgba(255,255,255,.8);
  line-height: 1.8; max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: nowrap; margin-bottom: 28px; }
.hero-actions .btn { flex: 1 1 0; justify-content: center; white-space: nowrap; padding: 16px 22px; letter-spacing: 1px; font-size: .78rem; }

/* Glass stats panel */
.hero-stats {
  background: rgba(11,35,61,.55);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}
.hs-item {
  padding: 28px 30px;
  border-right: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hs-item:nth-child(2n) { border-right: none; }
.hs-item:nth-child(3), .hs-item:nth-child(4) { border-bottom: none; }
.hs-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem; font-weight: 500;
  color: #fff; line-height: 1;
}
.hs-num span { color: var(--gold); }
.hs-label { font-size: .65rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 8px; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: sbounce 2.5s ease-in-out infinite;
}
.hero-scroll-line { width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(255,255,255,.55), transparent); }
.hero-scroll span { font-size: .58rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.55); }
@keyframes sbounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* ─── STRIP / STATS BAR ─── */
.strip { background: var(--navy); }
.strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.05);
}
.strip-item {
  padding: 44px 20px;
  border-right: 1px solid rgba(255,255,255,.05);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.strip-item:last-child { border-right: none; }
.strip-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.4rem; font-weight: 500; color: #fff; line-height: 1;
}
.strip-num sup { font-size: 1.4rem; color: var(--gold); }
.strip-label { font-size: .65rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 10px; }

/* ─── SECTION RHYTHM ─── */
.section      { padding: 120px 0; }
.section-lg   { padding: 160px 0; }
.section-sm   { padding: 72px 0; }
.section-dark { background: var(--navy); }
.section-off  { background: var(--off); }

/* ─── O PROJEKTE ─── */
.about-grid {
  display: grid; grid-template-columns: 55fr 45fr; gap: 100px; align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.about-img:hover img { transform: scale(1.04); }
.about-stamp {
  position: absolute; bottom: 28px; left: 28px;
  background: rgba(11,35,61,.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 18px 24px;
  display: flex; align-items: center; gap: 14px;
}
.about-stamp-icon { color: var(--gold); font-size: 1.3rem; }
.about-stamp-text { font-size: .78rem; font-weight: 700; color: #fff; line-height: 1.5; }
.about-stamp-text small { display: block; color: rgba(255,255,255,.65); font-weight: 400; font-size: .67rem; letter-spacing: .5px; }
.about-img-accent {
  position: absolute; top: -24px; right: -24px;
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green2));
  opacity: .12; z-index: -1;
}

.section-num {
  font-family: 'DM Serif Display', serif;
  font-size: 3.2rem; font-weight: 700;
  color: var(--off); line-height: 1;
  margin-bottom: 0; display: none;
  user-select: none;
}
.section-num.dark-bg { color: rgba(255,255,255,.04); }
.section-num.off-bg { color: rgba(0,0,0,.07); }

.features-list { list-style: none; margin: 28px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.features-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .9rem; color: #4a5063; line-height: 1.65;
}
.features-list li .ico {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(141,198,63,.1); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.features-list li .ico i { color: var(--navy); font-size: .6rem; }

/* ─── GALLERY ─── */
.gallery-section { background: var(--navy); }
.gallery-head { padding-bottom: 52px; display: flex; justify-content: space-between; align-items: flex-end; }
.gallery-nav-btns { display: flex; gap: 10px; }
.gallery-nav-btns button {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15); background: transparent;
  color: #fff; cursor: pointer; transition: var(--t);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
}
.gallery-nav-btns button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.swiper-gallery { overflow: visible; }
.swiper-gallery .swiper-slide {
  border-radius: 12px; overflow: hidden;
  height: 520px;
}
.swiper-gallery .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.swiper-gallery .swiper-slide:hover img { transform: scale(1.04); }

/* ─── LOCALITY ─── */
.locality-grid {
  display: grid; grid-template-columns: 2fr 3fr; gap: 72px; align-items: start;
}
.locality-map {
  border-radius: 16px; overflow: hidden; height: 900px; position: sticky; top: 100px;
}
#locality-map { width: 100%; height: 100%; }
.locality-map-static { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Directional POI map (overlay on locality-map) ── */
.hp-dir-wrap { position: sticky; top: 100px; }
.hp-dir-map {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.hp-dir-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hp-dir-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  background: #fff; border-radius: 50%; border: 3px solid var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--navy); gap: 2px; z-index: 3;
  box-shadow: 0 8px 28px rgba(11,35,61,.3);
}
.hp-dir-center .hp-dir-logo { width: 30px; height: 30px; object-fit: contain; display: block; }
.hp-dir-center span { font-size: .52rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; text-align: center; line-height: 1.2; }
.hp-dir-poi { position: absolute; transform: translate(-50%, -50%); z-index: 2; pointer-events: all; }
.hp-dir-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.96); border: 1px solid rgba(11,35,61,.12);
  border-radius: 10px; padding: 8px 12px;
  box-shadow: 0 4px 20px rgba(11,35,61,.18);
  white-space: nowrap;
}
.hp-dir-chip i { color: var(--green-text); font-size: .85rem; flex-shrink: 0; }
.hp-dir-chip strong { display: block; font-size: .78rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.hp-dir-chip span { display: block; font-size: .65rem; color: var(--gray); font-weight: 500; }
.hp-dir-cta { text-align: center; margin-top: 20px; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-popup-content {
  border-radius: 10px; padding: 14px 18px; font-family: 'DM Sans', sans-serif;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.map-popup-title { font-size: .85rem; font-weight: 700; color: var(--navy); }
.map-popup-sub { font-size: .72rem; color: var(--gray); margin-top: 3px; }
.poi-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.poi-row {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid rgba(0,0,0,.07);
  transition: var(--t); text-decoration: none; color: inherit;
}
.poi-row:last-child { border-bottom: none; }
.poi-row--link:hover { padding-left: 8px; background: rgba(141,198,63,.04); border-radius: 8px; padding-right: 8px; margin: 0 -8px; }
.poi-row--link:hover .poi-name { color: var(--green-text); }
.poi-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: rgba(141,198,63,.08); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.poi-info { flex: 1; }
.poi-name { font-size: .88rem; font-weight: 700; color: var(--navy); }
.poi-desc { font-size: .76rem; color: var(--gray); margin-top: 2px; }
.poi-time {
  font-size: .72rem; font-weight: 700; letter-spacing: 1px;
  color: var(--green-text); background: rgba(141,198,63,.12);
  padding: 4px 12px; border-radius: 100px; white-space: nowrap;
}

/* ─── FULLBLEED BANNER ─── */
.banner-full {
  position: relative; height: 400px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.banner-full img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.5);
}
.banner-full-content {
  position: relative; z-index: 1; text-align: center;
}
.banner-full-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400; color: #fff; line-height: 1.2;
}
.banner-full-content p { font-size: 1rem; color: rgba(255,255,255,.82); margin-top: 14px; }

/* ─── TERASY ─── */
.terasy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 64px; }
.terasy-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
}
.terasy-card:first-child { border-radius: 12px 0 0 12px; }
.terasy-card:last-child { border-radius: 0 12px 12px 0; }
.terasy-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.terasy-card:hover img { transform: scale(1.07); }
.terasy-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,35,61,.92) 0%, rgba(11,35,61,.2) 50%, transparent 100%);
}
.terasy-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 28px; }
.tc-tag { font-size: .62rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.tc-name { font-family: 'DM Serif Display', serif; font-size: 1.6rem; font-weight: 500; color: #fff; }
.tc-area { font-size: .8rem; color: rgba(255,255,255,.78); margin-top: 6px; }
.tc-price { font-size: 1.15rem; font-weight: 700; color: var(--gold); margin-top: 14px; }
.tc-btn {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy); border: 1px solid #fff; padding: 9px 18px;
  border-radius: 5px; transition: var(--t); background: #fff; cursor: pointer;
}
.terasy-card:hover .tc-btn { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ─── PONUKA ─── */
.ponuka-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 48px; }
.legend { display: flex; gap: 24px; align-items: center; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.legend-dot.f { background: var(--green); }
.legend-dot.r { background: #aaa; }
.legend-dot.s { background: #c0392b; }
.legend span { font-size: .75rem; font-weight: 600; color: var(--gray); }

.type-summary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 44px;
}
.ts-card {
  border: 1.5px solid rgba(0,0,0,.07); border-radius: 14px;
  padding: 36px 28px 32px; transition: var(--t); background: #fff;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 0;
  min-height: 160px;
}
.ts-card:hover { border-color: var(--green); box-shadow: 0 8px 30px rgba(141,198,63,.1); transform: translateY(-2px); }
.ts-card.selected { border-color: var(--green); background: rgba(141,198,63,.08); box-shadow: 0 8px 30px rgba(141,198,63,.15); }
.ts-card.urgent { border-color: var(--green); background: rgba(141,198,63,.04); }
.ts-urgency {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .58rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--green); color: var(--navy); padding: 4px 10px; border-radius: 5px;
  margin-bottom: 14px; align-self: flex-start;
}
.ts-type { font-size: 2.6rem; font-weight: 800; color: var(--navy); font-family: 'DM Serif Display', serif; line-height: 1; margin-bottom: 14px; }
.ts-count { font-size: .72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); }
.ts-price { font-size: .78rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); }
.ts-price strong { font-size: 1.05rem; color: var(--navy); font-weight: 700; letter-spacing: 0; text-transform: none; display: block; margin-top: 2px; }

.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.f-btn {
  padding: 8px 20px; border-radius: 100px;
  border: 1.5px solid rgba(0,0,0,.1); background: transparent;
  font-family: 'DM Sans', sans-serif; font-size: .72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: var(--t); color: var(--gray);
}
.f-btn.active, .f-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.f-btn--free { background: var(--green); color: var(--navy); border-color: var(--green); font-weight: 800; }
.f-btn--free:hover, .f-btn--free.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Price range filter */
.prf-wrap { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.prf-label { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); white-space: nowrap; }
.prf-slider-wrap { position: relative; width: 180px; height: 20px; }
.prf-track { position: absolute; top: 50%; transform: translateY(-50%); left: 0; right: 0; height: 4px; background: rgba(0,0,0,.1); border-radius: 2px; pointer-events: none; }
.prf-fill { position: absolute; height: 100%; background: var(--green); border-radius: 2px; }
.prf-input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.prf-input::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.25); cursor: pointer; pointer-events: all; transition: transform .15s; }
.prf-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.prf-input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.25); cursor: pointer; pointer-events: all; }
.prf-input::-webkit-slider-runnable-track { background: transparent; }
.prf-input::-moz-range-track { background: transparent; }
.prf-val { font-size: .82rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.prf-val--min { text-align: right; }
.prf-val--max { text-align: left; }

.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: var(--sh); }
.flats-table {
  width: 100%; border-collapse: collapse; background: #fff;
}
.flats-table thead { background: var(--navy); }
.flats-table th {
  padding: 16px 24px; text-align: left;
  font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.8); white-space: nowrap;
}
.flats-table td {
  padding: 16px 24px; font-size: .88rem;
  border-bottom: 1px solid rgba(0,0,0,.04);
  vertical-align: middle; white-space: nowrap;
}
.flats-table td:last-child { text-align: right; }
.flats-table tbody tr { transition: background var(--t); }
.flats-table tbody tr:hover { background: rgba(141,198,63,.025); }
.flats-table tbody tr.row-link { cursor: pointer; }
.flats-table tbody tr.row-link td:last-child { cursor: default; }
.flats-table tbody tr[data-status="sold"] td { opacity: .45; }
.flats-table tbody tr[data-status="sold"] td:last-child { opacity: 1; }

/* flat id + badge */
.flat-id { font-weight: 800; color: var(--navy); font-size: .9rem; letter-spacing: .3px; }
.flat-badge {
  font-size: .55rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--navy); background: var(--green);
  padding: 2px 7px; border-radius: 5px; margin-left: 7px; vertical-align: middle;
}
/* layout type pill */
.type-pill {
  display: inline-block;
  font-size: .72rem; font-weight: 700; color: var(--navy);
  background: var(--light); padding: 4px 10px; border-radius: 6px;
}
/* floor */
.floor-num { font-size: .82rem; color: var(--gray); font-weight: 500; }
/* area */
.area-val { font-weight: 600; color: var(--navy); }
.area-val small { font-size: .75em; color: var(--gray); font-weight: 400; }
/* terasa badge */
.t-badge {
  font-size: .62rem; font-weight: 700; color: var(--green-text);
  background: rgba(141,198,63,.15); padding: 3px 9px; border-radius: 5px;
}
.b-badge {
  font-size: .62rem; font-weight: 700; color: #1d4ed8;
  background: rgba(37,99,235,.12); padding: 3px 9px; border-radius: 5px;
}
/* prices */
.p-orig { display: block; text-decoration: line-through; color: var(--gray); font-size: .74rem; line-height: 1.2; }
.p-cur { font-weight: 800; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.p-cur--deal { color: var(--green-text); }
.p-save {
  display: inline-block; font-size: .6rem; font-weight: 700; color: var(--green-text);
  background: rgba(141,198,63,.12); padding: 2px 6px; border-radius: 5px; margin-left: 4px;
}
.price-cell { line-height: 1.6; }
.p-park { display: block; font-size: .7rem; color: var(--gray); margin-top: 3px; }
.p-park strong { color: var(--navy); font-weight: 600; }

/* Accessories column */
.acc-cell { vertical-align: middle; }
.acc-total { display: block; font-weight: 700; color: var(--navy); font-size: .88rem; }
.acc-breakdown { display: block; font-size: .72rem; color: var(--gray); margin-top: 2px; line-height: 1.4; }
.acc-none { color: var(--gray); }

/* ─── STATUS BADGE — doubles as CTA for free ─── */
.sbadge {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 125px;
  padding: 7px 14px; border-radius: 100px;
  font-size: .68rem; font-weight: 700; letter-spacing: .5px;
  border: none; font-family: 'DM Sans', sans-serif;
  white-space: nowrap; transition: background var(--t), color var(--t), box-shadow var(--t);
}
.sbadge .s-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; transition: opacity var(--t); }
.sbadge .s-default { transition: opacity var(--t); }
.sbadge .s-price { display: none; }
.sbadge .s-hover { display: none; align-items: center; gap: 6px; }

/* free — interactive */
.sbadge.free { background: rgba(141,198,63,.12); color: var(--green-text); cursor: pointer; }
.sbadge.free .s-dot { background: var(--green3); }
.sbadge.free:hover {
  background: var(--green); color: var(--navy);
  box-shadow: 0 6px 24px rgba(141,198,63,.35);
  font-weight: 800;
}
.sbadge.free:hover .s-dot { opacity: 0; width: 0; margin: 0; }
.sbadge.free:hover .s-default { display: none; }
.sbadge.free:hover .s-hover { display: inline-flex; }

/* reserved */
.sbadge.reserved { background: rgba(0,0,0,.06); color: #666; cursor: default; }
.sbadge.reserved .s-dot { background: #aaa; }

/* sold */
.sbadge.sold { background: rgba(192,57,43,.07); color: #c0392b; cursor: default; }
.sbadge.sold .s-dot { background: #c0392b; }

/* ─── FINANCING ─── */
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 0; }

/* Financing page: partner banks */
.fin-banks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bank-card { position: relative; border: 1px solid rgba(11,35,61,.1); border-radius: 16px; padding: 0; background: #fff; display: flex; flex-direction: column; overflow: hidden; transition: var(--t); box-shadow: 0 2px 14px rgba(11,35,61,.04); }
.bank-card:hover { border-color: rgba(141,198,63,.5); box-shadow: 0 20px 48px rgba(11,35,61,.1); transform: translateY(-4px); }
.bank-card-head { padding: 26px 26px 22px; border-bottom: 1px solid rgba(11,35,61,.07); background: linear-gradient(180deg, rgba(141,198,63,.05), transparent); }
.bank-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .6rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-text); margin-bottom: 12px; }
.bank-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.bank-name { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.25rem; color: var(--navy); font-weight: 400; line-height: 1.2; }
.bank-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.bank-cond { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 0 0 22px; flex: 1; }
.bank-cond li { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--navy); line-height: 1.45; }
.bank-cond li i { color: var(--green); font-size: .72rem; margin-top: 4px; flex-shrink: 0; }
.bank-contacts { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(11,35,61,.08); padding-top: 20px; margin-top: auto; }
.bank-contact { display: flex; flex-direction: column; gap: 5px; }
.bc-role { font-size: .58rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); }
.bc-name { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.bc-link { font-size: .85rem; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.bc-link i { color: var(--green); font-size: .8rem; width: 15px; text-align: center; }
.bc-link:hover { color: var(--green-text); }
@media (max-width: 900px) { .fin-banks { grid-template-columns: 1fr; } }
.step { display: flex; gap: 28px; padding-bottom: 40px; position: relative; }
.step:not(:last-child)::before {
  content: ''; position: absolute; left: 24px; top: 50px;
  width: 1px; height: calc(100% - 14px);
  background: rgba(141,198,63,.18);
}
.step-n {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(141,198,63,.1); color: var(--green-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; font-family: 'DM Serif Display', serif;
}
.step-ttl { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-dsc { font-size: .85rem; color: var(--gray); line-height: 1.75; }
.step-amt { font-size: 1.25rem; font-weight: 800; color: var(--green-text); margin-top: 6px; }

.calc-card { background: #fff; border-radius: 16px; box-shadow: var(--sh); overflow: hidden; }
.calc-top { background: var(--navy); padding: 30px 36px; }
.calc-top h3 { color: #fff; font-size: 1.05rem; font-weight: 700; }
.calc-top p { color: rgba(255,255,255,.65); font-size: .82rem; margin-top: 4px; }
.calc-body { padding: 36px; }
.c-label { font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; display: block; }
.c-field { margin-bottom: 22px; }
.c-input-wrap { position: relative; }
.c-input {
  width: 100%; padding: 14px 46px 14px 16px;
  border: 1.5px solid rgba(0,0,0,.1); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600;
  color: var(--navy); outline: none; transition: border-color var(--t);
}
.c-input:focus { border-color: var(--green); }
.c-unit {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: .8rem; font-weight: 700; color: var(--gray);
}
.c-range { width: 100%; accent-color: var(--green); margin-top: 10px; }
.calc-result {
  background: linear-gradient(135deg, rgba(141,198,63,.06), rgba(141,198,63,.02));
  border: 1.5px solid rgba(141,198,63,.15); border-radius: 10px;
  padding: 22px 24px; margin-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.cr-label { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); }
.cr-value { font-family: 'DM Serif Display', serif; font-size: 2.2rem; font-weight: 500; color: var(--green-text); }
.cr-sub { font-size: .72rem; color: var(--gray); margin-top: 3px; }

/* ─── VIRTUAL TOUR ─── */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.tour-card { border-radius: 12px; overflow: hidden; position: relative; }
.tour-frame { width: 100%; height: 300px; border: none; display: block; }
.tour-label {
  background: var(--navy); padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.tour-name { font-size: .85rem; font-weight: 700; color: #fff; }
.tour-type { font-size: .65rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-top: 2px; }
.tour-link { font-size: .7rem; font-weight: 700; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.tour-link:hover { color: var(--gold2); }

/* ─── DEVELOPER ─── */
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 60px; }
.dev-card { background: #fff; border-radius: 16px; padding: 44px 40px; box-shadow: var(--sh); }
.dev-logo { height: 42px; max-width: 100%; object-fit: contain; margin-bottom: 24px; }
.dev-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.dev-desc { font-size: .88rem; color: var(--gray); line-height: 1.8; }
.dev-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .82rem; font-weight: 700; letter-spacing: .5px; color: var(--green-text); text-decoration: none; transition: gap var(--t), color var(--t); }
.dev-link:hover { gap: 12px; color: var(--green3); }
.dev-wilusa-logo { height: 110px; width: auto; max-width: 280px; object-fit: contain; margin-bottom: 0; margin-top: -28px; }
.dev-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.dev-contact-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--navy); text-decoration: none; transition: color .2s; }
.dev-contact-item i { color: var(--green); font-size: .85rem; }
.dev-contact-item:hover { color: var(--green); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.ci-item { display: flex; align-items: flex-start; gap: 18px; }
.ci-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(141,198,63,.08); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-label { font-size: .7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.ci-val { font-size: 1rem; font-weight: 700; color: var(--navy); }
.ci-val a { color: inherit; }
.ci-val a:hover { color: var(--green); }

.contact-form-card { background: #fff; border-radius: 16px; padding: 44px; box-shadow: var(--sh); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { font-size: .68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); margin-bottom: 7px; display: block; }
.form-control {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid rgba(0,0,0,.1); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: .92rem;
  color: var(--navy); outline: none; transition: border-color var(--t);
}
.form-control:focus { border-color: var(--green); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Contact form feedback */
.contact-form-feedback {
  padding: 12px 16px; border-radius: 8px; font-size: .85rem;
  margin-bottom: 12px; display: none;
}
.contact-form-feedback.success { background: rgba(141,198,63,.12); color: var(--green-text); }
.contact-form-feedback.error { background: rgba(192,57,43,.08); color: #c0392b; }

/* ─── FOOTER ─── */
footer { background: var(--navy2); padding: 72px 0 36px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo-wrap {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.92);
  border-radius: 100px;
  padding: 8px 18px 8px 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.2);
  margin-bottom: 22px;
}
.footer-logo { height: 44px; display: block; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.8; max-width: 260px; }
.footer-col-title { font-size: .65rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .85rem; color: rgba(255,255,255,.8); transition: color var(--t); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { margin-top: 36px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.5); }
.footer-credit { flex: 1; text-align: center; }
.footer-credit a { color: rgba(255,255,255,.65); text-decoration: none; transition: var(--t); }
.footer-credit a:hover { color: var(--green); }
@media (max-width: 680px) { .footer-credit { flex: 1 1 100%; order: 3; } }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.65);
  display: flex; align-items: center; justify-content: center; transition: var(--t); font-size: .88rem;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.mt-24 { margin-top: 24px; }

/* ─── STICKY CTA ─── */
.sticky-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 800;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  opacity: 0; transform: translateY(20px);
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}
.sticky-cta.visible { opacity: 1; transform: none; pointer-events: all; }
.sticky-cta-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 100px;
  font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: 0 10px 40px rgba(0,0,0,.2); cursor: pointer; border: none; transition: var(--t);
}
.sticky-cta-btn.primary { background: var(--green); color: var(--navy); font-weight: 800; }
.sticky-cta-btn.primary:hover { background: var(--green2); transform: translateY(-2px); }
.sticky-cta-btn.phone { background: #fff; color: var(--navy); font-size: .78rem; }
.sticky-cta-btn.phone:hover { background: var(--off); }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(11,35,61,.7); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; padding: 52px;
  max-width: 540px; width: 100%; position: relative;
  animation: modalIn .3s cubic-bezier(.25,.8,.25,1);
}
@keyframes modalIn { from { opacity:0; transform: scale(.95) translateY(20px); } }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,.1);
  background: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: .85rem; transition: var(--t); color: var(--gray);
}
.modal-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.modal-tag { margin-bottom: 6px; }
.modal h3 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.modal-flat-info { font-size: .82rem; color: var(--gray); margin-bottom: 28px; }
.modal-feedback {
  padding: 12px 16px; border-radius: 8px; font-size: .85rem;
  margin-bottom: 12px; display: none;
}
.modal-feedback.success { background: rgba(141,198,63,.12); color: var(--green-text); }
.modal-feedback.error { background: rgba(192,57,43,.08); color: #c0392b; }

/* ─── UTILS ─── */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }

/* ─── BURGER + MOBILE MENU ─── */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
  width: 36px; height: 36px; background: transparent; border: none; cursor: pointer; padding: 0;
  flex-shrink: 0;
}
.nav-burger span {
  display: block; height: 1.5px; border-radius: 2px;
  background: #fff; transition: width .3s ease, opacity .3s ease;
}
.nav-burger span:nth-child(1) { width: 20px; }
.nav-burger span:nth-child(2) { width: 14px; }
.nav-burger span:nth-child(3) { width: 8px; }

.mobile-menu {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw);
  background: var(--navy); z-index: 1100; flex-direction: column;
  padding: 88px 36px 48px; gap: 0;
  box-shadow: -8px 0 48px rgba(0,0,0,.35);
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.mobile-menu ul li a {
  display: block; padding: 16px 0;
  font-size: 1rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color var(--t);
}
.mobile-menu ul li a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px; background: rgba(255,255,255,.08); border: none;
  border-radius: 50%; color: #fff; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-phone {
  font-size: .9rem; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.mobile-menu-cta { width: 100%; justify-content: center; box-sizing: border-box; }
.mobile-menu-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1050; backdrop-filter: blur(4px);
}
.mobile-menu-backdrop.open { display: block; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero-content .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .locality-grid { grid-template-columns: 1fr; }
  .locality-map { position: static; height: 340px; }
  .hp-dir-wrap { position: static; }
  .hp-dir-map { max-width: 340px; }
  .hp-dir-chip strong { font-size: .7rem; }
  .hp-dir-chip span { font-size: .6rem; }
  .fin-grid { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .dev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  .nav-links { display: none; }
  nav { height: 70px; }
  nav .container { padding-left: 16px; padding-right: 16px; }

  .nav-logo,
  nav.scrolled .nav-logo {
    height: 36px; padding: 0 12px; gap: 0; box-sizing: border-box;
    display: flex; align-items: center;
  }
  .nav-logo img,
  nav.scrolled .nav-logo img { height: 22px; width: auto; filter: none; }

  .nav-phone { display: none; }

  .nav-cta {
    width: auto !important; height: 36px; padding: 0 16px;
    font-size: .62rem; letter-spacing: 1px;
    display: inline-flex !important; align-items: center; justify-content: center;
    box-sizing: border-box; border-radius: 5px; flex-shrink: 0;
    background: rgba(255,255,255,.1) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    color: rgba(255,255,255,.9) !important;
    backdrop-filter: blur(8px);
    box-shadow: none !important;
    transform: none !important;
  }
  .nav-cta:hover, .nav-cta:active, .nav-cta:focus {
    background: rgba(255,255,255,.18) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .nav-burger { display: flex; }
  .nav-right { gap: 12px; align-items: center; }

  .hero-title { font-size: clamp(2.4rem, 9vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn { display: flex; width: 100%; box-sizing: border-box; justify-content: center; }

  .strip .container { grid-template-columns: 1fr 1fr; }

  .about-img-wrap { overflow: hidden; }
  .about-img-accent { display: none; }

  .gallery-section { overflow: hidden; }

  .type-summary { grid-template-columns: 1fr 1fr; }

  .flats-table th:nth-child(3),
  .flats-table td:nth-child(3),
  .flats-table th:nth-child(5),
  .flats-table td:nth-child(5),
  .flats-table th:nth-child(6),
  .flats-table td:nth-child(6),
  .flats-table th:nth-child(7),
  .flats-table td:nth-child(7) { display: none; }
  .flats-table th, .flats-table td { padding: 12px 10px; }
  .flats-table td { white-space: normal; }
  .flat-id, .type-pill, .area-val, .sbadge { white-space: nowrap; }
  .p-park { display: none; }
  .prf-label { display: none; }
  /* Mobile status button: show price instead of "Voľný", uniform size, bigger tap target, no dot */
  .sbadge { width: 100px; min-width: 100px; padding: 10px 10px; font-size: .66rem; gap: 0; }
  .sbadge .s-dot { display: none; }
  .sbadge.free .s-default { display: none; }
  .sbadge.free .s-price { display: inline; font-weight: 800; }
  .sbadge.free:hover .s-price { display: none; }

  .terasy-grid { grid-template-columns: 1fr; }
  .terasy-card { aspect-ratio: 4/3; }
  .terasy-card:first-child, .terasy-card:last-child { border-radius: 12px; }

  .tour-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 72px 0; }
  .section-lg { padding: 96px 0; }
}

/* ═══════════════════════════════════════════════
   FLAT DETAIL PAGE
═══════════════════════════════════════════════ */

/* Breadcrumb */
.fd-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 500; letter-spacing: .08em;
  color: rgba(255,255,255,.35); margin-bottom: 24px;
}
.fd-breadcrumb a { color: rgba(255,255,255,.35); transition: color .2s; }
.fd-breadcrumb a:hover { color: rgba(255,255,255,.7); }
.bc-sep { opacity: .4; }

/* Hero header band */
.fd-hero {
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 100px 0 40px;
}
.fd-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(141,198,63,.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(141,198,63,.04) 0%, transparent 50%);
  pointer-events: none;
}
.fd-hero::after {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--green) 30%, var(--green) 70%, transparent);
  opacity: 0.3;
}
.fd-hero .container { position: relative; z-index: 1; }
.fd-hero-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 48px; align-items: end;
}

/* Title block */
.fd-title-block { flex: 1; min-width: 0; }
.fd-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.fd-tag::before { content: ''; width: 28px; height: 1px; background: currentColor; display: block; }
.fd-h1 { font-family: 'DM Serif Display', serif; font-size: clamp(3rem, 5vw, 5rem); font-weight: 400; color: #fff; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 20px; }
.fd-h1 em { font-style: italic; color: var(--green); }
.fd-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.fd-meta-item { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.55); }
.fd-meta-item i { color: var(--green); font-size: .75rem; }

/* Price card */
.fd-price-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 32px 36px;
  text-align: center; min-width: 260px;
}
.fd-price-label { font-size: .62rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.fd-price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 6px; }
.fd-old-price { font-size: 1rem; color: rgba(255,255,255,.35); text-decoration: line-through; }
.fd-price { font-family: 'DM Serif Display', serif; font-size: 2.4rem; font-weight: 400; color: #fff; line-height: 1.1; }
.fd-price-card .btn-green { width: 100%; justify-content: center; margin-top: 16px; }
.fd-parking-note { font-size: .72rem; color: rgba(255,255,255,.4); line-height: 1.6; margin-top: 12px; text-align: center; }
.fd-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 16px; border-radius: 20px;
}
.fd-status-badge.status-reserved { background: rgba(141,198,63,.12); color: var(--green); border: 1px solid rgba(141,198,63,.3); }
.fd-status-badge.status-sold { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.12); }
.sdot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; flex-shrink: 0; }

/* Main content area */
.fd-body { max-width: 1400px; margin: 0 auto; padding: 64px 80px 100px; display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }

/* Section title */
.fd-section-title { font-family: 'DM Serif Display', serif; font-size: 1.35rem; font-weight: 400; color: var(--navy); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid rgba(11,35,61,.08); }

/* Floor plan + gallery row */
.fd-hero-row { display: grid; grid-template-columns: 1fr 240px; gap: 16px; align-items: stretch; height: 460px; margin-bottom: 48px; }

/* Floor plan image — never crop (portrait or landscape), contain on a light bg */
.fd-main-img-wrap { position: relative; display: block; height: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(11,35,61,.06); }
.fd-main-img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; transition: transform .6s ease; }
.fd-main-img-wrap:hover .fd-main-img { transform: scale(1.02); }
.fd-img-zoom { position: absolute; bottom: 16px; right: 16px; width: 54px; height: 54px; border-radius: 12px; background: var(--green); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; box-shadow: 0 6px 20px rgba(11,35,61,.28); transition: transform .2s ease, background .2s ease; }
.fd-main-img-wrap:hover .fd-img-zoom { transform: scale(1.08); background: var(--green3); }

/* Gallery — stacked column beside the floor plan */
.fd-gallery-grid { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.fd-gallery-item { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; border: 1px solid rgba(11,35,61,.07); }
.fd-gallery-item > a { flex: 1; min-height: 0; display: block; overflow: hidden; cursor: pointer; }
.fd-gallery-item img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; display: block; transition: transform .5s ease; }
.fd-gallery-item:hover img { transform: scale(1.04); }
.fd-gallery-label { font-size: .62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); text-align: center; padding: 8px 0 9px; background: var(--off); flex-shrink: 0; }

/* Mobile — stack floor plan and gallery */
@media (max-width: 768px) {
  .fd-hero-row { grid-template-columns: 1fr; height: auto; }
  .fd-main-img-wrap { height: auto; }
  .fd-main-img { height: auto; max-height: 70vh; }
  .fd-gallery-grid { flex-direction: row; height: auto; }
  .fd-gallery-item { flex: 1; }
  .fd-gallery-item > a { flex: none; }
  .fd-gallery-item img { aspect-ratio: 4/3; height: auto; }
}

/* Facts grid */
.fd-facts { margin-bottom: 52px; }
.fd-facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fd-fact { background: var(--off); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.fd-fact-l { font-size: .62rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); }
.fd-fact-v { font-family: 'DM Serif Display', serif; font-size: 1.05rem; font-weight: 400; color: var(--navy); }

/* Tables */
.fd-accessories { margin-bottom: 52px; }
.fd-room-table { width: 100%; border-collapse: collapse; }
.fd-room-table tr { border-bottom: 1px solid rgba(11,35,61,.07); }
.fd-room-table tr:last-child { border-bottom: none; }
.fd-room-table td { padding: 12px 0; font-size: .88rem; color: #444; }
.fd-room-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }
.fd-room-num { font-size: .72rem; font-weight: 700; color: var(--gray); margin-right: 4px; }
.fd-total-row td { font-weight: 700; color: var(--navy); border-top: 2px solid rgba(11,35,61,.12) !important; padding-top: 16px; }

/* Related flats */
.fd-related { margin-top: 20px; margin-bottom: 52px; }
.fd-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fd-related-card { display: block; border: 1.5px solid rgba(11,35,61,.09); border-radius: 12px; padding: 20px; transition: var(--t); text-decoration: none; color: inherit; }
.fd-related-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(11,35,61,.08); }
.fd-rel-name { font-family: 'DM Serif Display', serif; font-size: 1.2rem; font-weight: 400; color: var(--navy); margin-bottom: 4px; }
.fd-rel-type { font-size: .72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.fd-rel-area { font-size: .85rem; color: #444; margin-bottom: 6px; }
.fd-rel-price { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--navy); }

/* Back link */
.fd-back-row { padding-top: 12px; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy); border: 1.5px solid rgba(11,35,61,.2); padding: 12px 24px; border-radius: 5px; cursor: pointer; background: transparent; transition: var(--t); text-decoration: none; }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Sidebar sticky */
.fd-sidebar { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 16px; }
.fd-sidebar-card { background: var(--off); border-radius: 16px; padding: 28px 24px; }
.fd-sidebar-card h4 { font-size: .65rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.fd-sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fd-sidebar-card li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: #444; line-height: 1.5; }
.fd-sidebar-card li i { color: var(--green); width: 16px; text-align: center; font-size: .78rem; margin-top: 2px; flex-shrink: 0; }
.fd-sidebar-card.dark { background: var(--navy); }
.fd-sidebar-card.dark h4 { color: var(--green); }
.fd-sidebar-card.dark p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.65; margin-bottom: 18px; }
.fd-sidebar-card.dark .btn-green { width: 100%; justify-content: center; }

/* Gepardis mortgage calculator — variant5 is fluid, fills the sidebar width natively */
.fd-calc { border-radius: 16px; overflow: hidden; }
.fd-calc iframe { display: block; width: 100%; height: 560px; border: 0; }

/* Responsive — flat detail */
@media (max-width: 1100px) {
  .fd-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .fd-price-card { max-width: 400px; }
  .fd-body { grid-template-columns: 1fr; padding: 48px 48px 72px; }
  .fd-sidebar { position: static; }
  .fd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fd-hero { padding: 48px 0 40px; }
  .fd-body { padding: 36px 24px 56px; gap: 40px; }
  .fd-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fd-related-grid { grid-template-columns: 1fr; }
  .fd-gallery-grid { grid-template-columns: 1fr; }
}

/* ═══ GALLERY PAGE ═══ */
.gal-hero { padding-bottom: 32px; }
.gal-page { max-width: 1280px; margin: 0 auto; padding: 48px 64px 0; }
.gal-group { margin-bottom: 56px; }
.gal-group-title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); margin-bottom: 24px; font-weight: 600; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal-item { display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.gal-item:hover img { transform: scale(1.04); }
.gal-overlay { position: absolute; inset: 0; background: rgba(11,35,61,.3); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity var(--t); }
.gal-item:hover .gal-overlay { opacity: 1; }

@media (max-width: 900px) {
  .gal-page { padding: 32px 24px 0; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 520px) {
  .gal-grid { grid-template-columns: 1fr; }
}

/* ═══ NOVINKY SECTION (homepage + index) ═══ */
.nws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.nws-card {
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11,35,61,.07);
  text-decoration: none; color: inherit;
  transition: box-shadow var(--t), transform var(--t);
}
.nws-card:hover {
  box-shadow: 0 16px 48px rgba(11,35,61,.10);
  transform: translateY(-4px);
}
.nws-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
}
.nws-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.nws-card:hover .nws-card-img img { transform: scale(1.04); }
.nws-card-img-placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(141,198,63,.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
}
.nws-date {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  font-size: .68rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.nws-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.nws-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy); line-height: 1.4;
  margin-bottom: 12px;
}
.nws-card-excerpt {
  font-size: .875rem; color: var(--gray);
  line-height: 1.65; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 18px;
}
.nws-card-link {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--navy);
  display: flex; align-items: center; gap: 8px;
  transition: gap var(--t);
}
.nws-card:hover .nws-card-link { gap: 12px; color: var(--green-text); }
.nws-footer { margin-top: 40px; }

/* News inner pages */
.nws-hero { padding-bottom: 40px; }
.nws-hero .fd-hero-inner { display: block; }
.nws-hero .fd-h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 14px; }
.nws-index-wrap { max-width: 1400px; margin: 0 auto; padding: 64px 80px 100px; }
.nws-article-wrap { max-width: 820px; margin: 0 auto; padding: 64px 80px 100px; }
.nws-breadcrumb { margin-bottom: 32px; }
.nws-breadcrumb a { font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); text-decoration: none; }
.nws-breadcrumb a:hover { color: var(--navy); }
.nws-article-date { font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-text); margin-bottom: 20px; }
.nws-article-title { font-family: 'DM Serif Display', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 400; color: var(--navy); line-height: 1.18; margin-bottom: 28px; }
.nws-article-excerpt { font-size: 1.1rem; color: var(--gray); line-height: 1.75; margin-bottom: 40px; font-weight: 400; }
.nws-article-img { width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 48px; }
.nws-article-img img { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.nws-article-content { font-size: 1rem; line-height: 1.85; color: #3a3a4a; }
.nws-article-content p { margin-bottom: 1.4em; }
.nws-article-content h2, .nws-article-content h3 { font-family: 'DM Serif Display', serif; color: var(--navy); margin: 2em 0 .6em; }
.nws-article-content ul, .nws-article-content ol { margin: 0 0 1.4em 1.4em; }
.nws-article-footer { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(11,35,61,.08); display: flex; gap: 14px; flex-wrap: wrap; }
.nws-related { background: var(--off); padding: 64px 0 80px; }
.nws-related-title { font-family: 'DM Serif Display', serif; font-size: 1.6rem; font-weight: 400; color: var(--navy); margin-bottom: 36px; }

@media (max-width: 1000px) { .nws-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .nws-grid { grid-template-columns: 1fr; }
  .nws-index-wrap, .nws-article-wrap { padding: 40px 24px 72px; }
}

/* ═══ LOKALITA PAGE ═══ */
.lok-hero { padding-top: 100px; padding-bottom: 40px; }
.lok-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: end;
}
.lok-hero .fd-h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 0; }
.lok-hero-lead {
  font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.75);
  margin-top: 0;
}
@media (max-width: 768px) {
  .lok-hero-inner { grid-template-columns: 1fr; gap: 24px; }
}

.lok-map-wrap { width: 100%; }
.lok-map-wrap #locality-map { border: none; display: block; height: 700px; }

.lok-section { padding: 72px 0 64px; }
.lok-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.lok-cat {
  background: var(--off);
  border-radius: 14px;
  padding: 28px 24px 24px;
}
.lok-cat-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  margin-bottom: 16px;
}
.lok-cat-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 18px;
  font-weight: 400;
}
.lok-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.lok-list li {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 10px;
}
.lok-item-info { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.lok-item-name { font-size: .88rem; font-weight: 600; color: var(--navy); }
.lok-item-desc { font-size: .78rem; color: var(--gray); line-height: 1.4; }
.lok-badge {
  flex-shrink: 0;
  font-size: .7rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase;
  background: rgba(11,35,61,.08);
  color: var(--navy);
  padding: 3px 9px; border-radius: 20px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}
.lok-badge--green {
  background: var(--green);
  color: #fff;
}

/* Infrastructure banner */
.lok-infra {
  background: var(--navy);
  padding: 48px 0;
}
.lok-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lok-infra-item {
  display: flex; gap: 18px; align-items: flex-start;
  color: #fff;
}
.lok-infra-item > i {
  font-size: 1.05rem;
  color: var(--navy);
  background: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lok-infra-title {
  font-size: .95rem; font-weight: 700;
  margin-bottom: 6px;
}
.lok-infra-desc {
  font-size: .82rem; line-height: 1.55;
  color: rgba(255,255,255,.65);
}

/* CTA */
.lok-cta { padding: 72px 0 80px; background: var(--off); }
.lok-cta .display { font-size: clamp(2.1rem, 3.4vw, 3.3rem); }
.lok-cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
.lok-cta-btns { display: flex; gap: 14px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .lok-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .lok-grid { grid-template-columns: 1fr; }
  .lok-infra-grid { grid-template-columns: 1fr; gap: 24px; }
  .lok-map-wrap #locality-map { height: 340px !important; }
  .lok-cta-inner { flex-direction: column; align-items: flex-start; }
  .lok-cta-btns { flex-direction: column; width: 100%; }
  .lok-cta-btns .btn { justify-content: center; }
}

/* ─── reCAPTCHA v3: hide badge (disclosure text shown on forms instead) ─── */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-notice {
  font-size: .72rem; line-height: 1.5; color: rgba(11,35,61,.5);
  margin-top: 12px; text-align: center;
}
.recaptcha-notice a { color: rgba(11,35,61,.7); text-decoration: underline; }
.modal .recaptcha-notice { color: rgba(11,35,61,.55); }

/* ─── Language switcher ─── */
.nav-lang { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .5px; margin-right: 4px; }
.nav-lang a { color: rgba(255,255,255,.9); text-decoration: none; transition: color .2s; }
.nav-lang a.active { color: var(--green); }
.nav-lang a:hover { color: #fff; }
.nav-lang span { color: rgba(255,255,255,.4); }
.mobile-menu-lang { display: flex; gap: 8px; justify-content: center; font-weight: 700; letter-spacing: 1px; margin: 18px 0; }
.mobile-menu-lang a { color: rgba(255,255,255,.6); text-decoration: none; }
.mobile-menu-lang a.active { color: var(--green); }
.mobile-menu-lang span { color: rgba(255,255,255,.3); }
