:root {
    --color-dark: #111215;
    --color-muted: #5c6069;
    --color-primary: #be1522;
    --color-secondary: #f5f6f7;
    --color-border: #e2e4e8;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --container: min(1340px, 92vw);
    --header-height: 80px;
    --hero-padding: 16px;
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fbfbfc;
    color: var(--color-dark);
    line-height: 1.6;
    padding-top: var(--header-height);
    overflow-x: hidden;
}

html.nav-open,
body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: var(--container);
    margin: 0 auto;
    padding: 0 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eyebrow {
    color: var(--color-muted);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 400;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.4rem;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.02);
}

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

.btn--ghost {
    border-color: var(--color-border);
    color: var(--color-dark);
    background: var(--color-secondary);
}

.btn--ghost:hover{
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.04);
    transform: none;
}

.section {
    padding: 5rem 0;
}

.section--muted {
    background: var(--color-secondary);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__header h2 {
    font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem);
    margin: 0;
}

.section--services .section__header,
#nemovitosti .section__header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
    align-items: flex-start;
}

.section--services .section__header .muted,
#nemovitosti .section__header .muted {
    text-align: left;
    margin: 0;
}

.muted {
    color: var(--color-muted);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 4000;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 14px !important;
}

.brand img {
    width: 100%;
}

.brand small {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
}

.nav-close {
    display: none;
}

.site-nav a {
    color: var(--color-muted);
    font-weight: 500;
}

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

.mobile-nav__footer {
    display: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    padding: 0.4rem 0.5rem;
    background: transparent;
    border: none;
    border-radius: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: relative;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--color-dark);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
    padding: var(--hero-padding) 0;
    display: flex;
    align-items: stretch;
}

.hero > .container {
    height: 100%;
}

.hero__inner {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(2rem, 1.5rem + 1vw, 3rem);
    align-items: center;
    align-content: center;
    background: radial-gradient(circle at top left, rgba(190, 21, 34, 0.1), #f4f4f8 55%);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 1.5rem + 1vw, 2.5rem) clamp(2rem, 1.5rem + 1vw, 2.5rem) 0 clamp(2rem, 1.5rem + 1vw, 2.5rem);
}

.hero__content {
    display: grid;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
}


.hero h1 {
    font-size: clamp(2.8rem, 2.2rem + 2vw, 4.2rem);
    margin: 0;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-dark);
}

.hero__text {
    margin: 0;
    color: #3c3f46;
}

.hero__visual {
    position: relative;
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero__visual img {
    width: 100%;
    height: 70%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: calc(var(--radius-xl) - 12px);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__stats {
    display: none !important;
}

.hero__social {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-muted);
}

.hero__social-links {
    display: flex;
    gap: 0.5rem;
}

.hero__social-links a {
        width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--color-dark);
    border: 1px solid var(--color-border);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero__stats-item strong {
    font-size: 2rem;
    display: block;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
    margin: 0;
    padding: 0 10px;
}

    .hero {
        min-height: auto;
        padding: 3.25rem 0 2.25rem;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        padding: clamp(1.5rem, 4vw, 2rem);
    }

    .hero__visual {
        order: -1;
        width: 100%;
        justify-content: flex-start;
    }

    .hero__visual img {
        width: 100%;
        max-height: none;
        height: auto;
    }
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stats-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.02);
}

.stats-card strong {
    font-size: 2.25rem;
}

/* Services */
.section--services .service-list {
    margin-top: 2rem;
}

.snap-slider {
    z-index: 1;
    position: relative;
    cursor: grab;
}

.snap-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 340px);
    gap: 1rem;
    overflow-x: auto;
    padding: 0.25rem;
    scroll-snap-type: none;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
    scrollbar-width: none;
}

.snap-track::-webkit-scrollbar {
    display: none;
}

.snap-slide {
    scroll-snap-align: none;
}

.snap-track.is-dragging {
    cursor: grabbing;
}

.snap-track.is-dragging *,
.snap-slider.is-dragging * {
    user-select: none;
    -webkit-user-select: none;
}

