/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:wght@300;400;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --color-primary: #1B2A4A;
    --color-secondary: #C4956A;
    --color-link: #2D5F9A;
    --color-link-hover: #1A4178;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F6F5F2;
    --bg-tertiary: #EDEAE5;
    --text-primary: #1B2A4A;
    --text-secondary: #5A6478;
    --text-tertiary: #8B93A8;
    --border-color: #D8D4CE;
    --color-success: #3A7D5C;
    --color-warning: #B8863B;
    --shadow-card: 0 2px 8px rgba(27, 42, 74, 0.06);
    --shadow-card-hover: 0 8px 24px rgba(27, 42, 74, 0.08);
    --transition: all 0.25s ease;
    --transition-slow: all 0.4s ease;
    --radius: 3px;
    --container-max: 1200px;
    --section-pad: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    color: #1B2A4A;
    background-color: #FFFFFF;
    padding-top: 72px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: #2D5F9A;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #1A4178;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: #1B2A4A;
    line-height: 1.2;
}

h1 {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
}

h3 {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

h6 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

.dm-serif {
    font-family: 'DM Serif Display', serif;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 12px 24px;
    background-color: #1B2A4A;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 3px 0;
    transition: top 0.2s ease;
}

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

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section--white {
    background-color: #FFFFFF;
}

.section--parchment {
    background-color: #F6F5F2;
}

.section--navy {
    background-color: #1B2A4A;
    color: #FFFFFF;
}

/* ===== TWO-COLUMN PAGE LAYOUT ===== */
.page-layout {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
}

.page-layout__main {
    flex: 1;
    min-width: 0;
}

.page-layout__sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* ===== SECTION HEADINGS PATTERN ===== */
.section-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--color-secondary);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #1B2A4A;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: #5A6478;
    margin-top: 12px;
    max-width: 600px;
    line-height: 1.65;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    border-radius: 3px;
    transition: all 0.25s ease;
    text-decoration: none;
    border: none;
    padding: 14px 32px;
    line-height: 1;
    position: relative;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 95, 154, 0.25);
}

.btn:active {
    transform: scale(0.97);
}

.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn--primary {
    background-color: #2D5F9A;
    color: #FFFFFF;
    border: 1.5px solid #2D5F9A;
}

.btn--primary:hover {
    background-color: #1A4178;
    border-color: #1A4178;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.15);
}

.btn--secondary {
    background-color: transparent;
    border: 1.5px solid #1B2A4A;
    color: #1B2A4A;
}

.btn--secondary:hover {
    background-color: #1B2A4A;
    color: #FFFFFF;
    border-color: #1B2A4A;
}

.btn--ghost {
    background-color: transparent;
    color: #2D5F9A;
    padding: 10px 0;
    border-bottom: 1.5px solid #2D5F9A;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
}

.btn--ghost:hover {
    border-bottom-color: #C4956A;
    color: #C4956A;
}

.btn--white-ghost {
    background-color: transparent;
    color: #FFFFFF;
    padding: 10px 0;
    border-bottom: 1.5px solid #FFFFFF;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
}

.btn--white-ghost:hover {
    background-color: #FFFFFF;
    color: #1B2A4A;
    border-color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 3px;
}

.btn--terracotta {
    background-color: #C4956A;
    color: #FFFFFF;
    border: 1.5px solid #C4956A;
}

.btn--terracotta:hover {
    background-color: #B0814F;
    border-color: #B0814F;
    color: #FFFFFF;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1B2A4A;
    margin-bottom: 6px;
    font-family: 'Source Sans 3', sans-serif;
}

.form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 16px;
    border: 1px solid #D8D4CE;
    border-radius: 3px;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
    color: #1B2A4A;
    background-color: #FFFFFF;
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-control::placeholder {
    color: #8B93A8;
}

.form-control:focus {
    border-color: #2D5F9A;
    box-shadow: 0 0 0 3px rgba(45, 95, 154, 0.1);
    outline: none;
}

textarea.form-control {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    resize: vertical;
    min-height: 120px;
    line-height: 1.65;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 16px;
    padding-right: 44px;
    cursor: pointer;
}

.form-error {
    font-size: 13px;
    color: #C0392B;
    margin-top: 4px;
    display: none;
    font-family: 'Source Sans 3', sans-serif;
}

.has-error .form-error {
    display: block;
}

.has-error .form-control {
    border-color: #C0392B;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #2D5F9A;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ===== RANGE SLIDER ===== */
.range-slider {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
}

.range-slider input[type="range"] {
    width: 100%;
    height: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #D8D4CE;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #2D5F9A;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 4px rgba(27, 42, 74, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #2D5F9A;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 4px rgba(27, 42, 74, 0.2);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
    background-color: #1B2A4A;
}

.range-slider input[type="range"]::-moz-range-thumb:hover {
    background-color: #1B2A4A;
}

.range-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    background-color: #D8D4CE;
    border-radius: 3px;
}

.range-slider input[type="range"]::-moz-range-track {
    height: 4px;
    background-color: #D8D4CE;
    border-radius: 3px;
}

.range-slider__values {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #5A6478;
    margin-top: 8px;
}

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
    background-color: #EDEAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C8CEDA;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.img-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: 0.5;
    flex-shrink: 0;
}

/* Real image fills placeholder */
.img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-placeholder:has(img) > svg,
.img-placeholder:has(img) > i {
    display: none;
}

