/* Lokální iterace 2026-09-08. Brand a rozhodnutí: .review/2026-09-08/PLAN.md.
   Čitelnost, kratší mobilní cesta a klidný střed stránky. */
:root {
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --hairline: rgba(11, 59, 46, .16);
}
body { -webkit-font-smoothing: antialiased; }
::selection { background: #d9c2a3; color: var(--color-primary-deep); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
button, a, input, select, textarea { touch-action: manipulation; }
input, select, textarea { font-size: max(1rem, 16px); }
.sort-select, .sheet-sort-select, .price-inputs input { font-size: 16px; }
section[id] { scroll-margin-top: 96px; }
.btn-primary, .navbar.scrolled .btn-primary { color: var(--color-primary-deep); }
.btn-primary, .btn-secondary { transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary:hover, .btn-secondary:hover { transform: none; box-shadow: none; }
.btn-primary:hover { background: #d3ad80; color: var(--color-primary-deep); }
.section-subtitle { color: var(--color-text-light); }
.hh-cta .section-subtitle, .hod-hlava .section-subtitle { color: #dce5df; }
.btn-text { color: var(--color-primary); min-height: 44px; }
.sluzby-predel .btn-text, .intent-content .btn-text { color: white; }
/* Nad hero zůstává lišta průhledná; plochu dostane až při scrollu. */
.navbar { background: transparent; padding: 12px 0; transition: background-color .2s, box-shadow .2s; }
.navbar.scrolled { padding: 12px 0; background: var(--color-bg); box-shadow: 0 1px 0 var(--hairline); }
.service-page .navbar .logo, .service-page .navbar .nav-links a:not(.btn-primary), .service-page .navbar .menu-toggle { color: var(--color-primary); }
.service-page .navbar .logo span { color: var(--color-text-light); }
.logo { font-weight: 500; font-size: 21px; letter-spacing: .025em; }
.logo span { font-size: 11px; font-weight: 400; color: #dbc5a8; letter-spacing: .2em; }
.navbar:not(.scrolled) .logo span { color: white; }
.service-page .navbar:not(.scrolled) .logo span { color: var(--color-text-light); }
.navbar.scrolled .logo span { color: var(--color-text-light); }
.nav-links { gap: 1.25rem; }
.nav-links a:not(.btn-primary)::before { border-radius: var(--radius-input); background: rgba(255,255,255,.12); }
.navbar.scrolled .nav-links a:not(.btn-primary):hover { color: var(--color-primary); }
.navbar.scrolled .nav-links a:not(.btn-primary)::before { background: var(--color-bg-light); }
.nav-dropdown-menu a:hover { color: var(--color-primary) !important; }
/* Reveal není podmínkou dostupnosti obsahu. Podpisem zůstávají Hodnoty. */
.reveal, .reveal.active { opacity: 1; transform: none; transition: none; will-change: auto; }
.hero { background-color: var(--color-primary-deep); isolation: isolate; padding-top: 120px; min-height: 620px; height: 92svh; max-height: 900px; }
.hero-bg { z-index: -2; }
.hero-text-wrapper { animation: none; }
.hero-title { font-weight: 400; max-width: 19ch; }
.hero-description { font-weight: 400; opacity: 1; max-width: 49ch; }
.hero-subtitle { color: #fff; font-size: 13px; letter-spacing: .09em; }
.hero-overlay { background: linear-gradient(180deg,rgba(6,42,33,.72),transparent 220px), linear-gradient(90deg,rgba(6,42,33,.8),rgba(6,42,33,.15)), linear-gradient(0deg,rgba(6,42,33,.35),transparent 80%); }
.trust-bar { background: var(--color-bg); padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.trust-grid { gap: 1.5rem; }
.trust-item { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 12px; }
.trust-number { color: var(--color-primary); font-size: 1rem; margin: 0; line-height: 1; }
.trust-number svg { width: 22px; height: 22px; }
.trust-label { font-size: 14px; text-transform: none; letter-spacing: 0; }
.hod-cislo { color: #e4d7c6; font-weight: 400; }
.hod-krok > svg { display: none; }
.hod-krok { transition: opacity .25s, transform .3s var(--ease-out); }
.hod-foto { transform: none; transition: opacity .3s; }
.hod-krok p { line-height: 1.6; }
.hod-bod { color: #e3e9e5; }
.hod-bod-linka { transition: background-color .2s; }
.home-listing-controls { display: none; }
/* Desktop zůstává prostorový, mobil má jasný sled krátkých kapitol. */
@media (max-width: 1100px) {
    .nav-links { visibility: hidden; overflow-y: auto; height: 100dvh; gap: 8px; padding: 84px 24px 32px; overscroll-behavior: contain; }
    .nav-links.active { visibility: visible; }
    .nav-links::after { display: none; }
    .nav-links a:not(.btn-primary) { font-size: 20px; padding: 10px 0; min-height: 44px; }
    .nav-dropdown-menu a:not(.btn-primary) { font-family: var(--font-body); font-size: 16px; }
    .nav-links .btn-primary { margin-top: 12px; padding: 14px 16px; font-size: 16px; }
    .menu-toggle { min-height: 44px; min-width: 44px; }
    .menu-toggle[aria-expanded="true"] { color: var(--color-primary); }
    .nav-overlay { backdrop-filter: none; }
}
@media (max-width: 767px) {
    .navbar, .navbar.scrolled { padding: 10px 0; }
    .logo { font-size: 19px; }
    .logo span { font-size: 10px; }
    .hero { height: auto; min-height: min(760px, 100svh); max-height: none; padding: 150px 0 72px; }
    .hero-content { padding-inline: 24px; }
    .hero-title { font-size: 40px; line-height: 1.1; margin-bottom: 20px; }
    .hero-description { font-size: 17px; line-height: 1.55; margin-bottom: 24px; }
    .hero-subtitle { font-size: 12px; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; margin-bottom: 18px; }
    .hero-cta { gap: 10px; }
    .trust-bar { padding: 20px 0; }
    .trust-grid, .trust-grid.trust-grid-4 { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 14px 24px; }
    .trust-item { justify-content: flex-start; gap: 8px; }
    .trust-label { font-size: 13px; line-height: 1.35; }
    .trust-number svg { width: 18px; height: 18px; }
    .section { padding-block: 56px; }
    .section-title, .section h2 { line-height: 1.2; }
    .intent-section .section-header { text-align: left; margin-bottom: 24px !important; }
    .intent-grid-v2 { gap: 16px; }
    .intent-card-v2 { min-height: 240px; height: 240px; }
    .hod-mriz { padding-block: 56px; gap: 28px; }
    .hod-panel { gap: 0; }
    .hod-krok { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 0 12px; padding: 24px 0; max-width: none; }
    .hod-krok:first-child { padding-top: 0; }
    .hod-cislo { grid-column: 1; grid-row: 1 / 3; font-size: 25px; margin: 2px 0 0; }
    .hod-krok h3 { grid-column: 2; font-size: 23px; line-height: 1.2; margin-bottom: 8px; }
    .hod-krok p { grid-column: 2; font-size: 16px; line-height: 1.55; margin-bottom: 0; }
    .about-image-side { max-height: 460px; overflow: hidden; border-radius: var(--radius-obrazek); }
    .about-image-side img { height: 100%; width: 100%; object-fit: cover; object-position: center 30%; }
    .about-split-article { gap: 28px; }
    #katalog .section-header { text-align: left; }
    #katalog .catalog-filters { justify-content: flex-start; gap: 8px; margin-block: 24px; }
    #katalog .filter-btn { min-height: 44px; font-size: 14px; }
    #homepage-listings-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 0; padding: 0 0 16px; scrollbar-width: thin; scrollbar-color: #9caea4 transparent; }
    #homepage-listings-grid .property-overlay-card { scroll-snap-align: start; min-width: 0; height: 410px; transform: none; }
    .home-listing-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 16px; color: var(--color-text-light); font-size: 14px; }
    .home-listing-arrows { display: flex; gap: 8px; }
    .home-listing-arrows button { width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; background: transparent; color: var(--color-primary); cursor: pointer; }
    .home-listing-arrows button:disabled { opacity: .35; cursor: default; }
    .hh-cta .form-group input, .hh-cta .form-group textarea { font-size: 16px; }
    .hh-cta-inner { gap: 32px; }
    .hh-cta-karta img { max-height: 340px; object-fit: cover; object-position: center 25%; }
    .lok-karta-cta { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hod-krok { opacity: 1; transform: none; }
    .hod-mriz { display: block; }
    .hod-panel { margin-top: 32px; }
    .hod-osa { display: none; }
}
/* Služby: čitelný úvod na papíře, fotografie má vlastní prostor. */
.service-page .hero-services.split-hero {
    background: var(--color-bg); color: var(--color-text); display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 5%;
    height: auto; min-height: 0; padding: 132px max(5%, calc((100vw - 1256px)/2)) 64px;
    align-items: center;
}
.service-page .hero-text-side { padding: 0; display: block; }
.service-page .hero-title { color: var(--color-primary); max-width: 17ch; margin-bottom: 24px; }
.service-page .hero-description { color: var(--color-text-light); font-size: 18px; line-height: 1.6; max-width: 47ch; margin-bottom: 24px !important; }
.service-page .hero-subtitle { color: var(--color-text-light); font-size: 13px; margin-bottom: 20px; }
.service-page .hero-text-side > ul { color: var(--color-text-light) !important; font-size: 15px; line-height: 1.5; margin-bottom: 24px !important; }
.service-page .hero-text-side > ul svg { color: var(--color-primary) !important; }
.service-page .hero-cta { flex-wrap: wrap; gap: 12px; margin-bottom: 0 !important; }
.service-page .hero-cta .btn-secondary { color: var(--color-primary); border-color: var(--hairline); }
.service-page .hero-cta a { padding: 14px 22px; font-size: 15px; min-height: 52px; }
.service-page .hero-image-side { height: 550px; width: 100%; border-radius: var(--radius-obrazek); overflow: hidden; }
.service-page .hero-image-side img { border-radius: 0; object-position: center; }
.service-page .section { padding-block: 80px; }
.service-page .section-title.text-center, .service-page .section-text.text-center { text-align: left; margin-left: 0 !important; }
.service-page section:has(.edu-list) > .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px 64px; align-items: start; }
.service-page section:has(.edu-list) .section-title { grid-column: 1; max-width: 18ch; text-align: left; }
.service-page section:has(.edu-list) .section-text { grid-column: 1; }
.service-page .edu-list { grid-column: 2; grid-row: 1 / span 3; margin: 0; gap: 0; }
.service-page .edu-item { padding: 24px 0; border-radius: 0; background: transparent; box-shadow: none; border-bottom: 1px solid var(--hairline); gap: 20px; }
.service-page .edu-item:first-child { padding-top: 0; }
.service-page .edu-item:last-child { padding-bottom: 0; border-bottom: 0; }
.service-page .edu-icon { width: 28px; min-width: 28px; height: 28px; border-radius: 0; background: transparent; }
.service-page .edu-content h3 { font-size: 25px; line-height: 1.2; margin-bottom: 10px; }
.service-page .edu-content p { max-width: 55ch; color: var(--color-text-light); margin: 0; }
.service-page .process-grid { gap: 0; }
.service-page .process-card { background: transparent; border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--hairline); padding: 24px 24px 0 0; text-align: left; }
.service-page .process-number { position: static; opacity: 1; color: var(--color-text-light); font-size: 22px; line-height: 1; margin-bottom: 24px; }
.service-page .process-icon { display: none; }
.service-page .process-card h3 { font-size: 22px; line-height: 1.2; }
.service-page .process-card p { color: var(--color-text-light); }
.service-page .service-card, .service-page .calc-card { padding: 24px 24px 24px 0; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; box-shadow: none; background: transparent; text-align: left; }
.service-page .service-ikona, .service-page .calc-ikona { display: none; }
.service-page .calc-card h3, .service-page .service-card h3 { font-size: 25px; line-height: 1.2; }
.service-page .garance-karta { background: transparent; padding: 0; border: 0; max-width: 760px; }
.service-page .garance-karta .section-title, .service-page .garance-karta .garance-text { color: white !important; }
.service-page .garance-text { font-size: 18px; line-height: 1.65; }
.service-page .timeline-v-content { background: transparent; box-shadow: none; border: 0 !important; padding: 0 0 8px 24px; }
.service-page .timeline-v-header h3 { font-size: 25px; line-height: 1.2; }
.service-page .timeline-v-duration { text-transform: none; letter-spacing: 0; }
.service-page .timeline-v-step { padding-bottom: 36px; }
.service-page .payment-grid { border: 0; border-radius: var(--radius-karta); overflow: hidden; }
.service-page .payment-box { text-align: left; padding: 28px; }
.service-page .filter-form { box-shadow: none; backdrop-filter: none; background: transparent; border: 0; padding: 0; }
.service-page .filter-group label { color: #dae4df; font-size: 13px; text-transform: none; letter-spacing: 0; }
.service-page .filter-group select { font-size: 16px; min-height: 52px; }
.service-page .results-bar { display: none; }
.service-page .sluzby-predel .container { width: 100%; }
@media (max-width: 900px) {
    .service-page .hero-services.split-hero { grid-template-columns: 1fr 1fr; padding: 116px 24px 48px; gap: 24px; }
    .service-page .hero-image-side { height: 500px; }
    .service-page .hero-title { font-size: 40px; }
    .service-page .hero-description { font-size: 17px; }
    .service-page section:has(.edu-list) > .container { column-gap: 32px; }
}
@media (max-width: 767px) {
    .service-page .hero-services.split-hero { grid-template-columns: 1fr; padding: 112px 24px 40px; gap: 28px; }
    .service-page .hero-text-side { padding: 0; }
    .service-page .hero-title { font-size: 40px; line-height: 1.1; max-width: 16ch; margin-bottom: 18px; }
    .service-page .hero-subtitle { margin-bottom: 14px; font-size: 12px; }
    .service-page .hero-description { font-size: 17px; line-height: 1.55; margin-bottom: 20px !important; }
    .service-page .hero-image-side { height: 230px; }
    .service-page .hero-cta { flex-direction: row; align-items: center; }
    .service-page .hero-cta a { padding: 13px 18px; font-size: 14px; }
    .service-page .hero-text-side > ul { font-size: 14px; order: 3; }
    .service-page .section { padding-block: 56px; }
    .service-page .smart-filter-section { padding-block: 36px; }
    .service-page .filter-form { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
    .service-page .filter-group select { padding-left: 10px; }
    .service-page .filter-group:has(.filter-checkbox) { grid-column: 1 / -1; }
    .service-page section:has(.edu-list) > .container { display: block; }
    .service-page .edu-list { margin-top: 32px; }
    .service-page .edu-content h3 { font-size: 23px; }
    .service-page .edu-item { gap: 14px; }
    .service-page .calc-grid { grid-template-columns: 1fr; gap: 0; }
    .service-page .service-card, .service-page .calc-card { padding: 24px 0; }
    .service-page .services-grid { gap: 0; }
    .service-page .process-grid { display: block; }
    .service-page .process-card { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding: 24px 0; }
    .service-page .process-number { grid-row: 1 / span 2; margin: 2px 0 0; font-size: 20px; }
    .service-page .process-card h3, .service-page .process-card p { grid-column: 2; }
    .service-page .process-card p { margin: 0; }
    .service-page .timeline-v-content { padding-left: 12px; }
    .service-page .timeline-v-header h3 { font-size: 23px; }
    .service-page .payment-box { padding: 24px; }
}
/* Costa del Sol: stejné karty zůstávají, ale mobilní metriky se čtou vedle sebe. */
.cds-mesto-btn.btn-text { color: var(--color-primary); }
@media (max-width: 560px) {
    .cds-hero { padding-top: 132px; padding-bottom: 104px; }
    .cds-hero h1 { font-size: 40px; line-height: 1.1; }
    .cds-kpi { grid-template-columns: 1fr 1fr; margin-top: -48px; }
    .cds-kpi-bunka { padding: 20px 16px; }
    .cds-kpi-bunka:nth-child(2) { border-top: 0; }
    .cds-kpi-bunka:nth-child(even) { border-left: 1px solid var(--color-bg-light); }
}
/* Pinning je progressive enhancement: bez JS a v noanim je celý text dostupný. */
.hodnoty:not(.is-pinned) { height: auto !important; }
.hodnoty:not(.is-pinned) .hod-pin { position: relative; min-height: 0; }
.hodnoty:not(.is-pinned) .hod-fotky, .hodnoty:not(.is-pinned) .hod-osa { display: none; }
.hodnoty:not(.is-pinned) .hod-panel { display: flex; flex-direction: column; gap: 0; }
.hodnoty:not(.is-pinned) .hod-krok { opacity: 1; transform: none; pointer-events: auto; grid-area: auto; }
.hodnoty:not(.is-pinned) .hod-mriz { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .hodnoty:not(.is-pinned) .hod-krok { padding-block: 24px; }
}
html { scroll-behavior: auto; }
html[data-noanim] *, html[data-noanim] *::before, html[data-noanim] *::after { transition: none !important; animation: none !important; }
.locations .section-subtitle { color: #dce5df; }
.service-page .garance-karta[style] .garance-text { color: var(--color-text) !important; }
.catalog-title { font-size: 32px; line-height: 1.15; max-width: 20ch; margin: 0 0 24px; }
.form-status { margin: 18px 0 0; padding: 14px 16px; background: var(--color-bg); color: var(--color-primary-deep); border-radius: var(--radius-input); font-size: 15px; line-height: 1.5; }
.form-status:empty { display: none; }
@media (max-width: 767px) {
    .catalog-title { font-size: 28px; }
    .service-page div:has(> .garance-karta) { grid-template-columns: minmax(0,1fr) !important; }
    .service-page .garance-karta[style] { padding: 24px !important; }
}
/* Textové kroky se nemohou překrýt během crossfade. Prolíná se pouze fotka. */
.hod-krok { transition: none; transform: none; }
a.property-overlay-card { display: block; }
.costa-hero { background-attachment: scroll; }
.costa-hero::before { background: linear-gradient(180deg,rgba(6,42,33,.7),rgba(6,42,33,.8)); }
.costa-hero-title, .costa-stat-val { color: white; text-shadow: none; }
.costa-hero-subtitle { letter-spacing: .1em; }
.lok-karta-cta { min-height: 44px; }
.hh-cta .form-group input, .hh-cta .form-group textarea,
.newsletter-form-modern input, .filter-group select { font-size: 16px; }
.service-page p { max-width: 65ch; }
.service-page .section-text { max-width: 65ch !important; }
.po-price, .cds-count, .catalog-title, .payment-amount { font-variant-numeric: tabular-nums; }
.listing-empty { grid-column: 1 / -1; max-width: 660px; padding: 24px 0; }
.listing-empty p { font-size: 18px; color: var(--color-text-light); margin-bottom: 24px; }
.listing-empty-link { display: inline-flex; padding: 16px; text-decoration: underline; text-underline-offset: 4px; }
.cds-foto-blok { margin-bottom: 40px; }
@media (max-width: 767px) {
    .cds-dlazdice-cislo, .cds-dlazdice-cislo .cds-count { font-size: 32px; line-height: 1.15; }
    .lightbox.active .lightbox-nav { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; top: auto; bottom: 32px; transform: none; }
    .lightbox.active .lightbox-prev { left: 24px; }
    .lightbox.active .lightbox-next { right: 24px; }
}
.hod-cislo { letter-spacing: -.02em; }
