/* ==========================================================================
   aleshorky.cz – veřejný web
   Kombinace návrhů: hero z „A“ (fotka makléře, výhody), styl a sekce z „B“
   (krémová / tmavě zelená / zlatá, serifové nadpisy, cesta ke klíčům).
   ========================================================================== */

:root {
    /* Barvy */
    --green-950: #0f231b;
    --green-900: #142e24;
    --green-800: #1a3a2e;
    --green-700: #22493a;
    --green-100: #e5ece8;
    --cream: #f6f3ee;
    --sand: #ece6dc;
    --white: #ffffff;
    --ink: #17302a;
    --text: #3d4d47;
    --muted: #5e6b65;
    --line: #e2dbcf;
    --accent: #a9661a;        /* plochy, tlačítka (bílý text 4,56:1 – WCAG AA) */
    --accent-hover: #8f5514;
    --accent-light: #d08428;  /* text a prvky na tmavě zeleném pozadí (4,85:1) */
    --accent-ink: #9c5f14;    /* text v akcentní barvě na světlém pozadí */
    --accent-soft: #f7ead8;

    /* Typografie */
    --font-serif: "Roboto Slab", Rockwell, Georgia, serif;
    --font-sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-mono: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; /* popisky nad nadpisy */
    --font-script: "Great Vibes", "Brush Script MT", cursive;

    /* Rozměry */
    --container: 1240px;
    --gutter: 24px;
    --radius: 14px;
    --radius-sm: 8px;
    --header-h: 84px;
    --shadow-sm: 0 1px 2px rgba(20, 46, 36, .06), 0 2px 8px rgba(20, 46, 36, .05);
    --shadow-md: 0 10px 30px -10px rgba(20, 46, 36, .25);
    --shadow-lg: 0 30px 60px -20px rgba(15, 35, 27, .35);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   Základ
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }

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

h1, h2, h3, h4 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 700;
}
.skip-link:focus { top: 16px; }

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

.icon { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Typografické prvky
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    line-height: 1.4;
}
.eyebrow::before {
    content: "";
    width: 40px;
    height: 1.5px;
    background: currentColor;
}
.eyebrow--light { color: var(--accent-light); }
.eyebrow--center { justify-content: center; }

.section-title { font-size: clamp(2rem, 4.2vw, 3.25rem); max-width: 22ch; }
.section-title--wide { max-width: 26ch; }
.section-lead { max-width: 60ch; margin-top: 20px; font-size: 1.125rem; color: var(--muted); }

.section { padding-block: clamp(72px, 10vw, 128px); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--dark {
    background: radial-gradient(120% 120% at 100% 0%, var(--green-700) 0%, var(--green-900) 55%, var(--green-950) 100%);
    color: rgba(255, 255, 255, .78);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .section-lead { color: rgba(255, 255, 255, .72); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-title, .section-head--center .section-lead { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Tlačítka a odkazy
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 12px 24px -10px rgba(208, 132, 40, .65);
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn--ghost {
    border-color: rgba(255, 255, 255, .55);
    color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }

.btn--outline {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); }

.btn--sm { padding: 12px 20px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-ink);
    font-weight: 700;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Hlavička
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    color: var(--white);
    transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), height .3s var(--ease);
}
.site-header::before {
    /* jemné ztmavení pod průhlednou hlavičkou, aby byla čitelná na fotce */
    content: "";
    position: absolute;
    inset: 0 0 -40px;
    background: linear-gradient(180deg, rgba(15, 35, 27, .55), rgba(15, 35, 27, 0));
    pointer-events: none;
    transition: opacity .3s var(--ease);
}
.site-header.is-scrolled {
    --header-h: 72px;
    background: rgba(246, 243, 238, .94);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    backdrop-filter: saturate(160%) blur(12px);
    box-shadow: 0 1px 0 var(--line);
    color: var(--ink);
}
.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
    height: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.brand-logos { position: relative; display: block; width: 136px; height: 43px; }
.brand-logo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity .3s var(--ease);
}
.brand-logo--dark { opacity: 0; }
.site-header.is-scrolled .brand-logo--light { opacity: 0; }
.site-header.is-scrolled .brand-logo--dark { opacity: 1; }

