/* =========================
   DESIGN TOKENS (core)
========================= */

:root {
    --font-primary: "Inter", Arial, sans-serif;
    --font-secondary: Georgia, "Times New Roman", serif;

    --color-text: #262626;
    --color-text-light: #666;
    --color-border: #e5e5e5;
    --color-ui: #767676;
    --color-bg: #ffffff;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.15);

    --radius-sm: 4px;

    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;

    --container-max: 664px;
}

/* =========================
   BASE
========================= */

body {
    font-family: var(--font-primary);
    color: var(--color-text);
}

/* =========================
   LAYOUT
========================= */

.valuation {
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.valuation__selector {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
    max-width: var(--container-max);
    margin-bottom: var(--space-lg);
}

.valuation__divider {
    width: 100%;
    max-width: var(--container-max);
    height: 1px;
    background: var(--color-border);
    margin: var(--space-md) 0;
}

.valuation__info {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* =========================
   TYPOGRAPHY
========================= */

.valuation__overline {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.valuation__title {
    font-family: var(--font-secondary);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

/* =========================
   COMPONENTS
========================= */

/* Property card */
.property-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);

    padding: var(--space-sm);
    background: var(--color-bg);
    border: 1px solid var(--color-ui);
    border-radius: var(--radius-sm);

    box-shadow: var(--shadow-sm);
    cursor: pointer;

    transition: all 0.2s ease;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.property-card__label {
    font-size: 16px;
}

/* Icon button */
.icon-button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
}

/* =========================
   RESPONSIVE (tablet+)
========================= */

@media (min-width: 640px) {

    .valuation__title {
        font-size: 32px;
    }

    .valuation__selector {
        flex-direction: row;
        justify-content: center;
    }

    .property-card {
        width: 200px;
    }
}

/* =========================
   RESPONSIVE (desktop)
========================= */

@media (min-width: 1024px) {

    .valuation {
        padding: var(--space-xl);
    }

    .valuation__title {
        font-size: 36px;
    }

    .property-card {
        width: 220px;
    }
}