/* ==========================================================================
   DIZAJNOVÝ SYSTÉM & PREMENNÉ (KEYS PARTNERS GOLD & NAVY THEME)
   Inšpirované moderným luxusným štýlom kapareal.sk & zahraničnými brokerskými portálmi
   ========================================================================== */
:root {
    /* Písma */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spoločné farby - Rebrand na luxusnú a jasnejšiu Champagne Gold (pre lepšiu čitateľnosť) */
    --success: #10B981;
    --success-light: rgba(16, 185, 129, 0.1);
    --danger: #EF4444;
    --danger-light: rgba(239, 68, 68, 0.1);
    --info: #3B82F6;
    --info-light: rgba(59, 130, 246, 0.1);

    /* Ostatné konštanty */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Predvolené SVETLÉ (Light Mode) premenné - Vzor kapareal.sk */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #E2E8F0;
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    --text-primary: #0F172A;
    --text-secondary: #2D3748; 
    --text-muted: #5A6A85; 
    
    --border-color: rgba(181, 137, 32, 0.15);
    --border-color-focus: rgba(181, 137, 32, 0.5);
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 25px rgba(181, 137, 32, 0.08);
    
    --hero-overlay: linear-gradient(180deg, rgba(248, 250, 252, 0.86) 0%, rgba(248, 250, 252, 0.64) 20%, rgba(248, 250, 252, 0.14) 34%, rgba(248, 250, 252, 0) 44%, rgba(248, 250, 252, 0) 100%);
    --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(241, 245, 249, 0.5) 100%);
    
    --brand-yellow: #B58920; 
    --brand-yellow-hover: #9E7415;
    --brand-yellow-light: rgba(181, 137, 32, 0.12);
}

/* Tmavý režim - Luxury Warm Dark (Deep Corporate Navy) */
html[data-theme="dark"] {
    --bg-primary: #05080F; 
    --bg-secondary: #0B1020; 
    --bg-tertiary: #161F34; 
    --bg-glass: rgba(11, 16, 32, 0.88);
    
    --text-primary: #FFFFFF; 
    --text-secondary: #F1F5F9; 
    --text-muted: #A0AEC0; 
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-focus: rgba(223, 186, 115, 0.5);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(223, 186, 115, 0.15);
    
    --hero-overlay: linear-gradient(180deg, rgba(5, 8, 15, 0.84) 0%, rgba(5, 8, 15, 0.58) 20%, rgba(5, 8, 15, 0.12) 36%, rgba(5, 8, 15, 0) 48%, rgba(5, 8, 15, 0) 100%);
    --card-gradient: linear-gradient(180deg, rgba(22, 31, 52, 0) 0%, rgba(11, 16, 32, 0.5) 100%);
    
    --brand-yellow: #DFBA73; 
    --brand-yellow-hover: #CFA65B;
    --brand-yellow-light: rgba(223, 186, 115, 0.15);
}

/* Explicitná definícia svetlého režimu pre spätnú kompatibilitu prepínača */
html[data-theme="light"] {
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #E2E8F0;
    --bg-glass: rgba(255, 255, 255, 0.9);
    
    --text-primary: #0F172A;
    --text-secondary: #2D3748; 
    --text-muted: #5A6A85; 
    
    --border-color: rgba(181, 137, 32, 0.15);
    --border-color-focus: rgba(181, 137, 32, 0.5);
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 25px rgba(181, 137, 32, 0.08);
    
    --hero-overlay: linear-gradient(180deg, rgba(248, 250, 252, 0.86) 0%, rgba(248, 250, 252, 0.64) 20%, rgba(248, 250, 252, 0.14) 34%, rgba(248, 250, 252, 0) 44%, rgba(248, 250, 252, 0) 100%);
    --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(241, 245, 249, 0.5) 100%);
    
    --brand-yellow: #B58920; 
    --brand-yellow-hover: #9E7415;
    --brand-yellow-light: rgba(181, 137, 32, 0.12);
}

/* ==========================================================================
   ZÁKLADNÉ ŠTÝLY (RESET & GLOBAL)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Komponenty */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   TLAČIDLÁ (BUTTONS)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--brand-yellow);
    color: #05080F;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(181, 137, 32, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: var(--brand-yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(181, 137, 32, 0.5), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(181, 137, 32, 0.3);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-primary);
    transform: translateY(-2px);
    border-color: var(--brand-yellow);
}

.btn-block {
    width: 100%;
}

.text-gold {
    color: var(--brand-yellow);
}

.text-yellow {
    color: var(--brand-yellow);
}

/* ==========================================================================
   HLAVIČKA (NAVBAR)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.logo-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-right: 12px;
    border: 1px solid rgba(223, 186, 115, 0.3);
    background-color: #05080F;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(223, 186, 115, 0.1);
}

.main-header .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.main-header .logo .logo-icon-container {
    margin-right: 0 !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.main-header .logo:hover .logo-icon-container {
    transform: scale(1.08);
    border-color: var(--brand-yellow);
    box-shadow: 0 0 16px rgba(223, 186, 115, 0.45);
}

.logo-icon-img {
    height: 110%; /* Zmenšené percento orezania pre nové logo */
    width: auto;
    max-width: none !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-text {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.header-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    background-color: var(--bg-tertiary);
    transition: var(--transition);
}

.social-header-icon:hover {
    color: #05080F;
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    transform: translateY(-2px);
}

.nav-menu ul {
    display: flex;
    gap: clamp(14px, 1.8vw, 24px);
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.92rem;
    white-space: nowrap;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-yellow);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.nav-link-disabled {
    cursor: default;
}

.nav-menu a.nav-link-disabled:hover {
    color: var(--text-secondary);
}

.nav-menu a.nav-link-disabled:hover::after {
    width: 0;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--brand-yellow);
    color: var(--brand-yellow);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   HERO SEKCIA
   ========================================================================== */
