/* ==========================================================================
   Janske Lazne Central Resort - stylesheet
   Visual system derived from the investment pitch deck (v2.4):
   navy #1b2946 / blue #3289cc / white / light blue-grey surfaces, Manrope.
   ========================================================================== */

/* --- Manrope (self-hosted, variable 200-800) ---------------------------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens --------------------------------------------------------------- */
:root {
  --navy: #1b2946;
  --navy-deep: #0d1423;
  --navy-soft: #26385c;
  --blue: #3289cc;
  --blue-strong: #2a78b5;
  --blue-light: #6fb2e3;
  --blue-pale: #e3eff9;
  --blue-tint: #f2f7fc;
  --ink: #1b2946;
  --body: #3f4b62;
  --muted: #6c7789;
  --line: hsl(213.8, 30.8%, 92.8%);
  --line-strong: #c9d3e0;
  --surface: #f4f7fb;
  --white: #ffffff;
  --green: #209765;
  --amber: #ffb932;
  --star-solid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z' fill='%23000' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --star-outline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z' fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --danger: #c0392b;
  --danger-soft: #fdecea;
  --on-dark: #c3cddc;
  --on-dark-strong: #e7edf5;
  --radius-sm: 3px;
  --radius: 8px;
  --pill: 999px;
  --shadow-sm: 0 5px 31px rgb(9 13 20 / 5%);
  --shadow: 0 24px 60px rgba(27, 41, 70, .18);
  --container: 1300px;
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --check: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23e3eff9'/%3E%3Cpath d='M7.4 12.4l3.1 3.1 6.1-6.6' fill='none' stroke='%233289cc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-dark: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23ffffff' fill-opacity='.12'/%3E%3Cpath d='M7.4 12.4l3.1 3.1 6.1-6.6' fill='none' stroke='%236fb2e3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231b2946' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* --- Base ----------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--body);
  background: var(--white);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
h1 span, h2 span, .transaction-box h3 span { color: var(--blue); }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 3px solid rgba(50, 137, 204, .4); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: .85rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
}
.section { padding: clamp(80px, 9vw, 110px) 0; }
#development { padding-bottom: clamp(40px, 5vw, 56px); }
#location { padding-top: clamp(40px, 5vw, 56px); }
.section--soft { background: var(--surface); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark h2 span, .section--dark h3 span { color: var(--blue-light); }
.section--dark .eyebrow { color: var(--blue-light); }
.section-heading { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-heading h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.4vw, 3.5rem); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.section--dark .section-heading p { color: var(--on-dark); }

/* --- Header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  /*border-bottom: 1px solid var(--line);*/
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 41, 70, .06); }
.nav { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); justify-self: start; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 6px; }
.brand-text { line-height: 1.05; font-weight: 600; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.brand-text small { display: block; margin-top: 3px; color: var(--blue); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: none; }
.nav-panel { display: contents; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 6px; justify-self: center; }
.nav-links a {
  padding: 10px 12px;
  color: var(--muted); text-decoration: none;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 18px; justify-self: end; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: transparent; color: var(--navy); text-decoration: none;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: hsl(213.9, 49.1%, 97.3%); border-color: hsl(213.9, 27.1%, 64.3%); }
.language-link {
  display: inline-flex; align-items: center;
  color: var(--muted); text-decoration: none;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  transition: color .2s ease;
}
.nav-cta:hover {
  background: var(--green);
  color: #FFF;
  border-color: var(--green);
}
.language-link:hover, .language-link:focus-visible { color: var(--navy); }

.menu-button { display: none; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--navy); height: 44px; padding: 0; margin-right: -4px; }
.menu-button-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menu-button-icon { position: relative; width: 24px; height: 14px; flex: none; }
.menu-button-icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-button-icon i:nth-child(1) { top: 0; }
.menu-button-icon i:nth-child(2) { top: 12px; }
.menu-button[aria-expanded="true"] .menu-button-icon i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button-icon i:nth-child(2) { top: 6px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 16px) 24px 32px;
  background: var(--navy-deep); color: var(--white);
  visibility: hidden; opacity: 0;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.nav-overlay.is-open { visibility: visible; opacity: 1; transition: opacity .45s var(--ease); }
