/* ==========================================================================
   ROMAN KUČERA – REMAX SYNERGY
   Brand manuál REMAX 2026 – přesné barvy a typografie
   ========================================================================== */

:root {
    /* === REMAX Brand Colors (Primary) === */
    --remax-red: #ff1200;
    --remax-blue: #0043ff;
    --remax-cream: #f7f5ee;
    --remax-white: #ffffff;
    --remax-black: #000000;

    /* === REMAX Brand Colors (Bridge / Dark) === */
    --remax-bridge-red: #aa1120;
    --remax-bridge-blue: #0c2749;
    --remax-dark-red: #660000;
    --remax-dark-blue: #000e35;
    --remax-charcoal: #232323;
    --remax-sky-blue: #a3d4f2;

    /* === Sémantické proměnné === */
    --bg-light: var(--remax-cream);
    --bg-white: #ffffff;
    --bg-dark: var(--remax-bridge-blue);
    --bg-darker: var(--remax-dark-blue);
    --text-on-light: var(--remax-charcoal);
    --text-on-light-muted: rgba(35, 35, 35, 0.65);
    --text-on-dark: var(--remax-cream);
    --text-on-dark-muted: rgba(247, 245, 238, 0.7);
    --accent: var(--remax-red);
    --accent-blue: var(--remax-blue);
    --border-light: rgba(35, 35, 35, 0.08);
    --border-dark: rgba(247, 245, 238, 0.1);

    /* === Typografie === */
    --font-body: 'Montserrat', Arial, sans-serif;

    /* === Layout === */
    --container-max: 1280px;
    --section-padding-y: clamp(4rem, 10vw, 8rem);
    --section-padding-x: clamp(1.25rem, 4vw, 3rem);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* === Easings & transitions === */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --t-fast: 0.2s;
    --t-med: 0.4s;
    --t-slow: 0.7s;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-on-light);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    max-width: 100%;
    display: block;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection {
    background-color: var(--remax-red);
    color: var(--remax-cream);
}

/* ==========================================================================
   UTILITY
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    width: 100%;
}

.section { padding: var(--section-padding-y) 0; position: relative; }
.section-light { background-color: var(--bg-light); }
.section-white { background-color: var(--bg-white); }
.section-dark { background-color: var(--bg-dark); color: var(--text-on-dark); }
.section-darker { background-color: var(--bg-darker); color: var(--text-on-dark); }

/* ==========================================================================
   TYPOGRAFIE
   ========================================================================== */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 2px;
    background-color: currentColor;
    flex-shrink: 0;
}

.section-dark .eyebrow,
.section-darker .eyebrow {
    color: var(--remax-sky-blue);
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.75rem, 7.5vw, 5.75rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 700;
}

h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    font-weight: 400;
    max-width: 60ch;
}

.section-header {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    max-width: 720px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header.center .eyebrow {
    justify-content: center;
}

.section-header h2 {
    margin-bottom: 1.25rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 999px;
    transition: transform var(--t-med) var(--ease-out),
                background-color var(--t-med) var(--ease-out),
                color var(--t-med) var(--ease-out),
                box-shadow var(--t-med) var(--ease-out);
    white-space: nowrap;
    cursor: pointer;
    will-change: transform;
}

.btn svg {
    transition: transform var(--t-med) var(--ease-out);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--remax-cream);
    box-shadow: 0 4px 24px rgba(255, 18, 0, 0.25);
}

.btn-primary:hover {
    background-color: var(--remax-bridge-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 18, 0, 0.35);
}

.btn-ghost {
    background-color: transparent;
    color: currentColor;
    border: 1.5px solid currentColor;
}

.btn-ghost-light {
    background-color: transparent;
    color: var(--remax-charcoal);
    border: 1.5px solid rgba(35, 35, 35, 0.2);
}

.btn-ghost-light:hover {
    background-color: var(--remax-charcoal);
    color: var(--remax-cream);
    border-color: var(--remax-charcoal);
    transform: translateY(-2px);
}

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.section-darker .btn-ghost {
    border-color: rgba(247, 245, 238, 0.3);
    color: var(--remax-cream);
}

.hero .btn-ghost {
    border-color: rgba(35, 35, 35, 0.25);
    color: var(--remax-charcoal);
}

.btn-ghost:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--remax-cream);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--remax-charcoal);
    color: var(--remax-cream);
}

.btn-dark:hover {
    background-color: var(--remax-bridge-blue);
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVIGACE
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(247, 245, 238, 0.92);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
    box-shadow: 0 4px 20px rgba(12, 39, 73, 0.08);
    transition: box-shadow var(--t-med) var(--ease-out),
                background-color var(--t-med) var(--ease-out);
}

.nav.scrolled {
    background-color: rgba(247, 245, 238, 0.97);
    box-shadow: 0 6px 28px rgba(12, 39, 73, 0.12);
}

/* Top bar s kontakty */
.nav-topbar {
    background-color: var(--remax-bridge-blue);
    color: var(--remax-cream);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(247, 245, 238, 0.08);
    transition: padding var(--t-med) var(--ease-out),
                opacity var(--t-med) var(--ease-out),
                max-height var(--t-med) var(--ease-out);
    overflow: hidden;
    max-height: 50px;
}

