/* Vlastní override stylu pro Soreta web. Vendor CSS includy v base.html.twig. */

/* Public 2-level menu dropdown (Etapa 4) */
.nav-menu .dropdown { position: relative; }
.nav-menu .dropdown > ul { display: none; position: absolute; top: 100%; left: 0; background: white; border: 1px solid #e5e7eb; min-width: 200px; padding: 8px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); list-style: none; }
.nav-menu .dropdown:hover > ul { display: block; }
.nav-menu .dropdown > ul li a { display: block; padding: 8px 16px; color: #111; }
.nav-menu .dropdown > ul li a:hover { background: #f3f4f6; }

/* Hero / banner (úvodní stránka) */
.banner .carousel-caption.banner-slider-inner {
    top: 0;
    bottom: 0;
    height: 100%;
    display: flex;
    align-items: center; /* svislé zarovnání obsahu na střed */
}
@media (min-width: 992px) {
    .banner,
    .banner .carousel,
    .banner .carousel-inner,
    .banner .carousel-item.item-bg {
        height: 625px;
    }
    .banner .carousel-item.item-bg img {
        height: 625px;
        object-fit: cover;
    }
    /* nadpis + popisek zleva; ~45 % šířky, ať se delší H1 neláme do tolika řádků */
    .banner .banner-info2 .text-l {
        max-width: 45%;
    }
}

/* Mobil/tablet: hero mělo rozměry jen od 992 px, takže se obrázek vykresloval
   v původní šířce a byl vidět jen jeho levý okraj. */
@media (max-width: 991.98px) {
    .banner,
    .banner .carousel,
    .banner .carousel-inner,
    .banner .carousel-item.item-bg {
        height: 460px; /* fallback pro prohlížeče bez svh */
        /* Hero se přizpůsobí displeji, ale nechá pod sebou vykouknout kus další
           sekce (~120 px + hlavička), aby bylo vidět, že stránka pokračuje.
           svh = stabilní výška bez poskakování při skrývání adresního řádku. */
        height: clamp(380px, calc(100svh - 200px), 520px);
    }
    .banner .carousel-item.item-bg picture { display: block; height: 100%; }
    .banner .carousel-item.item-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* Kompaktnější text, ať se hero vejde i na nižší displeje */
    .banner .banner-info2 .text-l h1 { font-size: 26px; line-height: 1.25; margin-bottom: 12px; }
    .banner .banner-info2 .text-l p { font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
    .banner .banner-info2 .text-l .btn-1,
    .banner .banner-info2 .text-l .btn-2 { padding: 11px 20px; font-size: 14px; }
}

/* Horní kontaktní lišta — oddělovače byly v šabloně kotvené na
   right: -20 % šířky vlastní položky, takže se s délkou textu posouvaly
   a zasahovaly do obsahu. Oddělovač je nově levým okrajem sousední
   položky, tedy vždy přesně v mezeře mezi nimi. */
.top-header-3 .top-header-inner {
    max-width: none;
    justify-content: flex-end;
    gap: 30px;
}
.top-header-3 .top-header-inner .top-contact-item::before { display: none; }
.top-header-3 .top-header-inner .top-contact-item + .top-contact-item {
    border-left: 1px solid rgba(0, 0, 0, .14);
    padding-left: 26px;
}

/* Kontaktní lišta byla na výšku záhlaví předimenzovaná — ikony i texty
   zmenšeny zhruba o 30 %, aby se na užších displejích nezalamovaly. */
.top-header-3 .top-header-inner { padding: 16px 0; gap: 26px; }
.top-header-3 .top-header-inner .top-contact-item i { font-size: 28px; margin-right: 9px; }
.top-header-3 .top-header-inner .top-contact-item p { font-size: 13px; margin-top: 1px; }
.top-header-3 .top-header-inner .top-contact-item .content a { font-size: 15px; }

/* ===== Hlavička v normálním toku — nesmí překrývat obsah pod sebou =====
   Template má kontaktní lištu (.top-header-3) jako position:absolute a hlavní
   navigaci (.sticky-header / .main-header-5) jako position:fixed (top:110px).
   Obě tak plavou nad obsahem a překrývaly hero na úvodu i nadpisy podstránek.
   Vracíme celou hlavičku do toku, takže obsah přirozeně začíná pod ní. */
.top-header-3 {
    position: relative !important;
}
.main-header.sticky-header,
.main-header.header-fixed,
.main-header.header-fixed.small {
    position: static !important;
    top: auto !important;
}

/* Rozbalovací menu (Služby): roztáhnout pole podle nejdelší položky,
   ať texty nepřetékají přes bílé pozadí. Stín + jemné ohraničení, aby se
   otevřené menu odlišilo i na bílých stránkách (vendor má border: none). */
.main-header .dropdown-menu {
    width: max-content;
    min-width: 16rem;
    max-width: min(92vw, 360px);
    border: 1px solid #e6ebf0;
    border-top: solid 1px #f1f1f1;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 34px rgba(27, 39, 51, .16), 0 2px 8px rgba(27, 39, 51, .08);
}
.main-header .dropdown-menu a {
    white-space: nowrap;
}
/* Čtvercová ikonka před textem podpoložky v dropdownu */
.main-header .dropdown-menu .menu-icon {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
    vertical-align: middle;
}

/* ===== Rozcestník služeb — vizuální boxy (čtvercové obrázky jako tlačítka) ===== */
.service-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin: 34px 0 10px;
}
.service-box {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}
.service-box:hover {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .13);
    transform: translateY(-3px);
    color: inherit;
}
.service-box-img {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
}
.service-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-box-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #c3c8d0;
    font-size: 42px;
}
.service-box-label {
    display: block;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    line-height: 1.35;
}

/* ===== Property card (.pcard) — design dle ukázky (home + seznam) ===== */
.pcard {
    --pc-accent: #1e73be;
    --pc-ink: #1f2a37;
    --pc-muted: #98a2b3;
    --pc-line: #eceff3;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(20, 38, 66, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(20, 38, 66, .15); }

.pcard__media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eef1f5;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pcard:hover .pcard__media img { transform: scale(1.05); }

/* Rohová stužka (diagonální v levém horním rohu) */
.pcard__ribbon {
    position: absolute;
    /* Střed pruhu leží na úhlopříčce rohu (x=y): left+200/2 = top+výška/2.
       Výška = padding 6+6 + line-height 16 = 28 → střed (36,36). */
    top: 22px;
    left: -64px;
    width: 200px;
    transform: rotate(-45deg);
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
    z-index: 3;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
    pointer-events: none;
}
.pcard__ribbon--featured { background: linear-gradient(135deg, #2fae63, #1f9551); }
.pcard__ribbon--new { background: linear-gradient(135deg, #36c06f, #27a85d); }

/* Cenová placka */
.pcard__price {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    background: rgba(18, 28, 45, .8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    padding: 10px 16px;
    border-radius: 9px;
}
.pcard__price small { font-size: .68em; font-weight: 500; opacity: .85; margin-left: 3px; }

.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.pcard__title { font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; }
.pcard__title a { color: var(--pc-ink); transition: color .2s ease; }
.pcard__title a:hover { color: var(--pc-accent); }
.pcard__loc { display: flex; align-items: center; gap: 7px; color: #6b7480; font-size: 14px; margin: 0; }
.pcard__loc i { color: var(--pc-muted); font-size: 16px; }

.pcard__params {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--pc-line);
    border-bottom: 1px solid var(--pc-line);
}
.pcard__facils { display: flex; gap: 28px; flex-wrap: wrap; }
.pcard__facil { display: flex; align-items: center; gap: 10px; }
.pcard__facil > i { font-size: 21px; color: var(--pc-muted); }
.pcard__facil strong { display: block; font-size: 15px; font-weight: 700; color: var(--pc-ink); line-height: 1.15; }
.pcard__facil em { display: block; font-style: normal; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--pc-muted); }
.pcard__agent { flex: 0 0 auto; }
.pcard__agent img {
    width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: block;
    border: 2px solid #fff; box-shadow: 0 0 0 1px var(--pc-line), 0 4px 10px rgba(0, 0, 0, .12);
    transition: transform .2s ease;
}
.pcard__agent:hover img { transform: scale(1.08); }

.pcard__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: auto; }
.pcard__detail { color: var(--pc-accent); font-weight: 600; font-size: 15px; }
.pcard__detail:hover { color: #15578f; }
.pcard__arrow {
    width: 42px; height: 42px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #eaf2fb; color: var(--pc-accent); font-size: 18px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pcard__arrow:hover { background: var(--pc-accent); color: #fff; transform: translateX(2px); }

/* ===== Detail nemovitosti (.pd) — redesign dle ukázky ===== */
.pd {
    --pd-accent: #1e73be;
    --pd-ink: #1f2a37;
    --pd-muted: #6b7480;
    --pd-faint: #9aa3b2;
    --pd-line: #eceff3;
    background: #eef1f5;
    padding: 30px 0 60px;
}
.pd-card {
    background: #fff;
    box-shadow: 0 4px 18px rgba(20, 38, 66, .07);
    padding: 26px 30px;
    margin-bottom: 24px;
}
.pd-h {
    font-size: 22px;
    font-weight: 700;
    color: var(--pd-ink);
    margin: 0 0 20px;
    padding-bottom: 12px;
    position: relative;
}
.pd-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--pd-accent); }

/* Galerie — poměr stran je na celé galerii; oba sloupce vyplní stejně vysoký řádek,
   takže dvě boční fotky mají dohromady přesně výšku hlavní fotky. */
.pd-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 14px; aspect-ratio: 12 / 5; margin-bottom: 24px; }
.pd-gallery--single { grid-template-columns: 1fr; aspect-ratio: 16 / 9; }
.pd-gallery__main { position: relative; display: block; height: 100%; min-height: 0; overflow: hidden; background: #dfe4ea; }
.pd-gallery__side { display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 0; overflow: hidden; }
.pd-gallery__cell { position: relative; display: block; flex: 1; overflow: hidden; min-height: 0; background: #dfe4ea; }
@media (max-width: 575px) {
    .pd-gallery { grid-template-columns: 1fr; aspect-ratio: 4 / 3; }
    .pd-gallery__side { display: none; }
}
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pd-gallery a:hover img { transform: scale(1.04); }
.pd-ribbon {
    position: absolute; top: 22px; left: -64px; width: 200px; transform: rotate(-45deg);
    text-align: center; padding: 6px 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; color: #fff; z-index: 3; pointer-events: none;
    background: linear-gradient(135deg, #2e8be0, #1e73be); box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
}
.pd-gallery__counter {
    position: absolute; right: 14px; bottom: 14px; z-index: 3;
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(18, 28, 45, .8); color: #fff; font-size: 14px; font-weight: 600;
    padding: 7px 13px; border-radius: 6px;
}
.pd-gallery__more {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(18, 28, 45, .55); color: #fff; font-size: 18px; font-weight: 700;
}

/* Hlavička */
.pd-head__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.pd-head__title { font-size: 27px; font-weight: 700; color: var(--pd-ink); margin: 0 0 8px; line-height: 1.25; }
.pd-head__loc { display: flex; align-items: center; gap: 7px; color: var(--pd-muted); margin: 0; font-size: 15px; }
.pd-head__loc i { color: var(--pd-faint); }
.pd-head__price { text-align: right; white-space: nowrap; }
.pd-head__price strong { display: block; font-size: 29px; font-weight: 700; color: var(--pd-ink); line-height: 1.1; }
.pd-head__price small { font-size: .55em; font-weight: 500; color: var(--pd-muted); }
.pd-head__price span { display: block; font-size: 13px; color: var(--pd-faint); margin-top: 4px; }
.pd-specs { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.pd-spec { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 150px; background: #f3f5f8; padding: 14px 18px; }
.pd-spec > i { font-size: 22px; color: var(--pd-accent); }
.pd-spec strong { display: block; font-size: 16px; font-weight: 700; color: var(--pd-ink); line-height: 1.15; }
.pd-spec em { display: block; font-style: normal; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--pd-faint); }

/* Popis */
.pd-desc { color: #4b5563; line-height: 1.75; font-size: 15px; }

/* Parametry */
.pd-params { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.pd-param { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--pd-line); }
.pd-param__label { color: var(--pd-muted); font-size: 15px; }
.pd-param__value { font-weight: 700; color: var(--pd-ink); text-align: right; font-size: 15px; }

/* Energetický štítek */
.pd-energy { display: flex; align-items: center; gap: 16px; margin-top: 26px; border: 1px solid var(--pd-line); padding: 14px 18px; }
.pd-energy__badge { flex: 0 0 auto; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 22px; }
.pd-energy__cap { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--pd-faint); }
.pd-energy__text strong { font-size: 16px; color: var(--pd-ink); }

/* Makléř */
.pd-agent { text-align: center; }
.pd-agent__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 14px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--pd-line), 0 6px 16px rgba(0, 0, 0, .12); }
.pd-agent__name { font-size: 18px; font-weight: 700; margin: 0 0 2px; }
.pd-agent__name a { color: var(--pd-ink); }
.pd-agent__pos { color: var(--pd-muted); font-size: 14px; margin: 0 0 18px; }

/* Tlačítka */
.pd-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 18px; margin-bottom: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pd-btn--primary { background: var(--pd-accent); color: #fff; }
.pd-btn--primary:hover { background: #185e9c; color: #fff; }
.pd-btn--outline { background: #fff; color: var(--pd-ink); border-color: #d7dde5; }
.pd-btn--outline:hover { border-color: var(--pd-accent); color: var(--pd-accent); }

/* Formulář dotazu */
.pd-form label { display: block; font-size: 13px; color: #4b5563; font-weight: 500; margin: 14px 0 6px; }
.pd-form input:not([type=checkbox]):not([type=submit]):not([type=hidden]),
.pd-form textarea {
    width: 100%; padding: 11px 14px; border: 1px solid #d7dde5; background: #fff; font-size: 14px; color: var(--pd-ink); border-radius: 0;
}
.pd-form textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
.pd-form input:focus, .pd-form textarea:focus { border-color: var(--pd-accent); outline: none; }
.pd-form .pd-btn { margin-top: 20px; }

@media (max-width: 575px) {
    .pd-params { grid-template-columns: 1fr; }
    .pd-head__price { text-align: left; }
}

/* ===== Sticky hlavička — odhalí se při scrollu nahoru =====
   Výchozí stav zůstává v toku (nepřekrývá hero). Třídu .is-fixed/.is-visible
   přidává JS: po sjetí pod menu je lišta fixní a skrytá; při scrollu nahoru
   se shora zasune. Spacer (JS) drží původní místo, takže obsah neposkočí. */
.main-header.sticky-header.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1031;
    background: #1e73be !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    transform: translateY(-100%);
    transition: transform .32s ease;
}
.main-header.sticky-header.is-fixed.is-visible { transform: translateY(0); }

/* Bílé odkazy v zafixované liště (přebije template třídu header-shrink),
   ale NE tlačítko „Proč si vybrat nás" (.h-icon má bílé pozadí → modrý text). */
.main-header.is-fixed .navbar-expand-lg .navbar-nav .nav-link:not(.h-icon) { color: #fff !important; }
.main-header.is-fixed .navbar-expand-lg .navbar-nav .h-icon { color: #1e73be !important; background: #fff !important; }

/* Logo v zafixované liště. S nahranou bílou variantou se přepne na ni,
   jinak se hlavní logo přebarví CSS filtrem (fallback). */
.main-header.is-fixed .logos { display: block !important; }
.main-header.is-fixed .logos img { height: 30px; width: auto; }
.main-header.is-fixed .logos:not(.has-light) img { filter: brightness(0) invert(1); }

/* Přepínání barevné a bílé varianty */
.logos .logo-photo--light { display: none; }
.main-header.is-fixed .logos.has-light .logo-photo--color { display: none; }
.main-header.is-fixed .logos.has-light .logo-photo--light { display: block; }

@media (min-width: 992px) {
    .main-header.is-fixed .navbar { flex-wrap: nowrap; align-items: center; }
    .main-header.is-fixed .logos { flex: 0 0 auto; margin: 0 26px 0 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
    .main-header.is-fixed .navbar-collapse.w-100 { width: auto !important; flex: 1 1 auto; }
    .main-header.is-fixed .navbar-collapse .navbar-nav.w-100 { width: auto !important; }
    .main-header.is-fixed .navbar-collapse .navbar-nav.justify-content-start { margin-right: auto; }
    /* Nižší zafixovaná lišta — menší vertikální padding než výchozí menu */
    .main-header.is-fixed .navbar-expand-lg .navbar-nav .nav-link { padding-top: 14px !important; padding-bottom: 14px !important; }
    .main-header.is-fixed .navbar-expand-lg .navbar-nav .h-icon { padding-top: 15px !important; padding-bottom: 15px !important; }
}

/* ===== Filtr nemovitostí (.pcf) — redesign dle ukázky ===== */
.pcf-page { background: #f1f4f8; padding: 30px 0 60px; }
.pcf-total { color: #1e73be; }
.pcf { background: #fff; box-shadow: 0 6px 26px rgba(20, 38, 66, .08); border-radius: 14px; padding: 26px 30px; margin-bottom: 36px; }
.pcf-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #98a2b3; margin-bottom: 10px; }
.pcf-group { margin-bottom: 22px; }
.pcf-group:last-child { margin-bottom: 0; }
.pcf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }

/* Typ — dlaždice */
.pcf-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pcf-type { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 16px 10px; border: 1px solid #e2e8f1; border-radius: 10px; color: #475569; text-decoration: none; background: #fff; transition: border-color .15s ease, color .15s ease, box-shadow .15s ease; text-align: center; }
.pcf-type:hover { border-color: #1e73be; color: #1e73be; }
.pcf-type.is-active { background: #1e73be; border-color: #1e73be; color: #fff; box-shadow: 0 8px 18px rgba(30, 115, 190, .3); }
.pcf-type.is-active,
.pcf-type.is-active i,
.pcf-type.is-active .pcf-type__label { color: #fff !important; }
.pcf-type i { font-size: 26px; }
.pcf-type__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.pcf-type__count { position: absolute; top: 8px; right: 8px; min-width: 22px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border-radius: 5px; background: #1e73be; color: #fff; }
.pcf-type.is-active .pcf-type__count { background: rgba(255, 255, 255, .25); }

/* Segment (smlouva) */
.pcf-seg { display: inline-flex; border: 1px solid #e2e8f1; border-radius: 8px; overflow: hidden; }
.pcf-seg__btn { padding: 11px 26px; font-size: 14px; font-weight: 600; color: #475569; text-decoration: none; background: #fff; border-right: 1px solid #e2e8f1; transition: background .15s, color .15s; }
.pcf-seg__btn:last-child { border-right: 0; }
.pcf-seg__btn:hover { color: #1e73be; }
.pcf-seg__btn.is-active { background: #1e73be; color: #fff; }

/* Kraj — select */
.pcf-select { position: relative; }
.pcf-select > .bi-geo-alt { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #98a2b3; pointer-events: none; }
.pcf-select__chev { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #98a2b3; pointer-events: none; }
.pcf-select select { width: 100%; padding: 12px 40px; border: 1px solid #e2e8f1; border-radius: 8px; background: #f7f9fc; font-size: 14px; color: #1f2a37; appearance: none; -webkit-appearance: none; cursor: pointer; }
.pcf-select select:focus { outline: none; border-color: #1e73be; }

/* Cena */
.pcf-price { display: flex; gap: 16px; }
.pcf-input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #e2e8f1; border-radius: 8px; background: #f7f9fc; font-size: 14px; color: #1f2a37; }
.pcf-input:focus { outline: none; border-color: #1e73be; }

/* Dvojitý cenový slider */
.pcf-slider { position: relative; height: 34px; margin-top: 10px; }
.pcf-slider__rail { position: absolute; top: 15px; left: 0; right: 0; height: 4px; background: #e2e8f1; border-radius: 2px; }
.pcf-slider__fill { position: absolute; top: 0; bottom: 0; background: #1e73be; border-radius: 2px; }
.pcf-slider__h { position: absolute; top: 7px; left: 0; width: 100%; height: 20px; margin: 0; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; }
.pcf-slider__h::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #1e73be; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.pcf-slider__h::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #1e73be; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.pcf-slider__h::-webkit-slider-runnable-track { background: none; border: none; }
.pcf-slider__h::-moz-range-track { background: none; border: none; }

/* Řazení */
.pcf-sort { display: flex; flex-wrap: wrap; gap: 22px; }
.pcf-sort__link { font-size: 14px; color: #64748b; text-decoration: none; }
.pcf-sort__link:hover { color: #1e73be; }
.pcf-sort__link.is-active { color: #1e73be; font-weight: 700; }

/* Patička filtru */
.pcf-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #eef1f5; margin-top: 6px; padding-top: 20px; }
.pcf-found { color: #64748b; font-size: 14px; }
.pcf-found strong { color: #1f2a37; }
.pcf-actions { display: flex; gap: 12px; }
.pcf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-size: 14px; font-weight: 600; border-radius: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.pcf-btn--ghost { background: #fff; color: #475569; border-color: #d7dde5; }
.pcf-btn--ghost:hover { border-color: #1e73be; color: #1e73be; }
.pcf-btn--primary { background: #1e73be; color: #fff; }
.pcf-btn--primary:hover { background: #185e9c; color: #fff; }

/* Výsledky + loader (async filtrace bez probliknutí) */
.pcf-results { position: relative; min-height: 140px; }
.pcf-loader { position: absolute; inset: 0; display: none; justify-content: center; align-items: flex-start; padding-top: 70px; z-index: 5; }
.pcf-spinner { width: 46px; height: 46px; border: 4px solid #d7e3f0; border-top-color: #1e73be; border-radius: 50%; animation: pcf-spin .7s linear infinite; }
@keyframes pcf-spin { to { transform: rotate(360deg); } }
#listing-async.is-loading .pcf-loader { display: flex; }
#listing-async.is-loading .pcf-results .row { opacity: .4; transition: opacity .15s ease; pointer-events: none; }
#listing-async { transition: opacity .1s ease; }

@media (max-width: 991px) {
    .pcf { padding: 20px 16px; }
    .pcf-cols { grid-template-columns: 1fr; }
    .pcf-col, .pcf-group { min-width: 0; }
    .pcf-types { grid-template-columns: repeat(2, 1fr); }
    /* segment smlouvy na plnou šířku, ať se nepřetéká */
    .pcf-seg { display: flex; width: 100%; }
    .pcf-seg__btn { flex: 1; padding: 11px 6px; text-align: center; }
    /* cena + kraj — zaručeně do šířky karty */
    .pcf-price { gap: 12px; }
    .pcf-input, .pcf-select select { width: 100%; max-width: 100%; box-sizing: border-box; }
    .pcf-slider { max-width: 100%; }
    .pcf-foot { flex-direction: column; align-items: stretch; }
    .pcf-actions { justify-content: flex-end; }
}

/* ===== Mobilní menu — výsuvný drawer zleva (vlastní, místo BS collapse) ===== */
body.nav-drawer-lock { overflow: hidden; }
.nav-drawer-close { display: none; }       /* viditelný jen v mobilním draweru (níže) */
.nav-drawer-backdrop { display: none; }
@media (max-width: 991.98px) {
    /* Hlavička je na mobilu vždy modrá — použij bílou variantu loga. */
    .main-header .logos.has-light .logo-photo--color { display: none; }
    .main-header .logos.has-light .logo-photo--light { display: block; }
    .main-header .logos:not(.has-light) .logo-photo { filter: brightness(0) invert(1); }

    .main-header .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 290px;
        max-width: 85vw;
        background: #fff;
        z-index: 1060;
        transform: translateX(-100%);
        transition: transform .3s ease;
        overflow-y: auto;
        display: block !important; /* přebije Bootstrap .collapse { display:none } */
        padding: 60px 0 24px;
        box-shadow: 6px 0 30px rgba(0, 0, 0, .25);
    }
    .main-header .navbar-collapse.is-open { transform: translateX(0); }

    .nav-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .5);
        z-index: 1059;
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease;
    }
    .nav-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

    .nav-drawer-close {
        display: block;
        position: absolute;
        top: 12px;
        right: 14px;
        width: 40px;
        height: 40px;
        border: 0;
        background: transparent;
        font-size: 30px;
        line-height: 1;
        color: #475569;
        cursor: pointer;
        z-index: 2;
    }

    /* položky v draweru */
    .main-header .navbar-collapse .navbar-nav { flex-direction: column; width: 100% !important; align-items: stretch; padding: 0 !important; }
    .main-header .navbar-collapse .nav-item { width: 100%; }
    .main-header .navbar-collapse .nav-link { padding: 13px 24px !important; color: #1f2a37 !important; font-size: 15px; line-height: 1.3; border-bottom: 1px solid #f0f2f5; text-transform: none; }
    .main-header .navbar-collapse .nav-link:hover { color: #1e73be !important; background: #f7f9fc; }

    /* Služby submenu — rozbalené inline */
    .main-header .navbar-collapse .dropdown-menu { position: static !important; display: block !important; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0; margin: 0; background: #f6f8fb; transform: none !important; opacity: 1 !important; visibility: visible !important; }
    .main-header .navbar-collapse .dropdown-menu .dropdown-item { padding: 11px 24px 11px 40px !important; font-size: 14px; }
    .main-header .navbar-collapse .dropdown-toggle::after { display: none; }

    /* tlačítko „Proč si vybrat nás" v draweru */
    .main-header .navbar-collapse .h-icon { display: inline-flex; justify-content: center; background: #1e73be !important; color: #fff !important; margin: 16px 24px 0; border-radius: 6px; }
}

/* ===== Detail makléře (.ad) — redesign dle ukázky ===== */
.ad-page { background: #f1f4f8; padding: 26px 0 60px; }
.ad-breadcrumb { color: #64748b; font-size: 14px; margin-bottom: 18px; }
.ad-breadcrumb a { color: #1e73be; }
.ad-breadcrumb span { margin: 0 6px; color: #b8c0cc; }

/* Karta makléře */
.ad-card { background: #fff; border-radius: 14px; box-shadow: 0 6px 26px rgba(20, 38, 66, .08); overflow: hidden; }
@media (min-width: 992px) { .ad-page .ad-card { position: sticky; top: 80px; } }
.ad-photo { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #dfe4ea; }
.ad-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-verified { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: #2fae63; color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 6px; }
.ad-photo__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 22px 18px; background: linear-gradient(to top, rgba(15, 23, 42, .88), rgba(15, 23, 42, 0)); color: #fff; }
.ad-photo__name h1, .ad-photo__name h3 { font-size: 22px; font-weight: 700; margin: 0; line-height: 1.2; color: #fff !important; }
.ad-photo__name p { font-size: 14px; opacity: .9; margin: 5px 0 0; color: #fff !important; }
.ad-card__body { padding: 16px 22px 22px; }

.ad-stars { color: #f6a609; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.ad-rating { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; border-bottom: 1px solid #eef1f5; padding: 10px 0 16px; cursor: pointer; text-decoration: none; }
.ad-rating strong { color: #1f2a37; font-size: 15px; }
.ad-rating__count { color: #1e73be; font-size: 14px; }
.ad-rating .bi-chevron-right { margin-left: auto; color: #9aa3b2; }

.ad-contact { list-style: none; padding: 0; margin: 16px 0 18px; }
.ad-contact li { display: flex; gap: 14px; align-items: center; padding: 9px 0; }
.ad-contact li > i { font-size: 18px; color: #1e73be; width: 22px; text-align: center; flex: 0 0 auto; }
.ad-contact em { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #9aa3b2; font-style: normal; }
.ad-contact a, .ad-contact strong { color: #1f2a37; font-weight: 600; font-size: 15px; word-break: break-word; }

.ad-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px; font-weight: 600; font-size: 15px; border-radius: 8px; border: 1px solid transparent; margin-bottom: 10px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ad-btn--primary { background: #1e73be; color: #fff; }
.ad-btn--primary:hover { background: #185e9c; color: #fff; }
.ad-btn--outline { background: #fff; color: #1f2a37; border-color: #d7dde5; }
.ad-btn--outline:hover { border-color: #1e73be; color: #1e73be; }

.ad-social { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #eef1f5; }
.ad-social > span { color: #9aa3b2; font-size: 13px; }
.ad-social a { width: 34px; height: 34px; border-radius: 7px; background: #eef2f7; color: #475569; display: inline-flex; align-items: center; justify-content: center; transition: .15s; }
.ad-social a:hover { background: #1e73be; color: #fff; }

/* Pravý sloupec */
.ad-block { background: #fff; border-radius: 14px; box-shadow: 0 6px 26px rgba(20, 38, 66, .08); padding: 26px 30px; margin-bottom: 24px; }
.ad-h { font-size: 22px; font-weight: 700; color: #1f2a37; margin: 0 0 18px; padding-bottom: 12px; position: relative; }
.ad-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: #1e73be; }
.ad-bio { color: #4b5563; line-height: 1.75; font-size: 15px; }
.ad-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.ad-stat { background: #f3f5f8; padding: 18px; border-radius: 10px; }
.ad-stat strong { display: block; font-size: 28px; color: #1e73be; font-weight: 700; line-height: 1; }
.ad-stat span { color: #64748b; font-size: 14px; }

.ad-awards { list-style: none; padding: 0; margin: 0; }
.ad-awards li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #eef1f5; }
.ad-awards li:last-child { border-bottom: 0; }
.ad-awards li > i { width: 44px; height: 44px; flex: 0 0 auto; background: #1e73be; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.ad-awards strong { display: block; color: #1f2a37; }
.ad-awards em { color: #64748b; font-size: 14px; font-style: normal; }

.ad-listings { margin-top: 8px; }
.ad-listings__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ad-listings__head h2 { font-size: 24px; font-weight: 700; color: #1f2a37; margin: 0; }
.ad-listings__meta { color: #9aa3b2; font-size: 14px; }

/* Modal referencí */
.ad-modal { position: fixed; inset: 0; z-index: 1080; display: none; }
.ad-modal.is-open { display: block; }
.ad-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); }
.ad-modal__dialog { position: relative; max-width: 680px; width: calc(100% - 32px); margin: 5vh auto; background: #fff; border-radius: 14px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.ad-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid #eef1f5; }
.ad-modal__head h3 { font-size: 22px; font-weight: 700; margin: 0; color: #1f2a37; }
.ad-modal__rating { margin-top: 6px; font-size: 14px; color: #64748b; }
.ad-modal__rating strong { color: #1f2a37; }
.ad-modal__close { background: #f1f4f8; border: 0; width: 38px; height: 38px; border-radius: 8px; cursor: pointer; color: #475569; flex: 0 0 auto; }
.ad-modal__close:hover { background: #e2e8f1; }
.ad-modal__body { padding: 18px 26px 26px; overflow-y: auto; }
.ad-review { border-left: 3px solid #1e73be; background: #f7f9fc; padding: 16px 18px; border-radius: 0 8px 8px 0; margin-bottom: 14px; }
.ad-review p { color: #374151; margin: 8px 0 14px; line-height: 1.6; }
.ad-review__author { display: flex; align-items: center; gap: 12px; }
.ad-avatar { width: 40px; height: 40px; border-radius: 50%; background: #1e73be; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: 0 0 auto; }
.ad-review__author strong { display: block; color: #1f2a37; }
.ad-review__author em { color: #64748b; font-size: 13px; font-style: normal; }

@media (max-width: 575px) {
    .ad-stats { grid-template-columns: 1fr; }
}

/* ===== CMS obsah (.cms-content) — komponenty pro stránky služeb =====
   Třídy vkládané do WYSIWYG obsahu (TinyMCE, sanitizer povoluje class).
   Vizuální jazyk sjednocen s .pd/.ad/.pcard: modrá #1e73be, ink #1f2a37,
   bílé karty s jemným stínem, nadpisy s krátkou modrou linkou. */

.cms-page { padding: 34px 0 72px; }
.cms-page h1 {
    font-size: 31px;
    font-weight: 700;
    color: #1f2a37;
    margin: 0 0 22px;
    line-height: 1.25;
}

.cms-content { max-width: 62rem; }
.cms-content > :first-child { margin-top: 0; }
.cms-content p,
.cms-content li { color: #4b5563; font-size: 15px; line-height: 1.75; }
.cms-content p { margin: 0 0 16px; }
.cms-content strong { color: #1f2a37; }
.cms-content a:not(.cms-btn) { color: #1e73be; font-weight: 600; }
.cms-content a:not(.cms-btn):hover { color: #185e9c; }
.cms-content img { max-width: 100%; height: auto; border-radius: 12px; }

.cms-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2a37;
    margin: 46px 0 20px;
    padding-bottom: 12px;
    position: relative;
    line-height: 1.3;
}
.cms-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: #1e73be; }
.cms-content h3 { font-size: 18px; font-weight: 700; color: #1f2a37; margin: 30px 0 12px; line-height: 1.35; }

/* Perex — úvodní odstavec (podpora i pro bootstrap .lead z dřívějšího obsahu) */
.cms-content .cms-lead,
.cms-content .lead {
    font-size: 18px;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 20px;
}

/* Neutrální odrážky */
.cms-content ul:not(.cms-check):not(.cms-chips) { padding-left: 20px; margin: 0 0 16px; }
.cms-content ul:not(.cms-check):not(.cms-chips) li { margin: 8px 0; }

/* Odrážky s fajfkou */
.cms-content ul.cms-check { list-style: none; padding: 0; margin: 0 0 18px; }
.cms-content ul.cms-check li { position: relative; padding-left: 32px; margin: 10px 0; }
.cms-content ul.cms-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #eaf2fb;
    color: #1e73be;
    font-size: 12px;
    font-weight: 800;
    line-height: 21px;
    text-align: center;
}

/* Číslované kroky s bublinou a svislou spojnicí */
.cms-content ol.cms-steps { list-style: none; counter-reset: cms-step; padding: 0; margin: 6px 0 24px; }
.cms-content ol.cms-steps li { position: relative; padding-left: 58px; margin: 0 0 22px; min-height: 44px; }
.cms-content ol.cms-steps li::before {
    counter-increment: cms-step;
    content: counter(cms-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2e8be0, #1e73be);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 40px;
    text-align: center;
    box-shadow: 0 6px 14px rgba(30, 115, 190, .28);
}
.cms-content ol.cms-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 46px;
    bottom: -16px;
    width: 2px;
    background: #e2e8f1;
}
.cms-content ol.cms-steps li > strong { display: block; font-size: 16px; margin-bottom: 3px; }

/* Mřížka karet */
.cms-content .cms-grid { display: grid; gap: 18px; margin: 26px 0; }
.cms-content .cms-grid--2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.cms-content .cms-grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cms-content .cms-grid ul.cms-check { margin: 0; }

/* Karta */
.cms-content .cms-card {
    background: #fff;
    border: 1px solid #e2e8f1;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 3px 12px rgba(20, 38, 66, .05);
    transition: box-shadow .2s ease, transform .2s ease;
}
.cms-content .cms-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 38, 66, .11); }
.cms-content .cms-card h3,
.cms-content .cms-card h4 { font-size: 17px; font-weight: 700; color: #1f2a37; margin: 0 0 8px; }
.cms-content .cms-card h3:last-child,
.cms-content .cms-card h4:last-child { margin-bottom: 0; }
.cms-content .cms-card p { font-size: 14.5px; line-height: 1.65; margin: 0 0 10px; }
.cms-content .cms-card p:last-child { margin-bottom: 0; }
.cms-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #eaf2fb;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 14px;
}

/* Chipy — krátká hesla v řádku */
.cms-content .cms-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px; padding: 0; list-style: none; }
.cms-content .cms-chips li,
.cms-content .cms-chip {
    padding: 8px 18px;
    border-radius: 999px;
    background: #f3f5f8;
    border: 1px solid #e2e8f1;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Zvýrazněný info box */
.cms-content .cms-note {
    background: #f7f9fc;
    border-left: 3px solid #1e73be;
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    margin: 26px 0;
}
.cms-content .cms-note p { margin: 0 0 8px; }
.cms-content .cms-note p:last-child { margin-bottom: 0; }

/* Call-to-action banner */
.cms-content .cms-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    margin: 44px 0 10px;
    padding: 30px 34px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 85% -30%, rgba(255, 255, 255, .22), transparent 55%),
        linear-gradient(135deg, #2e8be0, #1e73be);
    color: #fff;
    box-shadow: 0 14px 34px rgba(30, 115, 190, .26);
}
.cms-content .cms-cta__text { flex: 1 1 320px; }
.cms-content .cms-cta__title { display: block; color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.cms-content .cms-cta p { color: rgba(255, 255, 255, .93); margin: 0; }
.cms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 9px;
    background: #fff;
    color: #1e73be;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.cms-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); color: #185e9c; }

@media (max-width: 575px) {
    .cms-page h1 { font-size: 26px; }
    .cms-content h2 { font-size: 21px; margin-top: 38px; }
    .cms-content .cms-cta { padding: 24px 22px; }
    .cms-content .cms-cta .cms-btn { width: 100%; }
    .cms-content ol.cms-steps li { padding-left: 52px; }
}

/* ===== Kontakty — mapa =====
   Template nutí .contact-map na 350px, ale iframe uvnitř má 450px a přetékal
   přes patičku. Kontejner se místo toho přizpůsobí skutečné výšce iframu. */
.contact-map { height: auto !important; line-height: 0; }
.contact-map iframe { display: block; width: 100%; }

/* ===== Patička — logo, submenu služeb, povinné informace, partneři ===== */
.footer-brand {
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    line-height: 0;
}
.footer-brand img { height: 40px; width: auto; }
/* Nahrané světlé logo — bez bílé podložky, přes šířku sloupce */
.footer-brand--plain { background: none; padding: 0; display: block; margin-bottom: 22px; }
.footer-brand--plain img { width: 100%; max-width: 260px; height: auto; }
.footer-tagline { font-style: italic; color: rgba(255, 255, 255, .55); margin: 14px 0 16px; font-size: 14px; }
/* Firemní údaje pod logem — kompaktní blok, max 4 logické řádky */
.footer-company { display: flex; flex-direction: column; gap: 4px; }
.footer-company strong { color: #fff; font-size: 14px; font-weight: 600; }
.footer-company span { color: #C5CDD9; font-size: 13px; line-height: 1.45; }
.footer-company a { color: #C5CDD9; }
.footer-company a:hover { color: #fff; }
.footer-1 .contact-info li i { margin-right: 9px; color: rgba(255, 255, 255, .45); }
.footer-cookie-settings {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: #C5CDD9;
    cursor: pointer;
}
.footer-cookie-settings:hover { color: #fff; }

.footer-partners { border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 28px; padding-top: 28px; }
.footer-partners h4 { font-size: 16px; margin-bottom: 16px; }

/* Bílý pás s logy partnerů — barevná loga zobrazená šedivě, po najetí zbarví */
.partner-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 34px;
    background: #fff;
    border-radius: 14px;
    padding: 20px 28px;
}
.partner-logo { display: inline-flex; align-items: center; }
.partner-logo img {
    max-height: 56px;
    max-width: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}
a.partner-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }

/* Sekce Dotace pod newsletterem */
.footer-grant { margin-top: 26px; }
.footer-grant__link { display: block; max-width: 260px; }
.footer-grant__link img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 10px;
}
.footer-grant__link span { display: block; color: #C5CDD9; font-size: 13px; line-height: 1.45; }
.footer-grant__link:hover span { color: #fff; }

@media (max-width: 575px) {
    .partner-strip { gap: 16px 22px; padding: 16px 18px; justify-content: center; }
    .partner-logo img { max-height: 44px; max-width: 130px; }
}

.sub-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sub-footer__row .copy { margin: 0; }
.sub-footer__powered a { color: #8ab4e8; font-weight: 600; }
.sub-footer__powered a:hover { color: #fff; }

/* ===== Cookie lišta ===== */
.cookiebar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: min(1140px, calc(100vw - 24px));
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .35);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 1090;
}
.cookiebar[hidden] { display: none; }
.cookiebar__text { flex: 1 1 340px; }
.cookiebar__text strong { display: block; color: #1f2a37; margin-bottom: 4px; }
.cookiebar__text p { margin: 0; color: #4b5563; font-size: 14px; line-height: 1.55; }
.cookiebar__text a { color: #1e73be; font-weight: 600; }
.cookiebar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookiebar__btn {
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cookiebar__btn--all { background: #1e73be; color: #fff; }
.cookiebar__btn--all:hover { background: #185e9c; }
.cookiebar__btn--essential { background: #fff; color: #475569; border-color: #d7dde5; }
.cookiebar__btn--essential:hover { border-color: #1e73be; color: #1e73be; }
@media (max-width: 575px) {
    .cookiebar { bottom: 10px; padding: 16px; }
    .cookiebar__actions { width: 100%; }
    .cookiebar__btn { flex: 1; }
}

/* ===== Homepage sekce (.hp-*) ===== */
.hp-section { padding: 64px 0; }
.hp-head { text-align: center; margin-bottom: 34px; }
.hp-head p { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #1e73be; margin: 0 0 8px; }
.hp-head h2 { font-size: 30px; font-weight: 700; color: #1f2a37; margin: 0; line-height: 1.25; }

/* Šipky + tečky sliderů (slick core bez theme) */
.hp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1e73be;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
    transition: background .15s ease, color .15s ease;
}
.hp-arrow:hover { background: #1e73be; color: #fff; }
.hp-arrow--prev { left: -12px; }
.hp-arrow--next { right: -12px; }
.slick-dots { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.slick-dots li button { width: 9px; height: 9px; border-radius: 50%; background: #c4d2e3; border: 0; padding: 0; text-indent: -9999px; overflow: hidden; cursor: pointer; transition: .15s; }
.slick-dots li.slick-active button { background: #1e73be; width: 22px; border-radius: 5px; }

/* --- S čím vám pomůžeme (slider služeb) --- */
.hp-services { background: #f1f4f8; }
.hp-services__nav {
    display: flex;
    gap: 0 26px;
    overflow-x: auto;
    border-bottom: 1px solid #dde4ee;
    margin-bottom: 28px;
    scrollbar-width: none;
}
.hp-services__nav::-webkit-scrollbar { display: none; }
.hp-services__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    padding: 12px 4px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #64748b;
    white-space: nowrap;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.hp-services__tab i { color: #1e73be; font-size: 16px; }
.hp-services__tab:hover { color: #1e73be; }
.hp-services__tab.is-active { color: #1e73be; border-bottom-color: #1e73be; }
.hp-services__slider { position: relative; }
/* stejně vysoké slidy */
.hp-services__slider .slick-track { display: flex !important; }
.hp-services__slider .slick-slide { height: inherit !important; }
.hp-services__slider .slick-slide > div { height: 100%; }
.hp-slide { height: 100%; }

/* Dělený slide: vlevo modrý textový panel, vpravo čtvercová fotka.
   Předěl řeší varianta na sekci: --blend (přechod), --diag (šikmý řez),
   --card (foto jako vsazená čtvercová karta). */
.hp-slide__inner {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 440px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(120deg, #0f2b46 0%, #1b4e7f 100%);
}
.hp-slide__text {
    flex: 1 1 52%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Pravý padding drží text mimo diagonálu, kterou fotka zasahuje do panelu. */
    padding: 48px 130px 48px 52px;
    position: relative;
    z-index: 2;
}
.hp-slide__text h3 { color: #fff; font-size: 30px; font-weight: 700; line-height: 1.25; margin: 0 0 14px; }
.hp-slide__text p {
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px;
    /* Pojistka pro delší popisky z administrace — slide se nerozjede. */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-slide__media { flex: 1 1 48%; position: relative; }
.hp-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Varianta A — měkký přechod: fotka plynule vystupuje z modrého panelu */
.hp-services--blend .hp-slide__text { background: linear-gradient(90deg, #0f2b46 0%, #16466f 100%); margin-right: -1px; }
.hp-services--blend .hp-slide__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #16466f 0%, rgba(22, 70, 111, .55) 26%, rgba(22, 70, 111, 0) 58%);
}

/* Varianta B — šikmý řez: dynamický diagonální předěl (rodina motivu stužek) */
.hp-services--diag .hp-slide__media { margin-left: -110px; clip-path: polygon(110px 0, 100% 0, 100% 100%, 0 100%); }
.hp-services--diag .hp-slide__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    clip-path: polygon(110px 0, 138px 0, 28px 100%, 0 100%);
    background: rgba(255, 255, 255, .22);
}

/* Varianta C — vsazená karta: čtvercová fotka bez ořezu na modrém panelu */
.hp-services--card .hp-slide__media {
    flex: 0 0 auto;
    align-self: center;
    position: relative;
    width: min(340px, 34vw);
    aspect-ratio: 1 / 1;
    margin: 40px 48px 40px 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .18);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .38);
}
.hp-services--card .hp-slide__inner::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -110px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 44px solid rgba(255, 255, 255, .05);
    pointer-events: none;
}
.hp-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 9px;
    background: #fff;
    color: #1e73be;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.hp-slide__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); color: #185e9c; }

/* --- Výhody + statistiky --- */
.hp-benefits__card {
    position: relative;
    background: #f1f4f8;
    border-radius: 16px;
    padding: 40px 44px;
    overflow: hidden;
}
.hp-benefits__card::after {
    content: "✓";
    position: absolute;
    right: -6px;
    bottom: -66px;
    font-size: 210px;
    line-height: 1;
    font-weight: 700;
    color: rgba(30, 115, 190, .07);
    pointer-events: none;
}
.hp-benefits__card h2 { font-size: 25px; font-weight: 700; color: #1f2a37; line-height: 1.3; margin: 0 0 22px; }
.hp-checklist { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.hp-checklist li { position: relative; padding-left: 34px; margin: 12px 0; color: #4b5563; font-size: 15px; line-height: 1.6; }
.hp-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dcebfa;
    color: #1e73be;
    font-size: 12px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}
.hp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px 28px; padding-left: 18px; }
.hp-stat__icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #cfe0f2;
    box-shadow: 0 4px 12px rgba(20, 38, 66, .06);
    color: #1e73be;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.hp-stat strong { display: block; font-size: 40px; font-weight: 800; color: #1f2a37; line-height: 1; margin-bottom: 7px; }
.hp-stat__label { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #1e73be; }

/* --- CTA pás --- */
.hp-cta-band { padding: 4px 0 64px; }
.hp-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    padding: 32px 38px;
    border-radius: 16px;
    background:
        radial-gradient(circle at 85% -30%, rgba(255, 255, 255, .22), transparent 55%),
        linear-gradient(135deg, #2e8be0, #1e73be);
    color: #fff;
    box-shadow: 0 14px 34px rgba(30, 115, 190, .26);
}
.hp-cta__text { flex: 1 1 340px; }
.hp-cta__text strong { display: block; font-size: 21px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.hp-cta__text p { margin: 0; color: rgba(255, 255, 255, .93); }
.hp-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cms-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .55); }
.cms-btn--ghost:hover { background: rgba(255, 255, 255, .13); color: #fff; box-shadow: none; }

/* --- Reference --- */
.hp-reviews { background: #f1f4f8; }
.hp-reviews__badge {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 26px rgba(20, 38, 66, .08);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hp-reviews__stars { color: #f6a609; font-size: 19px; letter-spacing: 2px; }
.hp-reviews__badge > strong { font-size: 27px; font-weight: 800; color: #1f2a37; line-height: 1.15; }
.hp-reviews__note { color: #64748b; font-size: 13.5px; line-height: 1.45; }
.hp-reviews__count { color: #1e73be; font-weight: 700; font-size: 14px; margin-top: 8px; }
.hp-reviews__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #1e73be;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: background .15s ease;
}
.hp-reviews__btn:hover { background: #185e9c; color: #fff; }
.hp-reviews__slider { position: relative; }
.hp-reviews__slider .slick-list { margin: 0 -9px; }
.hp-reviews__slider .slick-track { display: flex !important; }
.hp-reviews__slider .slick-slide { height: inherit !important; }
.hp-reviews__slider .slick-slide > div { height: 100%; }
.hp-review { height: 100%; padding: 0 9px; }
.hp-review__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(20, 38, 66, .06);
    padding: 22px 24px;
}
.hp-review__card > i { font-size: 30px; line-height: 1; color: #cfe0f2; margin-bottom: 6px; }
.hp-review__card p {
    flex: 1;
    color: #4b5563;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-review__card strong { color: #1f2a37; font-size: 15px; }
.hp-review__agent { color: #9aa3b2; font-size: 12.5px; margin-top: 2px; }

/* --- Tým na homepage ---
   První řádek = makléři označení v adminu jako „top" (1–2 karty), pod nimi
   zbytek. Karty drží šířku trojsloupcové mřížky — fotka je 1:1, takže širší
   karta by znamenala neúměrně vysoký portrét. */
.hp-team { padding-bottom: 40px; }
.hp-team__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.hp-team__row + .hp-team__row { margin-top: 24px; }
.hp-team__item { flex: 0 1 100%; max-width: 100%; }
@media (min-width: 768px) {
    .hp-team__item { flex-basis: calc(50% - 12px); max-width: calc(50% - 12px); }
}
@media (min-width: 992px) {
    .hp-team__item { flex-basis: calc(33.333% - 16px); max-width: calc(33.333% - 16px); }
    /* Čtyři zbylí makléři do jednoho řádku, ať nezůstane osamocená karta pod trojicí */
    .hp-team__row[data-count="4"] .hp-team__item { flex-basis: calc(25% - 18px); max-width: calc(25% - 18px); }
}
/* Top makléři jsou o něco výraznější — bez dalšího štítku, karta už jeden má */
.hp-team__row--top .ad-card { box-shadow: 0 12px 34px rgba(20, 38, 66, .17); }

/* --- Aktuality (homepage + /aktuality) --- */
.hp-news { background: #f1f4f8; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(20, 38, 66, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20, 38, 66, .13); }
.news-card__img { position: relative; display: block; aspect-ratio: 16 / 9; background: #e2e8f1; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #b6c2d4; font-size: 42px; }
.news-card__date {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(18, 28, 45, .8);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}
.news-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.news-card__body h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 10px; }
.news-card__body h3 a { color: #1f2a37; transition: color .15s ease; }
.news-card__body h3 a:hover { color: #1e73be; }
.news-card__body p {
    color: #64748b;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: #1e73be; font-weight: 700; font-size: 14px; }
.news-card__more:hover { color: #185e9c; }

.news-page .news-grid { margin-top: 4px; }
.news-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.news-pager__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    border: 1px solid #d7dde5;
    background: #fff;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    transition: border-color .15s ease, color .15s ease;
}
.news-pager__btn:hover { border-color: #1e73be; color: #1e73be; }
.news-pager__info { color: #64748b; font-size: 14px; }

.news-breadcrumb { color: #64748b; font-size: 14px; margin-bottom: 16px; }
.news-breadcrumb a { color: #1e73be; font-weight: 600; }
.news-breadcrumb span { margin: 0 6px; color: #b8c0cc; }
.news-detail__meta { color: #9aa3b2; font-size: 14px; margin: -10px 0 22px; }
.news-detail__meta i { margin-right: 7px; }
.news-detail__hero { max-width: 62rem; border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.news-detail__hero img { width: 100%; display: block; }
.news-detail__perex { max-width: 62rem; }
.news-detail__back { margin-top: 38px; }
.news-detail__back a { display: inline-flex; align-items: center; gap: 8px; color: #1e73be; font-weight: 700; }
.news-detail__back a:hover { color: #185e9c; }

@media (max-width: 767px) {
    .hp-section { padding: 46px 0; }
    .hp-head h2 { font-size: 25px; }
    .hp-slide__inner { min-height: 0; flex-direction: column-reverse; }
    .hp-slide__media {
        flex: 0 0 auto !important;
        width: 100% !important;
        min-height: 230px;
        margin: 0 !important;
        clip-path: none !important;
        aspect-ratio: auto !important;
        border: 0 !important;
        border-radius: 0 !important;
        align-self: stretch !important;
    }
    .hp-services--blend .hp-slide__media::before { background: linear-gradient(180deg, rgba(22, 70, 111, 0) 55%, #16466f 100%); }
    .hp-services--diag .hp-slide__media::before { display: none; }
    .hp-services--card .hp-slide__inner::after { display: none; }
    .hp-slide__text { padding: 26px 24px 30px; }
    .hp-slide__text p { -webkit-line-clamp: 8; }
    .hp-slide__text h3 { font-size: 23px; }
    .hp-benefits__card { padding: 28px 24px; }
    /* Statistiky ve dvou sloupcích a na střed — jinak se roztáhnou přes celý displej */
    .hp-stats { padding-left: 0; grid-template-columns: 1fr 1fr; gap: 24px 14px; }
    .hp-stat { text-align: center; }
    .hp-stat__icon { width: 46px; height: 46px; font-size: 20px; margin: 0 auto 10px; }
    .hp-stat strong { font-size: 26px; margin-bottom: 4px; }
    .hp-stat__label { font-size: 11px; letter-spacing: .5px; }
    .hp-cta { padding: 26px 24px; }
    .hp-cta__actions { width: 100%; }
    .hp-cta__actions .cms-btn { flex: 1; }
    .hp-arrow--prev { left: 6px; }
    .hp-arrow--next { right: 6px; }
}

/* ===== Kontakty (.ct-*) — karty, panely, formulář ===== */
.ct-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
@media (max-width: 991px) { .ct-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .ct-cards { grid-template-columns: 1fr; } }
.ct-card {
    background: #fff;
    border: 1px solid #e2e8f1;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 3px 12px rgba(20, 38, 66, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ct-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 38, 66, .11); }
.ct-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #eaf2fb;
    color: #1e73be;
    font-size: 20px;
    margin-bottom: 14px;
}
.ct-card em { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #98a2b3; margin-bottom: 6px; }
.ct-card strong { display: block; font-size: 15px; font-weight: 600; color: #1f2a37; line-height: 1.5; }
.ct-card strong + strong { margin-top: 3px; }
.ct-card strong a { color: #1f2a37; transition: color .15s ease; }
.ct-card strong a:hover { color: #1e73be; }

.ct-panel {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 26px rgba(20, 38, 66, .08);
    padding: 28px 30px;
    margin-bottom: 24px;
}
.ct-panel h3 { font-size: 20px; font-weight: 700; color: #1f2a37; margin: 0 0 20px; padding-bottom: 12px; position: relative; }
.ct-panel h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: #1e73be; }
.ct-panel p { color: #4b5563; font-size: 14.5px; line-height: 1.65; }
.ct-panel__note { margin-top: 14px; }
.ct-hours { list-style: none; padding: 0; margin: 14px 0 0; }
.ct-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef1f5; font-size: 14.5px; }
.ct-hours li:last-child { border-bottom: 0; }
.ct-hours strong { color: #1f2a37; font-weight: 600; }
.ct-hours span { color: #4b5563; }
.ct-facts { list-style: none; padding: 0; margin: 0; }
.ct-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #eef1f5; font-size: 14px; }
.ct-facts li:last-child { border-bottom: 0; }
.ct-facts span { color: #98a2b3; flex: 0 0 auto; }
.ct-facts strong { color: #1f2a37; font-weight: 600; text-align: right; line-height: 1.45; }

/* Sekce s nadpisem h2 ve stylu template .main-title h1 (jedno h1 na stránku) */
.main-title h2 { font-size: 33px; font-weight: 600; margin-bottom: 15px; }

/* Fotka vstupu do kanceláře v panelu Navštivte nás */
.ct-photo { border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.ct-photo img { width: 100%; display: block; }

/* Mapa jako panel vedle fakturačních údajů */
.ct-panel--map { padding: 0; overflow: hidden; height: 100%; min-height: 380px; display: flex; }
.ct-panel--map iframe { width: 100%; min-height: 380px; border: 0; flex: 1; }
.ct-row-2 > [class*="col-"] { display: flex; flex-direction: column; }
.ct-row-2 .ct-panel { flex: 1; margin-bottom: 0; }
.ct-row-2 + .ct-row-2 { margin-top: 24px; }

/* Kontaktní osoby (nemakléři) */
.tc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.tc-grid .tc-card { flex: 0 1 400px; min-width: 300px; }
.tc-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e2e8f1;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 3px 12px rgba(20, 38, 66, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.tc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 38, 66, .11); }
.tc-card__photo { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; }
.tc-card__photo--placeholder { display: flex; align-items: center; justify-content: center; background: #eaf2fb; color: #1e73be; font-size: 34px; }
.tc-card__body { display: flex; flex-direction: column; min-width: 0; }
.tc-card__body strong { font-size: 16px; font-weight: 700; color: #1f2a37; line-height: 1.3; }
.tc-card__body em { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #98a2b3; margin: 3px 0 8px; }
.tc-card__body a { display: inline-flex; align-items: center; gap: 7px; color: #4b5563; font-size: 13.5px; margin-top: 4px; overflow-wrap: anywhere; }
.tc-card__body a:hover { color: #1e73be; }
.tc-card__body a i { color: #1e73be; font-size: 13px; }

/* Formulář — sjednoceno s poli na detailu nemovitosti */
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: #4b5563; margin: 0 0 6px; }
.contact-form input:not([type=checkbox]):not([type=hidden]),
.contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #1f2a37;
    margin-bottom: 16px;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #1e73be; outline: none; }
.contact-form textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
/* Checkbox „Chci dostávat novinky" — na jednom řádku s textem */
.ct-optin { display: flex; align-items: center; gap: 9px; margin: 2px 0 8px; }
.ct-optin input[type=checkbox] { width: 17px; height: 17px; margin: 0; accent-color: #1e73be; flex: 0 0 auto; cursor: pointer; order: -1; }
.ct-optin label { margin: 0; font-size: 14px; font-weight: 500; color: #4b5563; cursor: pointer; }
.ct-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 30px;
    border: 0;
    border-radius: 9px;
    background: #1e73be;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, transform .2s ease, box-shadow .2s ease;
    margin-top: 6px;
}
.ct-submit:hover { background: #185e9c; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 115, 190, .3); }

/* Etapa 5 — contact forms */
.anti-spam-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.newsletter-box form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-box input { flex: 1; min-width: 160px; padding: 8px; }
.inquiry-form { margin-top: 16px; }
.inquiry-form input, .inquiry-form textarea { width: 100%; margin-bottom: 8px; }

/* Stránka zaniklého inzerátu (HTTP 410) — property/gone.html.twig */
.pd-gone { text-align: center; padding: 48px 24px; }
.pd-gone__badge {
    display: inline-block; padding: 6px 18px; border-radius: 999px;
    background: #b3372e; color: #fff; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; font-size: 14px; margin-bottom: 18px;
}
.pd-gone__title { font-size: 28px; margin-bottom: 10px; }
.pd-gone__note { color: #57687a; max-width: 60ch; margin: 0 auto 22px; }
.pd-gone__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pd-gone__actions .pd-btn { width: auto; min-width: 220px; }
.pd-gone__alts { margin-top: 28px; }

/* Hero sdělení je nově H1 (SEO). Zmenšeno oproti původnímu h3 (55px) na 40px
   se streamlinovanou řádkovou výškou — delší titulek s klíčovými slovy jinak
   působil příliš mohutně. Jen desktop: mobilní velikost (26px) řeší media
   query výše. */
.banner .banner-info2 .text-l h1 { color: #fff; letter-spacing: normal; }
@media (min-width: 992px) {
    .banner .banner-info2 .text-l h1 {
        font-size: 40px;
        line-height: 1.2;
        font-weight: 600;
        margin-bottom: 18px;
    }
}

/* „Vybrané nemovitosti" je nově H2 (jediný H1 patří heru) — styl původního .main-title h1. */
.main-title h2 {
    font-size: 33px;
    font-weight: 600;
    margin-bottom: 15px;
}