.service-slider .snap-track {
    grid-auto-columns: minmax(260px, 320px);
}

@media (min-width: 900px) {
    .service-slider .snap-track {
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        overflow: visible;
        scroll-snap-type: none;
        gap: 1.25rem;
        padding: 0;
    }

    .service-slider .snap-slide {
        scroll-snap-align: unset;
        width: auto;
    }
}

@media (max-width: 768px) {
    .snap-track {
        grid-auto-columns: minmax(77vw, 1fr);
    }
}

.section--services .service-card {
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(190,21,34,0.18), rgba(255,255,255,0)) border-box;
    border: 1px solid transparent;
    padding: 1rem;
    border-radius: 32px;
        display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 210px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.section--services .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.02);
}

.section--services .service-card h4 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--color-dark);
}

.section--services .service-card p {
    margin: 0;
    color: #5c6069;
}

.section--services .service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    padding: 0.65rem;
    background: rgba(190, 21, 34, 0.08);
    object-fit: contain;
}

/* Projects teaser / video */
.projects-teaser {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.projects-teaser__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.projects-teaser__media video,
.projects-teaser__media img {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .projects-teaser {
        display: flex;
        flex-direction: column;
    }

    .projects-teaser__media {
        order: -1;
    }
}

/* Properties */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.property-card {
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(190, 21, 34, 0.18), rgba(255, 255, 255, 0)) border-box;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.02);
}

.property-card__media {
    margin: 0;
    position: relative;
    aspect-ratio: 5 / 3;
    overflow: hidden;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-card__media img {
    transform: scale(1.04);
}

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.02);
}

.property-badge.is-active,
.property-badge.is-rent { background: #2f9d5d; }
.property-badge.is-reserved { background: #f5a623; }
.property-badge.is-rented { background: #3a68d8; }
.property-badge.is-sold { background: #d04545; }

.property-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    flex: 1;
    width: 100%;
}

.property-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.property-card__actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.property-card__price {
    margin: 0;
    font-size: 1rem;
    color: var(--color-muted);
    letter-spacing: 0.02em;
}

.property-card__title {
    margin: 0;
    font-size: 1.35rem;
}

.property-card__address {
    margin: 0;
    color: #5c6069;
    font-size: 0.95rem;
}

.property-card__body .btn {
    align-self: flex-start;
    background: transparent;
}

.property-slider {
    margin-top: 2rem;
    position: relative;
}

.property-slider .snap-track {
    align-items: stretch;
    grid-auto-columns: minmax(300px, 360px);
}

.property-card--slider {
    height: auto;
}

.slider-controls {
    display: none;
}

.property-slider .slider-controls {
    position: absolute;
    top: -56px;
    right: 0;
    margin-top: 0;
}

.testimonial-slider .slider-controls {
    margin-top: 1.5rem;
}

.slider-button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.slider-button:hover {
    background: #f5f6f7;
    transform: translateY(-1px);
}

.slider-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

@media (hover: none) {
    .btn:hover,
    .btn--ghost:hover,
    .site-nav a:hover {
        transform: none;
        box-shadow: none;
        background: inherit;
    }

    .section--services .service-card:hover,
    .property-card:hover,
    .project-card:hover {
        transform: none;
        box-shadow: none;
    }

    .property-card:hover .property-card__media img,
    .project-card:hover .project-card__media img {
        transform: none;
    }

    .slider-button:hover {
        background: inherit;
        transform: none;
        box-shadow: none;
    }
}

/* Testimonials */
.testimonial-slider .snap-track {
    grid-auto-columns: minmax(340px, 460px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(190, 21, 34, 0.18), rgba(255, 255, 255, 0)) border-box;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
}

.testimonial-card__title {
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.testimonial-card__star {
    width: 20px;
    height: 20px;
    fill: #f6c344;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
}

.testimonial-card__text {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.testimonial-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #f0f0f0;
    background: #fff;
    flex-shrink: 0;
}

.testimonial-card__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-muted);
    background: #f7f8fa;
    font-size: 1.1rem;
}

.testimonial-card__name {
    font-weight: 500;
    font-size: .8rem;
    margin: 0;
}

/* Contact */
/* Contact */
.contact-section {
    position: relative;
    padding: clamp(4rem, 6vw, 5.5rem) 0;
    overflow: visible;
}

.contact-section::after {
    content: "";
    position: absolute;
    inset: -60% -150% 0% 60%;
    background: linear-gradient(140deg, rgba(190, 21, 34, 0.1), rgba(190, 21, 34, 0.04));
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
    pointer-events: none;
}

.contact-layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: clamp(480px, 56vw, 620px);
    padding: clamp(0.5rem, 2vw, 1.75rem);
}

.contact-form-card {
        position: relative;
    z-index: 2;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(190, 21, 34, 0.18), rgba(255, 255, 255, 0)) border-box;
    border: 1px solid transparent;
    padding: 1rem;
    border-radius: 28px;
    padding: clamp(1.9rem, 2.6vw, 2.6rem);
    width: min(560px, 48vw);
    margin: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.contact-form-card h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(2rem, 1.4rem + 1vw, 2.4rem);
    text-align: center;
}

