:root {
    --bg: #fafaf7;
    --bg-card: #ffffff;
    --bg-dark: #0f1115;
    --text: #0f1115;
    --text-muted: #6b6b6b;
    --text-light: #9a9a9a;
    --accent: #d4a574;
    --accent-dark: #b8895a;
    --border: rgba(15, 17, 21, 0.08);
    --border-strong: rgba(15, 17, 21, 0.15);
    --green: #2d7a4a;
    --radius: 14px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 247, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 0.5px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-family: 'Geist', sans-serif;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.8px;
}
.logo span { color: var(--accent); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }
.btn {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary {
    background: var(--text);
    color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--text); }
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: relative;
}
.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
}
.lang-current:hover {
    border-color: var(--border-strong);
}
.lang-flag { font-size: 16px; line-height: 1; }
.lang-arrow {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 2px;
    transition: transform 0.2s;
}
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    min-width: 200px;
    padding: 8px;
    display: none;
    z-index: 200;
    max-height: 420px;
    overflow-y: auto;
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--text);
}
.lang-option:hover {
    background: var(--bg);
}
.lang-option.active {
    background: rgba(212, 165, 116, 0.1);
    color: var(--accent-dark);
    font-weight: 600;
}
.lang-option-flag { font-size: 18px; line-height: 1; }
.lang-option-name { flex: 1; }
.lang-option-check {
    color: var(--accent);
    opacity: 0;
    font-weight: 700;
}
.lang-option.active .lang-option-check { opacity: 1; }

/* ===== HERO — PREMIUM BANNER ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 76px);
    max-height: 760px;
    overflow: hidden;
    background: var(--bg);
    isolation: isolate;
}
.hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 76% 35%;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(250, 250, 247, 0.98) 0%,
        rgba(250, 250, 247, 0.90) 28%,
        rgba(250, 250, 247, 0.55) 48%,
        rgba(250, 250, 247, 0.15) 65%,
        rgba(250, 250, 247, 0)    82%
    );
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    margin: 0 auto;
    min-height: calc(100vh - 76px);
    max-height: 760px;
    display: flex;
    align-items: center;
    padding: 88px 24px 96px 80px;
}
.hero-content {
    max-width: 620px;
    width: 100%;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 17, 21, 0.08);
    border-radius: 100px;
    padding: 8px 16px 8px 14px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-dark);
    box-shadow: 0 0 0 4px rgba(184, 137, 90, 0.15);
}
.hero h1 {
    font-family: 'Geist', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
    color: var(--text);
}
.hero h1 em {
    font-style: normal;
    font-weight: 600;
    color: var(--accent-dark);
}
.hero-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.hero-actions .btn {
    padding: 14px 26px;
    font-size: 14.5px;
    font-weight: 600;
}
.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 22px 9px 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 100px;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-play:hover {
    background: white;
    border-color: var(--text);
    transform: translateY(-1px);
}
.btn-play-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--text);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.btn-play-icon svg {
    width: 10px;
    height: 10px;
    margin-left: 1px;
    fill: currentColor;
}

/* ===== STATS BAR ===== */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}
.stats-grid-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}
.stat-num {
    font-family: 'Geist', sans-serif;
    font-size: 52px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    letter-spacing: -2px;
}
.stats-grid-5 .stat-num { font-size: 46px; letter-spacing: -1.6px; }
.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTION COMMON ===== */
section { padding: 100px 0; }
.section-eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Geist', sans-serif;
    font-size: clamp(32px, 3.8vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    max-width: 700px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 56px;
}

