/* MYNARO REALITY – homepage (samostatná stránka, vlastní branding) */
/* barvy, fonty a obecné styly (:root, body) viz /css/style.css */

.reality-page {
    overflow-x: hidden;
}

html:has(.reality-page) {
    scroll-behavior: smooth;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0;
}

.section-link {
    color: var(--mynaro-text-muted);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.section-link:hover {
    color: var(--mynaro-gold);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--mynaro-gold);
    color: var(--mynaro-dark);
    border: none;
    border-radius: var(--btn-radius);
    padding: .65rem 1.5rem;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-gold:hover {
    opacity: .85;
    color: var(--mynaro-dark);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--mynaro-dark);
    color: #fff;
    border: none;
    border-radius: var(--btn-radius);
    padding: .75rem 1.5rem;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s;
}

.btn-dark:hover {
    opacity: .85;
    color: #fff;
}

.link-gold {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    color: var(--mynaro-gold);
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
}

.link-gold:hover {
    color: var(--mynaro-dark);
}

/* ---------- header ---------- */

.reality-header {
    background: var(--mynaro-dark);
    color: #fff;
}

@media (max-width: 991.98px) {
    /* "justify-content: space-between" na wrapovanem flex kontejneru dela
       divne mezery, kdyz je na radku jen jedna polozka (tlacitko konzultace
       samo pod logem) - na mobilu radeji explicitni flex-start a margin. */
    .reality-header .container {
        justify-content: flex-start;
    }

    .reality-header .btn-gold {
        margin-top: .75rem;
    }

    .header-toggler {
        margin-left: auto;
    }
}

.reality-logo {
    text-decoration: none;
    line-height: 1.05;
}

.reality-logo-img {
    height: 64px;
    width: auto;
    filter: brightness(0) invert(1);
}

.reality-nav .nav-link {
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
    padding: .5rem .9rem;
    transition: color .2s;
}

.reality-nav .nav-link:hover,
.reality-nav .nav-link.active {
    color: var(--mynaro-gold);
}

.header-toggler {
    background: none;
    border: none;
    color: #fff;
    line-height: 0;
    padding: .25rem;
}

.header-toggler svg {
    width: 24px;
    height: 24px;
}

.reality-nav-collapse {
    width: 100%;
}

@media (min-width: 992px) {
    .reality-nav-collapse {
        width: auto;
    }
}

/* ---------- hero ---------- */

.hero-reality {
    position: relative;
    overflow: hidden;
    background: var(--mynaro-dark);
    color: #fff;
    padding-top: 3rem;
}

.hero-photo-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        var(--mynaro-dark) 0%,
        rgba(22, 20, 15, .88) 28%,
        rgba(22, 20, 15, .45) 52%,
        rgba(22, 20, 15, .1) 72%,
        rgba(22, 20, 15, 0) 90%
    );
}

.hero-content-reality {
    position: relative;
    z-index: 2;
    min-height: 540px;
    display: flex;
    align-items: center;
}

.hero-content-reality > .row {
    width: 100%;
}

.hero-title-reality {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.1rem;
}

.hero-title-reality .text-gold {
    color: var(--mynaro-gold);
}

.hero-lead-reality {
    color: rgba(255, 255, 255, .8);
    font-size: 1rem;
    max-width: 420px;
}

.hero-signature {
    position: absolute;
    top: 2.5rem;
    right: 2rem;
    z-index: 2;
    text-align: right;
    max-width: 220px;
}

.hero-signature-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--mynaro-gold);
    margin-bottom: .5rem;
    line-height: 1.2;
}