.hero-section {
    padding: 112px 0 0;
    position: relative;
    overflow: visible;
    z-index: 10;
    background-color: var(--bg-primary);
    min-height: 88vh;
    display: flex;
    align-items: stretch;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
    user-select: none;
    -webkit-user-drag: none;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: calc(88vh - 112px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    max-width: 100%;
}

.hero-content h1 {
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
    white-space: nowrap;
}

.hero-motto {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2.3rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--brand-yellow);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

/* Vyhľadávací a filtračný panel (Glassmorphic) */
.search-panel {
    margin-top: auto;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
    background-color: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.search-tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.search-tab-btn:hover {
    color: var(--text-primary);
    background-color: var(--bg-tertiary);
}

.search-tab-btn.active {
    color: #05080F;
    background-color: var(--brand-yellow);
}

.search-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 16px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.search-form .form-group {
    margin: 0;
}

.search-form .form-group input,
.search-form .form-group select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    margin: 0;
    box-sizing: border-box;
}

.form-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.form-group select optgroup {
    background-color: var(--bg-secondary);
    color: var(--brand-yellow);
    font-weight: 700;
    font-style: normal;
    padding: 6px 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px var(--brand-yellow-light);
}

.search-submit-btn {
    height: 48px;
    padding: 0 28px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-sizing: border-box;
}

/* ==========================================================================
   ŠTATISTIKY
   ========================================================================== */
.stats-section {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.stat-number {
    font-size: clamp(1.75rem, 2.2vw, 2.5rem);
    color: var(--brand-yellow);
    margin-bottom: 4px;
    font-weight: 800;
    white-space: nowrap;
}

.stat-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background-color: var(--border-color);
}

/* ==========================================================================
   SEKCIA VÝSLEDKY V ČÍSLACH
   ========================================================================== */
.results-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
    gap: 32px;
    margin-top: 56px;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.result-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
}

.result-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-yellow);
    box-shadow: var(--shadow-glow);
}

.result-icon {
    font-size: 2rem;
    color: var(--brand-yellow);
    margin-bottom: 20px;
    opacity: 0.9;
}

.result-number {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.result-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.results-story-text {
    max-width: 720px;
    margin: 0 auto;
}

.results-story-text p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.95;
}

/* Realizované predaje (sold-card) pre prípadné rozšírenie */
.sold-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: var(--transition);
}

.sold-card:hover {
    border-color: var(--brand-yellow);
    box-shadow: var(--shadow-sm);
}

.sold-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-yellow);
    margin-bottom: 8px;
}

.sold-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sold-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.sold-detail-row {
    display: flex;
    justify-content: space-between;
}

.sold-detail-lbl {
    color: var(--text-muted);
}

.sold-detail-val {
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   SEKCIA S PONUKOU NEHNUTEĽNOSTÍ
   ========================================================================== */
.listings-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 24px;
}

.listings-header {
    align-items: center;
    margin-bottom: 32px;
    gap: 16px;
}

.listings-header .section-title {
    margin-bottom: 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.filter-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--brand-yellow);
}

.filter-btn.active {
    background-color: var(--brand-yellow-light);
    color: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

/* Kontajner a rozdelenie na 3 sekcie (Novinky/Na predaj, Rezervované, Sprostredkované) */
.portfolio-sections-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
}

.portfolio-group-section {
    display: flex;
    flex-direction: column;
}

.portfolio-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-color);
}

.portfolio-group-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.portfolio-group-title i {
    color: var(--brand-yellow);
    font-size: 1.25rem;
}

.portfolio-group-section[data-group="reserved"] .portfolio-group-title i {
    color: var(--danger);
}

.portfolio-group-section[data-group="sold"] .portfolio-group-title i {
    color: #10b981;
}

.portfolio-group-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.portfolio-group-badge.badge-active {
    background-color: rgba(223, 186, 115, 0.15);
    color: var(--brand-yellow);
    border: 1px solid rgba(223, 186, 115, 0.35);
}

.portfolio-group-badge.badge-reserved {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.portfolio-group-badge.badge-sold {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.portfolio-group-empty {
    background-color: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 36px 24px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.portfolio-group-empty i {
    color: var(--brand-yellow);
    font-size: 1.1rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    align-items: stretch;
}

/* ==========================================================================
   CAROUSEL / SLIDER PRE 3 SEKCIE NEHNUTEĽNOSTÍ
   ========================================================================== */
.portfolio-carousel-wrapper {
    position: relative;
    width: 100%;
}

.portfolio-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 12px 4px 24px 4px;
}

.portfolio-carousel-track::-webkit-scrollbar {
    display: none;
}

/* Vždy max 3 karty vedľa seba na desktope */
.portfolio-carousel-track > .listing-card {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    height: auto;
    align-self: stretch;
    box-sizing: border-box;
}

/* Navigačná šípka (umiestnená vedľa tretej nehnuteľnosti na pravej strane) */
.carousel-nav-btn {
    position: absolute;
    top: calc(50% - 6px);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(11, 16, 32, 0.94);
    border: 1.5px solid var(--brand-yellow);
    color: var(--brand-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(223, 186, 115, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), 
                background-color 0.25s ease, 
                color 0.25s ease, 
                box-shadow 0.25s ease, 
                opacity 0.25s ease;
}

.carousel-nav-btn:hover:not(:disabled):not(.nav-disabled) {
    background: var(--brand-yellow);
    color: #0b1020;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 25px rgba(223, 186, 115, 0.6);
}

.carousel-nav-btn:disabled,
.carousel-nav-btn.nav-disabled {
    opacity: 0.15;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* Šípka na pravej strane (vedľa 3. karty) */
.carousel-next-btn {
    right: -16px;
}

/* Šípka na ľavej strane */
.carousel-prev-btn {
    left: -16px;
}

/* Responzívne zobrazenie a plynulý swipe */
@media (max-width: 1024px) {
    .portfolio-carousel-track > .listing-card {
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
    .portfolio-carousel-track {
        gap: 20px;
    }
    .carousel-next-btn {
        right: -6px;
    }
    .carousel-prev-btn {
        left: -6px;
    }
}

@media (max-width: 768px) {
    .portfolio-carousel-track {
        gap: 16px;
        padding-left: 2px;
        padding-right: 2px;
    }
    .portfolio-carousel-track > .listing-card {
        flex: 0 0 88%;
        min-width: 88%;
        max-width: 88%;
    }
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    .carousel-next-btn {
        right: 4px;
    }
    .carousel-prev-btn {
        left: 4px;
    }
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    font-size: 1.2rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-spinner i {
    font-size: 2.5rem;
    color: var(--brand-yellow);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
}

.no-results i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.no-results p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* KARTA NEHNUTEĽNOSTI (CARD) */
.listing-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 490px;
    align-self: stretch;
    position: relative;
    cursor: pointer;
}

.listing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(223, 186, 115, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 25px rgba(223, 186, 115, 0.15);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    flex-shrink: 0;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.listing-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.badge {
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 4px;
}

.badge-yellow {
    background-color: var(--brand-yellow);
    color: #05080F;
}

.badge-dark {
    background-color: rgba(11, 16, 32, 0.9);
    color: #FFFFFF;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-red {
    background-color: var(--danger);
    color: white;
}

.badge-green {
    background-color: #10b981;
    color: white;
}

/* Avatar makléra v rohu náhľadovej karty nehnuteľnosti */
.card-agent-badge {
    position: absolute;
    bottom: 14px;
    left: 16px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--brand-yellow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    z-index: 3;
    background: #0b1020;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.card-agent-badge:hover {
    transform: scale(1.15);
    border-color: #ffffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.7), 0 0 12px rgba(223, 186, 115, 0.6);
}

.card-agent-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 50%;
    display: block;
}

.card-price-tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background-color: rgba(11, 16, 32, 0.9);
    color: var(--brand-yellow);
    padding: 6px 14px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-body {
    padding: 26px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: auto;
    min-height: 250px;
}

.card-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--brand-yellow);
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.22rem;
    line-height: 1.38;
    margin-bottom: 14px;
    height: auto;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--text-primary);
}

.card-location {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 22px;
}

.card-specs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.card-action {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-yellow);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.spec-item i {
    color: var(--brand-yellow);
}

/* ==========================================================================
   BENEFITY / O NÁS, KTO SME, NAŠE DESATORO, ETICKÝ KÓDEX
   ========================================================================== */
.benefits-section {
    padding: 80px 0 100px;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.benefits-section .section-header {
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 0;
}

.benefit-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-yellow);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    background-color: var(--brand-yellow-light);
    color: var(--brand-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p,
.benefit-teaser {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.benefit-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.benefit-read-more {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-yellow);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.benefit-read-more i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}

.benefit-card:hover .benefit-read-more i,
.benefit-read-more:hover i {
    transform: translateX(4px);
}

/* Modálne okno pre sekciu O nás (About Modal) */
.about-modal-content {
    max-width: 780px;
    background-color: #0b1020;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.about-modal-body {
    padding: 40px 36px;
}

.about-modal-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 36px;
}

.about-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius-md);
    background-color: rgba(223, 186, 115, 0.15);
    color: #DFBA73;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-modal-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-modal-badge {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #DFBA73;
}

