/* ============================================================
   CHALUPA HORNÍ HEŘMANICE — STYLES
   Estetika: Lesní čas | Elegance + Příroda + Teplo
   Fonty: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

/* ---- Custom Properties ---- */
:root {
    /* Colors */
    --c-void:      #0C0A08;
    --c-earth:     #161310;
    --c-bark:      #231F1A;
    --c-bark-2:    #2C2720;
    --c-stone:     #6E6458;
    --c-sand:      #A89880;
    --c-cream:     #EDE3D0;
    --c-parchment: #F5EFE3;
    --c-amber:     #C89840;
    --c-amber-h:   #DBA84A;
    --c-gold:      #E8C46A;
    --c-light:     #F8F4EC;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body:    'Jost', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-pad: clamp(80px, 10vw, 140px);
    --container:   1220px;
    --gap:         clamp(24px, 4vw, 48px);

    /* Animation */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

    /* Nav height */
    --nav-h: 70px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--c-cream);
    background: var(--c-earth);
    overflow-x: hidden;
    cursor: none;
}

@media (pointer: coarse) {
    body { cursor: auto; }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; background: none; border: none; font: inherit; color: inherit; }
@media (pointer: coarse) { button { cursor: pointer; } }

/* ---- Custom Cursor ---- */
.cursor,
.cursor-trail {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: opacity 0.3s;
}
.cursor {
    width: 10px; height: 10px;
    background: var(--c-cream);
    transform: translate(-50%, -50%);
    transition: width 0.2s var(--ease-out), height 0.2s var(--ease-out), background 0.2s;
}
.cursor-trail {
    width: 36px; height: 36px;
    border: 1px solid rgba(240, 227, 200, 0.4);
    transform: translate(-50%, -50%);
    transition: left 0.12s var(--ease-out), top 0.12s var(--ease-out),
                width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                border-color 0.3s;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor { width: 18px; height: 18px; }
body:has(a:hover) .cursor-trail,
body:has(button:hover) .cursor-trail {
    width: 52px; height: 52px;
    border-color: rgba(200, 152, 64, 0.5);
}
@media (pointer: coarse) {
    .cursor, .cursor-trail { display: none; }
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 8vw, 7.5rem); line-height: 1.0; font-weight: 300; }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.08; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 400; }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 400; }

h1 em, h2 em, h3 em {
    font-style: italic;
    color: var(--c-amber);
}

p {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.8;
    font-weight: 300;
    color: var(--c-sand);
}
p.lead {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--c-cream);
    font-style: italic;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-amber);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--c-amber);
    flex-shrink: 0;
}
.eyebrow--light { color: var(--c-amber); }

/* ---- Layout ---- */
.container {
    width: min(var(--container), 100% - 48px);
    margin-inline: auto;
}

.section {
    padding-block: var(--section-pad);
    background: var(--c-parchment);
    color: var(--c-bark);
}

/* Světlé sekce — tmavý text, pouze pro sekce BEZ --dark */
.section:not(.section--dark) p { color: color-mix(in srgb, var(--c-bark) 80%, transparent); }
.section:not(.section--dark) h1,
.section:not(.section--dark) h2,
.section:not(.section--dark) h3,
.section:not(.section--dark) h4 { color: var(--c-bark); }
.section:not(.section--dark) h2 em,
.section:not(.section--dark) h3 em { color: var(--c-amber); }

.section .eyebrow { color: var(--c-amber); }
.section .eyebrow::before { background: var(--c-amber); }

/* Tmavé sekce — světlý text */
.section--dark {
    background: var(--c-earth);
    color: var(--c-cream);
}
.section--dark p { color: var(--c-sand); }
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--c-cream); }
.section--dark h2 em,
.section--dark h3 em { color: var(--c-amber); }

.section-header {
    margin-bottom: clamp(48px, 7vw, 80px);
}
.section-header h2 { margin-top: 12px; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    transition: opacity 0.2s;
}
.btn:hover::after { opacity: 0.06; }