.nav-overlay-list { display: flex; flex-direction: column; justify-content: center; flex: 1; gap: 4px; }
.nav-overlay-list a {
  display: block; width: fit-content; padding: 8px 0; text-decoration: none; color: var(--white);
  font-size: clamp(2rem, 9vw, 2.6rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease) calc(var(--i) * 60ms), transform .7s var(--ease) calc(var(--i) * 60ms), color .2s ease;
}
.nav-overlay.is-open .nav-overlay-list a { opacity: 1; transform: none; }
.nav-overlay-list a:hover, .nav-overlay-list a:focus-visible { color: var(--blue-light); }
.nav-overlay-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.nav-overlay-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  flex-basis: 100%;
  padding: 16px 32px; border: 1px solid transparent; border-radius: var(--radius-sm);
  background: var(--green); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1.02rem;
  transition: background .2s ease, border-color .2s ease;
}
.nav-overlay-cta:hover, .nav-overlay-cta:focus-visible { background: var(--navy-soft); }
.nav-overlay-cta svg { width: 18px; height: 18px; }
.nav-overlay-cta--ghost {
  flex-basis: 100%; padding: 14px 24px; font-weight: 600; font-size: .95rem;
  background: transparent; border-color: rgba(255, 255, 255, .34); color: var(--white);
}
.nav-overlay-cta--ghost:hover, .nav-overlay-cta--ghost:focus-visible { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.nav-overlay-lang {
  margin: auto; color: var(--on-dark); text-decoration: none;
  font-size: 1rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  transition: color .2s ease;
}
.nav-overlay-lang:hover, .nav-overlay-lang:focus-visible { color: var(--white); }

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; margin-top: var(--header-h); background: var(--white); overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; overflow: hidden; background: var(--navy); }

.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero-media img.is-active { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 41, 70, 0) 55%, rgba(27, 41, 70, .28) 100%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
.hero-content { position: relative; z-index: 1; align-self: center; max-width: 580px; padding: clamp(64px, 9vh, 120px) clamp(24px, 4vw, 64px) clamp(64px, 9vh, 110px) 0; }
.hero-content .eyebrow { margin-bottom: 18px; }
.hero h1 { margin: 0 0 22px; font-size: clamp(2.5rem, 4.6vw, 4.15rem); line-height: 1.04; letter-spacing: -.028em; }
/* Anglický nadpis je delší, potřebuje o stupeň menší maximum. */
@media (min-width: 641px) {
  html[lang="en"] .hero h1 { font-size: clamp(2.5rem, 4.6vw, 3.75rem); }
}
.hero-lead { max-width: 540px; margin: 0; color: var(--body); font-size: clamp(1.02rem, 1.35vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin: 28px 0 0; padding-left: 16px; border-left: 2px solid var(--blue); max-width: 480px; font-size: .84rem; color: var(--muted); }

.seal { position: absolute; z-index: 3; left: 50%; top: 13%; width: 148px; margin-left: -74px; pointer-events: none; }
.seal img { width: 100%; height: auto; border-radius: 50%; box-shadow: 0 18px 44px rgba(27, 41, 70, .22); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes seal-in { from { opacity: 0; transform: rotate(-16deg) scale(.72); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: rise .9s var(--ease) both; }
.hero-content > :nth-child(1) { animation-delay: .05s; }
.hero-content > :nth-child(2) { animation-delay: .15s; }
.hero-content > :nth-child(3) { animation-delay: .25s; }
.hero-content > :nth-child(4) { animation-delay: .35s; }
.hero-content > :nth-child(5) { animation-delay: .45s; }
.hero-media img:first-child { animation: hero-fade-in 1s var(--ease) backwards; }
.seal img { animation: seal-in 1s var(--ease) .55s both; }

/* --- Buttons -------------------------------------------------------------- */
.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.2;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.button:hover { transform: translateY(-1px); }
.button svg { width: 16px; height: 16px; flex: 0 0 auto; }
.button--primary, .button--dark { background: var(--green); color: var(--white); }
.button--primary:hover, .button--dark:hover { background: var(--navy-soft); box-shadow: 0 12px 26px rgba(27, 41, 70, .22); }
.button--ghost { border-color: var(--line-strong); color: var(--navy); background: transparent; }
.button--ghost:hover { background: hsl(213.9, 49.1%, 97.3%); }
.section--dark .button--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.section--dark .button--ghost:hover { background: transparent; border-color: rgba(255, 255, 255, .6); }

/* --- Key metrics band ----------------------------------------------------- */
.snapshot { background: var(--navy); color: var(--white); }
.snapshot-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 60px 28px 60px 0; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, .12); }
.metric:last-child { border-right: 0; margin-right: 0; }
.metric strong { display: block; font-size: clamp(2.2rem, 3.6vw, 5rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--white); }
.metric span { display: block; margin-top: 14px; max-width: 220px; color: hsl(220.5, 35.3%, 71%); font-size: 0.9375rem; font-weight: 600; line-height: 1.5; text-wrap: balance; }

/* --- Opportunity ---------------------------------------------------------- */
.opportunity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.opportunity-visual { position: relative; }
.opportunity-visual img { width: 100%; border-radius: var(--radius); object-fit: contain; object-position: 100% 50%; box-shadow: var(--shadow-sm); }
.callout {
  position: absolute; left: -28px; bottom: 40px; max-width: 280px; padding: 22px 24px;
  background: var(--navy); color: var(--white); border-radius: var(--radius); border-left: 3px solid var(--blue);
  box-shadow: var(--shadow);
}
.callout strong { display: block; font-size: 1.05rem; font-weight: 600; }
.callout span { display: block; margin-top: 4px; color: var(--on-dark); font-size: .86rem; }
.opportunity-grid .section-heading { margin-bottom: 28px; }
.feature-list { display: grid; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-icon { padding-top: 5px; color: var(--blue); font-size: 1.125rem; font-weight: 700; letter-spacing: .12em; }
.feature h3 { margin: 0 0 4px; font-size: 1.1875rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* --- Transaction statement (navy with faint aerial texture) --------------- */
.section--statement { position: relative; isolation: isolate; overflow: hidden; }
.section--statement::before {
  content: ""; position: absolute; inset: -20px; z-index: -2;
  background: url("assets/images/arnika/arnika-celkovy-pohled.webp") center 30% / cover no-repeat;
  opacity: .14; filter: grayscale(1) blur(2px);
}
.section--statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 41, 70, .5), rgba(27, 41, 70, .88)); }
.transaction-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.transaction-box h3 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.2vw, 3.2rem); line-height: 1.2; }
.transaction-box p { margin-block: 1em; color: var(--on-dark); font-size: 1.05rem; }
.transaction-warning {
  margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--blue-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, .06); color: var(--on-dark-strong); font-size: .95rem;
}
.transaction-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.transaction-list li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid rgba(255, 255, 255, .14); color: var(--on-dark-strong); font-size: 1.02rem; }
.transaction-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 24px; height: 24px; background: var(--check-dark) center / contain no-repeat; }

