/* CSS Variables for Corporate Light Theme */
:root {
    --primary: #1a365d;       /* Deep Trust Blue */
    --primary-light: #2563eb; /* Active Accent Blue */
    --primary-bg: #eff6ff;    /* Very light blue for backgrounds */
    
    --bg-body: #f8fafc;       /* Slate 50 */
    --bg-surface: #ffffff;    /* Card backgrounds */
    
    --text-main: #334155;     /* Slate 700 */
    --text-muted: #64748b;    /* Slate 500 */
    --text-inverse: #ffffff;
    
    --border-color: #e2e8f0;  /* Slate 200 */
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-light);
}

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

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-inverse);
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--primary);
    z-index: 1000;
    height: 85px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Fix logo visibility against dark header */
.nav-logo img {
    filter: brightness(0) invert(1);
    transition: var(--transition);
}
.nav-logo:hover img {
    opacity: 0.85;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-inverse);
    font-weight: 500;
    font-size: 1.05rem;
}

.nav-link:hover {
    color: #cbd5e1;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-inverse);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--primary-bg) 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 2.5rem;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 1.5rem 0 2.5rem;
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-bg);
    color: var(--primary-light);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    width: 100%;
    aspect-ratio: 3.5/2;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--primary-bg);
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-fallback {
    background: linear-gradient(135deg, var(--primary-bg) 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background-color: var(--bg-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-icon {
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: inline-flex;
    padding: 1rem;
    background-color: var(--primary-bg);
    border-radius: 50%;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Services */
.services {
    padding: 100px 0;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: left;
}

.service-card {
    background-color: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.service-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    background-color: var(--primary-bg);
    color: var(--primary-light);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-text strong {
    color: var(--primary);
}

.about-text em {
    color: var(--primary-light);
    font-style: normal;
    font-weight: 600;
}

.about-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.about-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #e0e7ff 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.badge-large {
    text-align: center;
    background-color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.badge-text {
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
}

.badge-subtext {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.section-subtitle-left {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    background-color: var(--primary-bg);
    color: var(--primary-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-link {
    font-weight: 600;
    font-size: 0.875rem;
}

iframe {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-link:hover {
    text-decoration: underline;
}

.hours-card {
    background-color: var(--bg-surface);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--primary);
}

.time {
    color: var(--text-main);
}

.time.muted {
    color: var(--text-muted);
}

.hours-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #cbd5e1;
    max-width: 400px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1;
}

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

.footer-bottom {
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* =========================================
   VLASTNÍ PRVKY PRO KOLFIS (PŘIDÁNO)
   Zde jsou styly pro nové editovatelné sekce
   ========================================= */

/* --- Placeholder pro fotku v úvodní (Hero) sekci --- */
.hero-image-placeholder {
    aspect-ratio: 4/5;
    width: 100%;
    border-radius: var(--radius-xl);
    background-color: var(--primary-bg);
    border: 2px dashed var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
    padding: 2rem;
}

/* --- Fotka v úvodní (Hero) sekci ---
   Dokud není fotka vložená, zobrazuje se čárkovaný rámeček.
   Jakmile do .hero-photo přidáte <img>, rámeček i text zmizí
   a fotka vyplní celý čtverec. */
.hero-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    background-color: var(--primary-bg);
    border: 2px dashed var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 500;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.hero-photo:has(img) {
    border: none;
    padding: 0;
    background: none;
}

.hero-photo:has(img) .photo-note {
    display: none;
}

/* --- Fotka v sekci O nás ---
   <img> vložený do .about-image vyplní celý čtverec,
   cedulka "30+ LET TRADICE NA TRHU" zůstane položená na fotce. */
.about-image {
    overflow: hidden;
}

.about-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
}

.badge-large {
    position: relative;
    z-index: 2;
}

/* --- Boxy pro historii společností (sekce O nás) --- */
.history-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.history-box {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    border-left: 4px solid var(--primary);
    font-size: 0.95rem;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.history-box:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

/* --- Boxy pro IČO (sekce Kontakt) --- */
.ico-boxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    width: 100%;
}

.ico-box {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.ico-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-light);
}
.ico-box strong {
    color: var(--primary);
}

/* =========================================
   STYLY SPECIFICKÉ PRO CENÍK (cenik.html)
   ========================================= */
.cenik-header-block {
    text-align: center;
    margin-bottom: 3rem;
}
.cenik-header-block h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
}
.cenik-header-block .subtitle {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.cenik-info {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.cenik-note {
    background-color: var(--primary-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    margin-bottom: 3rem;
    font-weight: 500;
}
.cenik-section {
    margin-bottom: 3rem;
}
.cenik-section h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.cenik-table {
    width: 100%;
    border-collapse: collapse;
}
.cenik-table tr, .cenik-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}
.cenik-table tr {
    font-weight: 600;
    color: var(--primary);
    background-color: var(--bg-body);
}
.cenik-table tr:last-child td {
    border-bottom: none;
}
/* Ceny zarovnané k pravému okraji - všechny sekce ceníku tak mají
   ceny pod sebou na stejném místě */
.cenik-table td:last-child {
    text-align: right;
    width: 45%;
}
.cenik-footer-block {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   PRÁVNÍ NÁLEŽITOSTI WEBU
   (cookie lišta, mapa se souhlasem,
   stránka ochrana-udaju.html)
   ========================================= */

/* --- Cookie lišta --- */
#cookie-banner {
    position: fixed;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95rem;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner-buttons .btn {
    padding: 0.6rem 1.25rem;
}

/* --- Mapa Google se načte až po souhlasu s cookies --- */
.map-embed {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    background-color: var(--primary-bg);
    border: 2px dashed var(--primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
}

.map-embed--loaded {
    display: block;
    border: none;
    padding: 0;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Stránka Právní informace (ochrana-udaju.html) --- */
.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
}

.legal-section p {
    margin-bottom: 1rem;
}

.legal-section ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.legal-section li {
    margin-bottom: 0.4rem;
}

.company-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.company-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.company-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.company-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.table-scroll {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
}

.cookie-table th {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: underline;
}

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

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .stats-grid {
        margin-top: 3rem;
    }
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .d-none-mobile { display: none; }
    .mobile-toggle { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }
    .nav.active { display: flex; }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ── Property Listings ──────────────────────────────────────────────────── */
.properties {
    padding: 100px 0;
    background-color: var(--bg-body);
}

.property-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    border: 2px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    text-align: left;
}

.property-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.property-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.property-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--primary-bg);
    position: relative;
}

.property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.property-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.property-type-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.badge-sale { background: #1d4ed8; color: white; }
.badge-rent { background: #059669; color: white; }

.property-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-card-title {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.property-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.property-tag {
    background: var(--primary-bg);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.property-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-top: auto;
}

.loading-text {
    color: var(--text-muted);
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.error-text { color: #dc2626; }

.properties-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ── Contact Form ───────────────────────────────────────────────────────── */
.contact-form {
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-surface);
    transition: border-color 0.2s ease;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    display: none;
}

.form-status:not(:empty) { display: block; }

.form-status--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-status--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