/* ===== NAVIGATION / HEADER ===== */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #FFFFFF;
    height: 72px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-sticky {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom-color: #EDEAE5;
    animation: slideDown 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.nav-logo__name {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: #1B2A4A;
    line-height: 1;
    display: block;
}

.nav-logo__tagline {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8B93A8;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.nav-logo__tagline .dot {
    color: #C4956A;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: #1B2A4A;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 4px;
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.03em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #C4956A;
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: #2D5F9A;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #1B2A4A;
}

.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: #1B2A4A;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: color 0.2s ease;
    line-height: 1;
}

.search-toggle:hover {
    color: #2D5F9A;
}

.search-toggle svg {
    width: 20px;
    height: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Source Sans 3', sans-serif;
}

.lang-item {
    color: #8B93A8;
    cursor: pointer;
    transition: color 0.2s ease;
    font-weight: 400;
}

.lang-item:hover {
    color: #1B2A4A;
}

.lang-item.active {
    color: #1B2A4A;
    font-weight: 700;
}

.lang-sep {
    color: #D8D4CE;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1B2A4A;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE NAV PANEL ===== */
.mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    z-index: 999;
    border-bottom: 1px solid #EDEAE5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-nav.is-open {
    max-height: 500px;
}

.mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav__item {
    border-bottom: 1px solid #EDEAE5;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 24px;
    padding-right: 24px;
    height: 56px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1B2A4A;
    font-family: 'Source Sans 3', sans-serif;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav__link:hover {
    color: #2D5F9A;
    background-color: #F6F5F2;
}

.mobile-nav__link svg {
    width: 16px;
    height: 16px;
    color: #8B93A8;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(-20px);
}

.search-overlay.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.search-overlay__close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #1B2A4A;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-overlay__close:hover {
    color: #2D5F9A;
}

.search-overlay__close svg {
    width: 24px;
    height: 24px;
}

.search-overlay__form {
    width: 100%;
    max-width: 720px;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-overlay__input {
    flex: 1;
    height: 64px;
    font-size: 24px;
    border: none;
    border-bottom: 2px solid #1B2A4A;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 0;
    padding-bottom: 0;
    font-family: 'DM Serif Display', serif;
    outline: none;
    color: #1B2A4A;
    background-color: transparent;
    width: 100%;
}

.search-overlay__input::placeholder {
    color: #8B93A8;
}

.search-overlay__btn {
    height: 64px;
    padding: 0 24px;
    background-color: #1B2A4A;
    color: #FFFFFF;
    border: none;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-overlay__btn:hover {
    background-color: #2D5F9A;
}

.search-overlay__btn svg {
    width: 18px;
    height: 18px;
}

/* ===== PAGE HEADER (INNER PAGES) ===== */
.page-header {
    background-color: #F6F5F2;
    padding-top: 48px;
    padding-bottom: 32px;
}

.page-header__breadcrumb {
    font-size: 13px;
    color: #8B93A8;
    margin-bottom: 16px;
    font-family: 'Source Sans 3', sans-serif;
}

.page-header__breadcrumb a {
    color: #2D5F9A;
    text-decoration: none;
}

.page-header__breadcrumb a:hover {
    text-decoration: underline;
}

.page-header__title {
    font-family: 'DM Serif Display', serif;
    font-size: 38px;
    font-weight: 400;
    color: #1B2A4A;
    margin-bottom: 12px;
    line-height: 1.15;
}

.page-header__subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: #5A6478;
    max-width: 680px;
    line-height: 1.65;
}

.page-header__meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #8B93A8;
    margin-top: 12px;
}

/* ===== PROPERTY CARD ===== */
.property-card {
    background-color: #FFFFFF;
    border: 1px solid #EDEAE5;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

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

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

.property-card__img-wrap .img-placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    transition: transform 0.4s ease;
}

.property-card:hover .property-card__img-wrap .img-placeholder {
    transform: scale(1.04);
}

.property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #C4956A;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 2px;
    z-index: 1;
    font-family: 'Source Sans 3', sans-serif;
}

.property-card__price-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(27, 42, 74, 0.85);
    color: #FFFFFF;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 2px;
    z-index: 1;
}

.property-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.property-card__title {
    font-family: 'DM Serif Display', serif;
    font-size: 19px;
    color: #1B2A4A;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 8px;
    display: block;
    transition: color 0.25s ease;
}

.property-card__title:hover {
    color: #2D5F9A;
}

.property-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #5A6478;
    margin-bottom: 12px;
    font-family: 'Source Sans 3', sans-serif;
}

.property-card__location svg {
    width: 14px;
    height: 14px;
    color: #C4956A;
    flex-shrink: 0;
}

.property-card__features {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13px;
    color: #5A6478;
    flex-wrap: wrap;
    font-family: 'Source Sans 3', sans-serif;
}