.about-modal-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: #FFFFFF !important;
    line-height: 1.25;
    margin: 0;
}

.about-modal-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 0.98rem;
    line-height: 1.72;
}

.about-white-block {
    background-color: #FFFFFF;
    color: #1E293B;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 18px 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.about-white-block p {
    margin: 0;
    color: #1E293B;
    line-height: 1.72;
}

.about-white-block strong {
    color: #0F172A;
    font-weight: 800;
}

.about-block-heading {
    font-family: var(--font-heading);
    font-size: 1.06rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
    padding-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid #B58920;
    border-bottom: 1px solid #E2E8F0;
    line-height: 1.35;
}

.about-white-quote {
    border-left: 4px solid #B58920;
    background-color: #FFFDF7;
}

.about-white-quote p {
    color: #0F172A;
    font-weight: 600;
    font-style: italic;
}

.about-desatoro-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-desatoro-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    color: #0F172A;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.about-desatoro-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(181, 137, 32, 0.15);
    color: #B58920;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   SEKCIA MAKLÉRI
   ========================================================================== */
.agents-section {
    padding: 100px 0;
}

.agents-section .container {
    max-width: 1360px;
}

.agents-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 56px;
}

/* Desktop: v prvom riadku sú vždy 3 kartičky (makléri), ďalší členovia tímu sa zalomia do druhého riadku */
.agents-grid > .agent-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

.agent-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    max-width: 100%;
    height: 490px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    background-color: #0b0f19;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease;
}

.agent-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-yellow);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(200, 155, 60, 0.25);
}

/* Plynulý tmavý prechodový overlay (gradient) v spodnej časti karty */
.agent-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 10, 19, 0.97) 0%,
        rgba(6, 10, 19, 0.88) 28%,
        rgba(6, 10, 19, 0.5) 55%,
        rgba(6, 10, 19, 0.15) 72%,
        rgba(6, 10, 19, 0) 100%
    );
    z-index: 2;
    pointer-events: none;
    transition: background 0.4s ease;
}

.agent-card:hover::after {
    background: linear-gradient(
        to top,
        rgba(6, 10, 19, 0.98) 0%,
        rgba(6, 10, 19, 0.9) 32%,
        rgba(6, 10, 19, 0.55) 60%,
        rgba(6, 10, 19, 0.2) 78%,
        rgba(6, 10, 19, 0) 100%
    );
}

/* Fotografia makléra na celú plochu karty */
.agent-img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: inherit;
    z-index: 1;
    overflow: hidden;
}

.agent-img-wrapper.agent-img-placeholder,
.agent-avatar-placeholder {
    background-color: #6b7280;
}

.agent-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    border-radius: inherit;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.agent-card:hover .agent-img-wrapper img {
    transform: scale(1.05);
}

/* Informácie o maklérovi (meno, pozícia, kontakty) na tmavom gradiente */
.agent-info {
    position: relative;
    z-index: 3;
    padding: 24px 18px 22px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.agent-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.agent-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-yellow);
    text-transform: none;
    letter-spacing: 0.02em;
    margin: 0 0 14px 0;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    /* Pozícia vždy na jednom riadku (bez zmenšenia písma) */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-short {
    display: none;
}

/* Elegantná štylizácia kontaktov vo forme vizitky */
.agent-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 14px;
    margin-top: 2px;
}

.agent-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    letter-spacing: -0.01em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    word-break: break-all;
}

.agent-contact a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(200, 155, 60, 0.15);
    border: 1px solid rgba(200, 155, 60, 0.35);
    color: var(--brand-yellow);
    font-size: 0.72rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.agent-contact a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.agent-contact a:hover i {
    background-color: var(--brand-yellow);
    color: #0b0f19;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 10px rgba(200, 155, 60, 0.5);
}

@media (max-width: 1199px) {
    .agents-grid {
        gap: 28px;
    }

    .agents-grid > .agent-card {
        flex: 0 0 min(360px, calc((100% - 28px) / 2));
    }

    .role-full {
        display: none;
    }

    .role-short {
        display: inline;
    }
}

@media (max-width: 760px) {
    .agents-grid {
        gap: 20px;
    }

    .agents-grid > .agent-card {
        flex: 0 0 min(380px, 100%);
    }
}

/* ==========================================================================
   FORMULÁR PRE PREDÁVAJÚCICH
   ========================================================================== */
.submit-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.submit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.submit-info h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1.25;
    color: var(--text-primary);
}

.submit-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.submit-advantages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.submit-advantages li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.submit-form-container {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    position: relative;
}

.submit-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    border-left: 4px solid var(--brand-yellow);
    padding-left: 12px;
    color: var(--text-primary);
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    font-weight: 500;
}