.btn--amber {
    background: var(--c-amber);
    color: var(--c-void);
}
.btn--amber:hover { background: var(--c-amber-h); }

.btn--ghost {
    background: transparent;
    color: var(--c-cream);
    border: 1px solid rgba(240, 227, 200, 0.3);
}
.btn--ghost:hover { border-color: rgba(240, 227, 200, 0.7); }

.btn--outline {
    background: transparent;
    color: var(--c-bark);
    border: 1px solid rgba(44, 32, 20, 0.3);
}
.btn--outline:hover { border-color: var(--c-amber); color: var(--c-amber); }

.btn--outline-light {
    background: transparent;
    color: var(--c-cream);
    border: 1px solid rgba(240, 227, 200, 0.3);
}
.btn--outline-light:hover { border-color: var(--c-amber); color: var(--c-amber); }

.btn--full { width: 100%; justify-content: center; }

/* ---- Scroll Reveal Animations ---- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--delay, 0s);
}
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- Image Placeholder Styling ---- */
.img-placeholder {
    background-size: cover;
    background-position: center;
    position: relative;
}
.img-placeholder::before {
    /* Shown when background-image fails to load */
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    color: rgba(240, 227, 200, 0.5);
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

/* Atmospheric gradient fallbacks per section */
.story__img-main { background-color: #3D2414; }
.story__img-accent { background-color: #2A1A0E; }
.tech-img { background-color: #2C2018; }
.gallery__img { background-color: #1E1810; }
.lifestyle__img-a { background-color: #1A120C; }
.lifestyle__img-b { background-color: #121A10; }
.footer__bg-img { background-color: #0A0806; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: background 0.4s var(--ease-out), box-shadow 0.4s;
}
.nav.is-scrolled {
    background: rgba(12, 10, 8, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(240, 227, 200, 0.06);
}
.nav__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: clamp(20px, 4vw, 48px);
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--c-cream);
    opacity: 0.9;
    transition: opacity 0.2s;
}
.nav__brand:hover { opacity: 1; }
.nav__icon { flex-shrink: 0; opacity: 0.7; }
.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
}
.nav__links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(237, 227, 208, 0.65);
    transition: color 0.2s;
    position: relative;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--c-amber);
    transition: width 0.3s var(--ease-out);
}
.nav__links a:hover { color: var(--c-cream); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
    padding: 8px 20px;
    border: 1px solid rgba(200, 152, 64, 0.4) !important;
    border-radius: 2px;
    color: var(--c-amber) !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav__cta:hover {
    background: rgba(200, 152, 64, 0.1) !important;
    border-color: var(--c-amber) !important;
}
.nav__cta::after { display: none !important; }
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: none;
}
.nav__hamburger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--c-cream);
    transition: transform 0.3s, opacity 0.3s;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(12, 10, 8, 0.98);
    backdrop-filter: blur(16px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.nav__mobile.is-open {
    max-height: 400px;
    padding: 20px 0 32px;
}
.nav__mobile ul { padding-inline: clamp(20px, 4vw, 48px); }
.nav__mobile li { border-bottom: 1px solid rgba(240, 227, 200, 0.06); }
.nav__mobile a {
    display: block;
    padding: 14px 0;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(237, 227, 208, 0.7);
    transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--c-amber); }

@media (max-width: 900px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--c-void);
}
.hero__bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    transform: scale(1.06);
    transition: transform 12s ease-out;
    background-color: #1E1408;
}
.hero__bg-img.is-loaded { transform: scale(1); }
/* Ken Burns on scroll */
.hero__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.35;
    pointer-events: none;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(8, 6, 4, 0.85) 0%,
        rgba(12, 8, 4, 0.55) 50%,
        rgba(8, 6, 4, 0.72) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(24px, 6vw, 80px);
    margin-top: var(--nav-h);
}

