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

html {
    scroll-behavior: smooth;
}

:root {
    --color-bg: #ffffff;
    --color-surface: #f8fafc;
    --color-surface-alt: #f1f5f9;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-border: #e2e8f0;
    --font-sans: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Outfit', var(--font-sans);
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 2.8rem;
    width: auto;
    display: block;
}

.logo-img--mobile {
    display: none;
}

@media (max-width: 640px) {
    .logo-img--desktop {
        display: none;
    }

    .logo-img--mobile {
        display: block;
    }
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-accent);
}

.nav a.nav-active {
    color: var(--color-accent);
}

.nav-phone {
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-phone:hover {
    background: var(--color-accent-hover);
}

.nav-phone-mobile {
    display: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-burger {
        display: flex;
    }

    .nav-phone-mobile {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 0.9rem;
        background: var(--color-accent);
        color: #fff !important;
        border-radius: var(--radius-sm);
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        transition: background 0.2s;
    }

    .nav-phone-mobile:hover {
        background: var(--color-accent-hover);
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 5rem 1.5rem 2rem;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 100;
        overflow-y: auto;
    }

    body.nav-open .nav {
        transform: translateX(0);
    }

    .nav a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
        font-size: 1rem;
    }

    .nav-phone {
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
    }

    body.nav-open .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

@media (max-width: 900px) {
    .nav-overlay {
        display: block;
    }
}

@media (min-width: 901px) {
    .nav-overlay {
        display: none !important;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: max(100vh, 560px);
    min-height: max(100dvh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem 4rem;
    margin-top: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/hero.webp') center 40% / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(30, 64, 175, 0.85) 0%,
        rgba(37, 99, 235, 0.7) 45%,
        rgba(59, 130, 246, 0.5) 100%
    );
    z-index: 1;
}

.hero-bg-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
    animation: heroFadeIn 0.8s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-claim {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5.8vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-claim em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

.hero-subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}


.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.2s;
    animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll:hover {
    color: #fff;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* Trust stats */
.trust-stats {
    padding: 3rem 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.trust-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

.trust-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.trust-stat-number {
    display: inline;
}

.trust-stat-suffix {
    display: inline;
}

.trust-stat-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.trust-stat--icon .trust-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.trust-stat--icon .trust-stat-icon svg {
    width: 2.25rem;
    height: 2.25rem;
}

.trust-stat--icon .trust-stat-label {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
}

@media (max-width: 640px) {
    .trust-stats-grid {
        gap: 1.5rem;
    }

    .trust-stat-value {
        font-size: 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section--alt {
    background: var(--color-surface-alt);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.section-subtitle--lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.process-step {
    flex: 1 1 200px;
    max-width: 240px;
    background: var(--color-surface);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.process-step:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.3);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.process-arrow {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .process-arrow {
        display: none;
    }
}

/* Property Types */
.property-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.property-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-surface);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: border-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.property-card--large {
    padding: 2rem;
}

.property-card--large .property-icon svg {
    width: 2.75rem;
    height: 2.75rem;
}

.property-card--large h3 {
    font-size: 1.25rem;
}

.property-card--large p {
    font-size: 1rem;
}

.property-card--accent {
    background: rgba(37, 99, 235, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
}

.property-card--accent:hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.08);
}

.property-card--accent h3 {
    color: var(--color-accent);
}

.property-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
}

.property-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.property-icon svg {
    width: 2.25rem;
    height: 2.25rem;
}

.property-card h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.property-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.property-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap 0.2s;
}

.property-card-more svg {
    flex-shrink: 0;
}

.property-card:hover .property-card-more {
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .property-types {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .property-card--large {
        grid-column: span 1;
    }

    .property-card--large:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .property-types {
        grid-template-columns: 1fr;
    }
}

.property-types-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Zástava callout */
.zastava-callout {
    scroll-margin-top: 80px;
    margin-top: 3.5rem;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(37, 99, 235, 0.02) 100%);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius);
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.zastava-callout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(37, 99, 235, 0.12);
    color: var(--color-accent);
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

.zastava-callout-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.zastava-callout-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.zastava-callout-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.zastava-callout-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.zastava-callout-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

.zastava-callout-link:hover {
    color: var(--color-accent-hover);
}

.zastava-callout-cta {
    display: inline-block;
}

@media (min-width: 640px) {
    .zastava-callout {
        padding: 3rem 2.5rem;
    }

    .zastava-callout-title {
        font-size: 1.5rem;
    }
}

/* Process timeline */
.process-section {
    background: linear-gradient(180deg, var(--color-surface-alt) 0%, #fff 100%);
}

.process-timeline {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-top: 2.5rem;
}

.process-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
}

.process-timeline-number {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.process-timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.process-timeline-step:hover .process-timeline-content {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.process-timeline-content h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.process-timeline-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.process-timeline-connector {
    width: 0.75rem;
    min-width: 0.75rem;
    flex-shrink: 0;
    align-self: center;
    border-top: 2px dashed rgba(37, 99, 235, 0.25);
    margin-top: -3.5rem;
}

@media (max-width: 1000px) {
    .process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .process-timeline-connector {
        width: 0;
        min-width: 0;
        height: 1.5rem;
        border-top: none;
        border-left: 2px dashed rgba(37, 99, 235, 0.3);
        margin: 0;
    }

    .process-timeline-step {
        max-width: 320px;
    }
}

/* Why Výkup domů 24 */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.why-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.why-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.why-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.why-card h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

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

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

/* Benefits */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.benefit {
    background: var(--color-surface);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.benefit:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.25);
}

.benefit-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.benefit p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.project-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--color-surface);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.project-card:hover {
    opacity: 1;
}

.project-card:hover .project-card-title {
    opacity: 1;
}

.project-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.9), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.project-card--sale .project-card-title em {
    display: block;
    font-size: 0.85em;
    color: #fcd34d;
    font-style: normal;
    margin-top: 0.2rem;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projects-cta {
    text-align: center;
    margin-top: 2rem;
}

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

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonial {
    background: var(--color-surface);
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-accent);
}

.testimonial-text {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.65;
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Contact Form */
.contact-options {
    text-align: center;
    margin: 2rem 0 0;
}

.contact-options p {
    margin-bottom: 0.5rem;
}

.contact-options p:last-child {
    margin-bottom: 0;
}

.contact-phone a,
.contact-email a {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-phone a:hover,
.contact-email a:hover {
    color: var(--color-accent-hover);
}

.contact-form-wrapper {
    position: relative;
    max-width: 480px;
    margin: 2rem auto 0;
}

.contact-form-wrapper.contact-form-disabled {
    pointer-events: none;
}

.contact-form-wrapper.contact-form-disabled .contact-form {
    opacity: 0.5;
    filter: grayscale(0.3);
}

.contact-form-overlay {
    display: none;
}

.contact-form-disabled .contact-form-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.9);
    border-radius: var(--radius);
    border: 1px dashed var(--color-border);
    z-index: 1;
}

.contact-form-overlay-text {
    padding: 1.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.contact-form {
    margin: 0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text);
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--color-surface-alt);
    color: var(--color-text-muted);
    padding: 2.5rem 1.5rem 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer-company {
    text-align: center;
}

.footer-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.footer-address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-address a,
.footer-id a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-address a:hover,
.footer-id a:hover {
    color: var(--color-accent);
}

.footer-id {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-bottom {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.85;
    text-align: center;
    padding: 1.25rem 1.5rem;
    margin: 0;
    border-top: 1px solid var(--color-border);
}

.footer-bottom a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: var(--color-accent);
}

@media (min-width: 641px) {
    .footer-inner {
        justify-content: flex-start;
    }

    .footer-company {
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 2rem;
    }

    .nav {
        gap: 1rem;
    }

    .nav a {
        font-size: 0.85rem;
    }

    .header .container {
        gap: 0.75rem;
    }

    .hero {
        min-height: max(100vh, 560px);
        min-height: max(100dvh, 560px);
        padding: 5rem 1rem 3rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-cta-group .btn {
        width: 100%;
        text-align: center;
    }

    .footer {
        padding: 2.5rem 1rem 0;
    }

    .footer-bottom {
        padding: 1.25rem 1rem;
    }
}

/* Projects page */
.page-main {
    padding-top: 60px;
}

.page-hero {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* 404 page */
.error-404 {
    padding: 5rem 0;
    text-align: center;
}

.error-404-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.15;
    margin-bottom: -1rem;
}

.error-404-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.error-404-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.project-item {
    scroll-margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--color-surface);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.project-item-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
}

.project-item-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
    pointer-events: none;
}

.project-item-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3rem;
    height: 3rem;
    margin: -1.5rem 0 0 -1.5rem;
    background: rgba(255, 255, 255, 0.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") center / 1.5rem no-repeat;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
    pointer-events: none;
}

.project-item-image:hover::before,
.project-item-image:hover::after {
    opacity: 1;
}

.project-item-image:hover::after {
    transform: scale(1);
}

.project-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-item-image:hover img {
    transform: scale(1.05);
}

.project-item-image--gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    aspect-ratio: 16 / 9;
}