.nav.scrolled .nav-topbar {
    max-height: 0;
    padding: 0;
    opacity: 0;
    border-bottom: none;
}

.nav-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.nav-topbar-socials {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.nav-topbar-contacts {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.nav-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    color: var(--remax-cream);
    background-color: rgba(247, 245, 238, 0.08);
    transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}

.nav-social:hover {
    background-color: var(--remax-red);
    color: var(--remax-cream);
    transform: translateY(-1px);
}

.nav-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background-color: rgba(247, 245, 238, 0.08);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--remax-cream);
    line-height: 1;
    transition: background-color var(--t-fast) ease, transform var(--t-fast) ease;
    margin-left: 0.25rem;
}

.nav-rating:hover {
    background-color: rgba(247, 245, 238, 0.15);
    transform: translateY(-1px);
}

.nav-rating svg {
    color: #fbbf24;
    flex-shrink: 0;
}

.nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--remax-cream);
    transition: color var(--t-fast) ease;
    line-height: 1;
}

.nav-contact:hover {
    color: var(--remax-sky-blue);
}

.nav-contact svg {
    color: var(--remax-sky-blue);
    flex-shrink: 0;
}

.nav-divider {
    width: 1px;
    height: 14px;
    background-color: rgba(247, 245, 238, 0.2);
}

@media (max-width: 700px) {
    .nav-rating span { display: none; }
    .nav-rating { padding: 0.25rem 0.4rem; }
    .nav-topbar-socials { gap: 0.4rem; }
    .nav-topbar-contacts { gap: 0.625rem; }
}

@media (max-width: 600px) {
    .nav-contact span { display: none; }
    .nav-contact { padding: 0.25rem; }
    .nav-divider { height: 16px; }
    .nav-topbar { padding: 0.6rem 0; }
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.25rem 0;
    transition: padding var(--t-med) var(--ease-out);
}

.nav.scrolled .nav-inner {
    padding: 0.75rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    transition: opacity var(--t-fast) ease;
    flex-shrink: 0;
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
    height: 30px;
    width: auto;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    border-left: 1px solid rgba(35, 35, 35, 0.15);
    padding-left: 0.875rem;
}

.nav-logo-office {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--remax-charcoal);
    letter-spacing: 0.02em;
}

.nav-logo-name {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-on-light-muted);
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--remax-charcoal);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--t-fast) ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-med) var(--ease-out);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--remax-cream);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 999px;
    transition: transform var(--t-med) var(--ease-out),
                background-color var(--t-med) var(--ease-out);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-2px);
    background-color: var(--remax-bridge-red);
}

.nav-cta svg { transition: transform var(--t-med) var(--ease-out); }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-toggle {
    display: none;
    color: var(--remax-charcoal);
    padding: 0.5rem;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .nav-links { gap: 1.25rem; }
    .nav-links a { font-size: 0.8rem; }
}

@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: block; }
}

/* ==========================================================================
   MOBILNÍ MENU OVERLAY (mimo .nav, přes celou obrazovku)
   ========================================================================== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--remax-dark-blue);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    /* padding-top nastavuje JS dynamicky podle výšky nav */
    padding: 1rem var(--section-padding-x) 7rem;
    overflow-y: auto;
}

.mobile-menu-overlay.is-open {
    display: flex;
    animation: slideDown var(--t-med) var(--ease-out);
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    border-bottom: 1px solid rgba(247, 245, 238, 0.1);
}

.mobile-menu-links li:first-child {
    border-top: 1px solid rgba(247, 245, 238, 0.1);
}

.mobile-menu-links a {
    display: block;
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--remax-cream);
    padding: 1.125rem 0;
    letter-spacing: -0.02em;
    transition: color var(--t-fast) ease, padding-left var(--t-fast) ease;
}

.mobile-menu-links a:hover {
    color: var(--remax-red);
    padding-left: 0.5rem;
}

.mobile-menu-cta {
    position: fixed;
    bottom: 1.5rem;
    left: var(--section-padding-x);
    right: var(--section-padding-x);
    justify-content: center;
    font-size: 1.05rem;
    padding: 1.125rem;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(255, 18, 0, 0.45);
}

/* Nav vždy navrchu */
.nav {
    z-index: 1001 !important;
}


@keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HERO – světlá varianta s krémovým pozadím a jemnými akcenty
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    background-color: var(--bg-light);
    color: var(--text-on-light);
    padding: 7rem 0 4rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-shape-1 {
    top: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    background: radial-gradient(circle, rgba(255, 18, 0, 0.06), transparent 70%);
    animation: float1 22s ease-in-out infinite;
}

.hero-shape-2 {
    bottom: -25%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(12, 39, 73, 0.05), transparent 65%);
    animation: float2 28s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.08); }
}