.hero__location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-amber);
    margin-bottom: 24px;
}

.hero__title {
    color: var(--c-parchment);
    max-width: 10ch;
    margin-bottom: 28px;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}
.hero__title em {
    display: block;
    color: var(--c-amber);
    font-style: italic;
}

.hero__sub {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 300;
    font-style: italic;
    color: rgba(237, 227, 208, 0.75);
    max-width: 50ch;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero stats bar */
.hero__stats {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(8, 6, 4, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(240, 227, 200, 0.08);
    padding: 20px 0;
    flex-wrap: wrap;
}
.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 clamp(20px, 4vw, 52px);
    text-align: center;
}
.hero__stat-val {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.8vw, 2rem);
    font-weight: 300;
    color: var(--c-cream);
    line-height: 1;
    margin-bottom: 4px;
}
.hero__stat-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-stone);
}
.hero__stat-sep {
    width: 1px; height: 36px;
    background: rgba(240, 227, 200, 0.12);
    flex-shrink: 0;
}

/* Scroll cue */
.hero__scroll-cue {
    position: absolute;
    bottom: 90px; right: clamp(24px, 4vw, 48px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    writing-mode: vertical-rl;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240, 227, 200, 0.3);
    transition: color 0.2s;
}
.hero__scroll-cue:hover { color: rgba(240, 227, 200, 0.6); }
.hero__scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, rgba(200, 152, 64, 0.6), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(0.8); }
}

/* Hero reveal animation */
.hero-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s var(--ease-out) forwards;
    animation-delay: var(--delay, 0s);
}
@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0); }
}

.desktop-br { display: none; }
@media (min-width: 1024px) { .desktop-br { display: inline; } }

/* ============================================================
   STORY SECTION
   ============================================================ */
.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
}
.story__visual {
    position: relative;
    height: 560px;
}
.story__img-main {
    position: absolute;
    top: 0; left: 0;
    width: 78%; height: 80%;
    border-radius: 2px;
    overflow: hidden;
}
.story__img-accent {
    position: absolute;
    bottom: 0; right: 0;
    width: 52%; height: 45%;
    border-radius: 2px;
    overflow: hidden;
    border: 4px solid var(--c-parchment);
}
.story__badge {
    position: absolute;
    bottom: 36%; left: 72%;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--c-amber);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transform: translate(-50%, 50%);
    box-shadow: 0 4px 24px rgba(200, 152, 64, 0.35);
}
.story__badge-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-void);
    line-height: 1;
}
.story__badge-text {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(12, 10, 8, 0.7);
    text-align: center;
    line-height: 1.3;
}
.story__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.story__content .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 800px) {
    .story { grid-template-columns: 1fr; }
    .story__visual { height: 380px; }
    .story__content .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(240, 227, 200, 0.06);
    border: 1px solid rgba(240, 227, 200, 0.06);
}
.feature {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: clamp(28px, 4vw, 48px);
    background: var(--c-earth);
    transition: background 0.3s;
}
.feature:hover { background: var(--c-bark); }
.feature__num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    color: rgba(200, 152, 64, 0.18);
    line-height: 1;
}
.feature__divider {
    width: 32px; height: 1px;
    background: var(--c-amber);
    opacity: 0.5;
}
.feature__body h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 12px;
    color: var(--c-cream);
}
.feature__body p { color: var(--c-stone); font-size: 0.92rem; line-height: 1.75; }

@media (max-width: 650px) {
    .features { grid-template-columns: 1fr; }
}