.form-success {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.form-success p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ==========================================================================
   HYPOTEKÁRNA KALKULAČKA (ŠIROKÉ ROZLOŽENIE NA ŠÍRKU)
   ========================================================================== */
.mortgage-section {
    padding: 100px 0 60px;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.mortgage-container {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

/* 1. Horná časť: Úvodné texty a zoznam služieb */
.mortgage-top-intro {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.mortgage-intro-main .badge-premium {
    display: inline-flex;
    margin-bottom: 16px !important;
}

.mortgage-intro-main h2 {
    font-size: 2.35rem;
    margin-bottom: 16px;
    line-height: 1.22;
    color: var(--text-primary);
}

.mortgage-intro-main p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.72;
}

.mortgage-intro-services {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}

.mortgage-services-heading {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mortgage-advantages {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 0;
}

.mortgage-advantages li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    font-size: 0.96rem;
    color: var(--text-primary);
    line-height: 1.45;
}

.mortgage-advantages li i {
    margin-top: 4px;
    flex-shrink: 0;
}

/* 2. Stredná časť: Karta kalkulačky na celú šírku */
.mortgage-tool-container {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px 44px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.mortgage-tool-header {
    margin-bottom: 30px;
}

.mortgage-tool-header h3 {
    font-size: 1.55rem;
    border-left: 4px solid var(--brand-yellow);
    padding-left: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.mortgage-tool-header p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    margin: 0;
}

.mortgage-calc-wide-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.mortgage-inputs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.mortgage-primary-inputs,
.mortgage-secondary-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.mortgage-input-block {
    margin-bottom: 0;
}

.mortgage-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 8px;
}

.mortgage-input-header label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mortgage-ltv-badge {
    color: var(--brand-yellow);
    font-size: 0.85rem;
    font-weight: 700;
}

.mortgage-val-badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 5px 12px;
    gap: 4px;
    transition: var(--transition);
}

.mortgage-val-badge:focus-within {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 2px var(--brand-yellow-light);
}

.mortgage-val-badge input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    text-align: right;
    width: 95px;
    outline: none;
    padding: 0;
}

.mortgage-val-badge span {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.mortgage-val-badge input::-webkit-outer-spin-button,
.mortgage-val-badge input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.mortgage-val-badge input[type=number] {
    -moz-appearance: textfield;
}

.range-slider-wrapper {
    position: relative;
}

.custom-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    outline: none;
    margin: 12px 0 6px;
    cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-yellow);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--brand-yellow);
}

.custom-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-yellow);
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.range-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mortgage-derived-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 14px 22px;
    margin: 0;
}

.derived-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.derived-label {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.derived-value {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.quick-years-pills {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.btn-pill {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pill:hover,
.btn-pill.active {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #05080F;
}

.mortgage-result-banner {
    background: linear-gradient(135deg, rgba(181, 137, 32, 0.14) 0%, rgba(5, 8, 15, 0.45) 100%);
    border: 2px solid var(--brand-yellow);
    border-radius: var(--border-radius-lg);
    padding: 32px 28px;
    margin: 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(181, 137, 32, 0.15);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mortgage-result-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-yellow);
    margin-bottom: 10px;
}

.mortgage-result-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    margin-bottom: 22px;
}

.mortgage-payment-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.mortgage-payment-currency {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--brand-yellow);
}

.mortgage-payment-currency small {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.mortgage-result-subdetails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(181, 137, 32, 0.25);
}

.subdetail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.subdetail-item strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 3. Spodná časť: 3 Info boxy v mriežke vedľa seba */
.mortgage-info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.mortgage-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px 26px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mortgage-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 155, 60, 0.45);
}

.mortgage-card-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.mortgage-card-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.35;
}

.mortgage-card-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.55;
}

.mortgage-card-text p.mortgage-card-highlight {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.55;
}

/* 4. Spodná časť: Široký kontaktný formulár */
.mortgage-consult-wide-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 36px 44px;
    box-shadow: var(--shadow-md);
    width: 100%;
    box-sizing: border-box;
}

.mortgage-consult-form {
    margin: 0;
    padding: 0;
    border: none;
}

.consult-form-heading {
    margin-bottom: 24px;
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.consult-form-heading h4 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.consult-form-heading p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.mortgage-consult-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.mortgage-consult-fields-grid .form-group {
    margin-bottom: 0;
}

.mortgage-consult-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
}

.btn-mortgage-submit {
    padding: 15px 36px;
    font-size: 1.05rem;
    min-width: 340px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
}

.mortgage-consult-footer .form-disclaimer {
    margin-top: 14px;
    max-width: 680px;
}

.mortgage-success-box {
    text-align: center;
    padding: 32px 16px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    margin-top: 20px;
    animation: fadeInUp 0.4s ease forwards;
}

.mortgage-success-box .success-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 16px;
}

.mortgage-success-box h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.mortgage-success-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.mortgage-success-details {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px 20px;
    max-width: 380px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mortgage-success-details .succ-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.mortgage-success-details .succ-row strong {
    color: var(--text-primary);
}

/* ==========================================================================
   SEKCIA RECENZIE
   ========================================================================== */
.reviews-section {
    padding: 60px 0 100px;
    border-top: 1px solid var(--border-color);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.reviews-header-left {
    flex: 1 1 380px;
}

.reviews-header-left .section-title {
    margin-bottom: 0;
}

.reviews-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.reviews-avg-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    padding: 14px 28px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.reviews-avg-score-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reviews-avg-number {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
}

.reviews-avg-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--brand-yellow);
    font-size: 0.95rem;
}

.reviews-avg-label {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.25;
}