.hero-signature-role {
    font-size: .8rem;
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .hero-signature {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-reality {
        padding-top: 0;
    }

    .hero-photo-wrap {
        position: static;
        width: 100%;
    }

    .hero-photo {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-overlay {
        display: none;
    }

    .hero-content-reality {
        min-height: 0;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
}

.hero-features {
    position: relative;
    z-index: 3;
    margin-top: -2.5rem;
    padding-bottom: 2.5rem;
}

.hero-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    padding: 1.25rem;
    height: 100%;
    width: 100%;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: box-shadow .2s;
}

.hero-feature-card:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
}

.hero-feature-card svg {
    width: 34px;
    height: 34px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.hero-feature-card-body {
    display: block;
}

.hero-feature-card-title {
    display: block;
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .25rem;
    color: var(--mynaro-text);
}

.hero-feature-card-text {
    display: block;
    font-size: .85rem;
    color: var(--mynaro-text-muted);
    margin: 0;
}

/* ---------- nabídka nemovitostí ---------- */

.listings-section {
    padding: 4rem 0 4.5rem;
}

.listings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.listings-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2rem;
}

.listings-filters .form-select {
    border-radius: var(--btn-radius);
    border-color: rgba(0, 0, 0, .15);
    font-size: .88rem;
    padding: .6rem 2.5rem .6rem .9rem;
}

.listings-filters .btn-dark {
    margin-left: auto;
}

@media (min-width: 768px) {
    .filter-select-typ {
        max-width: 200px;
    }

    .filter-select-obec,
    .filter-select-okres {
        max-width: 180px;
    }

    .filter-select-druh {
        max-width: 160px;
    }
}

@media (max-width: 767.98px) {
    .listings-filters {
        flex-direction: column;
        align-items: stretch;
        gap: .6rem;
    }

    .listings-filters .form-select,
    .listings-filters .btn-dark {
        max-width: none;
        width: 100%;
        justify-content: center;
    }

    .listings-filters .btn-dark {
        margin-left: 0;
    }
}

.listings-track {
    display: flex;
    align-items: center;
    gap: .75rem;
}

@media (min-width: 992px) {
    .listings-track {
        position: relative;
    }

    .listings-track .listings-scroller {
        width: 100%;
    }

    .listings-track .listings-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

    .listings-track #propertiesPrev {
        left: -52px;
    }

    .listings-track #propertiesNext {
        right: -52px;
    }
}

.listings-scroller {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .25rem 0;
    cursor: grab;
}

.listings-scroller::-webkit-scrollbar {
    display: none;
}

.listings-scroller.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.listings-scroller.is-dragging .property-card {
    pointer-events: none;
}

.listings-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mynaro-text);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .2s, color .2s;
}

.listings-nav:hover {
    background: var(--mynaro-gold);
    color: var(--mynaro-dark);
    border-color: var(--mynaro-gold);
}

.listings-nav svg {
    width: 16px;
    height: 16px;
}

.listings-dots {
    gap: .4rem;
    margin-top: 1.5rem;
}

.listings-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .2);
    display: inline-block;
}

.listings-dots span.active {
    background: var(--mynaro-gold);
    width: 18px;
    border-radius: 3px;
}

.property-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 270px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
}

.property-photo-wrap {
    position: relative;
}

.property-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.property-badge {
    position: absolute;
    top: .85rem;
    left: .85rem;
    padding: .3rem .7rem;
    border-radius: 5px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.property-badge.badge-new {
    background: var(--mynaro-gold);
    color: var(--mynaro-dark);
}

.property-badge.badge-reserved {
    background: var(--mynaro-dark);
    color: #fff;
}

.property-body {
    padding: 1.1rem 1.25rem 1.4rem;
}

.property-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: .3rem;
    min-height: calc(1.3em * 2);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.property-location {
    font-size: .85rem;
    color: var(--mynaro-text-muted);
    margin-bottom: .5rem;
}

.property-specs {
    font-size: .8rem;
    color: var(--mynaro-text-muted);
    margin-bottom: .75rem;
}

.property-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--mynaro-text);
}

/* ---------- video dlaždice ---------- */

.video-tiles-section {
    padding: 0 0 4.5rem;
}