/* Velmi jemná silueta architektury v dolní části hero - téměř neviditelná */
.hero-stripes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='xMidYEnd slice' fill='none'><g opacity='0.03' fill='%230c2749'><rect x='40' y='42' width='32' height='28'/><rect x='75' y='35' width='28' height='35'/><rect x='105' y='32' width='30' height='38'/><rect x='140' y='40' width='40' height='30'/><rect x='185' y='28' width='45' height='42'/><rect x='235' y='36' width='35' height='34'/><rect x='275' y='32' width='30' height='38'/><rect x='310' y='38' width='42' height='32'/><rect x='360' y='26' width='50' height='44'/><rect x='415' y='34' width='38' height='36'/><rect x='460' y='28' width='32' height='42'/><rect x='498' y='40' width='40' height='30'/><rect x='545' y='32' width='44' height='38'/><rect x='595' y='26' width='52' height='44'/><rect x='655' y='20' width='34' height='50'/><rect x='695' y='36' width='40' height='34'/><rect x='740' y='30' width='46' height='40'/><rect x='790' y='38' width='38' height='32'/><rect x='835' y='28' width='30' height='42'/><rect x='870' y='40' width='42' height='30'/><rect x='915' y='32' width='48' height='38'/><rect x='970' y='26' width='32' height='44'/><rect x='1008' y='38' width='40' height='32'/><rect x='1054' y='30' width='44' height='40'/><rect x='1102' y='36' width='38' height='34'/><rect x='1145' y='30' width='32' height='40'/><rect x='1182' y='38' width='42' height='32'/><rect x='1228' y='28' width='48' height='42'/><rect x='1280' y='36' width='40' height='34'/><rect x='1325' y='28' width='32' height='42'/><rect x='1360' y='40' width='42' height='30'/><rect x='1405' y='34' width='35' height='36'/></g></svg>");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s var(--ease-out) both;
}

.hero h1 {
    margin: 0.5rem 0 1.75rem;
    color: var(--remax-charcoal);
}

.hero-name {
    font-size: clamp(2.5rem, 6.5vw, 4.75rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--remax-charcoal) 0%, var(--remax-bridge-blue) 60%, var(--remax-red) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .hero-name {
        white-space: normal;
        font-size: clamp(2.25rem, 9vw, 3.5rem);
    }
}

.hero-claim {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    line-height: 1.4;
    font-weight: 600;
    color: var(--remax-charcoal);
    max-width: 36ch;
    margin-bottom: 1rem;
}

.hero-claim strong {
    font-weight: 700;
    color: var(--remax-bridge-blue);
}

.hero-sub {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-on-light-muted);
    max-width: 42ch;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(35, 35, 35, 0.1);
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--remax-charcoal);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-on-light-muted);
    line-height: 1.3;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(35, 35, 35, 0.15);
}

/* Stat s hodnocením z Google */
.hero-stat-rating {
    text-decoration: none;
    transition: transform var(--t-fast) ease, opacity var(--t-fast) ease;
}

.hero-stat-rating:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.hero-stat-rating-num {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.hero-stat-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #fbbf24;
}

.hero-stat-stars svg {
    width: 12px;
    height: 12px;
}

/* Foto */
.hero-photo-wrap {
    position: relative;
    animation: fadeInRight 1.2s 0.3s var(--ease-out) both;
}

.hero-photo-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 480px;
    margin-left: auto;
}

.hero-photo-bg {
    position: absolute;
    inset: -20px -20px 20px 20px;
    background: linear-gradient(135deg, var(--remax-bridge-blue) 0%, var(--remax-red) 100%);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.85;
}

.hero-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(12, 39, 73, 0.25);
}

.hero-photo-badge {
    position: absolute;
    bottom: 1.5rem;
    left: -1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.125rem;
    background-color: var(--remax-bridge-blue);
    color: var(--remax-cream);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 32px rgba(12, 39, 73, 0.25);
}

.hero-photo-badge svg {
    color: var(--remax-red);
}

.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-on-light-muted);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color var(--t-fast) ease;
    animation: bounce 2.5s ease-in-out infinite;
}

.hero-scroll:hover { color: var(--remax-red); }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 0 0 3rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-photo-wrap {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-photo-frame {
        max-width: 100%;
    }

    /* Rámeček za fotkou — zachováme původní styl */
    .hero-photo-bg {
        inset: -20px -20px 20px 20px;
    }

    .hero-stats {
        gap: 1.25rem;
    }

    .hero-scroll { display: none; }
}