.contact-form-card .contact-lead {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
    text-align: center;
    line-height: 1.5;
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

.contact-form label {
    display: grid;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 0.78rem 0.95rem;
    font: inherit;
    background: #f7f8fb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.95rem;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-alert {
    margin: 0 0 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.contact-alert--success {
    background: rgba(47, 157, 93, 0.12);
    color: #1c6b3d;
}

.contact-alert--error {
    background: rgba(208, 69, 69, 0.12);
    color: #8f2b2b;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a5a9b3;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(190, 21, 34, 0.35);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(190, 21, 34, 0.08);
}

.contact-form__actions {
    display: flex;
    flex-direction: column;
    margin-top: 0.3rem;
}

.contact-form__actions .btn--primary {
    width: 100%;
    justify-content: center;
    background: var(--color-primary);
}

.contact-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.contact-visual__image,
.contact-visual > img {
    position: relative;
    width: min(880px, 100%);
    aspect-ratio: 16 / 9;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.contact-visual__image img,
.contact-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
.site-footer {
    background: #0f0f11;
    color: #f4f4f5;
    padding: 3.5rem 0 1.5rem;
    position: relative;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.site-footer a {
    color: #d1d5db;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.footer-social a {
    display: block;
}

.site-footer .contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #a3a6ad;
}

.footer-meta__links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.footer-meta__links a {
    color: inherit;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .contact-layout {
        display: grid;
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 0;
    }

    .contact-form-card {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0 auto;
        max-width: 640px;
    }

    .contact-visual {
        order: -1;
        justify-content: center;
    }

    .contact-section::after {
        inset: -18% -250% -32% 34%;
    }
}

@media (max-width: 640px) {
    .section--services .section__header,
#nemovitosti .section__header {
    margin: 0;
}

    .section--services .section__header .muted,
#nemovitosti .section__header .muted {
    margin: 0;
    
}

    .contact-section {
        padding: 3.5rem 0;
    }

    .contact-form-card {
        padding: 1.75rem 1.35rem 1.9rem;
        border-radius: 0 0 28px 28px;
    }

    .contact-visual__image {
        border-radius: 28px 28px 0 0;
    }
}

.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.02);
    display: none;
    z-index: 12;
}

.scroll-top.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.property-card--slider {
    height: 450px;
}

@media (max-width: 640px) {
    .section__header h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Property detail */
.property-hero {
    padding: 1rem 0 3rem;
    background: radial-gradient(circle at 20% 20%, rgba(190, 21, 34, 0.06), transparent 32%), linear-gradient(135deg, rgba(17, 18, 21, 0.03), transparent 40%);
}

.property-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: var(--color-dark);
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #fff;
}

.property-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.property-hero__info {
    display: grid;
    gap: 1.25rem;
}

.property-address {
    color: var(--color-muted);
    font-weight: 500;
}