/* ===== ABOUT ===== */
.founder-layer {
    padding: 86px 0 108px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.founder-layer-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 86px;
    align-items: center;
}
.founder-layer-copy {
    position: relative;
    padding: 24px 0 24px 34px;
    border-left: 1px solid rgba(184, 137, 90, 0.36);
}
.founder-layer-copy::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 34px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-dark);
}
.founder-layer-kicker {
    color: #1f4e5f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.founder-layer h2 {
    font-family: 'Geist', sans-serif;
    font-size: clamp(36px, 4.25vw, 54px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -2px;
    margin-bottom: 22px;
    color: var(--text);
    max-width: 600px;
}
.founder-layer h2 span {
    color: #1f4e5f;
}
.founder-layer p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.78;
    margin-bottom: 34px;
    max-width: 570px;
}
.founder-layer-signature {
    display: flex;
    align-items: center;
    gap: 18px;
    width: fit-content;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.founder-layer-signature:hover {
    opacity: 0.72;
}
.founder-layer-signature img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(0.08) saturate(0.88);
    border: 1px solid rgba(31, 78, 95, 0.16);
}
.founder-layer-signature small {
    display: block;
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.founder-layer-signature strong {
    display: block;
    font-family: 'Geist', sans-serif;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.4px;
}
.founder-layer-visual {
    position: relative;
    height: 600px;
}
.founder-layer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% 38%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 32px 105px -62px rgba(16, 17, 21, 0.5);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 18px; line-height: 1.75; }
.about-text strong { color: var(--text); font-weight: 600; }
.timeline {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}
.timeline-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-dark);
    min-width: 60px;
    letter-spacing: -0.5px;
}
.timeline-desc { font-size: 14px; color: var(--text-muted); padding-top: 4px; }
.timeline-desc strong { color: var(--text); display: block; margin-bottom: 2px; font-weight: 600; }

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.services-grid-2 { grid-template-columns: repeat(2, 1fr); }
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -20px rgba(0,0,0,0.12);
}
.service-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(212, 165, 116, 0.12);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    font-size: 22px;
    color: var(--accent-dark);
}
.service-card h3 {
    font-family: 'Geist', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.8px;
}
.service-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.service-card ul { list-style: none; margin-top: 18px; }
.service-card ul li {
    font-size: 13.5px;
    color: var(--text-muted);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-card ul li::before { content: "—"; color: var(--accent); }

/* ===== HOUSIO HIGHLIGHT ===== */
.housio-section {
    background: var(--bg-dark);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.housio-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.housio-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.housio-section .section-title { color: white; }
.housio-section .section-subtitle { color: #b8b8b0; }
.housio-section .section-eyebrow { color: var(--accent); }
.housio-features { display: grid; gap: 14px; margin: 28px 0; }
.housio-feature { display: flex; align-items: start; gap: 14px; }
.feature-check {
    width: 22px; height: 22px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}
.housio-feature span { font-size: 15px; color: #d8d8d0; }
.housio-feature strong { color: white; font-weight: 600; }
.btn-accent {
    background: var(--accent);
    color: var(--bg-dark);
}
.btn-accent:hover { background: white; }
.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: white; color: var(--bg-dark); }

.housio-mockup {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(10px);
}
.mockup-tab {
    font-size: 11px;
    color: #b8b8b0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}
.mockup-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}
.mockup-stat-label { font-size: 13px; color: #b8b8b0; }
.mockup-stat-value { font-weight: 600; font-size: 16px; color: white; }
.mockup-stat-value.green { color: #6cce93; }

/* ===== ACADEMY ===== */
.academy {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
}
.academy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.academy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s;
}
.academy-card:hover { border-color: var(--accent); }
.academy-badge {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-dark);
    background: rgba(212, 165, 116, 0.12);
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
    font-weight: 600;
}
.academy-card h4 {
    font-family: 'Geist', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.6px;
}
.academy-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.65; }
.academy-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-light);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.testimonial-stars { color: var(--accent); margin-bottom: 18px; font-size: 16px; letter-spacing: 2px; }
.testimonial-quote {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -0.3px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8b89e, #a08769);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.5px;
    font-size: 14px;
}
.testimonial-name { font-weight: 600; font-size: 14.5px; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact {
    background: var(--bg-dark);
    color: white;
    padding: 100px 0;
}
.contact .section-title { color: white; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
}
.contact-info p { color: #b8b8b0; font-size: 16px; margin-bottom: 28px; line-height: 1.75; }
.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-detail-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 16px;
}
.contact-detail-label { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.contact-detail-value { font-size: 15px; color: white; font-weight: 500; }

.contact-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block;
    font-size: 13px;
    color: #b8b8b0;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.06);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--bg-dark);
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 6px;
}
.btn-submit:hover { background: white; }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { color: #b8b8b0; font-size: 14px; margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer-col h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    color: var(--accent);
    font-weight: 600;
}
.footer-col a, .footer-col li {
    color: #b8b8b0;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 5px 0;
    list-style: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }

    .hero {
        min-height: auto;
        max-height: none;
        display: flex;
        flex-direction: column;
    }
    .hero-photo {
        position: relative;
        inset: auto;
        width: 100%;
        height: 58vh;
        min-height: 380px;
        max-height: 560px;
    }
    .hero-photo img {
        object-position: 68% 20%;
    }
    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(250, 250, 247, 0)    0%,
            rgba(250, 250, 247, 0)    45%,
            rgba(250, 250, 247, 0.55) 75%,
            rgba(250, 250, 247, 0.95) 94%,
            #fafaf7                   100%
        );
    }
    .hero-inner {
        position: relative;
        z-index: 3;
        max-width: 100%;
        min-height: auto;
        max-height: none;
        padding: 0 24px 56px;
        margin-top: -56px;
    }
    .hero-content { max-width: 100%; }
    .hero h1 {
        font-size: clamp(34px, 8vw, 50px);
        letter-spacing: -1.6px;
    }
    .hero-text { font-size: 16px; max-width: 100%; }

    .founder-layer {
        padding: 60px 0 64px;
    }
    .founder-layer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }
    .founder-layer-copy {
        padding: 20px 0 20px 26px;
    }
    .founder-layer h2 {
        font-size: clamp(32px, 7vw, 46px);
        letter-spacing: -1.4px;
    }
    .founder-layer-visual {
        height: min(68vw, 560px);
        min-height: 380px;
    }
    .founder-layer-photo {
        object-position: 56% 32%;
    }
    .about-grid, .housio-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid, .testimonials-grid, .academy-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    /* 5-stat grid on tablet: flex-wrap, 3 per row, centered → clean 3 + 2.
       (Replaces fragile 6-col grid hacks that left implicit-column holes.) */
    .stats-grid-5 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 34px 28px;
    }
    .stats-grid-5 > div { flex: 0 1 28%; }
    .stats-grid-5 .stat-num { font-size: 38px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    section, .housio-section, .contact { padding: 60px 0; }
    .stat-num { font-size: 42px; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    /* 5-stat on phones: inherits the flex layout above; 2 per row, centered → 2 + 2 + 1. */
    .stats-grid-5 { gap: 30px 18px; }
    .stats-grid-5 > div { flex-basis: 42%; }
    .stats-grid-5 .stat-num { font-size: 34px; }
    .hero-photo { height: 60vh; min-height: 360px; }
    .hero-inner { padding: 0 20px 48px; margin-top: -48px; }
    .founder-layer {
        padding: 46px 0 54px;
    }
    .founder-layer-copy {
        padding-left: 22px;
    }
    .founder-layer-copy p {
        font-size: 15.5px;
    }
    .founder-layer-signature {
        gap: 14px;
        padding-top: 18px;
    }
    .founder-layer-signature img {
        width: 46px;
        height: 46px;
    }
    .founder-layer-photo {
        border-radius: 14px;
    }
    .founder-layer-visual {
        height: 420px;
        min-height: 0;
    }
    .hero-actions { gap: 10px; }
    .hero-actions .btn,
    .hero-actions .btn-play {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }
}

/* ===== ACTIVE NAV STATE (multi-page) ===== */
.nav-links a.active {
    color: var(--accent-dark);
    font-weight: 600;
    position: relative;
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: var(--accent-dark);
    border-radius: 2px;
}
.nav-links a.external::after {
    content: '↗';
    font-size: 11px;
    opacity: 0.55;
    margin-left: 4px;
    position: static;
    background: none;
    border-radius: 0;
}

/* ===== PAGE HEADER (subpage mini-hero) ===== */
.page-header {
    padding: 88px 0 64px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at right top, rgba(212, 165, 116, 0.12) 0%, transparent 65%);
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header-eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 14px;
}
.page-header h1 {
    font-family: 'Geist', sans-serif;
    font-size: clamp(36px, 4.8vw, 58px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 18px;
    max-width: 760px;
}
.page-header h1 em {
    font-style: normal;
    font-weight: 600;
    color: var(--accent-dark);
}
.page-header-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 620px;
    line-height: 1.6;
}

