/**
 * Properties Styles
 * MortgagesMarbella.com
 */

/* ========================================
   Properties Page - Hero
   ======================================== */
.properties-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
}

.properties-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: #ffffff;
}

.properties-hero .hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Filters
   ======================================== */
.properties-filters {
    background: var(--color-bg-alt);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

.filter-form .filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-md);
    align-items: end;
}

.filter-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

.filter-group select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 0.9375rem;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.filter-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.filter-actions .btn {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
}

/* ========================================
   Results
   ======================================== */
.properties-results {
    padding: var(--spacing-3xl) 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.results-count {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

/* ========================================
   Property Grid
   ======================================== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
}

/* ========================================
   Property Card
   ======================================== */
.property-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.property-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.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-type-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--color-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-card-content {
    padding: var(--spacing-lg);
}

.property-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    line-height: 1.3;
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
}

.property-card-location svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.property-card-features {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--spacing-md);
}

.property-card-features .feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.property-card-features .feature svg {
    color: var(--color-text-muted);
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.property-card-price .price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.property-card-mortgage {
    text-align: right;
}

.property-card-mortgage .mortgage-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.property-card-mortgage .mortgage-amount {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-accent-dark);
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-3xl);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-sm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.page-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-link.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.page-ellipsis {
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-sm);
    color: var(--color-text-muted);
}

/* ========================================
   No Results
   ======================================== */
.no-results {
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.no-results svg {
    width: 80px;
    height: 80px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

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

/* ========================================
   Properties CTA
   ======================================== */
.properties-cta {
    background: var(--color-surface);
    padding: var(--spacing-3xl) 0;
}

.properties-cta .cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    text-align: center;
}

.properties-cta h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
}

.properties-cta p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto var(--spacing-xl);
}

/* ========================================
   Single Property - Breadcrumb
   ======================================== */
.breadcrumb {
    background: var(--color-surface);
    padding: var(--spacing-md) 0;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

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

.breadcrumb span {
    color: var(--color-text-muted);
    margin: 0 var(--spacing-xs);
}

.breadcrumb .current {
    color: var(--color-text);
}

/* ========================================
   Property Header
   ======================================== */
.property-header {
    background: var(--color-bg-alt);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.property-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.property-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--spacing-sm);
}

.property-location {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-secondary);
}

.property-location svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.property-price-area {
    text-align: right;
}

.property-price {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.property-ref {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ========================================
   Property Gallery
   ======================================== */
.property-gallery {
    padding: var(--spacing-xl) 0;
    background: var(--color-surface);
}

.gallery-main {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.gallery-prev { left: var(--spacing-md); }
.gallery-next { right: var(--spacing-md); }

.gallery-counter {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.gallery-thumbs {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
}

.gallery-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 66px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-fast);
    padding: 0;
    background: none;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--color-primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
}

.gallery-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Property Content
   ======================================== */
.property-content {
    padding: var(--spacing-3xl) 0;
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-3xl);
}

@media (max-width: 1024px) {
    .property-layout {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Key Features
   ======================================== */
.property-key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-2xl);
}

.property-key-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
}

.property-key-features .feature svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.property-key-features .feature-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.property-key-features .feature-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* ========================================
   Property Sections
   ======================================== */
.property-section {
    margin-bottom: var(--spacing-3xl);
}

.property-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-primary);
}

.property-description {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.property-description p {
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Details Grid
   ======================================== */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: var(--color-surface);
    border-radius: var(--radius-md);
}

.detail-label {
    color: var(--color-text-secondary);
}

.detail-value {
    font-weight: 600;
    color: var(--color-text);
}

/* Energy Rating Colors */
.energy-rating-a { color: #22c55e; }
.energy-rating-b { color: #84cc16; }
.energy-rating-c { color: #eab308; }
.energy-rating-d { color: #f97316; }
.energy-rating-e { color: #ef4444; }
.energy-rating-f { color: #dc2626; }
.energy-rating-g { color: #b91c1c; }

/* ========================================
   Amenities
   ======================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-sm);
}

.amenity {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
}

.amenity-icon {
    font-size: 1.25rem;
}

/* ========================================
   Property Map
   ======================================== */
.property-map {
    width: 100%;
    height: 400px;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ========================================
   Property Calculator Sidebar
   ======================================== */
.property-calculator {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
    position: sticky;
    top: calc(var(--header-height) + var(--spacing-xl));
}

.calc-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
}

.calc-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.calc-result {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    margin-bottom: var(--spacing-xl);
}

.calc-result .calc-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xs);
}

.calc-result .calc-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.calc-result .calc-period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.calc-controls {
    margin-bottom: var(--spacing-xl);
}

.calc-field {
    margin-bottom: var(--spacing-lg);
}

.calc-field label {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
}

.calc-field label span {
    font-weight: 600;
    color: var(--color-primary);
}

.input-euro {
    position: relative;
}

.input-euro .currency {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-weight: 500;
}

.input-euro input {
    width: 100%;
    padding: var(--spacing-md);
    padding-left: var(--spacing-2xl);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--color-bg);
    color: var(--color-text);
}

.input-euro input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.calc-field input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--color-border);
    appearance: none;
    cursor: pointer;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: var(--spacing-xs);
}

/* Breakdown Table */
.calc-breakdown h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

.breakdown-table {
    width: 100%;
    font-size: 0.875rem;
}

.breakdown-table td {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--color-border-light);
}

.breakdown-table .text-right {
    text-align: right;
    font-weight: 500;
}

.breakdown-table .highlight td {
    background: var(--color-surface);
    padding: var(--spacing-sm);
    font-weight: 600;
}

.breakdown-table .separator td {
    padding-top: var(--spacing-md);
    border-bottom: none;
    color: var(--color-text-secondary);
}

.breakdown-table .total td {
    border-bottom: none;
    padding-top: var(--spacing-md);
    font-size: 1rem;
}

.calc-cta {
    margin-top: var(--spacing-xl);
}

.calc-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Contact Form Cards
   ======================================== */
.contact-form-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-xl);
}