.video-tile {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.video-tile-thumb {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: .9rem;
    background: var(--mynaro-dark);
}

.video-tile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-tile-thumb iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.video-tile-thumb.is-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mynaro-gold);
}

.video-tile-thumb.is-icon svg {
    width: 40px;
    height: 40px;
}

.video-tile-thumb .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(20, 18, 14, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color .2s;
}

.video-tile:hover .play-btn {
    background: var(--mynaro-gold);
    border-color: var(--mynaro-gold);
    color: var(--mynaro-dark);
}

.video-tile-thumb .play-btn svg {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

.video-tile-title {
    display: block;
    font-weight: 700;
    font-size: .92rem;
    color: var(--mynaro-text);
    transition: color .2s;
}

.video-tile:hover .video-tile-title {
    color: var(--mynaro-gold);
}

/* ---------- partneři (slider) ---------- */

.title-divider {
    color: var(--mynaro-text);
}

.title-divider .line {
    width: 44px;
    height: 1px;
    background: var(--mynaro-gold);
    display: inline-block;
}

.title-divider h2 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .18em;
    margin: 0;
}

.reference-track {
    position: relative;
}

.reference-scroller {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .25rem 0;
    cursor: grab;
}

.reference-scroller::-webkit-scrollbar {
    display: none;
}

.reference-scroller.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.reference-scroller.is-dragging .reference-logo {
    pointer-events: none;
}

.reference-logo {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 200px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.25rem;
}

.reference-logo-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.reference-logo-caption {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mynaro-text-muted);
}

.reference-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, .15);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mynaro-text);
    cursor: pointer;
    transition: background-color .2s, color .2s;
}

.reference-nav:hover {
    background: var(--mynaro-gold);
    color: var(--mynaro-dark);
    border-color: var(--mynaro-gold);
}

.reference-nav svg {
    width: 16px;
    height: 16px;
}

.reference-dots {
    gap: .4rem;
}

.reference-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .2);
    display: inline-block;
}

.reference-dots span.active {
    background: var(--mynaro-gold);
    width: 18px;
    border-radius: 3px;
}

/* ---------- tmavý 3sloupec ---------- */

.dark-row-section {
    padding: 0 0 4.5rem;
}

.dark-col-card {
    background: var(--mynaro-dark);
    color: #fff;
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
}

.dark-col-card h2 {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .4rem;
}

.dark-col-card > p {
    font-size: .88rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 1.25rem;
}

.club-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.club-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .88rem;
    margin-bottom: .7rem;
}

.club-list svg {
    width: 18px;
    height: 18px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
    margin-top: .1rem;
}

.perks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem 1rem;
}

.perks-grid div {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    font-weight: 600;
}

.perks-grid svg {
    width: 22px;
    height: 22px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.club-tile {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.75rem 1.5rem;
}

.club-tile-link {
    align-self: flex-start;
    margin-top: auto;
    gap: .4rem;
}

.life-tile {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.75rem 1.5rem;
}

.life-tile .perks-grid {
    margin-bottom: 1.25rem;
}

.life-tile-link {
    align-self: flex-start;
    margin-top: auto;
    gap: .4rem;
}

.expert-tile {
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.75rem 1.5rem;
}

.expert-tile h2 .text-gold {
    color: var(--mynaro-gold);
}

.expert-tile > p.expert-tile-subtitle {
    color: #fff;
    font-size: .92rem;
    margin: .3rem 0 1.25rem;
}

.expert-perks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0 0 1.5rem;
}

.expert-perks div {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 600;
}