.reviews-avg-number.is-empty {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.reviews-avg-stars.is-empty {
    opacity: 0.45;
}

.reviews-avg-count {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.88;
    line-height: 1.25;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.review-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.review-rating {
    display: flex;
    gap: 4px;
    color: var(--brand-yellow);
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
    font-size: 0.98rem;
    line-height: 1.7;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.review-author h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.review-author span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.reviews-action-bar {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.btn-open-review-form {
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-open-review-form:hover {
    border-color: var(--brand-yellow);
    color: var(--brand-yellow);
}

/* Formulár na pridanie novej recenzie */
.review-form-container {
    max-width: 680px;
    margin: 36px auto 0;
    animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.review-form-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    text-align: left;
}

.review-form-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.review-form-title {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.review-form-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.btn-close-review-form {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.btn-close-review-form:hover {
    color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    background-color: var(--bg-tertiary);
}

.review-submit-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.review-submit-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.review-submit-form input[type="text"],
.review-submit-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.review-submit-form input[type="text"]:focus,
.review-submit-form textarea:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(181, 137, 32, 0.15);
}

.review-submit-form textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

/* Interaktívny výber hviezdičiek */
.star-rating-picker {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background-color: var(--bg-primary);
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

.star-buttons {
    display: flex;
    gap: 6px;
}

.star-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 2px 4px;
    transition: transform 0.15s ease, color 0.15s ease;
    line-height: 1;
}

.star-btn:hover {
    transform: scale(1.2);
}

.star-btn.active,
.star-btn.hover {
    color: var(--brand-yellow);
}

.star-rating-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-submit-review {
    margin-top: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    cursor: pointer;
}

/* Feedback boxy */
.review-feedback-box {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: fadeInDown 0.3s ease;
}

.review-feedback-box.success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.review-feedback-box.success h4 {
    color: #10B981;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.review-feedback-box.success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.review-feedback-box.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.review-feedback-box.error h4 {
    color: #EF4444;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.review-feedback-box.error p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.review-feedback-box .feedback-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Stav načítavania a prázdny stav */
.reviews-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
}

.reviews-loading i {
    font-size: 2rem;
    color: var(--brand-yellow);
}

.reviews-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 24px;
    background-color: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

.empty-state-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(181, 137, 32, 0.1);
    color: var(--brand-yellow);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.reviews-empty-state h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.reviews-empty-state p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ==========================================================================
   MODÁLNE OKNO (MODAL)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #0b1020;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    width: 92%;
    max-width: 980px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background-color: #161e31;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--brand-yellow);
    color: #05080F;
    border-color: var(--brand-yellow);
}

/* --- Celoobrazovkový prehliadač fotografií (Lightbox) --- */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.photo-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.photo-lightbox-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    pointer-events: none;
}

.photo-lightbox-counter {
    pointer-events: auto;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.photo-lightbox-close {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.photo-lightbox-close:hover {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #05080F;
    transform: scale(1.06);
}

.photo-lightbox-stage {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 72px 84px 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}

.photo-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
    user-select: none;
    -webkit-user-select: none;
}

.photo-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.photo-lightbox-nav:hover:not(:disabled) {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #05080F;
    transform: translateY(-50%) scale(1.06);
}

.photo-lightbox-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.photo-lightbox-nav[hidden] {
    display: none;
}

.photo-lightbox-prev {
    left: 22px;
}

.photo-lightbox-next {
    right: 22px;
}

.photo-lightbox-close:focus-visible,
.photo-lightbox-nav:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .photo-lightbox-topbar {
        padding: 14px 16px;
    }

    .photo-lightbox-stage {
        padding: 64px 12px 24px;
    }

    .photo-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .photo-lightbox-prev {
        left: 10px;
    }

    .photo-lightbox-next {
        right: 10px;
    }
}

.modal-body {
    padding: 32px;
    overflow-x: hidden;
}

/* Modálny obsah - Dvojstĺpcový moderný layout */
.modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: start;
}

.modal-main {
    min-width: 0;
    width: 100%;
}

.modal-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-gallery {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    height: 360px;
    background-color: #050813;
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 6px;
}

.modal-gallery-3d-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e5c158 0%, #d4af37 100%);
    color: #05080f !important;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.02em;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.modal-gallery-3d-btn:hover {
    background: linear-gradient(135deg, #f3d474 0%, #e0ba42 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.modal-gallery-clickable-img {
    cursor: zoom-in;
    transition: transform 0.35s ease;
}

.modal-gallery:hover .modal-gallery-clickable-img {
    transform: scale(1.015);
}

.modal-gallery-zoom-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 15, 28, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.92rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-gallery-zoom-btn:hover {
    background: rgba(212, 175, 55, 0.95);
    border-color: rgba(212, 175, 55, 1);
    color: #05080F;
    transform: scale(1.06);
}

.modal-gallery-zoom-btn:focus-visible {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 2px;
}

.modal-main-tour-wrap {
    margin-bottom: 18px;
}

.modal-main-tour-btn {
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
}

/* Marketingové video z RealSoftu */
.modal-video-section {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-video-item {
    background-color: #050813;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 14px;
    padding: 14px;
}

.modal-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.modal-video-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
}

.modal-video-title i {
    color: var(--brand-yellow);
    font-size: 1.05rem;
}

.modal-video-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-yellow);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.modal-video-ext-link:hover {
    color: #f3d474;
    text-decoration: underline;
}

.modal-video-frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-video-frame-wrap iframe,
.modal-video-frame-wrap video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.modal-video-fallback-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 18px;
    gap: 12px;
}

.modal-property-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 0;
}