.brand-name {
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    border-left: 1px solid currentColor;
    border-color: rgba(255, 255, 255, .35);
    line-height: 1.15;
}
.site-header.is-scrolled .brand-name { border-color: var(--line); }
.brand-name strong { font-family: var(--font-serif); font-size: 19px; font-weight: 600; }
.brand-name span {
    margin-top: 3px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent);
}

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-nav ul a {
    position: relative;
    display: block;
    padding: 10px 14px;
    font-size: 15.5px;
    font-weight: 600;
    opacity: .92;
    white-space: nowrap;
    transition: opacity .2s;
}
.header-actions .btn { white-space: nowrap; }
.main-nav ul a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}
.main-nav ul a:hover { opacity: 1; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.header-phone .icon { color: var(--accent); }

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
.nav-toggle .icon--close { display: none; }

.mobile-nav-only { display: none; }

/* --------------------------------------------------------------------------
   Hero (úvodní sekce)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: min(860px, 100svh);
    padding-top: var(--header-h);
    background: var(--green-900);
    color: var(--white);
}
.hero-bg, .hero-slide { position: absolute; inset: 0; }
.hero-bg { z-index: -2; }
.hero-slide {
    background-position: center;
    background-size: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 35, 27, .94) 0%, rgba(15, 35, 27, .82) 38%, rgba(15, 35, 27, .35) 70%, rgba(15, 35, 27, .2) 100%),
        linear-gradient(0deg, rgba(15, 35, 27, .7) 0%, rgba(15, 35, 27, 0) 35%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: end;
    gap: 24px;
    min-height: calc(min(860px, 100svh) - var(--header-h));
}

.hero-content { align-self: center; padding-block: 48px 120px; }

.hero-title {
    color: var(--white);
    font-size: clamp(2.9rem, 6.4vw, 5.6rem);
    line-height: 1;
    letter-spacing: -0.015em;
    font-weight: 700;
}
.hero-title em { display: block; color: var(--accent-light); font-style: normal; font-weight: 700; }

.hero-lead {
    max-width: 34ch;
    margin: 28px 0 36px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .85);
    font-weight: 600;
}
.hero-tags li { display: inline-flex; align-items: center; gap: 10px; }
.hero-tags .icon { color: var(--accent); }

.hero-portrait {
    position: relative;
    align-self: end;
    justify-self: center;
    width: min(100%, 560px);
}
.hero-portrait::before {
    /* teplá záře za postavou */
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 70%;
    background: radial-gradient(closest-side, rgba(208, 132, 40, .35), rgba(169, 102, 26, 0));
    filter: blur(10px);
}
.hero-portrait picture, .about-photo picture { display: block; position: relative; }
.hero-portrait img {
    position: relative;
    width: 100%;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
}

