/* ============================================
   kollerbaur Immobilien - Stylesheet
   CI-konformes Design
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
    /* CI Colors */
    --color-primary: #e2001a;
    --color-primary-dark: #b80015;
    --color-primary-light: #ff2a3f;
    --color-primary-bg: #fef2f3;
    --color-secondary: #004494;
    --color-secondary-dark: #003370;
    --color-secondary-light: #1a5bb5;
    --color-dark: #003652;
    --color-dark-soft: #004494;
    --color-text: #2d3748;
    --color-text-light: #5a6577;
    --color-text-muted: #8a94a6;
    --color-white: #ffffff;
    --color-bg: #fafbfc;
    --color-bg-alt: #f0f4f8;
    --color-border: #e2e8f0;
    --color-success: #2ecc71;
    --color-error: #e2001a;
    
    /* Typography */
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Sizing */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 80px;
    
    /* Borders & Shadows */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0,54,82,0.04);
    --shadow-md: 0 4px 16px rgba(0,54,82,0.06);
    --shadow-lg: 0 8px 32px rgba(0,54,82,0.08);
    --shadow-xl: 0 16px 48px rgba(0,54,82,0.12);
    --shadow-primary: 0 4px 20px rgba(226,0,26,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Lucide SVG Icons inline styling */
svg.lucide {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    stroke-width: 2;
}

i[data-lucide], i[class*="lucide-"] {
    display: inline-flex;
    width: 1em;
    height: 1em;
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    top: 0;
}

.section {
    padding: var(--space-5xl) 0;
}

.section--alt {
    background: var(--color-bg-alt);
}

.section--dark {
    background: var(--color-dark);
    color: var(--color-white);
}

.section--blue {
    background: var(--color-secondary);
    color: var(--color-white);
}

.section--light-red {
    background: var(--color-primary-bg);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section__overline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section--dark .section__title,
.section--blue .section__title {
    color: var(--color-white);
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header--scrolled {
    background: rgba(255, 255, 255, 0.99);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo img {
    height: 44px;
    width: auto;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav__link {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav__link:hover {
    color: var(--color-primary);
    background: var(--color-primary-bg);
}

.nav__link--active {
    color: var(--color-primary);
}

.nav__link--cta {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    margin-left: var(--space-sm);
}

.nav__link--cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
    overflow: hidden;
    background: linear-gradient(160deg, #004494 0%, #003a6e 40%, #003652 100%);
}

.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(226,0,26,0.08) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,68,148,0.3) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 68, 148, 0.85) 0%,
        rgba(0, 54, 82, 0.75) 50%,
        rgba(0, 54, 82, 0.65) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: var(--space-2xl) 0;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(4px);
}

.hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(226,0,26,0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

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

.hero__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 560px;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.hero__stat {
    text-align: center;
    padding: var(--space-lg) var(--space-xl);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    min-width: 150px;
    transition: all var(--transition-base);
}

.hero__stat:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(226,0,26,0.4);
    transform: translateY(-2px);
}

.hero__stat-number {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: var(--space-xs);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-align: center;
    justify-content: center;
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.4);
}

.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: var(--color-white);
}

.btn--outline-dark {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-border);
}

.btn--outline-dark:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

/* --- Cards --- */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* --- Property Cards --- */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.property-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.property-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.property-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.property-card__badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-card__content {
    padding: var(--space-lg);
}

.property-card__location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.property-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.property-card__features {
    display: flex;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    margin-bottom: var(--space-md);
}

.property-card__feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.property-card__feature i {
    color: var(--color-primary);
    font-size: 1rem;
}

.property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.property-card__price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.property-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: gap var(--transition-fast);
}

.property-card__link:hover {
    gap: var(--space-sm);
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

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

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-bg) 0%, #fde8e9 100%);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
    color: var(--color-primary);
    border: 1px solid rgba(226,0,26,0.08);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Process / Ablauf Section --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.process-step {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.process-step__number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--shadow-primary);
}

