/* ============================================================
   MORAVSKÁ REALITNÍ - veřejný web
   Paleta dle realitnimoravska.cz:
   zelená #1fa03d, tmavá #26292e, bílá hlavička, šedá #f4f5f7
   ============================================================ */
:root {
    --green: #1fa03d;        /* hlavní zelená (logo, tlačítka, ceny) */
    --green-2: #178431;      /* tmavší zelená (hover) */
    --green-light: #e7f6ec;  /* světle zelené pozadí */
    --dark: #26292e;         /* tmavé plochy (hero pruh, patička) */
    --dark-2: #33373d;
    --gray: #f4f5f7;
    --gray-band: #6d7278;    /* šedý pruh (drobečková navigace) */
    --text: #2d3237;
    --muted: #6b7280;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.7 'Montserrat', system-ui, sans-serif; color: var(--text); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
a { color: var(--green-2); }
img { max-width: 100%; }
h1 { font-size: 36px; line-height: 1.2; font-weight: 800; color: var(--text); }
h2 { font-size: 28px; margin-top: 44px; font-weight: 800; }
h3 { font-weight: 700; }
.accent { color: var(--green); }
.center { text-align: center; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- horní lišta ---------- */
.topstrip { background: #fff; color: var(--muted); font-size: 13px; border-bottom: 1px solid #ececf0; }
.topstrip .wrap { display: flex; justify-content: space-between; gap: 12px; padding: 6px 20px; flex-wrap: wrap; }
.topstrip a { color: var(--green); text-decoration: none; margin-left: 18px; font-weight: 700; }

/* ---------- hlavička (bílá jako na současném webu) ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; padding: 10px 20px; max-width: 1320px; flex-wrap: nowrap; }
.logo { color: var(--green-2); text-decoration: none; font-size: 22px; font-weight: 800; letter-spacing: .5px; line-height: 1.1; flex-shrink: 0; }
.logo span { color: var(--green); }
.logo small { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.logo-img img { height: 46px; width: auto; display: block; }
.main-nav { display: flex; gap: 18px; align-items: center; flex-wrap: nowrap; margin-left: auto; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.main-nav a:hover { color: var(--green); }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 300px; border-radius: 0 0 10px 10px; box-shadow: 0 12px 30px rgba(0,0,0,.16); padding: 8px 0; }
.dropdown.open .dropdown-menu { display: block; }
/* najetí myší otevírá podmenu jen na zařízeních s myší - na dotykových
   displejích by "přilepený" hover bránil zavření klepnutím */
@media (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-menu { display: block; }
}
.dropdown-menu a { display: block; color: var(--text); padding: 9px 18px; font-weight: 500; }
.dropdown-menu a:hover { background: var(--green-light); color: var(--green-2); }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }
/* hamburger naskočí dřív, aby se menu nikdy nezalamovalo do dvou řádků */
@media (max-width: 1180px) {
    /* mobil: logo vlevo, pak Chci prodat, hamburger úplně vpravo */
    .header-cta { order: 2; margin-left: auto; padding: 9px 14px; font-size: 14px; }
    .nav-toggle { display: block; order: 3; margin-left: 10px; }
    /* když je CTA skryté, hamburger se zarovná doprava sám */
    .site-header .wrap:has(.header-cta.hide-mobile) .nav-toggle { margin-left: auto; }
    .main-nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 14px; }
    body.nav-open .main-nav { display: flex; }
    /* větší rozestupy položek menu na telefonu */
    .main-nav > a, .main-nav .dropdown > a { display: block; padding: 13px 6px; font-size: 16px; border-bottom: 1px solid #eef0f3; }
    .main-nav .dropdown-menu a { padding: 11px 18px; font-size: 15px; }
    .site-header .wrap { flex-wrap: wrap; gap: 0 4px; }
    .dropdown-menu { position: static; box-shadow: none; background: transparent; padding-left: 16px; }
    .dropdown-menu a { color: var(--muted); white-space: normal; }
}

/* ---------- tlačítka (zelená jako na webu) ---------- */
.btn { display: inline-block; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; padding: 12px 28px; border-radius: 8px; border: 0; cursor: pointer; font-size: 15.5px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-2); transform: translateY(-1px); color: #fff; }
.btn.big { font-size: 18px; padding: 16px 36px; }
.btn.secondary { background: var(--dark); color: #fff; }
.btn.secondary:hover { background: var(--dark-2); }
form button { background: var(--green); color: #fff; font-weight: 700; border: 0; border-radius: 8px; padding: 13px 30px; cursor: pointer; font: inherit; font-weight: 700; }
form button:hover { background: var(--green-2); }

/* ---------- hero slider (tmavý s bílým textem) ---------- */
.hero-slider { position: relative; height: 560px; overflow: hidden; background: var(--dark); }
.slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .8s; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide-bg { position: absolute; inset: -6%; background-size: cover; background-position: center; }
/* filmový nájezd (Ken Burns) - fotka se pomalu přibližuje a posouvá */
.slide.kenburns .slide-bg { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.16) translate(-2.5%, -1.5%); }
}
.slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,14,.82) 0%, rgba(10,12,14,.5) 55%, rgba(10,12,14,.2) 100%); }
.slide-content { position: relative; z-index: 2; color: #fff; width: 100%; }
.slide-content h1 { font-size: 46px; margin: 0 0 10px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.slide-content p { font-size: 20px; color: #e8eaec; margin: 0 0 26px; max-width: 560px; }
.slider-dots { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; z-index: 3; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; margin: 0 5px; cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--green); border-color: var(--green); }
@media (max-width: 700px) {
    .hero-slider { height: 440px !important; }
    .slide-content h1 { font-size: 30px; }
    .slide-content p { font-size: 16px; }
}
.hero-badge { display: inline-block; background: rgba(31,160,61,.2); border: 1px solid var(--green); color: #7ee29a; font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; letter-spacing: .5px; }

/* ---------- rytmus sekcí (větší odskoky) ---------- */
main > .wrap { margin-top: 88px; margin-bottom: 88px; }
main > .wrap + .wrap { margin-top: 0; }
main > .page-hero + .wrap { margin-top: 56px; }

/* ---------- intro + ocenění ---------- */
.intro { padding-top: 10px; }
.awards { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 26px; }
.awards img { max-height: 120px; width: auto; }

/* ---------- benefity ---------- */
.alt { background: var(--gray); padding: 76px 0 88px; margin: 88px 0; }
.benefit-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 26px; }
.benefit { background: #fff; border-radius: 12px; padding: 22px 24px; box-shadow: 0 2px 8px rgba(0,0,0,.06); border-top: 3px solid var(--green); }
.benefit h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.benefit p { margin: 0; font-size: 14.5px; color: var(--muted); }
.b-icon { font-size: 30px; display: block; margin-bottom: 10px; }

/* ---------- nemovitosti ---------- */
.props { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; margin-top: 24px; }
.prop-card { display: block; text-decoration: none; color: var(--text); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.1); transition: transform .15s, box-shadow .15s; }
.prop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.prop-img { position: relative; }
.prop-img img, .prop-img .noimg { width: 100%; height: 220px; object-fit: cover; background: linear-gradient(135deg, #dde1e8, #c8cdd6); display: block; }
.prop-tag { position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 6px; text-transform: uppercase; letter-spacing: .5px; }
.prop-body { padding: 16px 18px 20px; }
.prop-body h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--text); }
.prop-body .loc { color: var(--muted); font-size: 13.5px; margin: 0 0 6px; }
.prop-body .meta { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.price { font-weight: 800; color: var(--green); font-size: 19px; margin: 0; }
.price.big { font-size: 28px; }

/* ---------- hlídací pes ---------- */
.watchdog-box { background: var(--green-light); border: 1px solid #bfe6cb; border-radius: 14px; padding: 26px 30px; margin-top: 56px; }
.watchdog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 12px 0; }
.watchdog-grid input, .watchdog-grid select { padding: 11px 13px; border: 1px solid #c8cdd6; border-radius: 8px; font: inherit; margin: 0; width: 100%; }
.watchdog-grid button { margin: 0; }

/* ---------- mapa nabídky ---------- */
.listing-map { height: 560px; border-radius: 14px; margin-top: 10px; box-shadow: 0 3px 14px rgba(0,0,0,.12); z-index: 1; }

/* ---------- prodané nemovitosti ---------- */
.sold-ribbon { background: rgba(31, 160, 61, .92); }

/* ---------- hypoteční kalkulačka ---------- */
.mortgage-box { background: var(--gray); border-radius: 12px; padding: 18px 20px; margin: 28px 0 22px; }
.mortgage-result { font-size: 17px; margin: 4px 0 14px; }
.mortgage-result strong { color: var(--green-2); font-size: 22px; }
.mort-row { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.mort-row input[type=range] { width: 100%; accent-color: var(--green); }

/* ---------- TOP inzeráty ---------- */
.top-badge { position: absolute; top: 12px; right: 12px; background: #ffb800; color: #3a2c00; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 6px; letter-spacing: 1px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }

/* ---------- rezervované nemovitosti ---------- */
.reserved-ribbon { position: absolute; top: 50%; left: -10%; right: -10%; transform: translateY(-50%) rotate(-8deg); background: rgba(185, 28, 28, .9); color: #fff; text-align: center; font-weight: 800; font-size: 18px; letter-spacing: 4px; padding: 9px 0; text-shadow: 0 1px 4px rgba(0,0,0,.35); pointer-events: none; }

/* ---------- dokumenty ke stažení ---------- */
.doc-list { list-style: none; padding: 0; margin: 10px 0 0; }
.doc-list li { margin-bottom: 8px; }
.doc-list a { display: inline-block; background: var(--gray); border: 1px solid #dde1e8; border-radius: 8px; padding: 9px 16px; text-decoration: none; font-weight: 600; color: var(--text); }
.doc-list a:hover { border-color: var(--green); color: var(--green-2); }

/* ---------- filtr výpisu ---------- */
.filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; background: var(--gray); padding: 16px; border-radius: 12px; }
.filter select, .filter input { padding: 11px 13px; border: 1px solid #c8cdd6; border-radius: 8px; font: inherit; font-size: 14.5px; }

/* ---------- detail ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 22px 0; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: opacity .15s; }
.gallery img:hover { opacity: .88; }
.gallery img:first-child { grid-column: 1 / -1; height: 440px; }
/* mobil: menší náhledy, 3 vedle sebe */
@media (max-width: 700px) {
    .gallery { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .gallery img { height: 100px; border-radius: 8px; }
    .gallery img:first-child { height: 230px; }
}

/* ---------- lightbox (zvětšení fotek) ---------- */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(10,12,14,.94); z-index: 200; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lb-close, .lb-prev, .lb-next { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: background .15s; z-index: 201; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--green); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); font-size: 36px; }
.lb-counter { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: #c9cdd3; font-weight: 600; font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; margin-top: 12px; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }
.params { width: 100%; border-collapse: collapse; background: var(--gray); border-radius: 10px; overflow: hidden; }
.params th, .params td { text-align: left; padding: 9px 14px; border-bottom: 1px solid #e4e7ec; font-size: 14.5px; }
.params th { color: var(--muted); font-weight: 600; width: 45%; }
.badge { display: inline-block; background: var(--green); color: #fff; font-weight: 800; padding: 5px 16px; border-radius: 6px; }
.badge.sold { background: #b91c1c; color: #fff; }

/* ---------- vložené prohlídky (YouTube / Matterport) ---------- */
.tour-embed { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; box-shadow: 0 3px 14px rgba(0,0,0,.12); border: 0; margin: 6px 0 10px; }

/* ---------- vysouvací lišta sdílení (levý okraj) ---------- */
.share-dock { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; align-items: center; }
.share-panel { display: flex; flex-direction: column; gap: 6px; background: #fff; padding: 12px 10px; border-radius: 0 12px 12px 0; box-shadow: 4px 0 18px rgba(0,0,0,.18); margin-left: -170px; transition: margin-left .3s ease; }
.share-dock.open .share-panel, .share-dock:hover .share-panel { margin-left: 0; }
.share-handle { writing-mode: vertical-rl; text-orientation: mixed; background: var(--green); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border: 0; border-radius: 0 8px 8px 0; padding: 16px 7px; cursor: pointer; order: 2; box-shadow: 4px 0 14px rgba(0,0,0,.15); font-family: inherit; }
.share-handle:hover { background: var(--green-2); }
.share-btn { display: block; width: 150px; text-align: center; padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; color: #fff; border: 0; cursor: pointer; font-family: inherit; transition: opacity .15s; }
.share-btn:hover { opacity: .85; }
.share-fb { background: #1877f2; }
.share-x { background: #14171a; }
.share-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-wa { background: #25d366; }
.share-mail { background: var(--muted); }
.share-copy { background: var(--gray); color: var(--text); border: 1px solid #c8cdd6; }
@media (max-width: 700px) {
    .share-panel { margin-left: -170px; }
    .share-dock:hover .share-panel { margin-left: -170px; }
    .share-dock.open .share-panel { margin-left: 0; }
}

.share-qr { background: var(--navy); color: #fff; }

/* ---------- QR kód inzerátu ---------- */
.qr-box { display: none; position: relative; background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.15); padding: 22px; text-align: center; max-width: 320px; margin: 18px 0; }
.qr-box.open { display: inline-block; }
.qr-box img { display: block; margin: 8px auto; }
.qr-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--muted); }

/* ---------- plovoucí rychlý kontakt ---------- */
.float-contact { position: fixed; right: 16px; bottom: 16px; z-index: 95; display: flex; flex-direction: column; gap: 10px; }
.fc-btn { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: 15px; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.fc-phone { background: var(--green); }
.fc-wa { background: #25d366; }
.fc-icon { font-size: 18px; }
@media (max-width: 640px) {
    .fc-label { display: none; }
    .fc-btn { padding: 14px; }
    .fc-icon { font-size: 22px; }
}

/* ---------- recenzní formulář ---------- */
.review-form { background: var(--green-light); border-radius: 14px; padding: 26px 30px; margin-top: 50px; }

/* ---------- vizitka makléře v detailu ---------- */
.agent-card { display: flex; gap: 16px; align-items: center; background: var(--green-light); border-left: 4px solid var(--green); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.agent-photo { width: 84px; height: 84px; object-fit: cover; object-position: top center; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); flex-shrink: 0; }
.agent-card strong { display: block; font-size: 16.5px; color: var(--text); }
.agent-card .agent-role { display: block; color: var(--green-2); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.agent-card a { display: block; text-decoration: none; font-weight: 600; font-size: 14.5px; margin-top: 2px; color: var(--text); }
.agent-card a:hover { color: var(--green-2); }
.agent-more { display: block; text-align: center; font-size: 14px; padding: 11px 18px; }

/* ---------- kickery a nadpisy sekcí ---------- */
.kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 12.5px; font-weight: 700; color: var(--green); margin: 0 0 4px; }
.kicker.center { text-align: center; }
.section-title { margin-top: 6px; position: relative; padding-bottom: 14px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--green); border-radius: 2px; }
.section-title.center::after, .center.section-title::after { left: 50%; transform: translateX(-50%); }

/* ---------- hlavička podstránek (šedý pruh jako na webu) ---------- */
.page-hero { background: var(--gray-band); color: #fff; padding: 40px 0 34px; }
.page-hero h1 { margin: 0; font-size: 34px; color: #fff; }
.page-hero .kicker { color: #c9f5d6; }
.page-hero-sub { color: #e3e5e8; margin: 8px 0 0; font-size: 17px; }

/* ---------- tým / makléři ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; margin: 26px 0 34px; }
.team-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 3px 14px rgba(0,0,0,.1); text-decoration: none; color: var(--text); transition: transform .15s, box-shadow .15s; display: block; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.team-card img { width: 100%; height: 300px; object-fit: cover; object-position: top center; display: block; }
.team-noimg { width: 100%; height: 300px; display: flex; align-items: center; justify-content: center; font-size: 72px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--green), var(--green-2)); }
.team-body { padding: 16px 20px 20px; border-top: 3px solid var(--green); }
.team-body h3 { margin: 0 0 2px; font-size: 18px; color: var(--text); }
.team-role { color: var(--green-2); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 10px; }
.team-body p { margin: 4px 0; font-size: 14.5px; }
.team-body a { text-decoration: none; font-weight: 600; }
.team-desc { color: var(--muted); font-size: 13.5px; }

/* ---------- profil makléře ---------- */
.agent-profile { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
@media (max-width: 760px) { .agent-profile { grid-template-columns: 1fr; } }
.agent-profile-photo { width: 100%; max-width: 320px; height: 380px; object-fit: cover; object-position: top center; border-radius: 14px; box-shadow: 0 6px 22px rgba(0,0,0,.15); }
.agent-profile-contacts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.agent-profile-contacts .btn { font-size: 15px; }

/* ---------- firemní box a mapa ---------- */
.company-box { background: var(--gray); border-left: 4px solid var(--green); border-radius: 10px; padding: 22px 26px; margin: 10px 0 40px; }
.company-box h2 { margin-top: 0; font-size: 20px; }
.map-section { margin: 20px 0 0; line-height: 0; }
.map-section iframe { filter: grayscale(20%); }

/* ---------- statistiky (tmavý pruh, zelená čísla) ---------- */
.stats-band { background: linear-gradient(120deg, var(--dark), var(--dark-2)); color: #fff; padding: 76px 0 68px; margin: 88px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.stat .num { display: block; font-size: 52px; font-weight: 800; color: var(--green); line-height: 1.1; }
.stat .lbl { color: #c9cdd3; font-size: 15px; }

/* ---------- reference ---------- */
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; margin-top: 24px; }
blockquote { background: #fff; border-left: 4px solid var(--green); margin: 0; padding: 18px 20px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.08); font-size: 14.5px; }
blockquote footer { color: var(--muted); margin-top: 10px; font-weight: 700; font-size: 13.5px; }

/* ---------- drobečková navigace ---------- */
.breadcrumbs { background: var(--gray); font-size: 13.5px; border-bottom: 1px solid #e8eaef; }
.breadcrumbs .wrap { padding: 9px 20px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--green-2); }
.bc-sep { color: #b6bcc5; margin: 0 8px; }
.bc-current { color: var(--text); font-weight: 600; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 10px; }
.post-card { display: block; background: #fff; border-radius: 14px; padding: 24px 26px; box-shadow: 0 3px 14px rgba(0,0,0,.1); text-decoration: none; color: var(--text); border-top: 3px solid var(--green); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
.post-card time { color: var(--muted); font-size: 13px; font-weight: 600; }
.post-card h2 { font-size: 19px; margin: 8px 0 10px; color: var(--text); }
.post-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.read-more { color: var(--green-2); font-weight: 700; font-size: 14px; }
.post-perex { font-size: 17.5px; color: var(--muted); }
.post-cta { background: var(--green-light); border-left: 4px solid var(--green); border-radius: 12px; padding: 22px 26px; margin-top: 40px; }
.post-cta h2 { margin-top: 0; font-size: 20px; }
.post-cta .btn { margin-right: 10px; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 10px; display: grid; gap: 10px; }
.faq-item { background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.07); border-left: 4px solid var(--green); }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 20px; list-style: none; position: relative; padding-right: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--green); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- podobné nemovitosti ---------- */
.related { margin-top: 56px; }

/* ---------- kroky prodeje (Chci prodat) ---------- */
.sale-steps { list-style: none; counter-reset: step; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.sale-steps li { counter-increment: step; background: #fff; border-radius: 12px; padding: 18px 20px 18px 74px; box-shadow: 0 2px 10px rgba(0,0,0,.07); position: relative; }
.sale-steps li::before { content: counter(step); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.sale-steps li strong { display: block; color: var(--text); margin-bottom: 2px; }
.sale-steps li span { color: var(--muted); font-size: 14.5px; }

/* ---------- videa (reference / ukázky práce) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 26px; }
.video-grid iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; box-shadow: 0 3px 14px rgba(0,0,0,.12); }

/* ---------- portály ---------- */
.portals { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.portal-chip { background: #fff; border: 1px solid #dde1e8; border-radius: 999px; padding: 9px 22px; font-weight: 700; font-size: 14.5px; color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.05); }

/* ---------- online odhad ceny ---------- */
.estimator-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-top: 26px; align-items: start; }
@media (max-width: 820px) { .estimator-grid { grid-template-columns: 1fr; } }
.card-white { background: #fff; border-radius: 14px; padding: 24px 26px; box-shadow: 0 3px 14px rgba(0,0,0,.1); }
.estimator-form select { width: 100%; padding: 12px 14px; margin-top: 5px; border: 1px solid #c8cdd6; border-radius: 8px; font: inherit; }
.estimate-result { background: linear-gradient(120deg, var(--dark), var(--dark-2)); color: #fff; border-radius: 14px; padding: 26px 28px; margin-bottom: 22px; }
.estimate-result .kicker { color: #7ee29a; }
.estimate-range { font-size: 34px; font-weight: 800; color: var(--green); margin: 4px 0 6px; line-height: 1.2; }
.estimate-note { color: #c9cdd3; margin: 0 0 12px; }
.estimate-result .small { color: #9aa0a8; }

/* ---------- formuláře ---------- */
.contact-block { max-width: 760px; margin-top: 30px; }
.contact-form label { display: block; margin: 12px 0; font-weight: 600; font-size: 14.5px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; margin-top: 5px; border: 1px solid #c8cdd6; border-radius: 8px; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.contact-form .check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.contact-form .check input { width: auto; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 20px; }

.flash { max-width: 1180px; margin: 16px auto; padding: 13px 18px; border-radius: 10px; font-weight: 600; }
.flash-ok { background: var(--green-light); color: #14532d; }
.flash-error { background: #fdeaea; color: #7f1d1d; }

/* ---------- obsahové stránky ---------- */
.page-content { max-width: 860px; }
.page-content img, .page-content iframe { max-width: 100%; border-radius: 10px; }
.page-content ol.steps li { margin-bottom: 10px; }
.page-content h2 { color: var(--text); }

/* ---------- skrývání sekcí úvodní stránky na mobilu ---------- */
@media (max-width: 700px) {
    .hide-mobile { display: none; }
}

/* ---------- cookie lišta ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; background: #fff; border-radius: 14px; box-shadow: 0 8px 40px rgba(0,0,0,.25); padding: 18px 22px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 4px solid var(--green); max-width: 1000px; margin: 0 auto; }
.cookie-text { flex: 1; min-width: 240px; font-size: 14px; color: var(--text); }
.cookie-text a { color: var(--green-2); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { margin: 0; }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; text-align: center; } }

/* ---------- patička (tmavá se zelenými odkazy) ---------- */
.site-footer { background: var(--dark); color: #c9cdd3; margin-top: 64px; padding: 46px 0 22px; }
.site-footer h3 { color: #fff; font-size: 16px; }
.footer-logo { max-height: 64px; width: auto; display: block; margin-bottom: 12px; }
.site-footer a { color: #7ee29a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; font-size: 14.5px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 30px; padding-bottom: 4px; font-size: 14px; }
.footer-menu a { color: var(--gold); text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; color: #fff; }
.footer-localities { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11.5px; color: #5b6b86; line-height: 1.9; }
.footer-localities strong { color: #6f80a0; margin-right: 6px; font-weight: 600; }
.footer-localities a { color: #5b6b86; margin-right: 12px; text-decoration: none; }
.footer-localities a:hover { color: #8b9fbf; }
.copy { text-align: center; margin-top: 20px; font-size: 13px; color: #8b9097; }

/* odkazy na okolní obce na lokální stránce */
.nearby-links { margin-top: 30px; font-size: 14px; }
.nearby-links strong { display: block; margin-bottom: 6px; }
.nearby-links a { display: inline-block; background: var(--gray); border-radius: 999px; padding: 5px 14px; margin: 0 6px 6px 0; text-decoration: none; color: var(--text); }
.nearby-links a:hover { background: var(--green); color: #fff; }
