/* Hutta · hranatá fotografická kompozice podle zadání z 8. 9. 2026. */
:root {
  --radius-karta: 0px; --radius-tlacitko: 0px; --radius-obrazek: 0px; --radius-input: 0px; --radius-stitek: 0px;
  --sc-canvas: #FDFBF7; --sc-surface: #F3EFE7; --sc-ink: #12241E; --sc-ink-soft: #55685F;
  --sc-accent: #C3996A; --sc-accent-ink: #062A21;
  --sc-font-display: 'Sentient', serif; --sc-font-text: 'Switzer', sans-serif;
  --sc-r-sm: 0px; --sc-r-md: 0px; --sc-r-lg: 0px;
}
html, body { overflow-x: clip; }
body { letter-spacing: normal; }
body img, body video, body iframe, body figure { border-radius: 0 !important; }
body :is(button, input, textarea, select, article, .contact-wrapper, .contact-form,
  .nav-dropdown-menu, .lok-popup-okno, .cookie-banner, .cookie-modal, .po-badge,
  .pj-lb__counter, .pj-feature, .detail-feature, .filter-sheet) { border-radius: 0 !important; }
.hero {
  height: 100svh; min-height: 100svh; max-height: none;
  padding: 120px 0 clamp(56px, 8vh, 104px); overflow: clip;
}
.hero::after { display: none; }
.hero-bg { height: 112%; top: -6%; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero video.hero-bg { pointer-events: none; }
.hero:not(.hero-video-playing) video.hero-bg { opacity: 0 !important; }
.hero > .hero-overlay { pointer-events: none; }
.hero-video-playing video.hero-bg { opacity: 1 !important; }
.hero-video-playing .hero-poster { visibility: hidden; }
.hero-video-start { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; z-index: -1; cursor: pointer; }
.hero-video-start:focus-visible { outline: 2px solid white; outline-offset: -8px; }
.hero video::-webkit-media-controls, .hero video::-webkit-media-controls-start-playback-button { display: none !important; }
.hero-overlay {
  background: linear-gradient(180deg,rgba(6,42,33,.82),rgba(6,42,33,.72) 76px,transparent 180px),
    radial-gradient(ellipse at 0% 90%,rgba(6,42,33,.9),rgba(6,42,33,.45) 42%,transparent 78%);
}
.hero-title { max-width: 19ch; font-size: clamp(44px, 4.5vw, 70px); line-height: 1.08; }
.hero-description { max-width: 48ch; }
.trust-bar { position: relative; z-index: 1; }
.property-overlay-card:hover, .property-overlay-card:focus-within { transform: none; box-shadow: none; }
.property-overlay-card img, .property-overlay-card:hover img { transform: none; }
.po-bottom::after {
  content: 'Prohlédnout nabídku  ↗'; display: block; font: 500 14px/1.4 var(--font-body);
  margin-top: 18px; text-decoration: underline; text-underline-offset: 5px;
}
.intent-card-v2, .service-page .hero-image-side { transition: transform .4s cubic-bezier(.2,.75,.25,1); }
.nav-links { transition-property: transform, opacity, visibility; }
@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  .intent-card-v2:hover { transform: translateY(-6px); }
}
@media (max-width: 1100px) {
  .navbar { --mobile-header-height: 68px; padding-top: max(12px, env(safe-area-inset-top)); }
  .navbar .nav-container { min-height: 44px; padding-inline: max(24px, 5vw); }
  .navbar .logo { line-height: 1.25; }
  .navbar.menu-open { background: var(--color-bg); }
  .navbar.menu-open .logo { color: var(--color-primary); }
  .navbar.menu-open .logo span { color: #856039; }
  .nav-links {
    top: calc(var(--mobile-header-height) + max(0px, env(safe-area-inset-top) - 12px));
    right: 0; width: 100%; max-width: none;
    height: calc(100dvh - var(--mobile-header-height) - max(0px, env(safe-area-inset-top) - 12px));
    padding: 24px max(24px, 5vw) max(32px, env(safe-area-inset-bottom));
    align-items: stretch; gap: 8px; box-shadow: none;
    transform: translateX(100%); opacity: 0;
    transition: transform .38s cubic-bezier(.2,.75,.25,1), opacity .25s, visibility .38s;
  }
  .nav-links.active { transform: translateX(0); opacity: 1; }
  .nav-dropdown { width: 100%; flex-shrink: 0; }
  .nav-links > a { flex-shrink: 0; }
  .nav-links a:not(.btn-primary) { border: 0; font-family: var(--font-body); font-size: 22px; line-height: 1.35; letter-spacing: -.01em; }
  .nav-links .nav-dropdown-menu { padding: 4px 0 8px 16px; gap: 2px; }
  .nav-links .nav-dropdown-menu a:not(.btn-primary) { font-size: 16px; }
  .navbar .nav-links a:not(.btn-primary):hover { color: var(--color-primary); }
  .nav-links a:not(.btn-primary)::before { display: none; }
  .nav-links .btn-primary { margin-top: 20px; }
  .navbar .menu-toggle { display: flex; align-items: center; justify-content: center; margin-right: 0; flex-shrink: 0; }
  .nav-overlay { transition: opacity .38s ease, visibility .38s; }
}
@media (max-width: 767px) {
  .navbar, .navbar.scrolled { --mobile-header-height: 64px; padding-top: max(10px, env(safe-area-inset-top)); }
  .nav-links { top: calc(64px + max(0px, env(safe-area-inset-top) - 10px)); height: calc(100dvh - 64px - max(0px, env(safe-area-inset-top) - 10px)); }
}
@media (max-width: 767px) {
  .hero { height: 100svh; min-height: 100svh; max-height: none; padding: 104px 0 48px; }
  .hero-title { font-size: clamp(38px, 10.25vw, 48px); margin-bottom: 18px; }
  .hero-description { font-size: 17px; line-height: 1.5; margin-bottom: 22px; }
  .hero-overlay { background: linear-gradient(180deg,rgba(6,42,33,.82),rgba(6,42,33,.72) 66px,transparent 150px),linear-gradient(0deg,rgba(6,42,33,.88),rgba(6,42,33,.45) 50%,transparent 85%); }
  .po-bottom::after { margin-top: 12px; font-size: 13px; }
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero { padding-bottom: 28px; }
  .hero-subtitle { margin-bottom: 12px; }
  .hero-title { font-size: 36px; }
  .hero-description { font-size: 16px; margin-bottom: 16px; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-cta a { font-size: 14px; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .property-overlay-card, .property-overlay-card:hover, .po-bottom,
  .intent-card-v2:hover, [data-sc-in], [data-sc-reveal] { transform: none !important; transition: none !important; clip-path: none !important; opacity: 1 !important; }
}
html[data-noanim] :is([data-sc-in], [data-sc-reveal]) { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* Premium revision: surface, light and content settle together. */
:root { --motion-surface: cubic-bezier(.22,1,.36,1); --gold-on-dark: #efd0a0; --gold-on-light: #856039; }
.trust-bar { background: #fff; border: 0; box-shadow: none; }
.trust-item { border: 0; padding-block: 8px; }
.trust-bar::before, .trust-bar::after, .trust-item::before, .trust-item::after { content: none; }
.trust-number:has(svg), .trust-number:has(i) { display: inline-flex; }
.trust-label { font-size: 14px; font-weight: 600; letter-spacing: .015em; }
.navbar .logo span, .navbar:not(.scrolled) .logo span { color: var(--gold-on-dark); }
.navbar.scrolled .logo span, .service-page .navbar .logo span,
.service-page .navbar:not(.scrolled) .logo span { color: var(--gold-on-light); }
#o-mne { padding-bottom: 0; }
.partners { padding-block: clamp(64px,7.5vw,108px); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.partners-title { width: 100%; margin: 0; padding-inline: 24px; text-align: center !important; letter-spacing: .09em; font-size: 11px; }
.partners-marquee-wrapper { flex: 0 0 auto; }
.costa-stat-val, .costa-hero-subtitle { color: var(--gold-on-dark); opacity: 1; }
.costa-hero-title, .costa-hero-info, .costa-stat-label { color: #fff; opacity: 1; }
.costa-hero .btn-white { background: var(--color-accent); color: var(--color-primary-deep); border: 1px solid transparent; }
.costa-hero .btn-white:hover { background: #d3ad80; color: var(--color-primary-deep); }
:is(.btn-primary,.btn-secondary,.btn-white) {
 position: relative; isolation: isolate; overflow: visible;
 transform: translate3d(0,0,0); box-shadow: none;
 transition: transform .55s var(--motion-surface), background-color .45s ease, color .35s ease, border-color .35s ease;
}
:is(.btn-primary,.btn-secondary,.btn-white)::after {
 content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
 box-shadow: 0 5px 9px rgba(6,24,18,.08),0 18px 32px -10px rgba(6,24,18,.28);
 opacity: 0; transform: translateY(5px) scale(.96);
 transition: opacity .55s var(--motion-surface),transform .65s var(--motion-surface);
}
:is(.btn-primary,.btn-secondary,.btn-white) svg { transition: transform .55s var(--motion-surface); }
.property-overlay-card, .property-overlay-card.reveal { isolation: isolate; overflow: visible; box-shadow: none; transition: transform .75s var(--motion-surface); }
.property-overlay-card::before {
 content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
 box-shadow: 0 8px 16px -8px rgba(6,24,18,.14),0 28px 48px -18px rgba(6,24,18,.3);
 opacity: 0; transform: translateY(7px) scale(.97); transition: opacity .75s var(--motion-surface),transform .85s var(--motion-surface);
}
.po-media { position: absolute; inset: 0; overflow: hidden; }
.property-overlay-card .po-media img { transform: scale(1); transition: transform 1.15s var(--motion-surface); }
.property-overlay-card .po-content { transition: background-color .7s ease; }
.property-overlay-card .po-bottom { transform: translateY(0); transition: transform .75s var(--motion-surface); }
.po-bottom::after { text-decoration: none; letter-spacing: .01em; transition: transform .7s var(--motion-surface),color .5s ease; }
.property-overlay-card:hover,.property-overlay-card:focus-within { box-shadow: none; }
@media (hover:hover) and (pointer:fine) {
 :is(.btn-primary,.btn-secondary,.btn-white):is(:hover,:focus-visible) { transform: translate3d(0,-3px,0); box-shadow: none; }
 :is(.btn-primary,.btn-secondary,.btn-white):is(:hover,:focus-visible)::after { opacity: 1; transform: translateY(2px) scale(1); }
 :is(.btn-primary,.btn-secondary,.btn-white):is(:hover,:focus-visible) svg { transform: translateX(3px); }
 .property-overlay-card:is(:hover,:focus-visible) { transform: translate3d(0,-6px,0) scale(1.006); box-shadow: none; }
 .property-overlay-card:is(:hover,:focus-visible)::before { opacity: 1; transform: translateY(3px) scale(1); }
 .property-overlay-card:is(:hover,:focus-visible) .po-media img { transform: scale(1.035); }
 .property-overlay-card:is(:hover,:focus-visible) .po-content { background-color: rgba(6,42,33,.08); }
 .property-overlay-card:is(:hover,:focus-visible) .po-bottom { transform: translateY(-5px); }
 .property-overlay-card:is(:hover,:focus-visible) .po-bottom::after { transform: translateX(5px); color: var(--gold-on-dark); }
}
:is(.btn-primary,.btn-secondary,.btn-white):active { transform: translateY(-1px); transition-duration: .12s; }
.hodnoty.is-pinned .hod-krok { transform: translateY(12px); transition: opacity .16s ease,transform .55s var(--motion-surface); }
.hodnoty.is-pinned .hod-krok.je-aktivni { transform: translateY(0); transition: opacity .5s ease .16s,transform .8s var(--motion-surface) .1s; }
.hodnoty.is-pinned .hod-foto { transform: scale(1.035); transition: opacity 1.05s ease,transform 1.8s var(--motion-surface); }
.hodnoty.is-pinned .hod-foto.je-aktivni { transform: scale(1); }
.hod-bod { transition: color .4s ease; }
.hod-bod-linka { transition: background-color .4s ease,transform .6s var(--motion-surface); transform: scaleX(.72); transform-origin: right; }
.hod-bod.je-aktivni .hod-bod-linka { transform: scaleX(1); }
@media (max-width:767px) { .partners { padding-block: 64px; gap: 24px; } .trust-bar { padding-block: 18px; } }
@media (prefers-reduced-motion:reduce) {
 :is(.btn-primary,.btn-secondary,.btn-white),:is(.btn-primary,.btn-secondary,.btn-white)::after,
 .property-overlay-card,.property-overlay-card::before,.property-overlay-card .po-media img,.property-overlay-card .po-bottom,.po-bottom::after,
 .hodnoty .hod-krok,.hodnoty .hod-foto,.hod-bod,.hod-bod-linka { transition: none !important; transform: none !important; }
}

/* Entrance helpers must not cancel pointer transitions on visible cards. */
.intent-card-v2.reveal { transition: transform .75s var(--motion-surface); }
.po-bottom h3 { font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.po-price { font-weight: 400; }
@media (prefers-reduced-motion:reduce) { .property-overlay-card.reveal,.intent-card-v2.reveal { transition: none!important; } }

.catalog-pagination { display:flex; flex-direction:column; align-items:center; gap:20px; padding:36px 0 16px; }
.catalog-pagination p { color:var(--color-text-light); font-size:14px; margin:0; }

/* The open mobile header is a light surface, including over the video hero. */
@media (max-width: 1100px) {
  .navbar.menu-open .logo span { color: #856039; }
}

.hero-benefits li { display: flex; align-items: flex-start; gap: 8px; }
.hero-benefits li svg { flex: 0 0 16px; margin-top: .25em; }
.support-assurance { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.support-assurance svg { flex-shrink: 0; margin-top: .15em; }
.hod-step-photo { display: none; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 24px; }
@media (max-width: 900px) {
  .hodnoty:not(.is-pinned) .hod-step-photo { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hodnoty:not(.is-pinned) .hod-step-photo { display: block; }
}
html[data-noanim] .hodnoty:not(.is-pinned) .hod-step-photo { display: block; }
.catalog-location { color: var(--color-primary); font-size: 16px; margin: 8px 0 0; }

/* Inquiry cards open a project request, so the visible action matches the destination. */
.property-overlay-card.inquiry-only .po-bottom::after { content: 'Poptat projekt  ↗'; }
/* Keep the icon itself legible when a deep link lands below the hero. */
.navbar.scrolled .menu-toggle svg, .navbar.menu-open .menu-toggle svg { color: var(--color-primary); }

/* The coast sequence owns the viewport; keyboard focus always restores navigation. */
.navbar { transition: background-color .2s, box-shadow .2s, transform .3s ease, opacity .3s ease; }
/* The header is part of the hero until its lower edge reaches the navigation. */
.navbar:not(.scrolled):not(.menu-open) { background: transparent; box-shadow: none; }
.navbar:not(.scrolled):not(.menu-open) :is(.logo,.menu-toggle) { color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.65); }
.navbar:not(.scrolled):not(.menu-open) .logo span { color:var(--gold-on-dark); }
.navbar.scrolled, .navbar.menu-open { background:var(--color-bg,#FDFBF7); }
.navbar.scrolled :is(.logo,.menu-toggle), .navbar.menu-open :is(.logo,.menu-toggle) { color:var(--color-primary); text-shadow:none; }
.navbar:is(.scrolled,.menu-open) .logo span { color:var(--gold-on-light); }
@media (min-width:1101px) {
 .navbar:not(.scrolled) .nav-links > a:not(.btn-primary), .navbar:not(.scrolled) .nav-dropdown-spoust { color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.65); }
}
.navbar.coast-hidden:not(:has(:focus-visible)):not(.menu-open) { transform: translateY(-100%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .navbar { transition: none; } }

@media (max-width: 1100px) {
  .navbar.scroll-hidden:not(:has(:focus-visible)):not(.menu-open) { transform: translateY(-100%); opacity: 0; pointer-events: none; }
}