@media (max-width: 480px) {
    .hero-stat-divider { height: 24px; }
    .hero-stat-num { font-size: 1.2rem; }
    .hero-stat-label { font-size: 0.62rem; }
    .hero-stat-stars svg { width: 10px; height: 10px; }
    .hero-stats {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   O MNĚ
   ========================================================================== */

.about-header {
    max-width: 580px;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.about-header h2 {
    margin-bottom: 1.25rem;
}

.about-header .lead {
    color: var(--remax-charcoal);
    max-width: 540px;
}

.about-grid-v2 {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-content h2 {
    margin-bottom: 0.5rem;
}

.about-content .lead {
    color: var(--remax-charcoal);
    margin-bottom: 0.5rem;
}

/* Boxy hodnot - vizuálně posunuté nahoru přes negative margin,
   ale velikost zůstává stejná (jen na obsah).
   Margin je natolik velký, aby box "Otevřená komunikace" začínal
   zhruba u nadpisu, ale ne přes lead text. */
.about-values {
    display: grid;
    gap: 1rem;
    align-self: start;
    margin-top: clamp(-7rem, -10vw, -4rem);
}

@media (max-width: 900px) {
    .about-values {
        margin-top: 0;
    }
}

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-on-light-muted);
    max-width: 60ch;
}

.about-text strong {
    color: var(--remax-bridge-blue);
    font-weight: 700;
}

.about-value {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.125rem 1.25rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: transform var(--t-med) var(--ease-out),
                border-color var(--t-med) var(--ease-out),
                box-shadow var(--t-med) var(--ease-out);
}

.about-value:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 18, 0, 0.25);
    box-shadow: 0 12px 32px rgba(12, 39, 73, 0.08);
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 18, 0, 0.1), rgba(0, 67, 255, 0.08));
    color: var(--remax-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-value h4 {
    margin-bottom: 0.2rem;
    color: var(--remax-charcoal);
    font-size: 1rem;
}

.about-value p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-on-light-muted);
}

@media (max-width: 900px) {
    .about-grid-v2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   SLUŽBY
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background-color: rgba(247, 245, 238, 0.03);
    border: 1px solid rgba(247, 245, 238, 0.08);
    border-radius: var(--radius-md);
    transition: transform var(--t-med) var(--ease-out),
                background-color var(--t-med) var(--ease-out),
                border-color var(--t-med) var(--ease-out);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--remax-red), var(--remax-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    background-color: rgba(247, 245, 238, 0.06);
    border-color: rgba(247, 245, 238, 0.18);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(247, 245, 238, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 18, 0, 0.18), rgba(0, 67, 255, 0.18));
    color: var(--remax-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform var(--t-med) var(--ease-out);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
    margin-bottom: 0.875rem;
    color: var(--remax-cream);
    /* Pevná výška pro 2 řádky napříč všemi kartami */
    min-height: calc(1.05em * 2);
    display: flex;
    align-items: flex-start;
}

.service-card > p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(247, 245, 238, 0.7);
    margin-bottom: 1rem;
    /* Pevná výška pro 6 řádků popisu - nejdelší text v Koupi nemovitosti při užších kartách */
    min-height: calc(0.95rem * 1.65 * 6);
}

.service-list {
    list-style: none;
    padding: 0;
    align-self: start;
}

.service-list li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.5rem;
    font-size: 0.875rem;
    color: rgba(247, 245, 238, 0.85);
    border-top: 1px solid rgba(247, 245, 238, 0.06);
    line-height: 1.4;
    /* Pevná výška řádku (ne min-height) - aby všechny odrážky měly stejnou výšku
       bez ohledu na to, jestli je text 1 nebo 2 řádky. */
    height: 3rem;
    display: flex;
    align-items: center;
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--remax-red);
    box-shadow: 0 0 0 3px rgba(255, 18, 0, 0.18);
}

.service-list li:first-child {
    border-top: none;
}

@media (max-width: 1100px) {
    /* Při 2x2 layoutu jsou karty vedle sebe ve dvojicích - pevné výšky stále potřeba */
    .service-card h3 { min-height: calc(1.05em * 2); }
    .service-card > p { min-height: calc(0.95rem * 1.65 * 3); }
}

@media (max-width: 600px) {
    /* Na mobilu jsou karty pod sebou - pevné výšky vypneme */
    .service-card h3,
    .service-card > p {
        min-height: 0;
    }
    .service-list li {
        min-height: 0;
        padding: 0.5rem 0 0.5rem 1.5rem;
    }
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(247, 245, 238, 0.04);
    border: 1px dashed rgba(247, 245, 238, 0.18);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
    text-align: center;
}

.services-cta p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--remax-cream);
}

@media (max-width: 600px) {
    .services-cta {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   AKTUÁLNÍ NABÍDKY
   ========================================================================== */

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.listing-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--t-med) var(--ease-out),
                box-shadow var(--t-med) var(--ease-out);
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(12, 39, 73, 0.15);
}

.listing-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--remax-bridge-blue), var(--remax-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.listing-image-placeholder {
    color: rgba(247, 245, 238, 0.4);
}

.listing-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.75rem;
    background-color: var(--remax-cream);
    color: var(--remax-charcoal);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
}

.listing-badge-new {
    background-color: var(--remax-red);
    color: var(--remax-cream);
}

.listing-body {
    padding: 1.5rem;
}

.listing-type {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--remax-red);
    margin-bottom: 0.5rem;
}

.listing-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.listing-meta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
    color: var(--text-on-light-muted);
}

.listing-meta strong {
    color: var(--remax-charcoal);
    font-weight: 700;
}

.listing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.listing-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--remax-bridge-blue);
}

.listing-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--remax-cream);
    color: var(--remax-bridge-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}

.listing-card:hover .listing-arrow {
    background-color: var(--remax-red);
    color: var(--remax-cream);
    transform: translateX(4px);
}