.page-property h1 {
    margin-bottom: 0;
}

.property-hero__price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.property-hero__price-card {
    background: transparent;
    border: none;
    padding: 0;
    min-width: 180px;
    box-shadow: none;
    display: grid;
    gap: 0.2rem;
}

.property-hero__price-card small {
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.property-hero__price-card strong {
    font-size: clamp(2.1rem, 1.6rem + 1.4vw, 2.6rem);
}

.property-hero__cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.property-spec {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 1.15rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.03);
}

.property-spec strong {
    display: block;
    font-size: 1.1rem;
    margin-top: 0.3rem;
}

.property-hero__visual {
    height: 100%;
    display: grid;
    gap: 1rem;
    align-items: start;
    justify-items: center;
}

.property-hero__image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #f7f8f9;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.08);
    aspect-ratio: 4 / 3;
}

.property-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-hero__note {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.04);
}

.property-hero__note p {
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.property-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.property-hero__chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.property-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 2rem;
}

.property-aside {
    position: relative;
}

.content-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.2rem;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.05);
}

.content-card__header {
    margin-bottom: 1.25rem;
}

.content-card__header h2,
.content-card__header h3 {
    margin: 0.35rem 0 0;
}

.content-card--sticky {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.richtext p {
    margin: 0 0 1rem;
}

.data-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.data-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.data-list__row dt {
    font-weight: 600;
}

.data-list__row dd {
    margin: 0;
    text-align: right;
    color: var(--color-dark);
    font-weight: 600;
}

.aside-cta {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}

.aside-cta__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.property-gallery {
    margin-top: 1rem;
}

.property-gallery--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.property-gallery__item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f7f8f9;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
    margin:0;
}

.property-gallery__link {
    border: none;
    padding: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: block;
}

.property-gallery__item img,
.property-gallery__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: transform 0.35s ease;
}

.property-gallery__item:hover img {
    transform: scale(1.02);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 1.5rem;
}

.lightbox.is-open {
    display: flex;
}

.lightbox__inner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
}

.lightbox__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
    background: #0d0d0f;
}