.expert-perks svg {
    width: 22px;
    height: 22px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.expert-tile-link {
    align-self: flex-start;
    margin-top: auto;
    gap: .4rem;
}

/* ---------- inzeráty a partneři ---------- */

.partners-row-section {
    padding: 0 0 4.5rem;
}

/* ---------- proč si vybrat ---------- */

.why-section {
    padding: 0 0 4.5rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}

.why-item svg {
    width: 30px;
    height: 30px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.why-item h3 {
    font-size: .88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .2rem;
}

.why-item p {
    font-size: .82rem;
    color: var(--mynaro-text-muted);
    margin: 0;
}

/* ---------- CTA banner ---------- */

.cta-banner-section {
    background: var(--mynaro-dark);
    color: #fff;
}

.cta-banner-photo {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    display: block;
}

.cta-banner-video-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 260px;
    padding: 2.5rem 1.5rem;
}

.cta-banner-video {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    border: none;
    display: block;
}

.cta-banner-content {
    padding: 3rem 2.5rem;
}

.cta-banner-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: .5rem;
}

.cta-banner-text {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 1.5rem;
}

.cta-banner-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cta-banner-contacts a {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}

.cta-banner-contacts a:hover {
    color: var(--mynaro-gold);
}

.cta-banner-contacts svg {
    width: 18px;
    height: 18px;
    color: var(--mynaro-gold);
}

/* ---------- footer ---------- */

.reality-footer {
    background: var(--mynaro-dark);
    color: rgba(255, 255, 255, .65);
    padding: 3.5rem 0;
    font-size: .9rem;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    margin-bottom: .9rem;
    filter: brightness(0) invert(1);
}

.footer-credit {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
}

.footer-credit-logo {
    height: 18px;
    width: auto;
    opacity: .9;
}

.reality-footer h6 {
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer-tagline {
    color: var(--mynaro-gold);
    font-style: italic;
    font-size: .9rem;
    opacity: .8;
}

.reality-footer a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
}

.reality-footer a:hover {
    color: var(--mynaro-gold);
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .8rem;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: .5rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mynaro-gold);
    opacity: 1;
    transition: opacity .2s;
}

.footer-social a:hover {
    opacity: .7;
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

/* ---------- kontaktní formulář (modal) ---------- */

.modal-backdrop.show {
    opacity: 1;
    background-color: rgba(22, 20, 15, .55);
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
    .modal-backdrop.show {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.contact-modal-content {
    background: #fff;
    border: none;
    border-radius: 18px;
    padding: 1.75rem 1.75rem .75rem;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}

.contact-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--mynaro-text);
    margin: 0;
}

.contact-modal-subtitle {
    color: var(--mynaro-text-muted);
    font-size: .92rem;
}

.contact-optional {
    color: var(--mynaro-text-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

#contactForm .form-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--mynaro-text);
    margin-bottom: .4rem;
}

#contactForm .form-control {
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: var(--btn-radius);
    padding: .65rem .9rem;
    font-size: .92rem;
}

#contactForm .form-control:focus {
    border-color: var(--mynaro-gold);
    box-shadow: 0 0 0 .2rem rgba(201, 164, 102, .25);
}

#contactForm .btn-gold {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.obchod-type-group {
    display: flex;
    gap: .5rem;
}