.project-item-image--gallery-2 {
    grid-template-columns: repeat(2, 1fr);
}

.project-item-image--gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.project-status--sale {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.project-status--done {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.project-status--progress {
    background: rgba(37, 99, 235, 0.15);
    color: var(--color-accent);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.project-item-content {
    padding: 2rem;
}

.project-item-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.project-item-meta {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.project-item-price {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-top: 1rem;
}

.project-item-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .project-item-content {
        padding: 1.5rem;
    }
}

/* Project lightbox gallery */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox.is-open .lightbox-content {
    transform: scale(1);
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 95vw;
    max-height: 90vh;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 3;
    width: 3rem;
    height: 3rem;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    line-height: 1;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.lightbox-prev[hidden],
.lightbox-next[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .lightbox-prev {
        left: 0.5rem;
    }
    .lightbox-next {
        right: 0.5rem;
    }
}

/* Invest page */
.container--narrow {
    max-width: 680px;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-lead {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.page-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.page-content p:last-child {
    margin-bottom: 0;
}

.privacy-content {
    font-size: 1rem;
    line-height: 1.7;
}

.privacy-content h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
    color: var(--color-text-muted);
}

.privacy-content li {
    margin-bottom: 0.35rem;
}

.privacy-content a {
    color: var(--color-accent);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2rem 0;
}

.invest-intro {
    font-size: 1.1rem;
    line-height: 1.8;
}

.invest-heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.invest-lead {
    font-size: 1.15rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.invest-intro p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.invest-intro p:last-child {
    margin-bottom: 0;
}

.invest-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.invest-benefit {
    background: #fff;
    padding: 1.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.invest-benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.invest-benefit-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.invest-benefit-icon--svg {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.invest-benefit-icon--svg svg {
    width: 2.25rem;
    height: 2.25rem;
}

.invest-benefit h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.invest-benefit p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.invest-benefit strong {
    color: var(--color-accent);
}

.invest-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Page hero CTA */
.page-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Zástava page list */
.zastava-list {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.zastava-list li {
    margin-bottom: 0.5rem;
}

/* FAQ */
.faq-list {
    margin: 2rem 0 0;
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.5rem;
}

.faq-answer {
    margin: 0;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Invest preview (homepage) */
.invest-teaser {
    list-style: none;
    max-width: 400px;
    margin: 1.5rem auto 0;
    padding: 0;
    text-align: left;
}

.invest-teaser li {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.invest-teaser li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.invest-teaser strong {
    color: var(--color-text);
}

.invest-preview-cta {
    text-align: center;
    margin-top: 2rem;
}

/* About section */
.about-content {
    max-width: 680px;
    margin: 0 auto;
}

.about-text p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .nav-phone {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* Cookie bar */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--color-bg);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
    padding: 1.25rem 0;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.cookie-bar.cookie-bar--hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cookie-bar-content {
    flex: 1;
    min-width: 0;
}

.cookie-bar-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.25rem 0;
}

.cookie-bar-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-bar-text a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-bar-text a:hover {
    color: var(--color-accent-hover);
}

.cookie-bar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-bar-btn {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .cookie-bar {
        padding: 1rem 0;
    }

    .cookie-bar-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-bar-actions {
        justify-content: center;
    }
}