/* ===== TEASER LINK on landing ===== */
.teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    margin-top: 28px;
    transition: gap 0.2s;
}
.teaser-link:hover { gap: 14px; }
.teaser-link::after {
    content: '→';
    transition: transform 0.2s;
}

/* ===== BLOG "COMING SOON" ===== */
.coming-soon {
    padding: 120px 0;
    text-align: center;
}
.coming-soon-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 24px;
}
.coming-soon-icon {
    font-size: 56px;
    color: var(--accent-dark);
    margin-bottom: 24px;
    display: block;
    line-height: 1;
}
.coming-soon h2 {
    font-family: 'Geist', sans-serif;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
}
.coming-soon p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Subpage responsive */
@media (max-width: 900px) {
    .page-header { padding: 64px 0 48px; }
    .nav-links a.active::after { display: none; }
    .nav-links a.active { border-left: 3px solid var(--accent-dark); padding-left: 10px; }
}

/* Logo as anchor */
a.logo {
    text-decoration: none;
    color: var(--text);
    display: inline-block;
}
a.logo:hover { opacity: 0.7; }

/* ===== LISTINGS GRID (nabidka/index.html) ===== */
.listings-section {
    padding: 80px 0 120px;
}
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.listing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.listing-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -20px rgba(15, 17, 21, 0.18);
}
.listing-card-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e0d3 0%, #d4c4a8 100%);
}
.listing-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.listing-card:hover .listing-card-cover img {
    transform: scale(1.05);
}
.listing-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
}
.listing-card-body {
    padding: 26px 26px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.listing-card-price {
    font-family: 'Geist', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.8px;
    margin-bottom: 6px;
}
.listing-card-location {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 500;
    margin-bottom: 18px;
}
.listing-card-title {
    font-family: 'Geist', sans-serif;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text);
}
.listing-card-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}
.listing-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.listing-card-meta .sep { color: var(--accent-dark); opacity: 0.6; }
.listing-card-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 22px;
    flex: 1;
}
.listing-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s;
}
.listing-card:hover .listing-card-link { gap: 12px; }