.obchod-type-option {
    flex: 1;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.obchod-type-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.obchod-type-option span {
    display: block;
    text-align: center;
    padding: .6rem .5rem;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: var(--btn-radius);
    font-size: .85rem;
    font-weight: 700;
    color: var(--mynaro-text);
    transition: background-color .2s, border-color .2s, color .2s;
}

.obchod-type-option input:checked + span {
    background: var(--mynaro-gold);
    border-color: var(--mynaro-gold);
    color: var(--mynaro-dark);
}

.obchod-type-option input:focus-visible + span {
    outline: 2px solid var(--mynaro-gold);
    outline-offset: 2px;
}

.contact-form-banner-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-banner-icon svg {
    width: 18px;
    height: 18px;
}

.contact-modal-result {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .5rem 0 1.5rem;
}

.contact-modal-result-text {
    margin: 0;
    font-size: .98rem;
    font-weight: 600;
    color: var(--mynaro-dark);
}

.contact-modal-result-success .contact-form-banner-icon {
    background: var(--mynaro-gold);
    color: var(--mynaro-dark);
}

.contact-modal-result-error .contact-form-banner-icon {
    background: #d9534f;
    color: #fff;
}

@media (max-width: 767.98px) {
    .cta-banner-content {
        padding: 2.5rem 1.5rem;
    }
}

/* ---------- stránka: nabídka nemovitostí (přehled) ---------- */

.page-header-reality {
    background: var(--mynaro-dark);
    color: #fff;
    padding: 2.5rem 0 2rem;
}

.page-breadcrumb {
    font-size: .82rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: .6rem;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: var(--mynaro-gold);
}

.page-title-reality {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0;
}

.page-subtitle-reality {
    color: rgba(255, 255, 255, .7);
    margin: .4rem 0 0;
    font-size: .92rem;
    max-width: 560px;
}

.listing-grid-section {
    padding: 3rem 0 4.5rem;
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.listing-count {
    font-size: .88rem;
    color: var(--mynaro-text-muted);
}

.listing-count strong {
    color: var(--mynaro-text);
}

.listing-sort {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    color: var(--mynaro-text-muted);
}

.listing-sort .form-select {
    border-radius: var(--btn-radius);
    font-size: .85rem;
    padding: .5rem 2.25rem .5rem .85rem;
    width: auto;
    min-width: 160px;
}

.property-grid .property-card {
    width: 100%;
}

.property-card {
    transition: box-shadow .2s;
}

a.property-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.property-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-price {
    margin-top: auto;
}

a.property-card:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, .13);
}

.property-badge.is-static {
    position: static;
    display: inline-block;
    align-self: flex-start;
}

.pagination-reality {
    gap: .4rem;
    margin-top: 3rem;
}

.pagination-reality .page-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .12);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    color: var(--mynaro-text);
    text-decoration: none;
    transition: border-color .2s, color .2s, background-color .2s;
}

.pagination-reality .page-btn:hover {
    border-color: var(--mynaro-gold);
    color: var(--mynaro-gold);
}

.pagination-reality .page-btn.active {
    background: var(--mynaro-dark);
    color: #fff;
    border-color: var(--mynaro-dark);
}

.pagination-reality .page-btn.is-arrow {
    color: var(--mynaro-text-muted);
}

.pagination-reality .page-btn svg {
    width: 16px;
    height: 16px;
}

.pagination-reality .page-btn.disabled {
    opacity: .35;
    pointer-events: none;
}

.pagination-reality .page-btn.is-ellipsis {
    border: none;
    background: none;
    color: var(--mynaro-text-muted);
}

.property-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mynaro-dark);
    color: var(--mynaro-gold);
}

.property-photo-empty svg {
    width: 30%;
    height: 30%;
}

/* ---------- stránka: detail nemovitosti ---------- */

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--mynaro-text-muted);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.detail-back-link:hover {
    color: var(--mynaro-gold);
}

.detail-back-link svg {
    width: 16px;
    height: 16px;
}

.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: .6rem;
    border-radius: 14px;
    overflow: hidden;
}

/* Bez pevné výšky by se galerie řídila přirozeným poměrem stran fotky - u
   fotky na výšku by tak byla nepřiměřeně vysoká a nadpis nemovitosti by se
   vešel až pod scroll. Fixní výška + object-fit: cover na obrázcích řeší
   oboje najednou (výška i ořez fotek na výšku).
   grid-template-rows: minmax(0, 1fr) je nutný (ne jen "1fr") - grid řádek
   má defaultně skrytou implicitní minimální výšku "auto" odvozenou od
   obsahu, takže by se u vysoké fotky na výšku sám "nafoukl" přes 520px a
   height: 100% na dětech by se pak řídilo touhle nafouknutou výškou misto
   deklarovaných 520px (ořez pak vypadal, že vůbec neproběhl / táhne nahoru).
   minmax(0, 1fr) tu implicitní minimální výšku shodí na 0 a řádek se
   skutečně drží 520px. Ze stejného důvodu min-height: 0 i na
   .detail-gallery-main/-side. Na mobilu necháváme jednodušší poměr stran
   (viz media query níž). */