/* ============================================================
   TECHNICAL STATE
   ============================================================ */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 96px);
    align-items: start;
}
.tech-content { display: flex; flex-direction: column; gap: 20px; }
.tech-content .eyebrow { color: var(--c-amber); }
.tech-items { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(44, 32, 20, 0.12);
}
.tech-item:last-child { border-bottom: none; }
.tech-item__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--c-amber);
    flex-shrink: 0;
    margin-top: 5px;
}
.tech-item div strong {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--c-bark);
    margin-bottom: 2px;
}
.tech-item div span {
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--c-bark) 55%, transparent);
}
.tech-visual { position: relative; }
.tech-img {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 2px;
    overflow: hidden;
}
.tech-quote {
    position: absolute;
    bottom: -24px; left: -24px;
    background: var(--c-amber);
    padding: 24px 28px;
    max-width: 280px;
    border-radius: 2px;
}
.tech-quote p {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    color: var(--c-void);
    line-height: 1.6;
}

@media (max-width: 820px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-quote { position: static; margin-top: 16px; max-width: 100%; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 8px;
}
.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: none;
}
@media (pointer: coarse) { .gallery__item { cursor: pointer; } }
.gallery__item--large { grid-column: span 2; }
.gallery__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s var(--ease-out);
}
.gallery__item:hover .gallery__img { transform: scale(1.05); }
.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 6, 4, 0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__overlay span {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--c-cream);
}
.gallery__note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}
.gallery__note p { font-size: 0.8rem; color: var(--c-sand); }

@media (max-width: 700px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .gallery__item--large { grid-column: span 2; }
}
@media (max-width: 480px) {
    .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .gallery__item--large { grid-column: span 1; }
}

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(8, 6, 4, 0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
    cursor: none;
}
@media (pointer: coarse) { .lightbox { cursor: default; } }
.lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}
.lightbox__close {
    position: absolute;
    top: 24px; right: 24px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-sand);
    transition: color 0.2s;
    border: 1px solid rgba(240, 227, 200, 0.12);
    border-radius: 2px;
    z-index: 10;
}
.lightbox__close:hover { color: var(--c-cream); }
.lightbox__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(240, 227, 200, 0.4);
    transition: color 0.2s;
    z-index: 10;
}
.lightbox__nav:hover { color: var(--c-cream); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
.lightbox__stage {
    width: 90vw; height: 80vh;
    max-width: 1100px;
    display: flex; align-items: center; justify-content: center;
}
.lightbox__img {
    width: 100%; height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.3s;
}
.lightbox__caption {
    margin-top: 16px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--c-sand);
    letter-spacing: 0.04em;
}
.lightbox__counter {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--c-stone);
}

/* ============================================================
   LIFESTYLE
   ============================================================ */
.lifestyle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
}
.lifestyle__content { display: flex; flex-direction: column; gap: 20px; }
.moments { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.moment {
    padding: 20px 0;
    border-bottom: 1px solid rgba(240, 227, 200, 0.1);
}
.moment:last-child { border-bottom: none; }
.moment__time {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-amber);
    margin-bottom: 8px;
}
.moment p {
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--c-sand);
}
.lifestyle__visual {
    position: relative;
    height: 520px;
}
.lifestyle__img-a,
.lifestyle__img-b {
    position: absolute;
    border-radius: 2px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.lifestyle__img-a {
    top: 0; right: 0;
    width: 80%; height: 70%;
}
.lifestyle__img-b {
    bottom: 0; left: 0;
    width: 58%; height: 42%;
    border: 4px solid var(--c-parchment);
}

@media (max-width: 820px) {
    .lifestyle { grid-template-columns: 1fr; }
    .lifestyle__visual { height: 320px; order: -1; }
}

/* ============================================================
   DISTANCES / OKOLÍ
   ============================================================ */
.distances {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(240, 227, 200, 0.06);
    border: 1px solid rgba(240, 227, 200, 0.06);
    margin-bottom: 64px;
}
.dist {
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px);
    background: var(--c-earth);
    gap: 4px;
    transition: background 0.2s;
}
.dist:hover { background: var(--c-bark); }
.dist__km {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    color: var(--c-amber);
    line-height: 1;
}
.dist__what {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-cream);
    margin-top: 4px;
}
.dist__note { font-size: 0.78rem; color: var(--c-stone); }