.hero-signature {
    /* vlevo od postavy přes tmavé pozadí, ať je podpis čitelný (ne přes bílou košili) */
    position: absolute;
    left: -200px;
    bottom: 270px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.hero-signature .sig {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1;
    color: var(--white);
    text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
    transform: rotate(-6deg);
}
.hero-signature .sig::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 6px;
    background: linear-gradient(90deg, var(--accent), rgba(208, 132, 40, 0));
    border-radius: 2px;
}
.hero-signature .role {
    margin-top: 12px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

/* --------------------------------------------------------------------------
   Pás výhod (z návrhu A) – překrývá spodní okraj hero
   -------------------------------------------------------------------------- */
.benefits { position: relative; z-index: 2; margin-top: -64px; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px; /* oddělovací linky = pozadí mřížky */
    background: var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.benefit {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px 28px;
    background: var(--white);
}
.benefit-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
}
.benefit h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

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

/* Odrážky a závěr u služby (stránka Služby) */
.service-list-title { margin: 20px 0 10px; color: var(--ink); font-weight: 700; }
.service-list { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.service-list li { display: flex; gap: 10px; align-items: flex-start; }
.service-list .icon { margin-top: 4px; color: var(--accent-ink); }
.service-note {
    padding: 14px 16px;
    border-left: 3px solid var(--accent);
    background: var(--accent-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink);
    font-weight: 500;
}
.service-card .btn { margin-top: 8px; }
.service-card--featured { grid-column: 1 / -1; }
/* Stránka Služby: poradenství přes celou šířku, zbylé tři vedle sebe */
.services-grid.services-grid--full { grid-template-columns: repeat(3, 1fr); }
.services-grid--full .service-card:not(.service-card--featured) { flex-direction: column; gap: 22px; padding: 36px 32px; }
.services-grid--full .service-card:not(.service-card--featured) h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }

/* --------------------------------------------------------------------------
   Služby – karty 01–04
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.service-card {
    display: flex;
    gap: 28px;
    padding: 44px 44px 40px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--green-100);
    color: var(--green-800);
}
.service-num {
    display: block;
    margin-bottom: 6px;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .08em;
}
.service-card h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 14px; }
.service-card p { color: var(--text); }
.service-card .link-arrow { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Karty nemovitostí
   -------------------------------------------------------------------------- */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.property-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.property-card[hidden] { display: none; }
.property-card__link { display: flex; flex-direction: column; height: 100%; }
.property-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand);
}
.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.property-card:hover .property-card__media img { transform: scale(1.05); }
.property-card.is-closed .property-card__media img { filter: grayscale(.55) brightness(.95); }

.badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--accent);
    color: var(--white);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.3;
}
.badge--pronajem { background: var(--green-800); }
.badge--video { background: rgba(15, 35, 27, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.badge--closed { background: var(--white); color: var(--ink); }

.property-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 28px 28px;
}
.property-card__body h3 { font-size: 1.6rem; }
.property-card__meta { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.property-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 26px;
}
.property-card__place { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 15.5px; }
.property-card__price {
    color: var(--accent-ink);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    white-space: nowrap;
}
.property-card.is-closed .property-card__price { color: var(--muted); }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-tab {
    padding: 11px 20px;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: 600 15px/1.2 var(--font-sans);
    cursor: pointer;
    transition: all .2s var(--ease);
}
.filter-tab:hover { border-color: var(--ink); }
.filter-tab[aria-pressed="true"] { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.filter-tab span { opacity: .6; margin-left: 4px; }

.empty-state {
    padding: 64px 32px;
    border: 1.5px dashed var(--line);
    border-radius: var(--radius);
    text-align: center;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Cesta ke klíčům (časová osa)
   -------------------------------------------------------------------------- */
.journey { position: relative; margin-top: clamp(32px, 6vw, 72px); }
.journey-track { position: relative; height: 220px; }
.journey-track svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-path-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .28);
    stroke-width: 2.5;
    stroke-dasharray: 1 12;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}
.journey-path {
    fill: none;
    stroke: var(--accent-light);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1 1;
    stroke-dashoffset: var(--progress-offset, 0); /* bez JS je čára celá */
    filter: drop-shadow(0 0 6px rgba(208, 132, 40, .5));
}
.journey-start {
    position: absolute;
    left: 0;
    top: 70%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--accent-light);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .08);
}
.journey-dot {
    position: absolute;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: var(--green-900);
    color: rgba(255, 255, 255, .7);
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 16px;
    transition: border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.journey-dot.is-reached {
    border-color: var(--accent);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(208, 132, 40, .14);
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}
.journey-step { padding-right: 8px; }
.journey-step .step-count {
    display: block;
    margin-bottom: 14px;
    color: var(--accent-light);
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: .08em;
}
.journey-step h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 12px; }
.journey-step p { color: rgba(255, 255, 255, .72); font-size: 16px; }