@media (min-width: 768px) {
    .detail-gallery {
        height: 520px;
        grid-template-rows: minmax(0, 1fr);
    }
}

.detail-gallery-main {
    height: 100%;
    min-height: 0;
}

.detail-gallery-main img,
.detail-gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.detail-gallery-side {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: .6rem;
    height: 100%;
    min-height: 0;
}

.detail-gallery-single {
    grid-template-columns: 1fr;
}

.detail-gallery-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: var(--mynaro-dark);
    color: var(--mynaro-gold);
}

.detail-gallery-empty svg {
    width: 15%;
    height: 15%;
}

.gallery-photo-link {
    display: block;
    height: 100%;
    min-height: 0;
    position: relative;
    cursor: zoom-in;
}

.gallery-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 15, .6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.05rem;
    text-align: center;
}

/* ---------- lightbox (fotogalerie nemovitosti) ---------- */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 9, 8, .95);
    align-items: center;
    justify-content: center;
}

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

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, .22);
}

.lightbox-close svg,
.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 1.25rem;
}

.lightbox-next {
    right: 1.25rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .lightbox-image {
        max-width: 94vw;
        max-height: 78vh;
    }

    .lightbox-close,
    .lightbox-nav {
        width: 38px;
        height: 38px;
    }

    .lightbox-prev {
        left: .5rem;
    }

    .lightbox-next {
        right: .5rem;
    }
}

@media (max-width: 767.98px) {
    .detail-gallery {
        grid-template-columns: 1fr;
    }

    .detail-gallery-side {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
    }

    .detail-gallery-main img {
        aspect-ratio: 4 / 3;
    }

    .detail-gallery-side img {
        aspect-ratio: 4 / 3;
    }
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.75rem 0 1.25rem;
}

.detail-title {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 800;
    margin-bottom: .35rem;
}

.detail-location {
    color: var(--mynaro-text-muted);
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.detail-location svg {
    width: 16px;
    height: 16px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.detail-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--mynaro-text);
    white-space: nowrap;
}

.detail-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, .08);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    margin-bottom: 1.75rem;
}

.detail-spec {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.detail-spec svg {
    width: 22px;
    height: 22px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.detail-spec span {
    display: block;
    font-size: .75rem;
    color: var(--mynaro-text-muted);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.detail-spec strong {
    display: block;
    font-size: .95rem;
    font-weight: 800;
}

.detail-description {
    font-size: .95rem;
    line-height: 1.7;
    color: var(--mynaro-text);
    margin-bottom: 2rem;
}

.detail-video-section {
    padding-top: 1.5rem;
}

.detail-video-section .article-video {
    margin-top: 0;
}

.detail-description h2 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .9rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .9rem 1rem;
}

@media (min-width: 576px) {
    .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 600;
}

.amenity-item svg {
    width: 20px;
    height: 20px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.detail-map-placeholder {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.detail-map-placeholder img {
    width: 100%;
    display: block;
}

.detail-map-placeholder iframe {
    width: 100%;
    height: 360px;
    display: block;
    border: 0;
}

.agent-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .09);
    padding: 1.75rem;
    position: sticky;
    top: 1.5rem;
}

.agent-card-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 1rem;
}

.agent-card-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mynaro-dark);
    color: var(--mynaro-gold);
}

.agent-card-photo-empty svg {
    width: 55%;
    height: 55%;
}

.agent-card-name {
    font-weight: 800;
    font-size: 1.05rem;
}

.agent-card-role {
    color: var(--mynaro-text-muted);
    font-size: .82rem;
    margin-bottom: 1.1rem;
}

.agent-card .btn-gold {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom: .5rem;
}