.activities h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--c-cream);
    margin-bottom: 28px;
}
.activities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
}
.activity-col__season {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-amber);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(200, 152, 64, 0.2);
}
.activity-col ul { display: flex; flex-direction: column; gap: 8px; }
.activity-col li {
    font-size: 0.88rem;
    color: var(--c-sand);
    padding-left: 14px;
    position: relative;
}
.activity-col li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(200, 152, 64, 0.4);
    font-size: 0.7rem;
}

@media (max-width: 700px) {
    .distances { grid-template-columns: repeat(2, 1fr); }
    .activities__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .distances { grid-template-columns: 1fr; }
}

/* ============================================================
   INVESTMENT
   ============================================================ */
.investment {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(40px, 7vw, 96px);
    align-items: start;
}
.investment__content { display: flex; flex-direction: column; gap: 20px; }
.inv-points {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 12px;
}
.inv-point {
    padding: 24px 0;
    border-bottom: 1px solid rgba(44, 32, 20, 0.1);
}
.inv-point:last-child { border-bottom: none; }
.inv-point h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--c-cream);
}
.inv-point p { font-size: 0.9rem; }

.price-card {
    background: var(--c-bark);
    border: 1px solid rgba(200, 152, 64, 0.15);
    border-radius: 3px;
    padding: clamp(28px, 4vw, 44px);
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}
.price-card__label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-stone);
}
.price-card__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 300;
    color: var(--c-cream);
    line-height: 1;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(240, 227, 200, 0.08);
}
.price-card__note {
    font-size: 0.78rem;
    color: var(--c-stone);
    margin-bottom: 4px;
}
.price-card__footer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(240, 227, 200, 0.06);
}
.price-card__footer svg { flex-shrink: 0; color: var(--c-amber); margin-top: 2px; }
.price-card__footer span { font-size: 0.75rem; color: var(--c-stone); line-height: 1.6; }

@media (max-width: 900px) {
    .investment { grid-template-columns: 1fr; }
    .price-card { width: 100%; position: static; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 780px;
    margin-inline: auto;
}
.faq-item {
    border-bottom: 1px solid rgba(240, 227, 200, 0.08);
}
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 0;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--c-cream);
    text-align: left;
    transition: color 0.2s;
    cursor: none;
}
@media (pointer: coarse) { .faq-q { cursor: pointer; } }
.faq-q:hover { color: var(--c-amber); }
.faq-icon {
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out);
    color: var(--c-stone);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq-a.is-open { max-height: 300px; }
.faq-a p {
    padding-bottom: 20px;
    font-size: 0.92rem;
    color: var(--c-stone);
    line-height: 1.8;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 96px);
    align-items: start;
}
.contact__intro { display: flex; flex-direction: column; gap: 20px; }
.contact__intro p { max-width: 44ch; }
.contact__details { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.contact__detail { display: flex; flex-direction: column; gap: 2px; }
.contact__detail-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-stone);
}
.contact__detail-val {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--c-cream);
    font-weight: 400;
    transition: color 0.2s;
}
.contact__detail-val:hover { color: var(--c-amber); }

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--c-parchment);
    padding: clamp(24px, 4vw, 40px);
    border-radius: 3px;
    border: 1px solid rgba(200, 152, 64, 0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-bark);
}
.optional { text-transform: none; font-weight: 300; letter-spacing: 0; font-size: 0.75em; color: var(--c-stone); }
.form-group input,
.form-group textarea {
    background: white;
    border: 1px solid rgba(44, 32, 20, 0.18);
    border-radius: 2px;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--c-bark);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--c-amber);
    box-shadow: 0 0 0 3px rgba(200, 152, 64, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(110, 100, 88, 0.35); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* Checkbox */
.form-group--check { flex-direction: row; align-items: flex-start; gap: 0; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: none;
}
@media (pointer: coarse) { .checkbox-label { cursor: pointer; } }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom {
    width: 18px; height: 18px;
    border: 1px solid rgba(44, 32, 20, 0.25);
    border-radius: 2px;
    background: white;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: border-color 0.2s, background 0.2s;
}
.checkbox-label input:checked + .checkbox-custom {
    background: var(--c-amber);
    border-color: var(--c-amber);
}
.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px; top: 2px;
    width: 6px; height: 10px;
    border: 1.5px solid var(--c-void);
    border-top: none; border-left: none;
    transform: rotate(45deg);
}
.checkbox-label span:last-child {
    font-size: 0.78rem;
    color: var(--c-bark);
    line-height: 1.5;
}