.modal-property-id {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

.modal-location {
    color: #94a3b8;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.modal-location i {
    color: #cbd5e1;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background-color: #050813;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 14px;
    border-radius: 14px;
    margin-bottom: 24px;
}

.modal-spec-box {
    text-align: center;
}

.modal-spec-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.modal-spec-lbl {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.modal-desc-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.modal-description {
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.92rem;
}

.modal-description p,
.modal-description .modal-desc-p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.modal-description .modal-desc-subheading {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.modal-description .modal-desc-list {
    margin: 12px 0 20px 24px;
    padding-left: 6px;
    list-style-type: disc;
}

.modal-description .modal-desc-list li {
    margin-bottom: 8px;
    line-height: 1.65;
    padding-left: 4px;
    color: #cbd5e1;
}

.modal-description .modal-desc-list li::marker {
    color: var(--brand-yellow);
}

.modal-description strong {
    color: #ffffff;
    font-weight: 700;
}

/* Pravý bočný panel */
.modal-price-card {
    background-color: #050813;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
}

.modal-price-lbl {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    margin-bottom: 4px;
}

.modal-price-val {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.btn-tour-active {
    background: #d4af37;
    color: #05080f !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-tour-active:hover {
    background: #e5c158;
    color: #05080f !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.btn-tour-disabled {
    background: #171f30;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: not-allowed;
}

.modal-agent-card {
    background-color: #050813;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 20px;
    border-radius: 16px;
}

.modal-agent-card h4 {
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.modal-agent-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.modal-agent-clickable {
    cursor: pointer;
    padding: 8px 10px;
    margin: -8px -10px 10px -10px;
    border-radius: 12px;
    transition: var(--transition);
}

.modal-agent-clickable:hover {
    background-color: rgba(212, 175, 55, 0.12);
}

.modal-agent-clickable:hover .modal-agent-name {
    color: var(--brand-yellow);
}

.modal-agent-clickable:hover .modal-agent-avatar {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.modal-agent-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-yellow);
    flex-shrink: 0;
    transition: var(--transition);
}

.modal-agent-details {
    min-width: 0;
}

.modal-agent-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.25;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-agent-ext-icon {
    font-size: 0.72rem;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.modal-agent-clickable:hover .modal-agent-ext-icon {
    opacity: 1;
}

.modal-agent-role {
    font-size: 0.82rem;
    color: var(--brand-yellow);
    font-weight: 600;
    margin-top: 2px;
}

.modal-agent-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.modal-agent-contact a {
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.modal-agent-contact a.text-gold,
.modal-agent-contact a:hover {
    color: var(--brand-yellow);
}

.modal-compact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-compact-input {
    width: 100%;
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.92rem;
    color: #ffffff;
    transition: var(--transition);
}

.modal-compact-input:focus {
    outline: none;
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.modal-compact-input::placeholder {
    color: #64748b;
}

.btn-modal-submit {
    width: 100%;
    background: #d4af37;
    color: #05080f;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 4px;
}

.btn-modal-submit:hover {
    background: #e5c158;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.modal-form-success {
    text-align: center;
    color: var(--success);
    font-weight: 600;
    margin-top: 14px;
    font-size: 0.9rem;
    padding: 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
}

/* --- Miniatúry fotogalérie nehnuteľnosti --- */
.modal-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.modal-thumb-btn {
    width: 70px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
    opacity: 0.65;
}

.modal-thumb-btn.active {
    border-color: var(--brand-yellow);
    opacity: 1;
    box-shadow: 0 0 10px rgba(181, 137, 32, 0.4);
}

.modal-thumb-btn:hover {
    opacity: 1;
}

.modal-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-thumb-video {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: linear-gradient(135deg, #161f34 0%, #0b1020 100%);
    border: 1.5px solid rgba(212, 175, 55, 0.55);
    color: var(--brand-yellow);
    opacity: 0.95;
}

.modal-thumb-video i {
    font-size: 0.85rem;
}

.modal-thumb-video span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.modal-thumb-video:hover {
    border-color: var(--brand-yellow);
    background: linear-gradient(135deg, #1f2b47 0%, #111930 100%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

/* --- Tabuľka technických parametrov --- */
.modal-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    margin-bottom: 24px;
    background-color: #050813;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.88rem;
}

.modal-specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-specs-table tr:last-child {
    border-bottom: none;
}

.modal-specs-table td {
    padding: 10px 16px;
}

.modal-specs-table td.spec-lbl {
    font-weight: 600;
    color: #94a3b8;
    width: 40%;
}

.modal-specs-table td.spec-val {
    color: #ffffff;
    font-weight: 500;
}

/* --- Banner aktívneho filtra makléra --- */
.agent-filter-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(11, 16, 32, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.agent-filter-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.agent-filter-banner-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-yellow);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.agent-filter-banner-label {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.agent-filter-banner-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.agent-filter-banner-count {
    font-size: 0.88rem;
    color: var(--brand-yellow);
    font-weight: 600;
}

.btn-clear-agent-filter {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-clear-agent-filter:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
}

/* ==========================================================================
   PÄTIČKA (FOOTER)
   ========================================================================== */
.main-footer {
    background-color: #03050A;
    color: #E2E8F0; /* Vždy svetlý text na tmavom pozadí */
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main-footer .logo,
.main-footer .logo-text {
    color: #FFFFFF !important; /* Logo a text v pätičke sú vždy čisté, jasné a 100% čitateľné biele */
}

.main-footer .logo-icon-container {
    border-color: rgba(223, 186, 115, 0.5);
    box-shadow: 0 0 12px rgba(223, 186, 115, 0.25);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 0.9fr;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-bottom: 20px;
}

.footer-brand .logo {
    margin-bottom: 0;
}

.footer-brand .footer-logo-stack {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.footer-brand .footer-logo-stack .logo-icon-container {
    margin-right: 0;
    flex-shrink: 0;
}

.footer-brand .footer-logo-stack .logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.footer-brand .social-links {
    margin-bottom: 0;
}

.footer-brand p {
    font-size: 0.93rem;
    margin-bottom: 0;
    max-width: 520px;
    line-height: 1.7;
    color: #94A3B8; /* Stlmený svetlý text */
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #FFFFFF; /* Vždy biele ikony sociálnych sietí */
}

.social-links a:hover {
    background-color: var(--brand-yellow);
    color: #05080F;
    border-color: var(--brand-yellow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--brand-yellow);
    padding-bottom: 8px;
    display: inline-block;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #E2E8F0; /* Vždy svetlý text */
}

.footer-links li i {
    color: var(--brand-yellow);
}

.footer-links a:hover {
    color: white;
}

.footer-admin-shortcut {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-admin-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #FFFFFF;
    opacity: 0.88;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-admin-brand {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1;
    transition: color 0.25s ease;
}

.footer-admin-badge {
    font-family: var(--font-heading);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    line-height: 1;
    transition: all 0.25s ease;
}

.footer-admin-link:hover {
    background: rgba(223, 186, 115, 0.10);
    border-color: rgba(223, 186, 115, 0.50);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.footer-admin-link:hover .footer-admin-icon {
    opacity: 1;
    color: #FFFFFF;
}

.footer-admin-link:hover .footer-admin-brand {
    color: #FFFFFF;
}

.footer-admin-link:hover .footer-admin-badge {
    background: var(--brand-yellow);
    color: #05080F;
}

.branches-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.branches-list a {
    font-size: 0.9rem;
    color: #E2E8F0; /* Vždy svetlý text */
}

.branches-list a:hover {
    color: var(--brand-yellow);
}

.footer-links .coverage-text,
.coverage-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #E2E8F0;
    line-height: 1.6;
    font-weight: 500;
}

.footer-links .coverage-text i,
.coverage-text i {
    color: var(--brand-yellow);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-links .footer-regions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links .footer-regions-list li {
    font-size: 0.92rem;
    color: #CBD5E1;
    line-height: 1.5;
    padding: 0;
}

.footer-bottom {
    background-color: #010204;
    padding: 24px 0;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94A3B8; /* Vždy stlmený svetlý text pre copyright */
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px 24px;
}

.footer-bottom-container p {
    margin: 0;
    line-height: 1.6;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.footer-bottom-links a {
    color: #94A3B8; /* Vždy svetlé copyright linky */
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-bottom-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

@media (max-width: 1180px) {
    .footer-bottom-container {
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   PLYNULÉ ANIMÁCIE VSTUPU PRI SKROLLOVANÍ (REVEAL ON SCROLL)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONZIVITA (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        white-space: normal;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .search-form {
        grid-template-columns: 1fr 1fr;
    }
    .search-submit-btn {
        grid-column: span 2;
    }
    .submit-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mortgage-top-intro,
    .mortgage-calc-wide-grid,
    .mortgage-info-cards-grid,
    .mortgage-consult-fields-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .results-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        justify-content: center;
        gap: 24px;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }

    .header-container {
        height: 70px;
        padding-left: 16px !important;
        padding-right: 16px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .logo {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
    }

    .logo-icon-container {
        width: 36px;
        height: 36px;
        margin-right: 0 !important;
    }

    /* Skrytie prvkov v lište – v lište zostáva na mobile výlučne iba hamburger */
    .header-actions {
        margin-left: 0 !important;
        display: flex;
        align-items: center;
        gap: 0;
        flex-shrink: 0;
    }

    .header-actions .header-social-links,
    .header-actions .btn-add-listing,
    .header-actions .theme-toggle {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background-color: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        font-size: 1.1rem;
        cursor: pointer;
        transition: var(--transition);
        flex-shrink: 0;
    }

    .mobile-nav-toggle:hover,
    .mobile-nav-toggle.is-active {
        border-color: var(--brand-yellow);
        color: var(--brand-yellow);
    }

    /* Mobilné menu – texty v lište sú skryté a zobrazia sa až po otvorení hamburgeru */
    .nav-menu {
        position: fixed !important;
        top: 70px;
        left: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        z-index: 999;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 32px 20px 48px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        align-items: center;
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
        list-style: none;
        white-space: normal;
    }

    .nav-menu li {
        display: block;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.15rem;
        font-weight: 600;
        padding: 8px 16px;
        display: inline-block;
        color: var(--text-secondary);
        transition: var(--transition);
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--brand-yellow) !important;
    }

    .nav-menu a::after {
        display: none !important;
    }

    .mobile-nav-actions {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        max-width: 280px;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .drawer-setting-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 16px;
        background-color: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius-md);
        color: var(--text-primary);
        font-size: 0.95rem;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
    }

    .drawer-setting-btn:hover {
        border-color: var(--brand-yellow);
    }

    .drawer-setting-left {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .drawer-theme-icon {
        font-size: 1.1rem;
        color: var(--brand-yellow);
    }

    .drawer-theme-status {
        font-size: 0.8rem;
        font-weight: 700;
        padding: 3px 8px;
        border-radius: 20px;
        background-color: rgba(223, 186, 115, 0.15);
        color: var(--brand-yellow);
        border: 1px solid rgba(223, 186, 115, 0.3);
    }

    .btn-mobile-cta {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border-radius: var(--border-radius-md);
        box-shadow: 0 4px 14px rgba(181, 137, 32, 0.35);
    }

    .mobile-social-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding-top: 4px;
    }

    .mobile-social-links .social-header-icon {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
    
    .stats-container {
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        flex: 1 1 40%;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-body {
        padding: 20px 16px;
    }
    
    .modal-gallery {
        height: 250px !important;
    }

    .agent-filter-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .btn-clear-agent-filter {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .reviews-header-left {
        flex: 1 1 auto;
        width: 100%;
    }

    .reviews-header-right {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
    }

    .reviews-avg-badge {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 22px;
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Vylepšenie responzivity pre mobilné rozloženia */
    .listings-grid,
    .benefits-grid,
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .submit-form-container {
        padding: 24px 16px !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .hero-content h1 {
        font-size: 1.3rem !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }
    
    .hero-motto {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
    }
    
    .calc-summary ul {
        grid-template-columns: 1fr !important;
    }

    /* Plná viditeľnosť nadpisu na mobiloch bez orezávania */
    .card-title {
        height: auto !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    /* Hypotekárna kalkulačka responzivita */
    .mortgage-container {
        gap: 32px !important;
    }

    .mortgage-top-intro,
    .mortgage-calc-wide-grid,
    .mortgage-primary-inputs,
    .mortgage-secondary-inputs,
    .mortgage-info-cards-grid,
    .mortgage-consult-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .mortgage-intro-services,
    .mortgage-tool-container,
    .mortgage-consult-wide-card {
        padding: 24px 18px !important;
    }

    .mortgage-result-subdetails {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .subdetail-item {
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .mortgage-payment-number {
        font-size: 2.6rem !important;
    }

    .btn-mortgage-submit {
        min-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Padding po stranách hlavného obsahu pre bezpečné zarovnanie */
    .container {
        padding: 0 16px !important;
    }

    html {
        scroll-padding-top: 64px;
    }

    /* Zmenšenie výšky hlavičky, loga a prvkov pre čistý dizajn na mobiloch */
    .header-container {
        height: 64px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        justify-content: space-between !important;
        gap: 0 !important;
    }
    
    .logo-icon-container {
        width: 34px !important;
        height: 34px !important;
        margin-right: 0 !important;
    }
    
    .mobile-nav-toggle {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }
    
    .nav-menu {
        top: 64px !important;
        height: calc(100vh - 64px) !important;
        padding: 24px 16px 36px !important;
    }

    .nav-menu ul {
        gap: 16px !important;
    }

    .nav-menu a {
        font-size: 1.05rem !important;
    }

    .mobile-nav-actions {
        margin-top: 18px !important;
        padding-top: 18px !important;
        gap: 14px !important;
        max-width: 260px !important;
    }

    .btn-mobile-cta {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }

    .mortgage-derived-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .btn-mortgage-submit {
        font-size: 0.92rem !important;
        padding: 12px 14px !important;
    }

    /* Zmenšenie veľkosti a riadkovania hlavného nadpisu */
    .hero-content h1 {
        font-size: 1.15rem !important;
        line-height: 1.35 !important;
        letter-spacing: -0.01em !important;
        white-space: normal !important;
    }

    .hero-motto {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }

    /* Optimalizácia tlačidiel filtra 'Všetko / Na predaj / Na prenájom / Kúpa' bez zalomenia */
    .search-tabs {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 4px !important;
    }
    
    .search-tab-btn {
        flex: 1 !important;
        text-align: center !important;
        padding: 8px 4px !important;
        font-size: 0.78rem !important;
        white-space: nowrap !important;
    }

    .search-form {
        grid-template-columns: 1fr;
    }
    
    .search-submit-btn {
        grid-column: span 1;
    }
    
    .section-header {
        align-items: flex-start;
    }
    
    .filter-controls {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 8px;
    }
    
    .stat-item {
        flex: 1 1 100%;
        text-align: center;
    }

    /* Zníženie výšky obrázka v karte pre menšie displeje */
    .card-img-wrapper {
        height: 200px !important;
    }

    /* Kompaktnejšie paddingy a písmo pre mobilné karty */
    .card-body {
        padding: 18px 16px !important;
        min-height: 220px !important;
    }

    .card-title {
        font-size: 1.15rem !important;
        margin-bottom: 10px !important;
        height: auto !important;
        overflow: visible !important;
    }

    .card-location {
        margin-bottom: 14px !important;
    }

    .card-specs {
        font-size: 0.8rem !important;
        padding-top: 12px !important;
        margin-top: auto !important;
    }

    .spec-item {
        gap: 4px !important;
    }

    /* Vzdušnejšie a menšie paddingy sekcií na mobile */
    .hero-section {
        padding: 84px 0 0 !important;
        min-height: 82vh !important;
    }

    .hero-container {
        min-height: calc(82vh - 84px) !important;
        gap: 32px !important;
    }

    .listings-section {
        padding: 56px 0 40px !important;
    }

    .stats-section,
    .benefits-section,
    .agents-section,
    .submit-section,
    .mortgage-section,
    .reviews-section {
        padding: 40px 0 !important;
    }

    .search-panel {
        padding: 20px 16px !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
    }

    /* Modálne zobrazenie pre najmenšie displeje */
    .modal-gallery {
        height: 200px !important;
    }

    .modal-body {
        padding: 20px 16px !important;
    }

    .modal-specs-grid {
        gap: 8px !important;
        padding: 12px !important;
    }

    /* Responzívne štatistiky výsledkov */
    .results-section {
        padding: 40px 0 !important;
    }

    .results-grid {
        grid-template-columns: minmax(260px, 360px) !important;
        justify-content: center !important;
        gap: 20px !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .results-story-text p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    .agents-grid {
        gap: 20px !important;
    }

    .agent-card {
        max-width: 100% !important;
        height: 460px !important;
    }
}

/* ==========================================================================
   RESPONZÍVNY WHITE SPACE PRE MOBILNÉ ZOBRAZENIE
   ========================================================================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 96px 0 0;
        min-height: 82vh;
    }

    .hero-container {
        min-height: calc(82vh - 96px);
    }
    
    .listings-section {
        padding: 64px 0 56px;
    }

    .stats-section,
    .benefits-section,
    .agents-section,
    .submit-section,
    .mortgage-section,
    .reviews-section {
        padding: 60px 0;
    }

    .agents-grid {
        gap: 24px;
    }
}

/* ==========================================================================
   ÚVODNÉ STRÁNKOVÉ ANIMÁCIE (PAGE LOAD ANIMATIONS)
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

/* ==========================================================================
   ZÁSTUPNÝ TEXT (PLACEHOLDER)
   ========================================================================== */
input::placeholder, 
select::placeholder, 
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

/* ==========================================================================
   INTERAKTÍVNA KALKULAČKA VÝSLEDKY
   ========================================================================== */
.calc-result {
    text-align: left;
    animation: fadeInUp 0.6s ease forwards;
}

.calc-result-header {
    text-align: center;
    margin-bottom: 24px;
}

.calc-result-header h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.calc-result-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.calc-price-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    margin-bottom: 24px;
}

.calc-price-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.calc-price-range {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--brand-yellow);
    margin-bottom: 20px;
    text-shadow: var(--shadow-glow);
}

.calc-progress-wrapper {
    margin-top: 16px;
}

.calc-progress-bar {
    height: 8px;
    background-color: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.calc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-yellow-hover) 100%);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.calc-summary {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
}

.calc-summary h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.calc-summary ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.calc-summary li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-summary li i {
    width: 16px;
    text-align: center;
}

.calc-cta-box {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.calc-cta-box h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.calc-cta-box p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.calc-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   KALKULAČKA TRHOVEJ CENY – ČISTÝ DIZAJN (2 kroky)
   ========================================================================== */
.submit-container {
    align-items: center;
}

.submit-info h2 {
    font-size: 2rem;
}

.submit-info p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px;
}

.submit-advantages {
    gap: 12px;
}

.submit-advantages li {
    align-items: flex-start;
    font-weight: 500;
    font-size: 0.97rem;
    line-height: 1.5;
}

.submit-advantages li i {
    margin-top: 4px;
    flex-shrink: 0;
}

.calc-form-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

#sellForm .form-row {
    gap: 16px;
}

#sellForm .form-group {
    margin-bottom: 16px;
    min-width: 0;
}

#sellForm .form-group input,
#sellForm .form-group select {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    text-overflow: ellipsis;
}

.calc-submit-btn {
    margin-top: 8px;
    padding: 15px 20px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
}

.calc-result-header h3 {
    font-size: 1.35rem;
    line-height: 1.3;
}

.calc-price-label {
    line-height: 1.4;
}

.calc-price-range {
    white-space: nowrap;
    font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.calc-lead-form {
    text-align: left;
    margin-top: 4px;
}

.calc-lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.calc-lead-grid .form-group {
    min-width: 0;
}

.calc-lead-grid .calc-lead-full {
    grid-column: 1 / -1;
}

.calc-lead-grid input {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    padding: 0 14px;
}

.calc-lead-success {
    text-align: center;
    padding: 8px 0;
}

.calc-lead-success i {
    font-size: 2.2rem;
    color: var(--success);
    margin-bottom: 8px;
}

.calc-lead-success h4 {
    color: var(--success);
    margin-bottom: 6px;
}

.calc-lead-success p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .calc-lead-grid {
        grid-template-columns: 1fr;
    }
    .calc-price-range {
        white-space: normal;
    }
}

/* Právne texty v modáloch (GDPR, Reklamačný poriadok, ASR) */
h3.about-block-heading {
    margin-top: 0;
}

.about-legal-meta {
    padding: 12px 22px;
    background-color: #FFFDF7;
    border-left: 4px solid #B58920;
}

.about-info-list {
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.about-info-list > div {
    display: grid;
    grid-template-columns: minmax(150px, 220px) 1fr;
    gap: 4px 14px;
    font-size: 0.93rem;
    line-height: 1.5;
}

.about-info-list dt {
    font-weight: 700;
    color: #0F172A;
}

.about-info-list dd {
    margin: 0;
    color: #1E293B;
    word-break: break-word;
}

.about-bullet-list {
    margin: 10px 0;
    padding-left: 22px;
    list-style: disc;
    color: #1E293B;
    line-height: 1.65;
}

.about-bullet-list li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.about-bullet-list li::marker {
    color: #B58920;
}

.about-white-block a {
    color: #8A6410;
    font-weight: 600;
    text-decoration: underline;
}

.about-contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 12px 0;
    padding: 14px 18px;
    background-color: #FFFDF7;
    border: 1px solid #E8D8AE;
    border-left: 4px solid #B58920;
    border-radius: 8px;
    font-size: 0.93rem;
    line-height: 1.5;
    color: #1E293B;
}

@media (max-width: 600px) {
    .about-info-list > div {
        grid-template-columns: 1fr;
    }
}