/* --------------------------------------------------------------------------
   O mně + čísla
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
}
.about-text p { font-size: 1.075rem; }
.about-text .section-title { margin-bottom: 28px; }
.about-contacts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.about-photo {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
    padding: 0 24px;
}
.about-photo::before {
    content: "";
    position: absolute;
    inset: 18% 0 0;
    border-radius: 999px 999px var(--radius) var(--radius);
    background: linear-gradient(180deg, var(--green-700), var(--green-900));
}
.about-photo img { position: relative; width: 100%; }
.about-photo .cert {
    position: absolute;
    right: 0;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--green-950);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.about-photo .cert img { width: 52px; }

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.stats--two { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
.stat strong {
    display: block;
    margin-bottom: 12px;
    color: var(--green-800);
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat span { display: block; max-width: 26ch; color: var(--text); }
.stats--two .stat { padding-top: 24px; border-top: 1px solid var(--line); }
.stats--two .stat strong { font-size: clamp(2rem, 3.4vw, 2.9rem); }

/* --------------------------------------------------------------------------
   Videoprohlídky
   -------------------------------------------------------------------------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.video-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--green-900); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
}
.video-card__body h3 { font-size: 1.35rem; }
.video-card__body p { margin: 4px 0 0; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   Výzva k akci
   -------------------------------------------------------------------------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; margin-inline: auto; }
.cta .section-lead { margin: 24px auto 40px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* --------------------------------------------------------------------------
   Kontakt + formulář
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}
.contact-list { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .2s var(--ease);
}
a.contact-item:hover { border-color: var(--accent); }
.contact-item .contact-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
}
.contact-item small {
    display: block;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.contact-item strong { color: var(--ink); font-size: 1.075rem; }

.form-card {
    padding: clamp(28px, 4vw, 48px);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.75rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { color: var(--ink); font-size: 14.5px; font-weight: 700; }
.form-field label .req { color: var(--accent-ink); }
.form-field input, .form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--ink);
    font: 500 16px/1.5 var(--font-sans);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(208, 132, 40, .15);
}
.form-field .error { color: #b3261e; font-size: 14px; font-weight: 600; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #b3261e; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 13.5px; }
.form-actions { margin-top: 24px; }

/* Časté dotazy */
.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.3; }
.faq-item summary:hover h3 { color: var(--accent-ink); }
.faq-toggle {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    transition: transform .25s var(--ease), border-color .2s;
}
.faq-toggle::before, .faq-toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.5px;
    margin: -.75px 0 0 -6px;
    background: var(--ink);
}
.faq-toggle::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq-item[open] .faq-toggle { border-color: var(--accent); }
.faq-item[open] .faq-toggle::after { transform: rotate(0deg); }
.faq-item p { margin: 0; padding: 0 56px 24px 0; color: var(--text); }

/* Štítek „Zpráva se týká nemovitosti“ nad formulářem */
.inquiry-ref {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px 44px 12px 12px;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
}
.inquiry-ref img { width: 84px; height: 64px; flex-shrink: 0; object-fit: cover; border-radius: 6px; }
.inquiry-ref small {
    display: block;
    color: var(--accent-ink);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.inquiry-ref strong { display: block; color: var(--ink); line-height: 1.35; }
.inquiry-ref span { color: var(--text); font-size: 14.5px; }
.inquiry-ref__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--muted);
}
.inquiry-ref__remove:hover { background: rgba(0, 0, 0, .06); color: var(--ink); }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}
.alert--success { background: #e6f2ea; color: #1d5b36; }
.alert--error { background: #fbeaea; color: #8c1d18; }

.map-embed {
    margin-top: 40px;
    aspect-ratio: 16 / 7;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--sand);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Záhlaví podstránek
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 7vw, 96px);
    background: var(--green-900);
    color: rgba(255, 255, 255, .8);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(90deg, rgba(15, 35, 27, .96) 0%, rgba(15, 35, 27, .86) 50%, rgba(15, 35, 27, .6) 100%),
        var(--page-hero-img, none);
    background-size: cover;
    background-position: center;
}
.page-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 5.4vw, 4.4rem);
    max-width: 18ch;
}
.page-hero .section-lead { color: rgba(255, 255, 255, .75); }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .65);
}
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Detail nemovitosti
   -------------------------------------------------------------------------- */
.detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
}
.detail-head .badges { position: static; margin-bottom: 20px; }
.detail-place { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 1.1rem; }
.detail-price {
    color: var(--accent-light);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    font-weight: 600;
    line-height: 1.1;
}

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: clamp(320px, 46vw, 560px);
    margin-top: -48px;
    position: relative;
    z-index: 2;
}
.gallery-item {
    position: relative;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--sand);
    cursor: zoom-in;
}
.gallery-item:first-child { grid-row: span 2; border-radius: var(--radius) var(--radius-sm) var(--radius-sm) var(--radius); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item--hidden { display: none; }
.gallery-more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 35, 27, .6);
    color: var(--white);
    font-weight: 800;
    font-size: 1.15rem;
}
.gallery--single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery--single .gallery-item:first-child { grid-row: auto; border-radius: var(--radius); }
.gallery--few, .gallery--two { grid-template-columns: 2fr 1fr; }
.gallery--two .gallery-item:nth-child(2) { grid-row: span 2; }

.detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    margin-top: clamp(48px, 6vw, 80px);
}
.detail-body h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 20px; }
.detail-section + .detail-section { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.detail-description { font-size: 1.06rem; overflow-wrap: anywhere; }
.detail-description a { color: var(--accent-ink); text-decoration: underline; }

.params-card {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.params-card .label {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.params-card .price {
    margin: 6px 0 24px;
    color: var(--accent-ink);
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1.15;
}
.params { margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.params li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15.5px;
}
.params li span { color: var(--muted); }
.params li strong { color: var(--ink); text-align: right; }
.params-card .btn + .btn { margin-top: 12px; }
.agent {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.agent img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    background: var(--green-100);
}
.agent strong { display: block; color: var(--ink); }
.agent span { color: var(--muted); font-size: 14px; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 64px 80px;
    background: rgba(10, 22, 17, .94);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: var(--white);
    cursor: pointer;
    transition: background-color .2s var(--ease);
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox-next { right: 20px; top: 50%; margin-top: -26px; }
.lightbox-count {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .75);
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: .1em;
}

/* --------------------------------------------------------------------------
   Patička
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, .7);
    font-size: 15.5px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-block: 80px 56px;
}
.footer-logo { width: 150px; margin-bottom: 24px; }
.footer-about p { max-width: 34ch; }
.footer-cert { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.footer-cert img { width: 64px; }
.footer-cert span { font-size: 14px; line-height: 1.4; }
.site-footer .footer-heading {
    margin-bottom: 20px;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.footer-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-list a:hover { color: var(--white); }
.footer-list li { display: flex; align-items: center; gap: 10px; }
.footer-list .icon { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: var(--white);
    transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
}

/* Cookie lišta */
.cookie-bar {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 460px;
    padding: 16px 18px 16px 22px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar { flex-direction: column; align-items: stretch; gap: 14px; max-width: 440px; padding: 20px 22px; }
.cookie-bar__text strong { display: block; font-family: var(--font-serif); font-size: 17px; margin-bottom: 6px; color: var(--green-900); }
.cookie-bar__text p { margin: 0; line-height: 1.5; color: var(--muted); }
.cookie-bar__actions { display: flex; gap: 10px; }
.cookie-bar__actions .btn { flex: 1; justify-content: center; }
.footer-link-btn {
    padding: 0; border: 0; background: none; font: inherit; color: inherit;
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.footer-link-btn:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Animace při scrollu (jen když běží JS; bez JS je vše vidět)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.hero-content > *, .hero-portrait { animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
.hero-content > :nth-child(5) { animation-delay: .4s; }
.hero-portrait { animation-delay: .25s; animation-duration: 1.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responzivita
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
    .header-phone span { display: none; }
    .main-nav ul a { padding-inline: 10px; }
    .main-nav ul a::after { left: 10px; right: 10px; }
}

@media (max-width: 1100px) {
    :root { --header-h: 76px; }
    .nav-toggle { display: block; }
    .main-nav, .header-actions { display: none; }
    .mobile-nav-only { display: block; }

    /* backdrop-filter (po odscrollování) z hlavičky dělá „rámec“ pro position: fixed –
       rozbalené menu by se pak vešlo jen do výšky hlavičky. Při otevřeném menu ho vypínáme. */
    .site-header.nav-open {
        background: var(--green-900);
        color: var(--white);
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .site-header.nav-open::before { opacity: 0; }
    .site-header.nav-open .brand-logo--light { opacity: 1; }
    .site-header.nav-open .brand-logo--dark { opacity: 0; }
    .site-header.nav-open .brand-name { border-color: rgba(255, 255, 255, .35); }
    .site-header.nav-open .nav-toggle .icon--menu { display: none; }
    .site-header.nav-open .nav-toggle .icon--close { display: block; }
    .site-header.nav-open .main-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 24px var(--gutter) 40px;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: var(--green-900);
    }
    .site-header.nav-open .main-nav ul { flex-direction: column; gap: 0; }
    .site-header.nav-open .main-nav ul a {
        padding: 18px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        font-family: var(--font-serif);
        font-size: 1.75rem;
        font-weight: 500;
    }
    .site-header.nav-open .main-nav ul a::after { display: none; }
    .site-header.nav-open .main-nav ul a[aria-current="page"] { color: var(--accent-light); }
    .mobile-nav-cta { display: grid; gap: 12px; margin-top: 32px; }
    .mobile-nav-cta .btn { width: 100%; justify-content: center; }

    .hero-inner { grid-template-columns: 1fr 340px; }
    .hero-signature { left: -110px; bottom: 110px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .property-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .detail-body { grid-template-columns: 1fr; }
    .params-card { position: static; }
}

@media (max-width: 900px) {
    .hero { min-height: 0; }
    .hero-inner { grid-template-columns: 1fr; min-height: 0; }
    .hero-content { padding-block: 40px 0; }
    .hero-portrait { width: min(78%, 400px); margin-top: 8px; }
    .hero-signature { left: -18%; bottom: 56px; }
    .hero::before {
        background:
            linear-gradient(180deg, rgba(15, 35, 27, .9) 0%, rgba(15, 35, 27, .78) 55%, rgba(15, 35, 27, .55) 100%);
    }
    .benefits { margin-top: 0; padding-top: 24px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .services-grid.services-grid--full { grid-template-columns: 1fr; }
    .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
    .about-photo { order: -1; max-width: 400px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; }

    /* Časová osa svisle */
    .journey-track { display: none; }
    .journey-steps { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
    .journey-step {
        position: relative;
        padding: 0 0 40px 64px;
        border-left: 2px dotted rgba(255, 255, 255, .25);
        margin-left: 20px;
    }
    .journey-step:last-child { padding-bottom: 0; border-left-color: transparent; }
    .journey-step::before {
        content: attr(data-step);
        position: absolute;
        left: -22px;
        top: -6px;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border: 2px solid var(--accent-light);
        border-radius: 50%;
        background: var(--green-900);
        color: var(--white);
        font-weight: 800;
    }

    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: clamp(300px, 80vw, 520px); }
    .gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; border-radius: var(--radius) var(--radius) var(--radius-sm) var(--radius-sm); }
    .gallery-item:nth-child(n+4) { display: none; }
    .gallery--few { grid-template-columns: 1fr 1fr; }
    .gallery--two .gallery-item:nth-child(2) { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 640px) {
    :root { --gutter: 16px; --header-h: 68px; }
    body { font-size: 16px; }
    .brand-logos { width: 116px; height: 37px; }
    .brand-name { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-tags { gap: 10px 20px; margin-top: 28px; }
    .hero-portrait { width: 82%; }
    .hero-signature { left: -10%; bottom: 40px; }
    .hero-signature .sig { font-size: 2.1rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .benefit { flex-direction: row; padding: 22px 20px; }
    .service-card { flex-direction: column; gap: 20px; padding: 30px 24px; }
    .service-icon { width: 64px; height: 64px; }
    .property-grid { grid-template-columns: 1fr; }
    .property-card__body { padding: 22px 22px 24px; }
    .stats { grid-template-columns: 1fr; gap: 28px; }
    .stats--two { grid-template-columns: 1fr 1fr; gap: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
    .cta-actions .btn { flex: 1 1 100%; }
    .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; align-items: stretch; }
    .lightbox { padding: 64px 12px; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; margin-top: 0; }
    .lightbox-count { bottom: 28px; }
    .about-photo .cert { right: 8px; bottom: 16px; }
    .map-embed { aspect-ratio: 4 / 3; }
}