/* ===== LISTING DETAIL PAGE ===== */
.listing-hero {
    position: relative;
    width: 100%;
    height: clamp(420px, 65vh, 720px);
    overflow: hidden;
    background: #0f1115;
}
.listing-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.listing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 35%, rgba(15, 17, 21, 0.35) 65%, rgba(15, 17, 21, 0.85) 100%);
    pointer-events: none;
}
.listing-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 80px 56px;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
}
.listing-hero-eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}
.listing-hero h1 {
    font-family: 'Geist', sans-serif;
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: white;
    margin-bottom: 16px;
    max-width: 760px;
}
.listing-hero-meta {
    display: flex;
    gap: 28px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    flex-wrap: wrap;
    font-weight: 500;
}
.listing-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }

.listing-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 28px 0 12px;
    transition: gap 0.2s, color 0.2s;
}
.listing-back:hover { gap: 14px; color: var(--accent-dark); }

.listing-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
    align-items: start;
    padding: 64px 0 24px;
}
.listing-description h2,
.listing-specs-section h2 {
    font-family: 'Geist', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin-bottom: 22px;
    color: var(--text);
}
.listing-description p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.listing-info-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 50px -30px rgba(15, 17, 21, 0.12);
}
.listing-info-price {
    font-family: 'Geist', sans-serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1.5px;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.05;
}
.listing-info-pricelabel {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
    margin-bottom: 22px;
}
.listing-info-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}
.listing-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.listing-info-row:last-child { border-bottom: none; }
.listing-info-label { color: var(--text-muted); }
.listing-info-value { font-weight: 600; color: var(--text); text-align: right; }
.listing-info-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.listing-info-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 22px;
    font-size: 14.5px;
    font-weight: 600;
}