.lightbox__caption {
    margin-top: 0.5rem;
    color: #f3f4f6;
    text-align: center;
    font-weight: 600;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close {
    top: -56px;
    right: 0;
    transform: none;
}

.lightbox__prev {
    left: -62px;
}

.lightbox__next {
    right: -62px;
}

.lightbox__prev:hover,
.lightbox__next:hover,
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.lightbox__close:hover {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .lightbox {
        padding: 1rem;
    }
    .lightbox__prev {
        left: 8px;
    }
    .lightbox__next {
        right: 8px;
    }
    .lightbox__close {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 960px) {
    .property-hero {
        padding: 4rem 0 2.5rem;
    }

    .property-detail__grid {
        grid-template-columns: 1fr;
    }

    .content-card--sticky {
        position: static;
    }

    .property-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-hero__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .property-hero {
        padding: 2rem 0 2.5rem;
    }
    .property-hero__price-row {
        flex-direction: column;
        align-items: start;
    }

    .property-hero__cta {
        width: 100%;
    }

    .property-hero__cta .btn {
        width: 100%;
        justify-content: center;
    }
    .content-card {
    padding: 1.3rem;
}

}

.section__header--left {
    text-align: left;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.section__header--left h2 {
    margin-bottom: 0.5rem;
}

/* Developerské projekty page */
.projects-hero {
    padding: 5rem 0 3rem;
}

.projects-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .projects-hero__grid {
        display: flex;
        flex-direction: column;
    }

    .projects-hero__grid .projects-teaser__media {
        order: -1;
    }
}

.project-card {
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(0deg, rgba(190, 21, 34, 0.08), rgba(255, 255, 255, 0)) border-box;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.06);
}

.project-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f6f7;
    overflow: hidden;
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card__media img {
    transform: scale(1.04);
}

.project-card__body {
    padding: 1.4rem;
    display: grid;
    gap: 0.75rem;
    flex: 1;
}

.project-card__body h3 {
    margin: 0;
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.project-card__body p {
    margin: 0;
}

.project-card__actions {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
}

.project-card__actions .btn {
    padding: 0.75rem 1.2rem;
}

.project-slider .snap-track {
    align-items: stretch;
    grid-auto-columns: minmax(300px, 380px);
}

.project-slider {
    position: relative;
}

@media (min-width: 900px) {
    .project-slider .slider-controls {
        display: inline-flex;
        gap: 0.5rem;
        position: absolute;
        top: -64px;
        right: 0;
    }

    .project-slider .slider-button {
        background: var(--color-dark);
        color: #fff;
        border-color: var(--color-dark);
        box-shadow: 0 12px 28px rgba(17, 18, 21, 0.14);
    }

    .project-slider .slider-button:hover {
        background: #000;
        color: #fff;
    }

    .project-slider .slider-button:disabled {
        opacity: 0.4;
    }
}

.projects-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

.contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    display: grid;
    gap: 0.35rem;
}

.contact-card p {
    margin: 0;
}

.contact-card a {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .hero__inner {
        padding: 1.25rem 1rem 0;
        gap: 1.25rem;
    }

    .hero h1 {
        line-height: 1.15;
        font-size: clamp(1.9rem, 1.6rem + 1vw, 2.6rem);
    }

    .hero__content {
        gap: 0.75rem;
        padding-bottom: 1rem;
    }

    .hero__visual img {
        height: auto;
        max-height: none;
    }

    .hero__stats {
        margin-top: 0.25rem;
    }

    .hero__text {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero__stats-item strong {
        font-size: 1.5rem;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        color: var(--color-dark);
        padding: 96px 22px 28px;
        gap: 0.35rem;
        opacity: 0;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 5000;
        overflow-y: auto;
        min-height: 100vh;
        height: 100vh;
    }

    .site-nav a {
        display: block;
        padding: 1rem 0.25rem;
        color: var(--color-dark);
        font-weight: 700;
        letter-spacing: 0.02em;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .site-nav a:last-child {
        border-bottom: 0;
    }

    .nav-close {
        display: inline-flex;
        position: absolute;
        top: 24px;
        right: 18px;
        background: transparent;
        border: none;
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--color-dark);
        cursor: pointer;
        padding: 0.35rem;
        line-height: 1;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }


    .site-header__actions .btn {
        display: none;
    }

    .mobile-nav__footer {
        margin-top: 0;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        display: block;
    }

    .mobile-nav__footer .btn {
        width: 100%;
        justify-content: center;
        color: #fff;
    }

    .slider-controls {
        position: static;
        justify-content: flex-end;
        margin-top: 1rem;
    }

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


    .hero__text {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .hero__stats-item strong {
        font-size: 1.35rem;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 0.75rem;
    }

    .footer-meta {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .property-card__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* View Toggles */
.view-desktop {
    display: block;
}

.view-mobile {
    display: none;
}

@media (max-width: 768px) {
    .view-desktop {
        display: none;
    }
    .view-mobile {
        display: block;
    }
    
    /* Hide slider arrows on mobile as requested */
    .view-mobile .slider-controls {
        display: none;
    }

    .hide-mobile {
        display: none !important;
    }
}

/* Page Hero */
.page-hero {
    padding: 6rem 0 3rem;
    background: var(--color-secondary);
}

.page-hero__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero h1 {
    margin: 0.5rem 0 1rem;
}

/* Properties All Grid */
.properties-all-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .properties-all-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* CTA Card */
.cta-card {
    background: var(--color-dark);
    color: #fff;
    padding: 4rem 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
}

.cta-card__content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-card h2 {
    color: #fff;
    margin: 0.5rem 0 1rem;
}

.cta-card .eyebrow {
    color: rgba(255, 255, 255, 0.7);
}

.cta-card p {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .cta-card {
        padding: 3rem 2rem;
    }
    
    .page-hero {
        padding: 4rem 0 2rem;
    }
}