/* --- Assets --------------------------------------------------------------- */
.asset-stack { display: grid; gap: 48px; }
.asset-card {
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: 480px;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.asset-card:nth-child(even) { grid-template-columns: .9fr 1.1fr; }
.asset-card:nth-child(even) .asset-image { order: 2; }
.asset-image { position: relative; margin: 0; overflow: hidden; background: var(--surface); }
.asset-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.asset-card:hover .asset-image > img { transform: scale(1.03); }
.asset-image::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, rgba(13, 20, 35, 0), rgba(13, 20, 35, .5)); pointer-events: none; }
.rating {
  position: absolute; z-index: 2; bottom: clamp(16px, 2.2vw, 26px); left: clamp(16px, 2.2vw, 26px);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; border-radius: var(--radius-sm);
  box-shadow: 0 10px 26px rgba(13, 20, 35, .15);
  backdrop-filter: blur(7px);
  color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s ease;
}
.rating:hover, .rating:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(13, 20, 35, .24); }
.asset-card:nth-child(even) .rating { left: auto; right: clamp(16px, 2.2vw, 26px); }
.rating__logo { width: 30px; height: 30px; flex: none; }
.rating__row { display: flex; align-items: center; gap: 10px; }
.rating__score { color: var(--amber); font-size: 1.32rem; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.rating__count { display: block; margin-top: 3px; color: #FFF; font-size: .8rem; text-align: right; }
.rating__stars { position: relative; width: 80px; height: 16px; flex: none; }
.rating__stars::before, .rating__stars::after {
  content: ""; position: absolute; inset: 0 auto 0 0; background: var(--amber);
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; -webkit-mask-size: 16px 16px; mask-size: 16px 16px;
}
.rating__stars::before { right: 0; -webkit-mask-image: var(--star-outline); mask-image: var(--star-outline); }
.rating__stars::after { width: var(--stars); -webkit-mask-image: var(--star-solid); mask-image: var(--star-solid); }
.asset-image figcaption { position: absolute; right: 24px; bottom: 20px; z-index: 1; color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.asset-content { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.asset-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.asset-address { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 15px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--white);
  color: var(--navy); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(29, 146, 107, .18); }
.asset-content h3 { margin: 0 0 12px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.asset-content > p { margin: 0; color: var(--body);font-size: 1.0625rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 26px 0 22px; border-top: 1px solid var(--line); }
.stat { padding: 16px 0; border-bottom: 1px solid var(--line); }
.stat strong { display: block; color: var(--navy); font-size: 2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.stat span { display: block; margin-top: 5px; color: var(--blue); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mini-list li { position: relative; padding-left: 34px; color: var(--body); font-size: .95rem; }
.mini-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--check) center / contain no-repeat; }

/* --- Development ---------------------------------------------------------- */
.development-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.development-copy { /*position: sticky; top: calc(var(--header-h) + 32px);*/ }
.development-copy h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.4vw, 3.5em); }
.development-copy > p { margin-block: 1em; color: var(--muted); font-size: 1.05rem; }
.development-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 28px 0; border-top: 1px solid var(--line); }
.development-figure { padding: 18px 0; border-bottom: 1px solid var(--line); }
.development-figure strong { display: block; color: var(--navy); font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.development-figure span { display: block; margin-top: 7px; color: var(--blue); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.permit { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 0; color: var(--body); font-size: .95rem; }
.permit__icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--green); }
.permit__icon svg { display: block; width: 100%; height: 100%; }
.permit p { margin: 0; }
.permit strong { color: var(--navy); font-weight: 600; }
.development-gallery { display: grid; gap: 20px; }
.development-gallery img { width: 100%; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.development-scroller {
  margin-top: clamp(32px, 5vw, 56px);
  --scroller-gutter: max(24px, calc((100% - var(--container)) / 2));
  --scroller-peek: clamp(40px, 9vw, 96px);
}
.development-scroller__head { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin-bottom: 18px; }
.development-scroller__label { color: var(--navy); font-size: .95rem; font-weight: 600; }
.development-scroller__nav-group { display: flex; gap: 10px; flex: none; }
.development-scroller__nav {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--white); color: var(--navy); padding: 0;
  transition: border-color .2s ease, opacity .2s ease;
}
.development-scroller__nav:hover { border-color: hsl(213.9, 27.1%, 64.3%); }
.development-scroller__nav:disabled { opacity: .35; pointer-events: none; }
.development-scroller__nav svg { width: 24px; height: 24px; }
.development-scroller__nav--prev svg { transform: rotate(180deg); }
.development-scroller__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab;
  padding-block: 4px;
  padding-inline: var(--scroller-gutter);
  scroll-padding-inline: var(--scroller-gutter);
}
.development-scroller__track::-webkit-scrollbar { display: none; }
.development-scroller__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.development-scroller__item {
  flex: 0 0 auto; margin: 0; width: calc(100% - var(--scroller-peek)); aspect-ratio: 16 / 10;
  border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line);
  scroll-snap-align: start;
}
.development-scroller__item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 42%); -webkit-user-drag: none; user-select: none; }

