:root {
	--mdh-color-primary: #1b3a2b;
	--mdh-color-secondary: #c9a15a;
	--mdh-color-text: #2b2b2b;
	--mdh-color-bg: #ffffff;
}

/* Header */
.mdh-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 0; }
.mdh-header__logo img { max-height: 56px; display: block; }
.mdh-nav__list { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.mdh-nav__list li { position: relative; }
.mdh-nav__list a { color: var(--mdh-color-text); text-decoration: none; font-weight: 600; }
.mdh-nav__list li:hover > a { color: var(--mdh-color-primary); }
.mdh-nav__list ul { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 200px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); display: none; z-index: 20; }
.mdh-nav__list li:hover > ul { display: block; }
.mdh-nav__list ul li a { display: block; padding: 8px 16px; font-weight: 400; }
.mdh-phone { font-weight: 700; color: var(--mdh-color-primary); text-decoration: none; }

/* Footer */
.mdh-footer { padding: 40px 0; background: var(--mdh-color-primary); color: #fff; }
.mdh-footer a { color: #fff; }
.mdh-social { display: flex; gap: 16px; }

/* House cards / grid */
.mdh-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); }
.mdh-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.mdh-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.mdh-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .mdh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mdh-grid { grid-template-columns: 1fr; } }

.mdh-card { display: block; text-decoration: none; color: inherit; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; transition: box-shadow .2s ease; }
.mdh-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.mdh-card__media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.mdh-card__body { padding: 16px; }
.mdh-card__title { margin: 0 0 8px; font-size: 18px; }
.mdh-card__price { font-weight: 700; color: var(--mdh-color-secondary); margin-bottom: 8px; }
.mdh-card__meta { display: flex; gap: 12px; font-size: 14px; color: #666; }

/* Single house/project template */
.mdh-single-house__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 32px; }
.mdh-single-house__gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 4px; }
.mdh-overview-box { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: #f7f7f5; padding: 24px; border-radius: 8px; margin-bottom: 32px; }
.mdh-overview-box__stats { display: flex; flex-wrap: wrap; gap: 24px; }
.mdh-overview-box__stat { text-align: center; }
.mdh-overview-box__stat strong { display: block; font-size: 20px; color: var(--mdh-color-primary); }
.mdh-specs-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.mdh-specs-table th { text-align: left; background: var(--mdh-color-primary); color: #fff; padding: 10px 16px; width: 220px; }
.mdh-specs-table td { padding: 10px 16px; border-bottom: 1px solid #eee; white-space: pre-line; }
.mdh-floors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 32px; }
.mdh-floor-card { border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px; }
.mdh-energy-scale { display: flex; gap: 4px; margin: 12px 0; }
.mdh-energy-scale span { flex: 1; text-align: center; padding: 6px 0; color: #fff; font-weight: 700; border-radius: 3px; }
.mdh-energy-scale span.active { outline: 3px solid #000; }

.mdh-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.mdh-single-house__title { margin-bottom: 8px; }
.mdh-single-house__meta { color: #666; margin-bottom: 24px; }
.mdh-single-house__description { margin-bottom: 32px; }
.mdh-btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.mdh-btn--primary { background: var(--mdh-color-secondary); color: #1b1b1b; }
.mdh-contact-box { margin-top: 40px; padding: 32px; background: #f7f7f5; border-radius: 8px; }
.mdh-archive-header { text-align: center; margin-bottom: 32px; }
.mdh-archive-filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.mdh-archive-filters a { padding: 8px 16px; border: 1px solid #ddd; border-radius: 20px; text-decoration: none; color: var(--mdh-color-text); }
.mdh-archive-filters a.active, .mdh-archive-filters a:hover { background: var(--mdh-color-primary); color: #fff; border-color: var(--mdh-color-primary); }