.listings-empty {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background-color: rgba(0, 67, 255, 0.05);
    border: 1px solid rgba(0, 67, 255, 0.12);
    border-radius: var(--radius-md);
}

.listings-empty-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(0, 67, 255, 0.15);
    color: var(--remax-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.listings-empty h4 {
    margin-bottom: 0.25rem;
}

.listings-empty p {
    font-size: 0.9rem;
    color: var(--text-on-light-muted);
    line-height: 1.5;
}

/* ==========================================================================
   PORTFOLIO BANNER
   ========================================================================== */

.portfolio-banner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--remax-bridge-blue) 0%, var(--remax-dark-blue) 100%);
    border-radius: var(--radius-lg);
    color: var(--remax-cream);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.portfolio-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 18, 0, 0.15), transparent 60%);
    pointer-events: none;
}

.portfolio-banner-content { position: relative; z-index: 1; }
.portfolio-banner-content h2 { color: var(--remax-cream); margin-bottom: 1.25rem; }
.portfolio-banner-content .lead { color: rgba(247, 245, 238, 0.75); }

.portfolio-banner-visual {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.portfolio-banner-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--remax-red), var(--remax-bridge-red));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(255, 18, 0, 0.35);
}

.portfolio-banner-num {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--remax-cream);
    letter-spacing: -0.04em;
}

.portfolio-banner-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--remax-cream);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.3;
}

.portfolio-banner-note {
    font-size: 0.875rem;
    color: rgba(247, 245, 238, 0.7);
    text-align: center;
    max-width: 240px;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .portfolio-banner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .portfolio-banner-visual { margin-top: 1rem; }
    .portfolio-banner-circle { width: 160px; height: 160px; }
    .portfolio-banner-num { font-size: 3rem; }
}

/* ==========================================================================
   PROCES
   ========================================================================== */

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    counter-reset: step;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: rgba(247, 245, 238, 0.04);
    border: 1px solid rgba(247, 245, 238, 0.08);
    border-radius: var(--radius-md);
    transition: transform var(--t-med) var(--ease-out),
                background-color var(--t-med) var(--ease-out);
}

.process-step:hover {
    transform: translateY(-4px);
    background-color: rgba(247, 245, 238, 0.07);
}

.process-step-num {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--remax-red), var(--remax-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
}

.process-step-content h3 {
    color: var(--remax-cream);
    margin-bottom: 0.625rem;
}

.process-step-content p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(247, 245, 238, 0.7);
}

/* ==========================================================================
   ESTIMATE / FORMULÁŘE
   ========================================================================== */

.estimate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.estimate-info h2 { margin-bottom: 1.25rem; }

.estimate-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 0.75rem;
}

.estimate-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.95rem;
    color: var(--remax-charcoal);
    font-weight: 500;
}

.estimate-list svg {
    color: var(--remax-red);
    flex-shrink: 0;
}

.estimate-note {
    padding: 1.25rem 1.5rem;
    background-color: rgba(0, 67, 255, 0.06);
    border-left: 4px solid var(--remax-blue);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.estimate-note strong { color: var(--remax-bridge-blue); }
.estimate-note span { font-size: 0.875rem; color: var(--text-on-light-muted); }

.estimate-form,
.contact-form {
    background-color: var(--bg-white);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(12, 39, 73, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form {
    background-color: rgba(247, 245, 238, 0.06);
    box-shadow: none;
    border: 1px solid rgba(247, 245, 238, 0.1);
}

.contact-form h3 {
    color: var(--remax-cream);
    margin-bottom: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-on-light-muted);
}

.contact-form .form-label {
    color: rgba(247, 245, 238, 0.6);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--remax-charcoal);
    background-color: var(--bg-light);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}

.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
    background-color: rgba(247, 245, 238, 0.95);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--remax-red);
    background-color: var(--bg-white);
}

.form-field textarea { resize: vertical; min-height: 90px; }

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-on-light-muted);
    cursor: pointer;
}

.contact-form .form-checkbox { color: rgba(247, 245, 238, 0.7); }

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--remax-red);
    flex-shrink: 0;
    cursor: pointer;
}

.form-submit {
    margin-top: 0.5rem;
    width: 100%;
}

.form-status {
    font-size: 0.875rem;
    padding: 0;
    min-height: 0;
    transition: padding 0.3s, min-height 0.3s;
}

.form-status.success,
.form-status.error {
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-sm);
    min-height: auto;
}

.form-status.success {
    background-color: rgba(34, 197, 94, 0.12);
    color: rgb(22, 101, 52);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.12);
    color: rgb(153, 27, 27);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-form .form-status.success {
    background-color: rgba(34, 197, 94, 0.18);
    color: rgb(187, 247, 208);
    border-color: rgba(34, 197, 94, 0.4);
}

.contact-form .form-status.error {
    background-color: rgba(239, 68, 68, 0.18);
    color: rgb(254, 202, 202);
    border-color: rgba(239, 68, 68, 0.4);
}