.property-card__feature {
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-card__feature:not(:last-child)::after {
    content: '·';
    margin-left: 8px;
    margin-right: 8px;
    color: #D8D4CE;
}

.property-card__feature svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.property-card__availability {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #EDEAE5;
    font-size: 13px;
    color: #8B93A8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Source Sans 3', sans-serif;
}

.property-card__availability svg {
    width: 14px;
    height: 14px;
    color: #C4956A;
    flex-shrink: 0;
}

/* ===== BLOG CARD ===== */
.blog-card {
    overflow: hidden;
    border-radius: 2px;
}

.blog-card--featured {
    background-color: #FFFFFF;
}

.blog-card--featured .blog-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card--featured .blog-card__img .img-placeholder {
    width: 100%;
    height: 100%;
}

.blog-card--featured .blog-card__body {
    padding-top: 20px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.blog-card--horizontal {
    display: flex;
    flex-direction: row;
    gap: 20px;
    border-bottom: 1px solid #EDEAE5;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.blog-card--horizontal .blog-card__img {
    width: 120px;
    min-width: 120px;
    height: 90px;
    overflow: hidden;
    border-radius: 2px;
    flex-shrink: 0;
}

.blog-card--horizontal .blog-card__img .img-placeholder {
    width: 100%;
    height: 100%;
}

.blog-card--horizontal .blog-card__body {
    flex: 1;
    min-width: 0;
}

.blog-card--horizontal:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.blog-card__cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C4956A;
    margin-bottom: 8px;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
}

.blog-card__title {
    font-family: 'DM Serif Display', serif;
    text-decoration: none;
    color: #1B2A4A;
    display: block;
    transition: color 0.25s ease;
    line-height: 1.3;
}

.blog-card__title:hover {
    color: #2D5F9A;
}

.blog-card--featured .blog-card__title {
    font-size: 26px;
    line-height: 1.2;
}

.blog-card--horizontal .blog-card__title {
    font-size: 17px;
    line-height: 1.3;
}

.blog-card__excerpt {
    font-size: 16px;
    color: #5A6478;
    line-height: 1.6;
    margin-top: 10px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Source Sans 3', sans-serif;
}

.blog-card__meta {
    font-size: 13px;
    color: #8B93A8;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    font-family: 'Source Sans 3', sans-serif;
    flex-wrap: wrap;
}

.blog-card__meta svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.blog-card__meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== GUIDE CARD ===== */
.guide-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    display: block;
    text-decoration: none;
    transition: transform 0.4s ease;
}

.guide-card:hover {
    transform: translateY(-2px);
}

.guide-card--large {
    height: 380px;
}

.guide-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.guide-card__img .img-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.guide-card:hover .guide-card__img .img-placeholder {
    transform: scale(1.04);
}

.guide-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 42, 74, 0.9) 0%, rgba(27, 42, 74, 0.4) 50%, transparent 100%);
    z-index: 1;
}

.guide-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 2;
}

.guide-card__city {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C4956A;
    margin-bottom: 8px;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 700;
}

.guide-card__title {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 8px;
}

.guide-card__excerpt {
    font-size: 15px;
    color: #C8CEDA;
    line-height: 1.5;
    margin-bottom: 16px;
    font-family: 'Source Sans 3', sans-serif;
}

.guide-card--small {
    height: 280px;
}

.guide-card--small .guide-card__title {
    font-size: 18px;
}

.guide-card__features {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #8B93A8;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Source Sans 3', sans-serif;
    flex-wrap: wrap;
}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card {
    background-color: #F6F5F2;
    padding: 32px;
    border-left: 3px solid #C4956A;
    position: relative;
}

.testimonial-card__quote-mark {
    font-family: 'DM Serif Display', serif;
    font-size: 72px;
    color: #D8D4CE;
    line-height: 0.8;
    display: block;
    margin-bottom: 16px;
    font-style: normal;
}

.testimonial-card__text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: #1B2A4A;
    font-style: italic;
    line-height: 1.75;
    margin-bottom: 20px;
}

.testimonial-card__divider {
    border: none;
    border-top: 1px solid #D8D4CE;
    margin-bottom: 16px;
}

.testimonial-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #1B2A4A;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
    margin-bottom: 2px;
}

.testimonial-card__role {
    font-size: 14px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

/* ===== STEP CARD (HOW IT WORKS) ===== */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card__icon {
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card__icon svg {
    width: 48px;
    height: 48px;
    color: #2D5F9A;
}

.step-card__number {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #C4956A;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.step-card__title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: #1B2A4A;
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-card__desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: #5A6478;
    line-height: 1.65;
}

/* ===== TAB BAR ===== */
.tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #EDEAE5;
    margin-bottom: 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tab-bar::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8B93A8;
    cursor: pointer;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #2D5F9A;
}

.tab-btn.active {
    color: #1B2A4A;
    border-bottom-color: #C4956A;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination__page {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #D8D4CE;
    border-radius: 3px;
    font-size: 15px;
    color: #5A6478;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #FFFFFF;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    padding-left: 4px;
    padding-right: 4px;
}

.pagination__page:hover {
    border-color: #2D5F9A;
    color: #2D5F9A;
}

.pagination__page.active {
    background-color: #1B2A4A;
    color: #FFFFFF;
    border-color: #1B2A4A;
}

.pagination__page.dots {
    border: none;
    cursor: default;
    background-color: transparent;
}

.pagination__page.dots:hover {
    color: #5A6478;
    border: none;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8B93A8;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-family: 'Source Sans 3', sans-serif;
}

.breadcrumb__link {
    color: #2D5F9A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb__link:hover {
    text-decoration: underline;
}

.breadcrumb__sep {
    color: #D8D4CE;
}

/* ===== FILTER SIDEBAR ===== */
.filter-sidebar {
    background-color: #FFFFFF;
    border: 1px solid #EDEAE5;
    padding: 24px;
    border-radius: 2px;
    position: sticky;
    top: 90px;
}

.filter-group {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #EDEAE5;
}

.filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1B2A4A;
    margin-bottom: 14px;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
}