/* ===== GALLERY — Airbnb-style hero + 2×2 thumbnails ===== */
.listing-gallery-section { padding: 32px 0 64px; }
.listing-gallery-section .section-title {
    font-family: 'Geist', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin-bottom: 28px;
}
.listing-gallery-wrap {
    position: relative;
}
.listing-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 520px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}
.listing-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    background: linear-gradient(135deg, #e8e0d3 0%, #d4c4a8 100%);
    text-decoration: none;
    color: inherit;
    display: block;
    /* Reset for <button> usage */
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    width: 100%;
    height: 100%;
}
.listing-gallery-item.is-hero {
    grid-row: span 2;
}
.listing-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.listing-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
    pointer-events: none;
}
.listing-gallery-item:hover::after { background: rgba(0, 0, 0, 0.10); }
.listing-gallery-item:hover img { transform: scale(1.03); }
.listing-gallery-item:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -3px;
}

/* "+N dalších" overlay on the last visible thumbnail */
.listing-gallery-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 21, 0.55);
    color: white;
    font-family: 'Geist', sans-serif;
    font-size: clamp(15px, 1.6vw, 20px);
    font-weight: 600;
    letter-spacing: -0.3px;
    pointer-events: none;
    transition: background 0.2s ease;
}
.listing-gallery-item:hover .listing-gallery-more { background: rgba(15, 17, 21, 0.65); }

/* "Zobrazit všech X fotek" button — floats over bottom-right */
.listing-gallery-showall {
    position: absolute;
    bottom: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--text);
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    z-index: 2;
}
.listing-gallery-showall:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}
.listing-gallery-showall:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Tablet: hero spans both columns at top, thumbs 2×2 below */
@media (max-width: 900px) {
    .listing-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 150px 150px;
        height: auto;
    }
    .listing-gallery-item.is-hero {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Mobile: hero full-width, then 2×2 grid */
@media (max-width: 500px) {
    .listing-gallery {
        grid-template-rows: 230px 110px 110px;
        gap: 4px;
        border-radius: var(--radius-sm);
    }
    .listing-gallery-showall {
        bottom: 12px;
        right: 12px;
        padding: 7px 12px;
        font-size: 12px;
    }
}

/* ===== LIGHTBOX — fullscreen photo viewer ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.lightbox.is-open {
    display: flex;
    opacity: 1;
    animation: lb-fade-in 0.2s ease;
}
@keyframes lb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.lightbox-stage {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    cursor: zoom-out;
    user-select: none;
    -webkit-user-drag: none;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.lightbox.is-open .lightbox-img {
    animation: lb-zoom-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes lb-zoom-in {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}
/* Brief fade-out while next image loads after nav */
.lightbox-img.is-loading {
    opacity: 0.3;
}
.lightbox-counter {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 2;
}
.lightbox-btn {
    position: absolute;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}
.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.36);
}
.lightbox-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}
.lightbox-btn[hidden] { display: none; }
.lightbox-close { top: 22px; right: 22px; font-size: 18px; }
.lightbox-close:hover { transform: scale(1.10); }
.lightbox-prev,
.lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-prev:hover,
.lightbox-next:hover { transform: translateY(-50%) scale(1.10); }