@media (max-width: 700px) {
    .estimate-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REFERENCE
   ========================================================================== */

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 1000px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform var(--t-med) var(--ease-out),
                box-shadow var(--t-med) var(--ease-out),
                border-color var(--t-med) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: """;
    position: absolute;
    top: -0.5rem;
    right: 1.5rem;
    font-size: 5rem;
    line-height: 1;
    color: var(--remax-red);
    opacity: 0.12;
    font-family: Georgia, serif;
    font-weight: 700;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(12, 39, 73, 0.1);
    border-color: rgba(255, 18, 0, 0.2);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
}

.review-stars svg {
    width: 18px;
    height: 18px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--remax-charcoal);
    flex: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 2rem;
    margin: 0 -2rem;
    border-top: 1px solid var(--border-light);
    background-color: rgba(12, 39, 73, 0.05);
    margin-top: auto;
}

.review-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--remax-red), var(--remax-bridge-blue));
    color: var(--remax-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.review-avatar-pink { background: linear-gradient(135deg, #e91e63, #c2185b); }
.review-avatar-purple { background: linear-gradient(135deg, #9c27b0, #6a1b9a); }
.review-avatar-green { background: linear-gradient(135deg, #4caf50, #2e7d32); }
.review-avatar-violet { background: linear-gradient(135deg, #673ab7, #512da8); }

.review-author > div:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.review-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--remax-bridge-blue);
    margin-bottom: 0.15rem;
}

/* Inline odkazy v podnadpisu Reference - Google a Firmy.cz */
.review-link {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity var(--t-fast) ease, transform var(--t-fast) ease;
}

.review-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.review-link-google {
    background-color: rgba(66, 133, 244, 0.12);
    color: #1a73e8;
}

.review-link-firmy {
    background-color: rgba(255, 18, 0, 0.1);
    color: var(--remax-red);
}

.review-author-meta {
    font-size: 0.75rem;
    color: var(--text-on-light-muted);
}

.reviews-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.reviews-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: transform var(--t-med) var(--ease-out),
                border-color var(--t-med) var(--ease-out),
                box-shadow var(--t-med) var(--ease-out);
}

.reviews-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 18, 0, 0.3);
    box-shadow: 0 12px 40px rgba(12, 39, 73, 0.1);
}

.reviews-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-card-firmy .reviews-card-icon {
    background-color: rgba(255, 18, 0, 0.1);
    color: var(--remax-red);
}

.reviews-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.reviews-card p {
    font-size: 0.85rem;
    color: var(--text-on-light-muted);
    line-height: 1.5;
}

.reviews-card-arrow {
    color: var(--remax-bridge-blue);
    transition: transform var(--t-fast) ease;
}

.reviews-card:hover .reviews-card-arrow {
    transform: translate(3px, -3px);
    color: var(--remax-red);
}

.reviews-placeholder {
    padding: 1.5rem 2rem;
    background-color: rgba(35, 35, 35, 0.03);
    border-radius: var(--radius-md);
    text-align: center;
}

.reviews-placeholder p {
    color: var(--text-on-light-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   BLOG
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--t-med) var(--ease-out),
                box-shadow var(--t-med) var(--ease-out);
    border: 1px solid var(--border-light);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(12, 39, 73, 0.12);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    background: var(--remax-cream);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-image-bg {
    position: absolute;
    inset: 0;
}

.blog-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.75rem;
    background-color: var(--remax-cream);
    color: var(--remax-charcoal);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
}

.blog-card-body { padding: 1.5rem; }

.blog-card-meta {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--remax-red);
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.125rem;
    line-height: 1.35;
    margin-bottom: 0.625rem;
}

.blog-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-on-light-muted);
}

/* ==========================================================================
   KONTAKT
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-info h2 { color: var(--remax-cream); margin-bottom: 1.25rem; }

.contact-list {
    display: grid;
    gap: 0.75rem;
    margin: 2rem 0;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.125rem;
    align-items: center;
    padding: 1.125rem 1.5rem;
    background-color: rgba(247, 245, 238, 0.04);
    border: 1px solid rgba(247, 245, 238, 0.08);
    border-radius: var(--radius-md);
    transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease;
}

.contact-item:hover {
    background-color: rgba(247, 245, 238, 0.08);
    border-color: rgba(255, 18, 0, 0.4);
    transform: translateX(4px);
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 18, 0, 0.18), rgba(0, 67, 255, 0.18));
    color: var(--remax-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.contact-item-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(247, 245, 238, 0.55);
}

.contact-item-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--remax-cream);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-item-arrow {
    color: rgba(247, 245, 238, 0.4);
    font-size: 1.25rem;
    transition: color var(--t-fast) ease, transform var(--t-fast) ease;
}

.contact-item:hover .contact-item-arrow {
    color: var(--remax-red);
    transform: translateX(3px);
}

.contact-socials {
    padding-top: 2rem;
    border-top: 1px solid rgba(247, 245, 238, 0.1);
}

.contact-socials-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(247, 245, 238, 0.55);
    margin-bottom: 0.875rem;
}

.contact-socials-list {
    display: flex;
    gap: 0.75rem;
}

.contact-socials-list a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: rgba(247, 245, 238, 0.06);
    color: var(--remax-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--t-fast) ease, transform var(--t-fast) ease;
}

.contact-socials-list a:hover {
    background-color: var(--remax-red);
    transform: translateY(-3px);
}

@media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: var(--remax-black);
    color: rgba(247, 245, 238, 0.7);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(247, 245, 238, 0.08);
}

.footer-brand { display: flex; flex-direction: column; }

.footer-logo {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-logo img { height: 36px; width: auto; }

.footer-office {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--remax-cream);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(247, 245, 238, 0.55);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--remax-cream);
    margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-col li,
.footer-col a {
    font-size: 0.875rem;
    color: rgba(247, 245, 238, 0.6);
    transition: color var(--t-fast) ease;
    line-height: 1.5;
}

.footer-col a:hover { color: var(--remax-red); }

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(247, 245, 238, 0.45);
    font-style: italic;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(247, 245, 238, 0.4);
}

@media (max-width: 800px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   PRINT & REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   PAGE HEADER (pro nabidky.html, blog.html, blog-clanek.html)
   ========================================================================== */

.page-header {
    padding-top: 11rem;
    padding-bottom: 4rem;
    background-color: var(--bg-light);
    position: relative;
}

.page-header h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--remax-charcoal);
    margin: 0.5rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.page-header .lead {
    color: var(--remax-charcoal);
    max-width: 60ch;
}

.page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--remax-bridge-blue);
    margin-bottom: 2rem;
    transition: all var(--t-fast) ease;
    width: fit-content;
    background-color: var(--bg-white);
    border: 1.5px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Wrapper aby další obsah šel pod page-back */
.page-header > .container > .page-back {
    display: flex;
    width: fit-content;
}

.page-back:hover {
    color: var(--accent);
    border-color: var(--accent);
    background-color: rgba(255,18,0,0.04);
    box-shadow: 0 2px 8px rgba(255,18,0,0.10);
}

.page-back svg {
    transition: transform var(--t-fast) ease;
}

.page-back:hover svg {
    transform: translateX(-3px);
}

/* ==========================================================================
   FILTER BAR (na nabidky.html)
   ========================================================================== */

.section-compact {
    padding: 0 0 2rem;
    background-color: var(--bg-light);
}

.filter-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(12, 39, 73, 0.06);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 180px;
}

.filter-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-on-light-muted);
}

.filter-select {
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--remax-charcoal);
    background-color: var(--bg-light);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    transition: border-color var(--t-fast) ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--bg-white);
    border: 1px dashed rgba(35, 35, 35, 0.15);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 18, 0, 0.08), rgba(0, 67, 255, 0.06));
    color: var(--remax-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.empty-state h2 {
    font-size: 1.75rem;
    color: var(--remax-charcoal);
    margin-bottom: 0.875rem;
}

.empty-state p {
    color: var(--text-on-light-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mensi varianta empty-state pro pouziti v sekcich (hlavni stranka) */
.empty-state-section {
    padding: 3rem 2rem;
}

.empty-state-section h3 {
    font-size: 1.5rem;
    color: var(--remax-charcoal);
    margin-bottom: 0.625rem;
}

.empty-state-section .empty-state-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* ==========================================================================
   GRID PRO BLOG / NABÍDKY (nesplývají s onepage gridy)
   ========================================================================== */

.listings-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-item {
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
    color: var(--remax-charcoal);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    transition: all var(--t-fast) ease;
}

.pagination-item:hover {
    background-color: var(--remax-charcoal);
    color: var(--remax-cream);
    border-color: var(--remax-charcoal);
}

.pagination-item.active {
    background-color: var(--accent);
    color: var(--remax-cream);
    border-color: var(--accent);
}

.pagination-next {
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    background-color: transparent;
    color: var(--remax-charcoal);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid rgba(35, 35, 35, 0.2);
    margin-left: 0.5rem;
    transition: all var(--t-fast) ease;
}

.pagination-next:hover {
    background-color: var(--remax-charcoal);
    color: var(--remax-cream);
    border-color: var(--remax-charcoal);
}

/* ==========================================================================
   ČLÁNEK / BLOG DETAIL (blog-clanek-sablona.html)
   ========================================================================== */

.article {
    background-color: var(--bg-white);
}

.article-header {
    padding-top: 11rem;
    padding-bottom: 3rem;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.article-container {
    max-width: 1080px;
}

.article-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-on-light-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.article-dot {
    color: rgba(35, 35, 35, 0.3);
}

.article-header h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--remax-charcoal);
    letter-spacing: -0.02em;
    max-width: 22ch;
}

.article-cover {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.article-body {
    padding: 4rem 0;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--remax-charcoal);
}

.article-body > * + * {
    margin-top: 1.25rem;
}

.article-lead {
    font-size: 1.3rem;
    line-height: 1.55;
    color: var(--remax-charcoal);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--remax-charcoal);
}

.article-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--remax-charcoal);
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5rem;
    margin: 1.25rem 0;
}

.article-body li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.article-body a:hover {
    text-decoration-thickness: 2px;
}

.article-body strong {
    font-weight: 700;
    color: var(--remax-charcoal);
}

.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: rgba(255, 18, 0, 0.04);
    font-style: italic;
    color: var(--remax-charcoal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.article-footer {
    padding-bottom: 4rem;
}

.article-cta {
    background: linear-gradient(135deg, var(--remax-bridge-blue), var(--remax-dark-blue));
    color: var(--remax-cream);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.article-cta h3 {
    font-size: 1.5rem;
    color: var(--remax-cream);
    margin-bottom: 0.75rem;
}

.article-cta p {
    color: rgba(247, 245, 238, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ==========================================================================
   FILTER VÝSLEDKY
   ========================================================================== */

.listings-no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-on-light-muted);
    font-size: 0.95rem;
}

.link-button {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
}

.link-button:hover {
    color: var(--remax-bridge-red);
}

/* ==========================================================================
   MOBILNÍ OPRAVY (≤ 480px)
   ========================================================================== */

@media (max-width: 480px) {

    /* --- Hero --- */
    .hero {
        /* Na mobilu topbar (~42px) + nav (~62px) + buffer = 7rem */
        padding: 7rem 0 2.5rem;
        min-height: auto;
    }

    .hero-grid {
        gap: 2rem;
    }

    /* Foto je první (order:-1) — potřebuje odsazení kvůli fixní navigaci
       topbar ~42px + nav-inner ~70px = 112px ≈ 7rem */
    .hero-photo-wrap {
        max-width: 260px;
        margin-top: 1rem;
    }

    .hero-photo-badge {
        left: -0.5rem;
        font-size: 0.72rem;
        padding: 0.6rem 0.875rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 0.875rem;
        padding-top: 1.5rem;
    }

    /* --- Sekce odhad --- */
    .estimate-grid {
        gap: 2rem;
    }

    .estimate-form {
        padding: 1.25rem;
    }

    /* --- Kontaktní formulář --- */
    .contact-form {
        padding: 1.25rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    /* --- Contact items - zabrání přetékání emailu --- */
    .contact-item-value {
        font-size: 0.85rem;
    }

    /* --- Proces --- */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    /* --- Portfolio banner --- */
    .portfolio-banner {
        padding: 1.75rem;
        gap: 1.75rem;
    }

    .portfolio-banner-circle {
        width: 130px;
        height: 130px;
    }

    .portfolio-banner-num {
        font-size: 2.5rem;
    }

    /* --- Services grid již má 1fr na 600px, tam je ok --- */

    /* --- Navigace – padding topbar na úzkých displejích --- */
    .nav-topbar-inner {
        gap: 0.5rem;
    }

    /* --- Reviews CTA cards --- */
    .reviews-cta {
        grid-template-columns: 1fr;
    }

    /* --- Footer --- */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    /* --- Blog / Nabídky stránky --- */
    .page-header {
        padding-top: 8rem;
        padding-bottom: 2.5rem;
    }

    .filter-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }

    .filter-group {
        min-width: 100%;
    }

    /* --- Tlačítka v empty-state --- */
    .empty-state-actions {
        flex-direction: column;
        align-items: center;
    }

    .empty-state-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Drobné opravy pro 481–600px (tablet portrait) */
@media (min-width: 481px) and (max-width: 600px) {

    .hero-actions {
        gap: 0.75rem;
    }

    .hero-actions .btn {
        flex: 1 1 140px;
    }

    .estimate-form,
    .contact-form {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   COOKIES LIŠTA
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 2000;
    max-width: 480px;
    margin: 0 auto;
}

.cookie-banner-inner {
    background: var(--remax-charcoal);
    color: var(--remax-cream);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(247, 245, 238, 0.85);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-accept {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
}

.cookie-decline {
    padding: 0.625rem 1rem;
    font-size: 0.9rem;
    color: rgba(247, 245, 238, 0.6);
    border-color: rgba(247, 245, 238, 0.2);
}

.cookie-decline:hover {
    color: var(--remax-cream);
    border-color: rgba(247, 245, 238, 0.5);
}

/* ==========================================================================
   ČLÁNEK – MOBILNÍ OPRAVY
   ========================================================================== */

@media (max-width: 768px) {
    .article-header {
        padding-top: 9rem;
        padding-bottom: 2rem;
    }

    .article-header h1 {
        font-size: clamp(1.6rem, 6vw, 2.25rem);
        max-width: 100%;
    }

    .article-body {
        padding: 2.5rem 0;
        font-size: 1rem;
    }

    .article-cta {
        padding: 1.75rem 1.25rem;
    }

    .article-cta h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding-top: 8rem;
    }

    .article-body h2 {
        font-size: 1.4rem;
    }

    .article-body h3 {
        font-size: 1.1rem;
    }

    .article-lead {
        font-size: 1.1rem;
    }

    .article-body blockquote {
        padding: 0.875rem 1rem;
        margin: 1.5rem 0;
    }

    .page-back {
        font-size: 0.8rem;
        padding: 0.45rem 0.875rem;
    }
}