.process-step__content {
    flex: 1;
    padding-top: var(--space-sm);
}

.process-step__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.process-step__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Advantages / Vorteile --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.advantage-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.advantage-item:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.advantage-item__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-bg);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
}

.advantage-item__text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--space-xs);
}

.advantage-item__text p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* --- Contact Form --- */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info {
    padding: var(--space-2xl);
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.contact-info__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.contact-info__text {
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info__item i, .contact-info__item svg {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(226,0,26,0.15);
    border-radius: var(--radius-sm);
    color: #ff6b7a;
    min-width: 40px;
    padding: 8px;
}

.contact-info__item span {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form {
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

.form-group label .required {
    color: var(--color-primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--color-secondary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0,68,148,0.08);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--color-primary);
}

.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.form-message--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.form-message--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: var(--space-5xl) 0;
    background: linear-gradient(160deg, #004494 0%, #003652 100%);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(226,0,26,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    border-radius: 50%;
}

.cta-section__content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-section__text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

/* --- Property Detail --- */
.property-detail__gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 300px 200px;
    gap: var(--space-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-2xl);
}

.property-detail__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-detail__gallery > :first-child {
    grid-row: span 2;
}

.property-detail__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.property-detail__price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.property-detail__facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
}

.property-detail__fact {
    display: flex;
    flex-direction: column;
}

.property-detail__fact-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.property-detail__fact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
}

/* Property Detail Layout (Description + Sidebar) */
.property-detail__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 900px) {
    .property-detail__layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.testimonial-card__stars {
    color: #f59e0b;
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.testimonial-card__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-card__author {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.testimonial-card__location {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- Footer --- */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.8);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.footer__logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer__logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-left: 0.5rem;
}

.footer__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-lg);
}

.footer__social {
    display: flex;
    gap: var(--space-sm);
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-fast);
}

.footer__social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer__heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-primary-light);
    padding-left: 4px;
}

.footer__address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 2;
}

.footer__address i, .footer__address svg {
    color: var(--color-primary);
    margin-right: var(--space-sm);
    width: 16px;
}

.footer__address a {
    color: rgba(255,255,255,0.7);
}

.footer__address a:hover {
    color: var(--color-primary-light);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal a {
    color: rgba(255,255,255,0.5);
}

.footer__legal a:hover {
    color: var(--color-primary-light);
}

/* --- Page Hero (Sub-pages) --- */
.page-hero {
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-dark) 100%);
    text-align: center;
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.page-hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: var(--space-md) 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumbs a {
    color: var(--color-text-light);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs__separator {
    margin: 0 var(--space-sm);
    color: var(--color-border);
}

/* --- Legal pages --- */
.legal-content {
    padding: var(--space-3xl) 0;
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: var(--space-2xl) 0 var(--space-md);
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: var(--space-lg) 0 var(--space-sm);
}

.legal-content p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

.legal-content ul, .legal-content ol {
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.legal-content li {
    list-style: disc;
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state__icon {
    font-size: 3rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.empty-state__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.empty-state__text {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .property-detail__gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 150px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        gap: var(--space-xs);
    }
    
    .nav__menu--open {
        right: 0;
    }
    
    .nav__link {
        padding: var(--space-md);
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    
    .nav__link--cta {
        margin-left: 0;
        margin-top: var(--space-md);
        text-align: center;
    }
    
    .nav__toggle--active .nav__toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav__toggle--active .nav__toggle-bar:nth-child(2) {
        opacity: 0;
    }
    .nav__toggle--active .nav__toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero__content {
        padding: var(--space-2xl) 0;
    }
    
    .hero__stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .hero__stat {
        min-width: unset;
        flex: 1;
        padding: var(--space-md) var(--space-lg);
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .property-card__features {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Loading State --- */
.skeleton {
    background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-border) 50%, var(--color-bg-alt) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Overlay for Mobile Menu --- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.nav-overlay--active {
    opacity: 1;
    visibility: visible;
}

/* --- Scroll to top --- */
.scroll-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 99;
}

.scroll-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}