/* Thumbnail strip — anchored at bottom of the modal */
.lightbox-thumbs {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(90vw, 720px);
    display: flex;
    gap: 6px;
    padding: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
    z-index: 2;
}
.lightbox-thumbs::-webkit-scrollbar { height: 4px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }
.lightbox-thumb {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lightbox-thumb:hover { opacity: 0.85; }
.lightbox-thumb.is-active {
    opacity: 1;
    border-color: var(--accent);
}
.lightbox-thumb:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .lightbox-stage { max-height: 78vh; }
    .lightbox-img { max-height: 78vh; }
    .lightbox-btn { width: 40px; height: 40px; font-size: 20px; }
    .lightbox-close { top: 12px; right: 12px; font-size: 16px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-counter { top: 14px; font-size: 13px; }
    .lightbox-thumbs { bottom: 10px; max-width: 94vw; padding: 4px; gap: 4px; }
    .lightbox-thumb { width: 48px; height: 48px; }
}

/* ===== SPECS GRID ===== */
.listing-specs-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 72px 0;
}
.listing-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.listing-spec-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 22px 24px;
    text-align: left;
    transition: border-color 0.2s, transform 0.2s;
}
.listing-spec-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.listing-spec-icon {
    width: 38px; height: 38px;
    background: rgba(212, 165, 116, 0.12);
    color: var(--accent-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.listing-spec-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    margin-bottom: 4px;
}
.listing-spec-value {
    font-family: 'Geist', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.3px;
}

/* ===== LISTING CTA BLOCK ===== */
.listing-cta-block {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.listing-cta-block::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.18) 0%, transparent 65%);
    pointer-events: none;
}
.listing-cta-block .container { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.listing-cta-block .section-eyebrow { color: var(--accent); }
.listing-cta-block h2 {
    font-family: 'Geist', sans-serif;
    color: white;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600;
    letter-spacing: -1.2px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.listing-cta-block p {
    font-size: 17px;
    color: #b8b8b0;
    margin-bottom: 32px;
}
.listing-cta-block .btn-accent { padding: 14px 28px; font-size: 14.5px; font-weight: 600; }

/* ===== LISTINGS RESPONSIVE ===== */
@media (max-width: 1100px) {
    .listing-grid { grid-template-columns: repeat(2, 1fr); }
    .listing-specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .listing-grid { grid-template-columns: 1fr; }
    .listing-hero-content { padding: 60px 24px 40px; }
    .listing-detail-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 0 24px;
    }
    .listing-info-panel { position: static; }
    .listing-specs-section { padding: 56px 0; }
    .listing-specs-grid { gap: 14px; }
}
@media (max-width: 500px) {
    .listing-specs-grid { grid-template-columns: 1fr; }
}

/* ===== LISTINGS — CATEGORIZED ENHANCEMENTS ===== */

/* Status-tinted badges on listing cards */
.listing-card-badge.status-active   { color: #2d7a4a; }            /* green */
.listing-card-badge.status-reserved { color: #c97c2e; }            /* warm orange */
.listing-card-badge.status-closed   { color: var(--text-light); background: rgba(15,17,21,0.06); }

/* Rental info-panel: kauce / provize / dostupnost block below price */
.listing-info-rental-extras {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0 18px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
}
.listing-info-rental-extras > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    color: var(--text-muted);
}
.listing-info-rental-extras > div strong {
    font-weight: 600;
    color: var(--text);
}

/* Filter tabs (Vše / Pronájem / Prodej) under page-header */
.listings-tabs {
    display: inline-flex;
    gap: 0;
    margin-top: 24px;
    padding: 5px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
}
.listings-tabs a {
    padding: 8px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.18s;
}
.listings-tabs a:hover { color: var(--text); }
.listings-tabs a.active {
    background: var(--text);
    color: var(--bg);
}

/* Mobile spacing for tabs */
@media (max-width: 500px) {
    .listings-tabs { display: flex; width: 100%; }
    .listings-tabs a { flex: 1; text-align: center; padding: 8px 12px; font-size: 12.5px; }
}

/* ===== Category choice — big decision cards on /nabidka/ root ===== */
.category-choice {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    min-height: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(212, 165, 116, 0.14) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}
.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 22px 56px -24px rgba(15, 17, 21, 0.20);
}
.category-card:hover::after { opacity: 1; }

.category-card-icon {
    color: var(--accent-dark);
    margin-bottom: 28px;
    line-height: 0;
}
.category-card-icon svg {
    width: 48px;
    height: 48px;
}
.category-card-body { flex: 1; position: relative; z-index: 1; }
.category-card-eyebrow {
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 2px;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 14px;
}
.category-card-title {
    font-family: 'Geist', sans-serif;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1.4px;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.category-card-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 380px;
}
.category-card-meta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-dark);
}
.category-card-arrow {
    display: inline-block;
    transition: transform 0.22s ease;
}
.category-card:hover .category-card-arrow { transform: translateX(6px); }