/* --- Location ------------------------------------------------------------- */
.location-map {
  width: calc(100% - 80px); margin-inline: auto; margin-block: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.location-map img { display: block; width: 100%; height: auto; }
.location-visual { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; margin-block: clamp(48px, 7vw, 96px); }
.location-gallery { --photo-offset: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.location-photo { position: relative; aspect-ratio: 4 / 6; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.location-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 70%); opacity: 0; transition: opacity 1s var(--ease); }
.location-photo img.is-active { opacity: 1; }
.location-photo--offset { transform: translateY(var(--photo-offset)); }
.location-photo--mobile { display: none; }

.location-highlights { display: flex; flex-direction: column; }
.location-highlight { display: flex; gap: 20px; align-items: flex-start; padding-block: 26px; border-top: 1px solid var(--line); }
.location-highlight:first-child { border-top: 0; padding-top: 0; }
.location-highlight .location-highlight__icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; background: var(--blue-pale); color: var(--blue);
}
.location-highlight__icon svg { width: 30px; height: 30px; }
.location-highlight strong { display: block; margin-bottom: 3px; color: var(--navy); font-size: 1.22rem; font-weight: 600; }
.location-highlight span { color: var(--muted); font-size: 1.02rem; line-height: 1.5; }

/* --- Process -------------------------------------------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: process; }
.process-step { counter-increment: process; position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.process-step::after { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--blue); }
.process-step::before { content: "0" counter(process); display: block; margin-bottom: 20px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.process-step h3 { margin: 0 0 8px; font-size: 1.08rem; }
.process-step p { margin: 0; color: var(--muted); font-size: .94rem; text-wrap: balance; }

/* --- Contact -------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 1081px) {
  .contact-copy {  position: sticky;  top: 100px; max-width: 520px;}
}

.contact-copy h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.4vw, 3rem); }
.contact-copy p { margin-block: 1em; color: var(--on-dark); font-size: 1.05rem; }
.contact-person { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; gap: 20px; }
.contact-person__photo { width: 100px; aspect-ratio: 1; flex: none; border-radius: 50%; object-fit: cover; }
.contact-person strong { display: block; margin-bottom: 6px; color: var(--white); font-size: 1.05rem; font-weight: 600; }
.contact-person a { color: var(--blue-light); text-decoration: none; line-height: 1.9; }
.contact-person a[href^="mailto:"] { text-decoration: underline; }
.contact-person a[href^="mailto:"]:hover { text-decoration: none; }
.form-card { background: var(--white); color: var(--body); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 1rem; font-weight: 500; }
.required-mark { color: #d8330e; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--white); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--white) var(--chevron) no-repeat right 14px center / 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(50, 137, 204, .18); }
.field textarea { min-height: 128px; resize: vertical; }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--blue); }
.check a { color: var(--navy); }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; }
.form-error { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--danger-soft); color: var(--danger); font-size: .86rem; font-weight: 600; }
.hidden { display: none !important; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: hsl(220.5, 44.3%, 14%); color: var(--on-dark); padding: 64px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-grid > span { color: #8f9cb0; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-links a { color: #aab6c8; text-decoration: none; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease; }
.footer-links a:hover { color: var(--white); }
.disclaimer { margin: 34px 0 0; max-width: 900px; color: #7f8ca2; font-size: .76rem; line-height: 1.6; }

/* --- Legal & success pages ------------------------------------------------ */
.legal { padding: calc(var(--header-h) + 72px) 0 100px; }
.legal article { max-width: 780px; }
.legal h1 { margin: 12px 0 28px; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.legal h2 { margin: 40px 0 10px; font-size: 1.25rem; }
.legal p, .legal li { color: var(--body); }
.legal .button { margin-top: 24px; }
.todo { padding: 16px 18px; background: #fff7e3; border: 1px solid #ffd77f; border-left: 3px solid var(--amber); border-radius: var(--radius-sm); color: #5b4300 !important; }

/* --- Modální okna ----------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0; background: rgba(13, 20, 35, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(calc(100% - 16px), 480px);
  padding: clamp(30px, 5vw, 44px); border-radius: var(--radius);
  background: var(--white); color: var(--body); text-align: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--blue-pale); color: var(--blue);
}
.modal__icon svg { width: 28px; height: 28px; }
.modal__panel h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.35rem, 3vw, 1.7rem); }
.modal__panel p { margin: 0; color: var(--body); }
.modal__close {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--white); color: var(--navy); cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.modal__close:hover, .modal__close:focus-visible { background: var(--blue-pale); border-color: var(--blue); }
.modal__close svg { width: 16px; height: 16px; }

.modal--wide .modal__panel {
  width: min(calc(100% - 16px), 760px); max-height: min(82vh, 720px);
  padding: 0; text-align: left; display: flex; flex-direction: column;
}
.modal--wide .modal__scroll { padding: clamp(30px, 5vw, 44px); overflow-y: auto; }
.modal--wide .modal__panel h2 { margin: 0 0 16px; padding-right: 32px; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.modal--wide .modal__panel h3 { margin: 26px 0 8px; color: var(--navy); font-size: 1.02rem; }
.modal--wide .modal__panel p { margin: 0 0 14px; text-align: left; }
.modal--wide .modal__panel p:last-child { margin-bottom: 0; }
.modal--wide .modal__panel .eyebrow { margin-bottom: 12px; }
.modal--wide .modal__panel .todo { margin: 0 0 20px; }

/* --- Chybová stránka ------------------------------------------------------- */
.error-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 48px 0; background: var(--surface); text-align: center; }
.error-page__brand { display: inline-block; margin-bottom: clamp(32px, 6vw, 56px); }
.error-page__code { display: block; color: var(--blue); font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 600; line-height: .9; letter-spacing: -.05em; }
.error-page h1 { margin: 18px 0 14px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.error-page p { margin: 0 auto; max-width: 46ch; color: var(--muted); font-size: 1.05rem; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }

/* --- Scroll reveal -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .opportunity-grid, .transaction-grid, .development-layout, .contact-layout { grid-template-columns: 1fr; }
  .opportunity-visual { order: 1; }
  .development-copy { position: static; }
  .location-visual { grid-template-columns: 1fr; gap: 48px; margin-bottom: 0; }
  /* Posun druhé fotky jede přes transform, o kterém layout neví - ve stavu pod
     sebou by jinak přepadala do mezery pod galerií. */
  .location-gallery { padding-bottom: var(--photo-offset); }
  .location-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 32px; }
  .location-highlight { border-top: 0; padding-block: 20px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .callout { left: 16px; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav { display: flex; justify-content: space-between; }
  .nav-panel { display: none; }
  .menu-button { display: inline-flex; }
  .hero-media { position: relative; width: 100%; aspect-ratio: 16 / 9; }
  .hero-media img {  object-position: 50% 4%;}
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-content { max-width: none; padding: 20px 0 64px; }
  .seal { left: auto; right: 20px; top: calc(62.5vw - 60px); width: 120px; margin-left: 0; }
  .snapshot-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { padding: 32px 24px 32px 0; margin-right: 24px; }
  .metric:nth-child(2) { border-right: 0; margin-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .asset-card, .asset-card:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .asset-card:nth-child(even) .asset-image { order: 0; }
  .asset-image { min-height: 340px; }
  .asset-card:nth-child(even) .rating { left: clamp(16px, 2.2vw, 26px); right: auto; }
  .location-photo { aspect-ratio: 4 / 6; }
  .location-gallery { --photo-offset: 24px; }
  .location-map { width: 100%; border: 0; border-radius: 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 40px), var(--container)); }
  .section { padding: 64px 0; }
  .brand-text { font-size: .82rem; }
  .brand-mark { width: 36px; height: 36px; }
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 3rem); }
  .hero-actions .button, .error-page__actions .button { width: 100%; }
  .seal { right: 16px; top: calc(39vw - 50px); width: 100px; }
  .snapshot-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .metric, .metric:nth-child(2) { padding: 26px 0; margin-right: 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .metric:last-child { border-bottom: 0; }
  .callout { position: static; margin-top: 14px; max-width: none; }
  .asset-image { min-height: 250px; }
  .rating { gap: 10px; padding: 8px 14px 8px 11px; }
  .rating__logo { width: 25px; height: 25px; }
  .rating__score { font-size: 1.12rem; }
  .rating__stars { width: 70px; height: 14px; }
  .rating__stars::before, .rating__stars::after { -webkit-mask-size: 14px 14px; mask-size: 14px 14px; }
  .rating__count { font-size: .74rem; }
  .development-scroller__item {  aspect-ratio: 5/6;}
  .location-map { overflow: hidden; }
  .location-map img { width: 166.667%; max-width: none; margin-left: -66.667%; }
  .location-gallery { grid-template-columns: 1fr; --photo-offset: 0px; }
  .location-photo { aspect-ratio: 4 / 5; }
  .location-photo:not(.location-photo--mobile) { display: none; }
  .location-photo--mobile { display: block; }
  .location-highlights { display: flex; flex-direction: column; }
  .location-highlight { border-top: 1px solid var(--line); padding-block: 22px; }
  .location-highlight:first-child { border-top: 0; padding-top: 0; }
 .form-grid, .process-grid { grid-template-columns: 1fr; }
  .process-grid { gap: 40px; }
  .process-step { padding-top: 16px; }
  .process-step::before { margin-bottom: 15px; }
  .development-figures { gap: 0; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