.contact-form-card h3 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.contact-form-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.form-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.property-inquiry-form .form-group {
    margin-bottom: var(--spacing-md);
}

.property-inquiry-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.property-inquiry-form input,
.property-inquiry-form select,
.property-inquiry-form textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    background: var(--color-bg);
    color: var(--color-text);
}

.property-inquiry-form input:focus,
.property-inquiry-form select:focus,
.property-inquiry-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.property-inquiry-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   Buttons
   ======================================== */
.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-accent {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn-accent:hover {
    background: var(--color-accent-light);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .properties-filters {
        position: relative;
        top: 0;
    }
    
    .filter-form .filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .filter-actions {
        grid-column: span 2;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-header-content {
        flex-direction: column;
    }
    
    .property-price-area {
        text-align: left;
    }
    
    .property-calculator {
        position: relative;
        top: 0;
    }
    
    .gallery-thumbs {
        display: none;
    }
    
    .property-key-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Form Success State */
.form-success {
    text-align: center;
    padding: var(--spacing-2xl);
}

.form-success svg {
    color: var(--color-success);
    margin-bottom: var(--spacing-md);
}

.form-success p {
    font-size: 1.125rem;
    color: var(--color-text);
}

/* Spinner in button */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Contrast Fixes - WCAG AA Compliance
   Property pages - comprehensive text contrast
   Updated: 2026-05-21
   ======================================== */

/* ----------------------------------------
   PROPERTIES HERO - Dark gradient background
   ---------------------------------------- */
.properties-hero h1,
.properties-hero h2,
.properties-hero h3,
.properties-hero h4 {
    color: #ffffff !important;
}

.properties-hero p,
.properties-hero .hero-subtitle,
.properties-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ----------------------------------------
   PROPERTY CALCULATOR SIDEBAR
   Dark gradient background with white text
   ---------------------------------------- */
.property-calculator .calc-result {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff;
}

.property-calculator .calc-result .calc-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: var(--spacing-xs);
}

.property-calculator .calc-result .calc-amount {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.2;
}

.property-calculator .calc-result .calc-period {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Ensure all text in calc-result is visible */
.calc-result,
.calc-result * {
    /* Base: ensure dark bg sections have light text */
}

.calc-result[style*="gradient"],
.calc-result[class*="primary"] {
    color: #ffffff !important;
}

/* ----------------------------------------
   CTA SECTIONS - Dark gradient backgrounds
   ---------------------------------------- */
.properties-cta .cta-card {
    /* Already has gradient background */
}

.properties-cta .cta-card h1,
.properties-cta .cta-card h2,
.properties-cta .cta-card h3,
.properties-cta .cta-card h4 {
    color: #ffffff !important;
}

.properties-cta .cta-card p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ----------------------------------------
   PROPERTY PAGE RESULT HERO
   Used in page-calculator for monthly payment display
   ---------------------------------------- */
.result-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2d4a6f 100%);
}

.result-hero .result-hero-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.result-hero .result-hero-value {
    color: #ffffff !important;
    font-weight: 700;
}

.result-hero .result-hero-sub {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ----------------------------------------
   BUTTONS on dark backgrounds
   ---------------------------------------- */
.properties-cta .btn--primary,
.calc-result + .btn,
.property-calculator .btn {
    background: var(--color-accent);
    color: var(--color-primary-dark) !important;
}

.properties-cta .btn--primary:hover,
.property-calculator .btn:hover {
    background: var(--color-accent-light);
}