.agent-card-contacts {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.agent-card-contacts a {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--mynaro-text);
    text-decoration: none;
}

.agent-card-contacts a:hover {
    color: var(--mynaro-gold);
}

.agent-card-contacts svg {
    width: 16px;
    height: 16px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.similar-section {
    padding: 0 0 4.5rem;
}

/* ---------- stránka: kontakty (firemní údaje + mapa) ---------- */

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

.contact-info-heading {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--mynaro-text);
    margin-bottom: 1.75rem;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-list svg {
    width: 26px;
    height: 26px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
    margin-top: .1rem;
}

.contact-info-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--mynaro-text);
}

.contact-info-list p {
    color: var(--mynaro-text-muted);
    font-size: .92rem;
}

.contact-info-list > li > a {
    color: var(--mynaro-text);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

.contact-info-list > li > a:hover {
    color: var(--mynaro-gold);
}

.contact-map-wrap {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    height: 100%;
    min-height: 320px;
}

.contact-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

/* ---------- stránka: kontakty (tým) ---------- */

.team-section {
    padding: 3rem 0 4.5rem;
}

.team-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
}

.team-card-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    margin: 0 auto 1.1rem;
    display: block;
    border: 3px solid var(--mynaro-gold);
}

.team-card-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mynaro-dark);
    color: var(--mynaro-gold);
}

.team-card-photo-empty svg {
    width: 50%;
    height: 50%;
}

.team-card-name {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: .2rem;
}

.team-card-role {
    font-size: .82rem;
    color: var(--mynaro-text-muted);
    margin-bottom: 1.1rem;
}

.team-card-contacts {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.team-card-contacts a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .88rem;
    font-weight: 600;
    color: var(--mynaro-text);
    text-decoration: none;
}

.team-card-contacts a:hover {
    color: var(--mynaro-gold);
}

.team-card-contacts svg {
    width: 16px;
    height: 16px;
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

/* ---------- statický text / článek ---------- */

.hero-media {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    padding: 6rem 0 3.5rem;
}

.hero-media.hero-no-photo {
    background: var(--mynaro-dark);
    min-height: 0;
    padding: 4.5rem 0 3.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .hero-media {
        display: block;
        min-height: 0;
        background: var(--mynaro-dark);
        padding: 0 0 2.5rem;
    }

    .hero-content {
        padding-top: 2rem;
    }
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1.15;
    text-transform: uppercase;
    margin: .5rem 0 1.25rem;
}

.hero-title .text-gold {
    color: var(--mynaro-gold);
}

.article-hero {
    min-height: 440px;
}

@media (max-width: 767.98px) {
    .article-hero {
        min-height: 0;
    }
}

.article-section {
    padding: 4rem 0 5rem;
}

.article-back {
    display: inline-block;
    color: var(--mynaro-text-muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

.article-back:hover {
    color: var(--mynaro-gold);
}

.article-body {
    max-width: 740px;
    margin: 2rem auto 0;
    color: var(--mynaro-text);
}

.article-body p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--mynaro-text);
    margin-bottom: 1.4rem;
}

.article-body h2 {
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 2.75rem 0 1.1rem;
}

.article-image {
    display: block;
    width: 100%;
    border-radius: 14px;
    margin: 2.25rem 0;
}

.article-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    margin: 2.25rem 0;
    background: var(--mynaro-dark);
}

.article-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.article-feature-list {
    list-style: none;
    margin: 1.5rem 0 2.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.article-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.article-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mynaro-dark);
    color: var(--mynaro-gold);
    flex-shrink: 0;
}

.article-feature-icon svg {
    width: 20px;
    height: 20px;
}

.article-feature-title {
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: .3rem;
}

.article-feature-text {
    font-size: .92rem;
    line-height: 1.7;
    color: var(--mynaro-text-muted);
    margin: 0;
}

.article-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 2rem 0 2.75rem;
    scroll-margin-top: 2rem;
}