/* Small label introducing the secondary filter tabs under the cards */
.listings-tabs-label {
    margin-top: 36px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 600;
}

@media (max-width: 700px) {
    .category-choice {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }
    .category-card {
        min-height: 220px;
        padding: 28px 24px;
    }
    .category-card-icon { margin-bottom: 20px; }
    .category-card-icon svg { width: 40px; height: 40px; }
    .category-card-meta { margin-top: 24px; padding-top: 18px; }
    .listings-tabs-label { margin-top: 28px; }
}

/* ===== INVESTOR LISTINGS (/investors) ===== */

/* Counter next to subtitle */
.listings-counter-row { margin-top: 18px; }
.listings-counter {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    background: rgba(212, 165, 116, 0.10);
    border: 1px solid rgba(212, 165, 116, 0.30);
    border-radius: 100px;
}

/* Slight visual distinction for the investor grid (vs nabidka) */
.listing-grid.investor-grid {
    grid-template-columns: repeat(2, 1fr);   /* fewer, bigger cards */
    gap: 32px;
}
@media (max-width: 900px) {
    .listing-grid.investor-grid { grid-template-columns: 1fr; }
}

/* Diagonal "REZERVOVÁNO" corner ribbon over a cover image (status=rezervovano) */
.listing-ribbon {
    position: absolute;
    top: 20px;
    left: -56px;
    z-index: 4;
    width: 200px;
    transform: rotate(-45deg);
    background: linear-gradient(180deg, #e23b2e 0%, #c0271b 100%);
    color: #fff;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 8px 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
    pointer-events: none;
}

/* Watermark overlay on cover when cover_is_visualization=true */
.listing-watermark {
    position: absolute;
    z-index: 3;
    background: rgba(0, 0, 0, 0.60);
    color: white;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 7px 14px;
    pointer-events: none;
}
/* Position on hero/thumbnail (gallery) — pinned to bottom-left */
.listing-gallery-item .listing-watermark {
    left: 10px;
    bottom: 10px;
    border-radius: 4px;
}
/* Position on landing card — bottom strip, full width feels too heavy */
.listing-watermark-card {
    left: 10px;
    bottom: 10px;
    border-radius: 4px;
    font-size: 10.5px;
    padding: 6px 10px;
}
/* Inside the lightbox the watermark sits on the photo itself */
.lightbox-stage .listing-watermark {
    left: 14px;
    bottom: 14px;
    border-radius: 4px;
}

/* ===== INVESTOR DETAIL PAGE ===== */

/* Top header (replaces the dark hero used by rent/sale detail) */
.listing-investor-header {
    padding: 40px 0 28px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.listing-investor-header .page-header-eyebrow { margin-bottom: 12px; }
.listing-investor-title {
    font-family: 'Geist', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -1.6px;
    margin-bottom: 14px;
}
.listing-investor-location {
    font-size: 16px;
    color: var(--text-muted);
}

/* State badge inside the info panel sidebar */
.listing-info-state-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 16px 0;
}
.listing-info-state-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(212, 165, 116, 0.15);
    color: var(--accent-dark);
    border: 1px solid rgba(212, 165, 116, 0.35);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlights bullet list */
.listing-highlights-section { padding: 16px 0 48px; }
.listing-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
    font-size: 15.5px;
    color: var(--text);
}
.listing-highlights li {
    padding-left: 26px;
    position: relative;
    line-height: 1.5;
}
.listing-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-dark);
    font-weight: 700;
}
@media (max-width: 700px) {
    .listing-highlights { grid-template-columns: 1fr; }
}