.filter-check input {
    accent-color: #2D5F9A;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.bedroom-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bedroom-btn {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 14px;
    padding-right: 14px;
    border: 1px solid #D8D4CE;
    border-radius: 3px;
    font-size: 14px;
    color: #5A6478;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
    font-family: 'Source Sans 3', sans-serif;
}

.bedroom-btn:hover {
    border-color: #1B2A4A;
    color: #1B2A4A;
}

.bedroom-btn.active {
    background-color: #1B2A4A;
    color: #FFFFFF;
    border-color: #1B2A4A;
}

/* ===== SIDEBAR WIDGET ===== */
.sidebar-widget {
    margin-bottom: 32px;
}

.sidebar-widget__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1B2A4A;
    padding-bottom: 12px;
    border-bottom: 1px solid #EDEAE5;
    margin-bottom: 16px;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
}

.sidebar-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget__item {
    border-bottom: 1px solid #EDEAE5;
    padding-top: 12px;
    padding-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sidebar-widget__item:last-child {
    border-bottom: none;
}

.sidebar-widget__thumb {
    width: 80px;
    min-width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 2px;
    flex-shrink: 0;
}

.sidebar-widget__thumb .img-placeholder {
    width: 100%;
    height: 100%;
}

.sidebar-widget__item-title {
    font-family: 'DM Serif Display', serif;
    font-size: 15px;
    color: #1B2A4A;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-widget__item-title:hover {
    color: #2D5F9A;
}

.sidebar-widget__meta {
    font-size: 12px;
    color: #8B93A8;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-family: 'Source Sans 3', sans-serif;
}

.sidebar-widget__meta svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ===== NEWSLETTER CTA SECTION ===== */
.newsletter-cta {
    background-color: #1B2A4A;
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;
}

.newsletter-cta__title {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.newsletter-cta__text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    color: #8B93A8;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    line-height: 1.65;
}

.newsletter-cta__form {
    display: flex;
    gap: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-cta__input {
    flex: 1;
    height: 48px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
    border-radius: 3px 0 0 3px;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.newsletter-cta__input::placeholder {
    color: #5A6478;
}

.newsletter-cta__input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.12);
}

.newsletter-cta__submit {
    height: 48px;
    padding-left: 28px;
    padding-right: 28px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: #C4956A;
    color: #FFFFFF;
    border: none;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.newsletter-cta__submit:hover {
    background-color: #B0814F;
}

.newsletter-cta__note {
    font-size: 13px;
    color: #5A6478;
    margin-top: 16px;
    font-family: 'Source Sans 3', sans-serif;
}

/* ===== SEARCH BAR SECTION ===== */
.search-bar-section {
    background-color: #F6F5F2;
    padding-top: 32px;
    padding-bottom: 32px;
}

.search-bar-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-bar-form .form-group {
    flex: 1;
    min-width: 160px;
    margin-bottom: 0;
}

.search-bar-form .form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5A6478;
    margin-bottom: 6px;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
}

/* ===== FEATURES BAR (PROPERTY DETAIL) ===== */
.features-bar {
    background-color: #F6F5F2;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    gap: 0;
    margin-top: 24px;
    margin-bottom: 24px;
}

.features-bar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-left: 16px;
    padding-right: 16px;
}

.features-bar__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #D8D4CE;
}

.features-bar__icon {
    width: 20px;
    height: 20px;
    color: #2D5F9A;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.features-bar__value {
    font-size: 16px;
    font-weight: 700;
    color: #1B2A4A;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
}

.features-bar__label {
    font-size: 12px;
    color: #8B93A8;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
    margin-top: 2px;
}

/* ===== PROPERTY DETAIL GALLERY ===== */
.property-gallery {
    margin-bottom: 32px;
}

.property-gallery__hero {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

.property-gallery__hero .img-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.property-gallery__hero:hover .img-placeholder {
    transform: scale(1.02);
}

.property-gallery__hero-count {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(27, 42, 74, 0.7);
    color: #FFFFFF;
    font-size: 13px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
    font-family: 'JetBrains Mono', monospace;
}

.property-gallery__hero-count svg {
    width: 14px;
    height: 14px;
}

.property-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.property-gallery__thumb {
    height: 100px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.property-gallery__thumb:hover {
    border-color: #D8D4CE;
}

.property-gallery__thumb.active {
    border-color: #C4956A;
}

.property-gallery__thumb .img-placeholder {
    width: 100%;
    height: 100%;
}

/* ===== PULL QUOTE ===== */
.pull-quote {
    border-left: 3px solid #C4956A;
    background-color: #F6F5F2;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 28px;
    padding-right: 28px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.pull-quote__text {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-size: 20px;
    color: #1B2A4A;
    line-height: 1.5;
    margin: 0;
}

/* ===== INFO BOX ===== */
.info-box {
    background-color: #F6F5F2;
    border-left: 3px solid #2D5F9A;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 28px;
    margin-bottom: 28px;
    border-radius: 0 2px 2px 0;
}

.info-box__heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2D5F9A;
    margin-bottom: 10px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.info-box__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box__list li {
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 20px;
    padding-right: 0;
    position: relative;
    font-size: 15px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.65;
}

.info-box__list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #C4956A;
    font-size: 12px;
    top: 8px;
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #EDEAE5;
    border: 1px solid #D8D4CE;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #8B93A8;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
}

.map-placeholder svg {
    width: 32px;
    height: 32px;
    color: #C8CEDA;
    opacity: 0.7;
}

/* ===== PRICE BOX ===== */
.price-box {
    background-color: #FFFFFF;
    border: 1px solid #D8D4CE;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.06);
    border-radius: 2px;
    margin-bottom: 24px;
}

.price-box__price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    color: #1B2A4A;
    font-weight: 500;
    line-height: 1;
    display: inline;
}

.price-box__per {
    font-size: 16px;
    color: #5A6478;
    margin-left: 4px;
    font-family: 'Source Sans 3', sans-serif;
}

.price-box__expenses {
    font-size: 14px;
    color: #5A6478;
    margin-top: 6px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.price-box__divider {
    border: none;
    border-top: 1px solid #EDEAE5;
    margin-top: 16px;
    margin-bottom: 16px;
}

.price-box__detail {
    font-size: 14px;
    color: #5A6478;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Source Sans 3', sans-serif;
}

.price-box__detail svg {
    width: 14px;
    height: 14px;
    color: #8B93A8;
    flex-shrink: 0;
}

.price-box__avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #3A7D5C;
    display: inline-block;
    flex-shrink: 0;
}

.price-box__avail-dot--unavailable {
    background-color: #C0392B;
}

.price-box__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.price-box__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #2D5F9A;
    font-size: 15px;
    margin-top: 12px;
    justify-content: center;
    font-family: 'Source Sans 3', sans-serif;
    transition: color 0.2s ease;
}