/* Form feedback */
.form-success,
.form-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 2px;
    font-size: 0.88rem;
    font-weight: 400;
}
.form-success {
    background: rgba(80, 140, 60, 0.1);
    color: #5A9E40;
    border: 1px solid rgba(80, 140, 60, 0.2);
}
.form-error {
    background: rgba(180, 60, 40, 0.08);
    color: #B84030;
    border: 1px solid rgba(180, 60, 40, 0.2);
}

@media (max-width: 820px) {
    .contact { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    padding-block: 80px 40px;
    overflow: hidden;
}
.footer__bg {
    position: absolute;
    inset: 0;
}
.footer__bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0A0806;
}
.footer__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 6, 4, 0.85), rgba(8, 6, 4, 0.97));
}
.footer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
}
.footer__main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--c-cream);
}
.footer__brand svg { color: var(--c-amber); flex-shrink: 0; }
.footer__brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.03em;
}
.footer__brand-sub {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--c-stone);
    margin-top: 2px;
}
.footer__nav {
    display: flex;
    gap: clamp(16px, 2.5vw, 28px);
    flex-wrap: wrap;
    align-items: center;
}
.footer__nav a {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-stone);
    transition: color 0.2s;
}
.footer__nav a:hover { color: var(--c-amber); }
.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 28px;
    border-top: 1px solid rgba(240, 227, 200, 0.06);
}
.footer__bottom p { font-size: 0.75rem; color: var(--c-stone); }
.footer__disclaimer { color: rgba(110, 100, 88, 0.5) !important; }

/* ---- Scarcity box ---- */
.scarcity-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(200, 152, 64, 0.07);
    border: 1px solid rgba(200, 152, 64, 0.25);
    border-left: 3px solid var(--c-amber);
    padding: 18px 20px;
    border-radius: 2px;
    margin-top: 4px;
}
.scarcity-box__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-amber);
    flex-shrink: 0;
    margin-top: 6px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.scarcity-box p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--c-cream);
}
.scarcity-box p strong { color: var(--c-amber); font-weight: 600; }

/* ============================================================
   DISPOZICE / ROOMS
   ============================================================ */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.room {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-radius: 2px;
    background: var(--c-bark);
    border: 1px solid rgba(240, 227, 200, 0.05);
    transition: border-color 0.3s;
}
.room:hover { border-color: rgba(200, 152, 64, 0.2); }
.room__img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s var(--ease-out);
    overflow: hidden;
}
.room:hover .room__img { transform: scale(1.04); }
.room__info {
    padding: 20px 22px 24px;
}
.room__info h4 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--c-cream);
    margin-bottom: 8px;
}
.room__info p {
    font-size: 0.83rem;
    line-height: 1.65;
    color: var(--c-stone);
}

@media (max-width: 900px) {
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .rooms-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 600px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .hero__stats { display: none; }
    .hero__scroll-cue { display: none; }
    .footer__main { flex-direction: column; }
    .footer__nav { display: none; }
}

/* ============================================================
   SMOOTH SCROLL OFFSET FOR FIXED NAV
   ============================================================ */
[id] { scroll-margin-top: var(--nav-h); }