/* Investment-case dark box — Housio-mockup-style */
.listing-investment-case-section { padding: 16px 0 48px; }
.investment-case {
    background: var(--bg-dark);
    color: white;
    border-radius: var(--radius);
    padding: 32px 36px;
    margin: 20px 0 18px;
}
.investment-case-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    gap: 18px;
}
.investment-case-row:last-child { border-bottom: 0; }
.investment-case-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    flex: 1;
}
.investment-case-value {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}
.investment-case-row.is-highlight {
    padding-top: 22px;
    padding-bottom: 4px;
    border-bottom: 0;
    margin-top: 8px;
    border-top: 1px solid rgba(212, 165, 116, 0.40);
}
.investment-case-row.is-highlight .investment-case-label {
    color: rgba(255, 255, 255, 0.90);
    font-weight: 600;
}
.investment-case-row.is-highlight .investment-case-value {
    color: var(--accent);
    font-size: 26px;
    letter-spacing: -0.5px;
}
.investment-case-disclaimer {
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.55;
}
@media (max-width: 600px) {
    .investment-case { padding: 24px 22px; }
    .investment-case-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .investment-case-value { font-size: 16px; }
    .investment-case-row.is-highlight .investment-case-value { font-size: 22px; }
}

/* Investment intent — paragraphs + accent-bordered blockquote */
.listing-intent-section { padding: 16px 0 48px; }
.listing-intent-body p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 14px;
}
.listing-quote {
    margin: 24px 0 6px;
    padding: 18px 24px;
    border-left: 3px solid var(--accent-dark);
    background: rgba(212, 165, 116, 0.06);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
}

/* State-of-the-property prose */
.listing-state-section { padding: 16px 0 56px; }
.listing-state-body p {
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 14px;
}

/* Investor info panel — bigger price emphasis */
.listing-info-panel .listing-info-pricelabel { font-size: 12px; }
.listing-info-panel .listing-info-price {
    font-family: 'Geist', sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: -1px;
    color: var(--text);
}

/* Sticky CTA on mobile — only shown on investor detail pages */
.listing-detail-cta-sticky {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.listing-detail-cta-sticky-price {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: var(--text);
    flex: 1;
}
@media (max-width: 900px) {
    .listing-detail-cta-sticky {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .listing-detail-cta-sticky .btn {
        padding: 12px 18px;
        font-size: 14px;
        white-space: nowrap;
    }
    /* Avoid bottom content getting hidden under the sticky bar */
    body.has-sticky-cta { padding-bottom: 72px; }
}

/* Watermark inside the lightbox stage — sits on top of the photo */
.lightbox-watermark {
    left: 14px;
    bottom: 14px;
    border-radius: 4px;
    font-size: 11px;
    padding: 7px 14px;
}
.lightbox-watermark[hidden] { display: none; }