.price-box__phone:hover {
    color: #1A4178;
}

.price-box__phone svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.price-box__micro {
    text-align: center;
    font-size: 12px;
    color: #8B93A8;
    margin-top: 6px;
    font-family: 'Source Sans 3', sans-serif;
}

/* ===== AGENT BOX ===== */
.agent-box {
    background-color: #F6F5F2;
    padding: 24px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.agent-box__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #EDEAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B93A8;
    margin-bottom: 12px;
    overflow: hidden;
}

.agent-box__avatar svg {
    width: 28px;
    height: 28px;
}

.agent-box__name {
    font-size: 16px;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 4px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.agent-box__role {
    font-size: 14px;
    color: #5A6478;
    margin-bottom: 12px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.agent-box__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agent-box__contact-link {
    font-size: 14px;
    color: #2D5F9A;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Source Sans 3', sans-serif;
    transition: color 0.2s ease;
}

.agent-box__contact-link:hover {
    color: #1A4178;
}

.agent-box__contact-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ===== PROPERTY CHARACTERISTICS TABLE ===== */
.prop-table {
    width: 100%;
    border-collapse: collapse;
}

.prop-table tr:nth-child(odd) {
    background-color: #FFFFFF;
}

.prop-table tr:nth-child(even) {
    background-color: #F6F5F2;
}

.prop-table td {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 15px;
    border-bottom: 1px solid #EDEAE5;
    font-family: 'Source Sans 3', sans-serif;
}

.prop-table td:first-child {
    font-weight: 600;
    color: #5A6478;
    width: 40%;
}

.prop-table td:last-child {
    color: #1B2A4A;
}

/* ===== RATING BOX (NEIGHBOURHOOD DETAIL) ===== */
.rating-box {
    background-color: #F6F5F2;
    border: 1px solid #D8D4CE;
    padding: 28px;
    border-radius: 2px;
}

.rating-box__title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: #1B2A4A;
    margin-bottom: 20px;
    line-height: 1.3;
}

.rating-item {
    margin-bottom: 16px;
}

.rating-item:last-child {
    margin-bottom: 0;
}

.rating-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.rating-item__label {
    font-size: 14px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
}

.rating-item__score {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #1B2A4A;
    font-weight: 500;
}

.rating-bar {
    height: 6px;
    background-color: #D8D4CE;
    border-radius: 3px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background-color: #2D5F9A;
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* ===== ACCORDION ===== */
.accordion {
    border-top: 1px solid #EDEAE5;
}

.accordion-item {
    border-bottom: 1px solid #EDEAE5;
}

.accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Source Sans 3', sans-serif;
    color: #1B2A4A;
    gap: 16px;
    transition: color 0.2s ease;
}

.accordion-trigger:hover {
    color: #2D5F9A;
}

.accordion-trigger svg {
    width: 18px;
    height: 18px;
    color: #8B93A8;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.2s ease;
}

.accordion-item.is-open .accordion-trigger {
    color: #2D5F9A;
}

.accordion-item.is-open .accordion-trigger svg {
    transform: rotate(180deg);
    color: #2D5F9A;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content__inner {
    padding-bottom: 20px;
    font-size: 15px;
    color: #5A6478;
    line-height: 1.7;
    font-family: 'Source Sans 3', sans-serif;
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid #EDEAE5;
}

.comment-item {
    padding: 20px;
    border-left: 2px solid #EDEAE5;
    margin-bottom: 20px;
}

.comment-item--reply {
    border-left-color: #C4956A;
    background-color: #F6F5F2;
    margin-left: 32px;
}

.comment-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-item__name {
    font-weight: 700;
    color: #1B2A4A;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
}

.comment-item__date {
    font-size: 13px;
    color: #8B93A8;
    font-family: 'Source Sans 3', sans-serif;
}

.comment-item__badge {
    font-size: 11px;
    background-color: #F6F5F2;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 2px;
    color: #C4956A;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Source Sans 3', sans-serif;
}

.comment-item__text {
    font-size: 15px;
    color: #5A6478;
    line-height: 1.65;
    font-family: 'Source Sans 3', sans-serif;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background-color: rgba(0, 0, 0, 0.93);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.is-open {
    display: flex;
    opacity: 1;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.lightbox__close:hover {
    opacity: 1;
}

.lightbox__close svg {
    width: 24px;
    height: 24px;
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 16px;
    border-radius: 2px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lightbox__nav svg {
    width: 24px;
    height: 24px;
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
}

/* ===== TAG CLOUD ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 14px;
    padding-right: 14px;
    background-color: #F6F5F2;
    border: 1px solid #D8D4CE;
    font-size: 13px;
    color: #5A6478;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Source Sans 3', sans-serif;
}

.tag-pill:hover {
    background-color: #1B2A4A;
    color: #FFFFFF;
    border-color: #1B2A4A;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background-color: #1B2A4A;
    padding-top: 80px;
    padding-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item__number {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    color: #C4956A;
    line-height: 1;
}

.stat-item__label {
    font-size: 15px;
    color: #8B93A8;
    margin-top: 8px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

/* ===== TEAM GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    text-align: center;
}

.team-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #EDEAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    color: #8B93A8;
    overflow: hidden;
}

.team-card__avatar svg {
    width: 48px;
    height: 48px;
}

.team-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #1B2A4A;
    margin-bottom: 4px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.team-card__role {
    font-size: 14px;
    color: #C4956A;
    margin-bottom: 8px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.team-card__bio {
    font-size: 14px;
    color: #5A6478;
    line-height: 1.6;
    font-family: 'Source Sans 3', sans-serif;
}

/* ===== VALUES GRID ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 28px;
    background-color: #FFFFFF;
    border: 1px solid #EDEAE5;
    align-items: flex-start;
}

.value-card__icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6F5F2;
    border-radius: 2px;
    flex-shrink: 0;
}

.value-card__icon svg {
    width: 24px;
    height: 24px;
    color: #2D5F9A;
}

.value-card__body {
    flex: 1;
    min-width: 0;
}

.value-card__title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: #1B2A4A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.value-card__desc {
    font-size: 15px;
    color: #5A6478;
    line-height: 1.65;
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
}

/* ===== CONTACT INFO GRID ===== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background-color: #FFFFFF;
    padding: 32px;
    text-align: center;
    border: 1px solid #EDEAE5;
    border-radius: 2px;
}

.contact-card__icon {
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F6F5F2;
    border-radius: 50%;
}

.contact-card__icon svg {
    width: 28px;
    height: 28px;
    color: #2D5F9A;
}

.contact-card__title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: #1B2A4A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.contact-card__detail {
    font-size: 16px;
    color: #5A6478;
    margin-bottom: 4px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.contact-card__sub {
    font-size: 14px;
    color: #8B93A8;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 500;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #1B2A4A;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-to-top:hover {
    background-color: #2D5F9A;
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

/* ===== MAP CTA BANNER ===== */
.map-cta-banner {
    background-color: #F6F5F2;
    border: 1px solid #D8D4CE;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.map-cta-banner svg {
    width: 32px;
    height: 32px;
    color: #2D5F9A;
    flex-shrink: 0;
}

.map-cta-banner__text {
    flex: 1;
    font-size: 16px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
    min-width: 200px;
}

.map-cta-banner__text strong {
    color: #1B2A4A;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
    background-color: #1B2A4A;
    color: #C8CEDA;
}

.footer-top {
    padding-top: 64px;
    padding-bottom: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-brand__name {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #FFFFFF;
    margin-bottom: 12px;
    display: block;
    line-height: 1.2;
}

.footer-brand__desc {
    font-size: 15px;
    color: #8B93A8;
    line-height: 1.65;
    max-width: 280px;
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
}

.footer-col-heading {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #C4956A;
    margin-bottom: 16px;
    font-family: 'Source Sans 3', sans-serif;
}

.footer-col-heading::after {
    display: block;
    content: '';
    width: 20px;
    height: 1px;
    background-color: #C4956A;
    margin-top: 8px;
}

.footer-link {
    display: block;
    font-size: 15px;
    color: #8B93A8;
    text-decoration: none;
    padding-top: 4px;
    padding-bottom: 4px;
    transition: color 0.2s ease;
    font-family: 'Source Sans 3', sans-serif;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #8B93A8;
    margin-bottom: 10px;
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.5;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: #C4956A;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    padding-bottom: 24px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 13px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-link {
    font-size: 13px;
    color: #5A6478;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: 'Source Sans 3', sans-serif;
}

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

/* ===== ARTICLE BODY STYLES ===== */
.article-body h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: #1B2A4A;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.2;
    font-weight: 400;
}

.article-body h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #1B2A4A;
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.3;
    font-weight: 400;
}

.article-body p {
    font-size: 17px;
    line-height: 1.75;
    color: #1B2A4A;
    margin-bottom: 1.75em;
    font-family: 'Source Sans 3', sans-serif;
}

.article-body a {
    color: #2D5F9A;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.article-body a:hover {
    color: #1A4178;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 1.75em;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    font-size: 17px;
    line-height: 1.65;
    color: #1B2A4A;
    margin-bottom: 8px;
    font-family: 'Source Sans 3', sans-serif;
}

.article-body ul li::marker {
    color: #C4956A;
}

.article-body blockquote {
    border-left: 3px solid #C4956A;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
    background-color: #F6F5F2;
    margin-top: 28px;
    margin-bottom: 28px;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
}

.article-body blockquote p {
    margin-bottom: 0;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 28px;
    margin-bottom: 28px;
}

.article-body th {
    background-color: #1B2A4A;
    color: #FFFFFF;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
}

.article-body td {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 15px;
    border-bottom: 1px solid #EDEAE5;
    font-family: 'Source Sans 3', sans-serif;
}

.article-body tr:nth-child(odd) td {
    background-color: #F6F5F2;
}

.article-body tr:nth-child(even) td {
    background-color: #FFFFFF;
}

.article-body .image-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.article-body .image-collage .img-placeholder {
    height: 280px;
}

.article-body figcaption,
.img-caption {
    font-size: 13px;
    color: #8B93A8;
    font-style: italic;
    margin-top: 8px;
    font-family: 'Source Sans 3', sans-serif;
}

.article-body .full-width-img .img-placeholder {
    width: 100%;
    height: 360px;
    margin-top: 32px;
    margin-bottom: 32px;
}

/* ===== AUTHOR BIO BOX ===== */
.author-bio {
    background-color: #F6F5F2;
    padding: 24px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    border-radius: 2px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.author-bio__avatar {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #EDEAE5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B93A8;
    flex-shrink: 0;
    overflow: hidden;
}

.author-bio__avatar svg {
    width: 36px;
    height: 36px;
}

.author-bio__body {
    flex: 1;
    min-width: 0;
}

.author-bio__name {
    font-weight: 700;
    color: #1B2A4A;
    font-size: 16px;
    margin-bottom: 4px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.author-bio__text {
    font-size: 14px;
    color: #5A6478;
    line-height: 1.6;
    margin-bottom: 8px;
    font-family: 'Source Sans 3', sans-serif;
}

.author-bio__link {
    font-size: 14px;
    color: #2D5F9A;
    text-decoration: none;
    font-family: 'Source Sans 3', sans-serif;
    transition: color 0.2s ease;
}

.author-bio__link:hover {
    color: #1A4178;
}

/* ===== ARTICLE NAVIGATION ===== */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 48px;
    border-top: 1px solid #EDEAE5;
    padding-top: 40px;
}

.article-nav__card {
    padding: 20px;
    border: 1px solid #EDEAE5;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: block;
}

.article-nav__card:hover {
    border-color: #2D5F9A;
    box-shadow: var(--shadow-card);
}

.article-nav__direction {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8B93A8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
}

.article-nav__direction svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.article-nav__title {
    font-family: 'DM Serif Display', serif;
    font-size: 17px;
    color: #1B2A4A;
    line-height: 1.3;
}

/* ===== TABLE OF CONTENTS ===== */
.toc-box {
    background-color: #F6F5F2;
    padding: 24px;
    border-radius: 2px;
    margin-bottom: 32px;
}

.toc-box__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1B2A4A;
    margin-bottom: 14px;
    font-family: 'Source Sans 3', sans-serif;
    display: block;
}

.toc-box__list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.toc-box__list li {
    counter-increment: toc-counter;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
}

.toc-box__list li::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #C4956A;
    min-width: 24px;
    flex-shrink: 0;
    padding-top: 2px;
}

.toc-box__list a {
    color: #2D5F9A;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.toc-box__list a:hover {
    text-decoration: underline;
}

/* ===== ARTICLE CTA BANNER ===== */
.article-cta-banner {
    background-color: #F6F5F2;
    border: 1px solid #D8D4CE;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.article-cta-banner__text {
    flex: 1;
    min-width: 200px;
}

.article-cta-banner__text h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #1B2A4A;
    margin-bottom: 8px;
    line-height: 1.3;
}

.article-cta-banner__text p {
    font-size: 15px;
    color: #5A6478;
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
    line-height: 1.65;
}

.article-cta-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-mono {
    font-family: 'JetBrains Mono', monospace;
}

.text-secondary {
    color: #5A6478;
}

.text-tertiary {
    color: #8B93A8;
}

.text-accent {
    color: #C4956A;
}

.text-white {
    color: #FFFFFF;
}

.text-navy {
    color: #1B2A4A;
}

.text-link {
    color: #2D5F9A;
}

.text-success {
    color: #3A7D5C;
}

.text-warning {
    color: #B8863B;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-48 {
    margin-top: 48px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-48 {
    margin-bottom: 48px;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.flex-1 {
    flex: 1;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== REVEAL ON SCROLL ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PROPERTY GRID LAYOUT ===== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.property-grid--two-col {
    grid-template-columns: repeat(2, 1fr);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-grid--featured {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.guide-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero--full {
    min-height: 100vh;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__bg .img-placeholder {
    width: 100%;
    height: 100%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(27, 42, 74, 0.55);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #C4956A;
    margin-bottom: 16px;
    display: block;
    font-family: 'Source Sans 3', sans-serif;
}

.hero__title {
    font-family: 'DM Serif Display', serif;
    font-size: 58px;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 400;
    max-width: 720px;
}

.hero__subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    color: #C8CEDA;
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ===== LOADING / SKELETON ===== */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    background: linear-gradient(to right, #EDEAE5 8%, #F6F5F2 18%, #EDEAE5 33%);
    background-size: 800px 104px;
    animation: shimmer 1.5s infinite linear;
    border-radius: 2px;
}

/* ===== ALERT / NOTICE BOXES ===== */
.alert {
    padding: 16px 20px;
    border-radius: 2px;
    font-size: 15px;
    font-family: 'Source Sans 3', sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    border-left: 3px solid transparent;
}

.alert svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.alert--success {
    background-color: #F0F8F4;
    border-left-color: #3A7D5C;
    color: #2A5C43;
}

.alert--success svg {
    color: #3A7D5C;
}

.alert--warning {
    background-color: #FEF7EE;
    border-left-color: #B8863B;
    color: #8B5E1A;
}

.alert--warning svg {
    color: #B8863B;
}

.alert--error {
    background-color: #FEF2F2;
    border-left-color: #C0392B;
    color: #911D1D;
}

.alert--error svg {
    color: #C0392B;
}

.alert--info {
    background-color: #EFF5FD;
    border-left-color: #2D5F9A;
    color: #1B3A6B;
}

.alert--info svg {
    color: #2D5F9A;
}

/* ===== DIVIDER ===== */
.divider {
    border: none;
    border-top: 1px solid #EDEAE5;
    margin-top: 40px;
    margin-bottom: 40px;
}

.divider--thick {
    border-top-width: 3px;
    border-top-color: #C4956A;
    width: 40px;
}

/* ===== BADGE / LABEL ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    font-family: 'Source Sans 3', sans-serif;
    white-space: nowrap;
}

.badge--navy {
    background-color: #1B2A4A;
    color: #FFFFFF;
}

.badge--terracotta {
    background-color: #C4956A;
    color: #FFFFFF;
}

.badge--success {
    background-color: #3A7D5C;
    color: #FFFFFF;
}

.badge--parchment {
    background-color: #F6F5F2;
    color: #5A6478;
    border: 1px solid #D8D4CE;
}

/* ===== SOCIAL LINKS ===== */
.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B93A8;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.social-link:hover {
    background-color: #C4956A;
    color: #FFFFFF;
}

.social-link svg {
    width: 16px;
    height: 16px;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large desktop */
@media (max-width: 1280px) {
    .hero__title {
        font-size: 50px;
    }

    .stats-grid {
        gap: 24px;
    }

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

/* Desktop / Laptop */
@media (max-width: 1024px) {
    :root {
        --section-pad: 64px;
    }

    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid--featured {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero__title {
        font-size: 44px;
    }

    .page-layout {
        gap: 40px;
    }

    .page-layout__sidebar {
        width: 280px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    body {
        padding-top: 72px;
    }

    .nav-links {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .lang-toggle {
        display: none;
    }

    .section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    .page-layout {
        flex-direction: column;
        gap: 32px;
    }

    .page-layout__sidebar {
        width: 100%;
    }

    .filter-sidebar {
        position: static;
    }

    .property-gallery__hero {
        height: 300px;
    }

    .property-gallery__thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .property-gallery__thumb {
        height: 72px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .article-nav {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item__number {
        font-size: 36px;
    }

    .newsletter-cta__form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-cta__input {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 3px;
    }

    .newsletter-cta__submit {
        border-radius: 3px;
        height: 48px;
    }

    .search-bar-form {
        flex-direction: column;
        gap: 12px;
    }

    .search-bar-form .form-group {
        min-width: 100%;
    }

    .article-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-it-works-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-bar {
        flex-wrap: wrap;
        gap: 16px;
    }

    .features-bar__item {
        flex: 0 0 45%;
    }

    .features-bar__item:not(:last-child)::after {
        display: none;
    }

    .map-cta-banner {
        flex-direction: column;
        gap: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        min-height: 480px;
    }

    .hero__title {
        font-size: 30px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    .page-header__title {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-item__number {
        font-size: 30px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand__desc {
        max-width: 100%;
    }

    .property-gallery__thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .blog-card--horizontal {
        flex-direction: column;
    }

    .blog-card--horizontal .blog-card__img {
        width: 100%;
        height: 160px;
    }

    .price-box {
        padding: 20px;
    }

    .filter-sidebar {
        padding: 16px;
    }

    .tab-btn {
        padding-left: 14px;
        padding-right: 14px;
        font-size: 13px;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
    }

    .author-bio {
        flex-direction: column;
    }

    .features-bar__item {
        flex: 0 0 100%;
    }

    .search-overlay__input {
        font-size: 18px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .site-footer,
    .filter-sidebar,
    .page-layout__sidebar,
    .scroll-to-top,
    nav,
    .mobile-nav,
    .search-overlay,
    .lightbox,
    .newsletter-cta,
    .btn,
    .tab-bar,
    .pagination,
    .article-nav,
    .article-cta-banner,
    .map-cta-banner {
        display: none !important;
    }

    body {
        padding-top: 0;
        font-size: 12pt;
        color: #000000;
        background-color: #FFFFFF;
        font-family: Georgia, serif;
    }

    .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .page-layout {
        display: block;
    }

    .page-layout__main {
        width: 100%;
    }

    h1,
    h2,
    h3,
    h4 {
        color: #000000;
        page-break-after: avoid;
    }

    p,
    li {
        color: #000000;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }

    img,
    .img-placeholder {
        max-width: 100%;
        page-break-inside: avoid;
    }

    .property-card,
    .blog-card,
    .guide-card {
        page-break-inside: avoid;
    }

    .property-grid,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
