/* ==========================================================================
Real Estate Portal Website CSS
Responsive Website Shell + Map-Style Navigation + High Contrast Footer
========================================================================== */
:root {
--estate-primary: #0f766e;
--estate-primary-dark: #115e59;
--estate-primary-soft: #d9f2e6;
--estate-accent: #f59e0b;
--estate-accent-dark: #d97706;
--estate-success: #1d72d6;

--estate-text: #17202a;
--estate-muted: #64748b;
--estate-bg: #f8fafc;
--estate-card: #ffffff;
--estate-border: #e2e8f0;

--estate-footer-text: #ffffff;
--estate-footer-muted: rgba(255, 255, 255, 0.86);
--estate-footer-link: #ffffff;

--re-bg: var(--estate-bg);
--re-panel: var(--estate-card);
--re-text: var(--estate-text);
--re-muted: var(--estate-muted);
--re-border: rgba(15, 23, 42, 0.12);
--re-brand: var(--estate-primary);
--re-brand-dark: var(--estate-primary-dark);
--re-brand-soft: var(--estate-primary-soft);
--re-accent: var(--estate-accent);
--re-success: var(--estate-success);
--re-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}
/* --------------------------------------------------------------------------
2. Base page styles
-------------------------------------------------------------------------- */

*,
*::before,
*::after {
box-sizing: border-box;
}

html,
body {
min-height: 100%;
}

body.bodywebsite {
margin: 0;
font-family: Inter, Arial, Helvetica, sans-serif;
color: var(--estate-text);
background: var(--estate-bg);
}

.bodywebsite a {
color: var(--estate-primary);
text-decoration: none;
}

.bodywebsite a:hover,
.bodywebsite a:focus-visible {
color: var(--estate-primary-dark);
}

.estate-container {
width: min(1160px, calc(100% - 32px));
margin: 0 auto;
}

img {
max-width: 100%;
height: auto;
}


/* Brand / logo: old header */
.estate-brand {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
font-weight: 800;
font-size: 18px;
color: var(--estate-text) !important;
}

.estate-brand img {
display: block;
max-height: 38px;
width: auto;
object-fit: contain;
}

.estate-brand span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

/* Brand / logo: map-style header */
.estate-website-map-header .re-map-logo {
display: inline-flex;
align-items: center;
flex: 0 0 auto;
max-width: 210px;
text-decoration: none;
overflow: hidden;
}

/* --------------------------------------------------------------------------
3. Casa Moldova header and primary navigation
-------------------------------------------------------------------------- */

.estate-website-map-header {
position: sticky;
top: 0;
z-index: 1100;
display: grid;
grid-template-columns: 42px 52px minmax(160px, 1fr) auto;
align-items: center;
gap: 10px;
min-height: 72px;
padding: 8px 24px;
background: color-mix(
        in srgb,
        var(--estate-card) 98%,
        transparent
    );
border-bottom-color: var(--estate-border-soft);
box-shadow: 0 6px 18px var(--estate-shadow-soft-color);
backdrop-filter: blur(14px);
}

.estate-drawer-toggle,
.estate-nav-drawer-close,
.estate-nav-primary-item,
.estate-nav-back {
appearance: none;
-webkit-appearance: none;
font: inherit;
}

.estate-drawer-toggle {
display: inline-flex;
width: 40px;
height: 40px;
padding: 0;
border: 0;
border-radius: 10px;
background: transparent;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 5px;
cursor: pointer;
}

.estate-drawer-toggle:hover,
.estate-drawer-toggle:focus-visible {
background: rgba(15, 23, 42, 0.06);
background: color-mix(in srgb, var(--estate-primary-dark) 8%, transparent);
outline: none;
}

.estate-drawer-toggle span {
display: block;
width: 20px;
height: 2px;
border-radius: 999px;
background: var(--estate-primary-dark);
}

.estate-website-map-header .re-map-logo {
display: inline-flex;
width: 50px;
height: 50px;
min-width: 50px;
max-width: 50px;
min-height: 50px;
max-height: 50px;
align-items: center;
justify-content: center;
overflow: hidden;
text-decoration: none;
}

.estate-website-map-header .re-map-logo img {
display: block;
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100% !important;
object-fit: contain;
}

.estate-header-brand {
display: flex;
min-width: 0;
color: var(--estate-primary-dark) !important;
text-decoration: none !important;
flex-direction: column;
justify-content: center;
}

.estate-header-brand strong {
overflow: hidden;
font-size: 18px;
font-weight: 850;
line-height: 1.05;
text-overflow: ellipsis;
white-space: nowrap;
}

.estate-header-brand small {
overflow: hidden;
margin-top: 3px;
font-size: 9px;
font-weight: 750;
line-height: 1.1;
text-transform: uppercase;
letter-spacing: 0.02em;
text-overflow: ellipsis;
white-space: nowrap;
}

.estate-website-map-header .re-map-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 4px;
}

.estate-website-map-header .re-map-actions > a {
display: inline-flex;
min-height: 42px;
padding: 0 15px;
border: 0;
border-radius: 10px;
color: var(--estate-text) !important;
background: transparent;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 13px;
font-weight: 700;
text-decoration: none !important;
white-space: nowrap;
}

.estate-website-map-header .re-map-actions > a:hover,
.estate-website-map-header .re-map-actions > a:focus-visible {
color: var(--estate-primary-dark) !important;
background: rgba(15, 23, 42, 0.05);
background: color-mix(in srgb, var(--estate-primary-dark) 7%, transparent);
outline: none;
}

.estate-website-map-header .re-map-actions > a i {
color: var(--estate-primary-dark);
font-size: 16px;
}

.estate-website-map-header .re-map-actions > a.is-active,
.bodywebpage-search .estate-website-map-header .estate-nav-properties,
.bodywebpage-map .estate-website-map-header .estate-nav-map {
color: #ffffff !important;
background: var(--estate-primary);
box-shadow: 0 7px 18px color-mix(in srgb, var(--estate-primary) 24%, transparent);
}

.estate-website-map-header .re-map-actions > a.is-active i,
.bodywebpage-search .estate-website-map-header .estate-nav-properties i,
.bodywebpage-map .estate-website-map-header .estate-nav-map i {
color: #ffffff;
}

.estate-website-map-header .re-map-actions > a.is-active:hover,
.estate-website-map-header .re-map-actions > a.is-active:focus-visible,
.bodywebpage-search .estate-website-map-header .estate-nav-properties:hover,
.bodywebpage-search .estate-website-map-header .estate-nav-properties:focus-visible,
.bodywebpage-map .estate-website-map-header .estate-nav-map:hover,
.bodywebpage-map .estate-website-map-header .estate-nav-map:focus-visible {
color: #ffffff !important;
background: var(--estate-primary-dark);
}

.estate-website-map-header .re-map-actions > a.estate-nav-account {
max-width: 180px;
padding-top: 5px;
padding-bottom: 5px;
}

.estate-auth-copy {
display: flex;
min-width: 0;
flex-direction: column;
}

.estate-auth-user-name,
.estate-auth-package-code {
display: block;
max-width: 130px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.estate-auth-package-code {
margin-top: 1px;
font-size: 9px;
font-weight: 550;
opacity: 0.68;
}

.estate-website-lang-select-wrap {
display: inline-flex;
align-items: center;
margin-left: 4px;
}

.estate-website-lang-label {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}

.estate-website-lang-select {
min-width: 64px;
min-height: 38px;
padding: 0 30px 0 12px;
border: 0;
border-left: 1px solid rgba(15, 23, 42, 0.10);
border-left-color: var(--estate-border-soft);
border-radius: 0;
color: var(--estate-primary-dark);
background: transparent;
font: inherit;
font-size: 12px;
font-weight: 800;
cursor: pointer;
}

.estate-website-lang-select:focus {
outline: 2px solid color-mix(in srgb, var(--estate-primary) 24%, transparent);
outline-offset: 2px;
}

/* --------------------------------------------------------------------------
4. Left off-canvas navigation
-------------------------------------------------------------------------- */

html.estate-nav-open,
body.estate-nav-open {
overflow: hidden;
}

.estate-nav-overlay {
position: fixed;
z-index: 1990;
inset: 0;
opacity: 0;
background: color-mix(
    in srgb,
    var(--estate-primary-dark) 48%,
    transparent
);
backdrop-filter: blur(2px);
transition: opacity 0.22s ease;
}

.estate-nav-overlay.is-open {
opacity: 1;
}

.estate-nav-drawer {
position: fixed;
z-index: 2000;
top: 0;
bottom: 0;
left: 0;
width: min(720px, calc(100vw - 34px));
overflow: hidden;
color: #ffffff;
background:
linear-gradient(90deg, var(--estate-primary-dark) 0, var(--estate-primary-dark) 252px, #ffffff 252px, #ffffff 100%);
box-shadow: 28px 0 70px rgba(4, 21, 48, 0.30);
transform: translateX(-104%);
transition: transform 0.24s ease;
}

.estate-nav-drawer.is-open {
transform: translateX(0);
}

.estate-nav-drawer-head {
display: flex;
height: 76px;
padding: 12px 16px;
border-bottom: 1px solid rgba(255, 255, 255, 0.16);
background: var(--estate-primary-dark);
align-items: center;
justify-content: space-between;
}

.estate-nav-drawer-brand {
display: flex;
min-width: 0;
color: #ffffff !important;
align-items: center;
gap: 10px;
text-decoration: none !important;
}

.estate-nav-drawer-brand img {
display: block;
width: 42px;
height: 42px;
object-fit: contain;
}

.estate-nav-drawer-brand span {
display: flex;
min-width: 0;
flex-direction: column;
}

.estate-nav-drawer-brand strong {
font-size: 16px;
line-height: 1.05;
}

.estate-nav-drawer-brand small {
margin-top: 3px;
font-size: 8px;
font-weight: 750;
line-height: 1.15;
text-transform: uppercase;
}

.estate-nav-drawer-close {
display: inline-flex;
width: 42px;
height: 42px;
padding: 0;
border: 0;
border-radius: 10px;
color: #ffffff;
background: transparent;
align-items: center;
justify-content: center;
font-size: 30px;
font-weight: 300;
line-height: 1;
cursor: pointer;
}

.estate-nav-drawer-close:hover,
.estate-nav-drawer-close:focus-visible {
background: rgba(255, 255, 255, 0.10);
outline: none;
}

.estate-nav-panels {
height: calc(100% - 76px);
overflow: auto;
}

.estate-nav-panel {
display: none;
min-height: 100%;
}

.estate-nav-panel.is-active {
display: block;
}

.estate-nav-primary {
width: 252px;
padding: 10px 0;
}

.estate-nav-primary-item {
display: grid;
width: 100%;
min-height: 54px;
padding: 0 16px;
border: 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.10);
color: #ffffff !important;
background: transparent;
grid-template-columns: 26px minmax(0, 1fr) 18px;
align-items: center;
gap: 10px;
font-size: 14px;
font-weight: 650;
text-align: left;
text-decoration: none !important;
cursor: pointer;
}

.estate-nav-primary-item:hover,
.estate-nav-primary-item:focus-visible {
background: rgba(255, 255, 255, 0.09);
outline: none;
}

.estate-nav-primary-item i {
font-size: 17px;
text-align: center;
}

.estate-nav-primary-item b {
font-size: 24px;
font-weight: 300;
text-align: right;
}

.estate-nav-back {
display: inline-flex;
min-height: 42px;
margin: 14px 18px 4px 270px;
padding: 0 12px;
border: 0;
border-radius: 10px;
color: var(--estate-primary-dark);
background: rgba(15, 23, 42, 0.05);
background: color-mix(in srgb, var(--estate-primary-dark) 7%, transparent);
align-items: center;
gap: 7px;
font-size: 13px;
font-weight: 750;
cursor: pointer;
}

.estate-nav-back:hover,
.estate-nav-back:focus-visible {
background: color-mix(in srgb, var(--estate-primary-dark) 13%, transparent);
outline: none;
}

.estate-nav-subgrid {
display: grid;
margin-left: 252px;
padding: 8px 28px 30px;
color: var(--estate-text);
grid-template-columns: 1fr 1fr;
gap: 18px 34px;
}

.estate-nav-subgrid h3 {
margin: 14px 0 7px;
color: var(--estate-primary-dark);
font-size: 11px;
font-weight: 850;
line-height: 1.2;
text-transform: uppercase;
letter-spacing: 0.04em;
}

.estate-nav-subgrid a {
display: block;
padding: 5px 0;
color: var(--estate-text-secondary) !important;
font-size: 12px;
font-weight: 550;
line-height: 1.25;
text-decoration: none !important;
}

.estate-nav-subgrid a:hover,
.estate-nav-subgrid a:focus-visible {
color: var(--estate-primary-dark) !important;
text-decoration: underline !important;
text-underline-offset: 3px;
outline: none;
}

.estate-nav-link-list {
display: grid;
margin-left: 252px;
padding: 16px 28px;
gap: 8px;
}

.estate-nav-link-list a {
display: flex;
min-height: 44px;
padding: 0 14px;
border: 1px solid rgba(15, 23, 42, 0.10);
border-radius: 12px;
color: var(--estate-text) !important;
background: var(--estate-card);
border-color: var(--estate-border-soft);align-items: center;
gap: 10px;
font-size: 13px;
font-weight: 650;
text-decoration: none !important;
}

.estate-nav-link-list a:hover,
.estate-nav-link-list a:focus-visible {
border-color: color-mix(in srgb, var(--estate-primary-dark) 26%, transparent);
color: var(--estate-primary-dark) !important;
background: color-mix(in srgb, var(--estate-primary-dark) 5%, transparent);
outline: none;
}

/* --------------------------------------------------------------------------
5. Header responsiveness
-------------------------------------------------------------------------- */

@media (max-width: 1020px) {
.estate-website-map-header {
grid-template-columns: 42px 50px minmax(130px, 1fr) auto;
padding-left: 16px;
padding-right: 16px;
}

.estate-website-map-header .re-map-actions > a {
padding-left: 10px;
padding-right: 10px;
}

.estate-website-map-header .re-map-actions > a span {
display: none;
}
}

@media (max-width: 760px) {
.estate-website-map-header {
grid-template-columns: 42px 46px minmax(0, 1fr) auto;
min-height: 64px;
padding: 7px 10px;
gap: 7px;
background: var(--estate-primary-dark);
border-bottom-color: rgba(255, 255, 255, 0.16);
}

.estate-drawer-toggle span {
background: #ffffff;
}

.estate-drawer-toggle:hover,
.estate-drawer-toggle:focus-visible {
background: rgba(255, 255, 255, 0.10);
}

.estate-website-map-header .re-map-logo {
width: 44px;
height: 44px;
min-width: 44px;
max-width: 44px;
min-height: 44px;
max-height: 44px;
}

.estate-header-brand {
color: #ffffff !important;
}

.estate-header-brand strong {
font-size: 16px;
}

.estate-header-brand small {
display: none;
}

.estate-website-map-header .re-map-actions {
gap: 0;
}

.estate-website-map-header .re-map-actions > a {
display: none;
}

.estate-website-map-header .re-map-actions > a.estate-nav-favorites,
.estate-website-map-header .re-map-actions > a.estate-nav-login,
.estate-website-map-header .re-map-actions > a.estate-nav-account {
display: inline-flex;
width: 38px;
min-width: 38px;
height: 38px;
min-height: 38px;
padding: 0;
color: #ffffff !important;
}

.estate-website-map-header .re-map-actions > a i {
color: #ffffff;
}

.estate-website-map-header .re-map-actions > a .estate-auth-copy {
display: none;
}

.estate-website-lang-select-wrap {
display: none;
}

.estate-nav-drawer {
width: min(360px, calc(100vw - 28px));
background: var(--estate-primary-dark);
}

.estate-nav-primary {
width: 100%;
}

.estate-nav-back {
margin-left: 14px;
color: #ffffff;
background: rgba(255, 255, 255, 0.10);
}

.estate-nav-subgrid,
.estate-nav-link-list {
margin-left: 0;
padding-left: 18px;
padding-right: 18px;
color: #ffffff;
}

.estate-nav-subgrid {
grid-template-columns: 1fr;
gap: 0;
}

.estate-nav-subgrid h3 {
color: var(--estate-accent);
}

.estate-nav-subgrid a,
.estate-nav-link-list a {
color: rgba(255, 255, 255, 0.92) !important;
}

.estate-nav-link-list a {
border-color: rgba(255, 255, 255, 0.16);
background: rgba(255, 255, 255, 0.06);
}

.estate-nav-link-list a:hover,
.estate-nav-link-list a:focus-visible {
color: #ffffff !important;
background: rgba(255, 255, 255, 0.11);
}

.estate-container {
width: min(100% - 20px, 1160px);
}

.estate-hero,
.estate-section,
.estate-subhero {
padding: 44px 0;
}

.estate-hero-grid,
.estate-split,
.estate-footer-grid,
.estate-card-grid {
grid-template-columns: 1fr;
}

.estate-hero-copy {
max-width: none;
}

.estate-hero-benefits {
margin-top: 18px;
}

.estate-search-card {
padding: 22px;
}

.estate-footer {
padding-top: 0;
}
}


/* --------------------------------------------------------------------------
6. Hero section
-------------------------------------------------------------------------- */

.estate-hero {
    background:
        radial-gradient(
            circle at top left,
            color-mix(
                in srgb,
                var(--estate-primary) 18%,
                transparent
            ),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--estate-primary-soft) 0%,
            var(--estate-bg) 55%,
            color-mix(
                in srgb,
                var(--estate-accent) 9%,
                var(--estate-card)
            ) 100%
        );
}

.estate-hero-grid {
display: grid;
grid-template-columns: 1.2fr .8fr;
gap: 42px;
align-items: center;
}

.estate-hero-copy {
max-width: 680px;
}

.estate-kicker {
margin: 0 0 12px;
text-transform: uppercase;
letter-spacing: .09em;
font-weight: 800;
font-size: 13px;
color: var(--estate-primary);
}

.estate-hero-copy .estate-kicker {
max-width: 620px;
}

.estate-hero h1,
.estate-subhero h1 {
margin: 0 0 20px;
font-size: clamp(34px, 5vw, 58px);
line-height: 1.05;
letter-spacing: -.04em;
}

.estate-hero-copy h1 {
max-width: 720px;
}

.estate-lead,
.estate-subhero p,
.estate-section p {
color: var(--estate-muted);
line-height: 1.7;
font-size: 17px;
}

.estate-hero-copy .estate-lead {
max-width: 660px;
margin-bottom: 0;
}

.estate-hero-benefits {
display: grid;
gap: 10px;
margin: 22px 0 0;
padding: 0;
list-style: none;
}

.estate-hero-benefits li {
position: relative;
padding-left: 30px;
color: var(--estate-text);
font-weight: 700;
line-height: 1.45;
}

.estate-hero-benefits li::before {
content: "✓";
position: absolute;
left: 0;
top: -1px;
width: 20px;
height: 20px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: color-mix(in srgb, var(--estate-primary) 12%, transparent);
color: var(--estate-primary);
font-size: 13px;
font-weight: 900;
}

/* --------------------------------------------------------------------------
7. Buttons and actions
-------------------------------------------------------------------------- */

.estate-actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 28px;
}

.estate-btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 20px;
border-radius: 12px;
font-weight: 800;
border: 1px solid transparent;
cursor: pointer;
}

.estate-btn-primary {
background: var(--estate-primary);
color: #ffffff !important;
box-shadow: 0 14px 32px color-mix(in srgb, var(--estate-primary) 24%, transparent);
}

.estate-btn-primary:hover,
.estate-btn-primary:focus-visible {
background: var(--estate-primary-dark);
color: #ffffff !important;
outline: none;
}

.estate-btn-secondary {
background: #ffffff;
color: var(--estate-primary-dark) !important;
border-color: var(--estate-primary);
}

.estate-btn-secondary:hover,
.estate-btn-secondary:focus-visible {
color: #ffffff !important;
background: var(--estate-primary-dark);
border-color: var(--estate-primary-dark);
outline: none;
}

.estate-btn-block {
width: 100%;
}

/* --------------------------------------------------------------------------
8. Search cards and forms
-------------------------------------------------------------------------- */

.estate-search-card,
.estate-info-card,
.estate-note-card {
background: var(--estate-card);
border: 1px solid var(--estate-border);
border-radius: 24px;
box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
}

.estate-search-card {
padding: 26px;
}

.estate-search-card h2 {
margin: 0 0 8px;
font-size: 24px;
}

.estate-search-intro {
margin: 0 0 18px;
color: var(--estate-muted);
line-height: 1.5;
font-size: 15px;
}

.estate-search-card label {
display: block;
margin-bottom: 14px;
color: var(--estate-text);
font-weight: 700;
font-size: 14px;
line-height: 1.35;
}

.estate-search-card input,
.estate-search-card select {
width: 100%;
box-sizing: border-box;
margin-top: 7px;
padding: 12px 13px;
border: 1px solid var(--estate-border);
border-radius: 12px;
background: #ffffff;
font-size: 15px;
}

.estate-search-card input::placeholder {
color: #94a3b8;
}

.estate-form-row {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.estate-owner-start-card {
position: relative;
overflow: hidden;
padding: 30px;
}

.estate-owner-start-card::before {
content: "";
position: absolute;
inset: 0 0 auto 0;
height: 6px;
background: linear-gradient(90deg, var(--estate-primary), var(--estate-primary-soft, #d9f2e6));
}

.estate-card-kicker {
display: inline-flex;
margin-bottom: 12px;
padding: 6px 10px;
border-radius: 999px;
background: color-mix(in srgb, var(--estate-success) 10%, transparent);
color: var(--estate-primary);
font-size: 13px;
font-weight: 800;
}

.estate-owner-profile-box {
margin: 20px 0;
padding: 18px;
border-radius: 18px;
background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.estate-owner-profile-box h3 {
margin: 0 0 10px;
font-size: 18px;
}

.estate-owner-benefits {
margin: 0;
padding-left: 0;
list-style: none;
}

.estate-owner-benefits li {
position: relative;
margin-bottom: 10px;
padding-left: 26px;
color: var(--estate-muted);
line-height: 1.45;
font-size: 15px;
}

.estate-owner-benefits li::before {
content: "✓";
position: absolute;
left: 0;
top: 0;
color: var(--estate-primary);
font-weight: 900;
}

.estate-owner-benefits li:last-child {
margin-bottom: 0;
}
/* --------------------------------------------------------------------------
9. Content sections
-------------------------------------------------------------------------- */

.estate-section {
padding: 72px 0;
background: #ffffff;
}

.estate-muted {
background: var(--estate-bg);
}

.estate-section-head {
max-width: 720px;
margin-bottom: 30px;
}

.estate-section h2 {
margin: 0 0 16px;
font-size: clamp(28px, 3vw, 40px);
letter-spacing: -.03em;
}

.estate-card-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

.estate-info-card,
.estate-note-card {
padding: 26px;
}

.estate-info-card h3,
.estate-note-card h3 {
margin: 0 0 12px;
font-size: 22px;
}

.estate-info-card a {
margin-top: 10px;
font-weight: 800;
}

.estate-split {
display: grid;
grid-template-columns: 1.2fr .8fr;
gap: 42px;
align-items: center;
}

.estate-subhero {
padding: 66px 0;
background: linear-gradient(135deg, #ecfeff 0%, #ffffff 100%);
border-bottom: 1px solid var(--estate-border);
}

.estate-text {
max-width: 820px;
}

.estate-search-wide {
max-width: 760px;
}

/* --------------------------------------------------------------------------
10. Footer - Casa Moldova design footer
-------------------------------------------------------------------------- */

.estate-footer {
--estate-footer-blue: var(--estate-primary);
--estate-footer-deep: var(--estate-primary-dark);
--estate-footer-line: rgba(255, 255, 255, 0.34);
--estate-footer-text: #ffffff;
--estate-footer-muted: rgba(255, 255, 255, 0.86);
--estate-footer-yellow: var(--estate-accent);
--estate-footer-red: var(--estate-success);
position: relative;
isolation: isolate;
overflow: hidden;
margin-top: 32px;
padding: 0;
color: var(--estate-footer-text);
background:
radial-gradient(circle at 50% -35%, color-mix(in srgb, var(--estate-primary-soft) 52%, transparent), transparent 45%),
linear-gradient(180deg, var(--estate-footer-blue) 0%, var(--estate-footer-deep) 100%);
border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.estate-footer::before {
content: "";
position: absolute;
z-index: -3;
inset: 0;
background:
linear-gradient(
90deg,
rgba(1, 25, 67, 0.25) 0%,
transparent 17%,
transparent 83%,
rgba(1, 25, 67, 0.25) 100%
);
pointer-events: none;
}

.estate-footer-art {
position: absolute;
z-index: -1;
bottom: 39px;
width: clamp(330px, 29vw, 500px);
height: calc(100% - 39px);
min-height: 190px;
background-image: url('/assets/img/footerleft.svg');
background-repeat: no-repeat;
background-position: center bottom;
background-size: contain;
opacity: 0.94;
pointer-events: none;
filter: saturate(1.10) contrast(1.03);
}

.estate-footer-art--left {
left: clamp(-170px, -8vw, -82px);
}

.estate-footer-art--right {
right: clamp(-170px, -8vw, -82px);
transform: scaleX(-1);
}

.estate-footer-main {
position: relative;
z-index: 1;
}

.estate-footer .estate-container {
width: min(1240px, calc(100% - 40px));
}

.estate-footer-grid {
display: grid;
grid-template-columns:
minmax(355px, 1.48fr)
minmax(120px, 0.52fr)
minmax(135px, 0.58fr)
minmax(225px, 0.86fr);
gap: clamp(24px, 2.5vw, 44px);
align-items: center;
min-height: 174px;
padding: 18px 0 14px;
}

.estate-footer-brand {
max-width: 450px;
}

.estate-footer-brand-link {
display: flex;
align-items: center;
gap: 0;
max-width: 100%;
color: #ffffff !important;
text-decoration: none !important;
}

.estate-footer-brand-link img {
display: block;
flex: 0 0 118px;
width: 118px !important;
height: 118px !important;
max-width: 118px !important;
max-height: 118px !important;
margin: -6px 16px -6px -10px;
object-fit: contain;
object-position: center;
}

.estate-footer-logo-fallback {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 118px;
width: 118px;
height: 118px;
margin-right: 16px;
font-weight: 800;
text-align: center;
}

.estate-footer-brand-copy {
display: flex;
min-width: 0;
min-height: 86px;
padding-left: 18px;
border-left: 1px solid rgba(255, 255, 255, 0.72);
flex-direction: column;
justify-content: center;
}

.estate-footer-brand-name {
display: block;
color: #ffffff;
font-size: clamp(24px, 1.8vw, 29px);
font-weight: 850;
line-height: 1;
letter-spacing: -0.025em;
white-space: nowrap;
}

.estate-footer-tagline {
display: block;
margin-top: 6px;
color: #ffffff;
font-size: 11px;
font-weight: 750;
line-height: 1.22;
text-transform: uppercase;
letter-spacing: 0.018em;
white-space: nowrap;
}

.estate-footer-description {
max-width: 320px;
margin: -7px 0 0 142px !important;
color: var(--estate-footer-muted) !important;
font-size: 12px;
line-height: 1.42 !important;
}

.estate-footer-column {
align-self: center;
}

.estate-footer-column h4 {
position: relative;
display: inline-block;
margin: 0 0 12px;
padding-bottom: 6px;
color: #ffffff;
font-size: 12px;
font-weight: 850;
line-height: 1;
text-transform: uppercase;
letter-spacing: 0.055em;
}

.estate-footer-column h4::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 38px;
height: 2px;
border-radius: 999px;
background: #ffffff;
}

.estate-footer-column--account h4::after {
background: var(--estate-footer-yellow);
}

.estate-footer-column--language h4::after {
background: var(--estate-footer-red);
}

.estate-footer ul {
margin: 0;
padding: 0;
list-style: none;
}

.estate-footer li {
margin: 0;
color: var(--estate-footer-muted);
font-size: 11px;
line-height: 1.22;
}

.estate-footer li + li {
margin-top: 6px;
}

.estate-footer a {
color: rgba(255, 255, 255, 0.90) !important;
font-weight: 500;
text-decoration: none !important;
transition: color 0.18s ease;
}

.estate-footer a:hover,
.estate-footer a:focus-visible {
color: #ffffff !important;
text-decoration: underline !important;
text-underline-offset: 4px;
outline: none;
}

.estate-footer-language-help {
margin: 0 0 8px !important;
color: var(--estate-footer-muted) !important;
font-size: 11px;
line-height: 1.35 !important;
}

.estate-footer-language-field {
position: relative;
display: block;
width: 100%;
max-width: 235px;
}

.estate-footer-language-icon {
position: absolute;
z-index: 1;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #ffffff;
font-size: 15px;
line-height: 1;
pointer-events: none;
}

.estate-footer-language-select {
width: 100%;
min-height: 36px;
padding: 0 34px 0 36px;
border: 1px solid rgba(255, 255, 255, 0.48);
border-radius: 7px;
color: #ffffff;
background: color-mix(in srgb, var(--estate-primary-dark) 72%, transparent);
font: inherit;
font-size: 11px;
font-weight: 650;
cursor: pointer;
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.025),
0 7px 18px rgba(0, 20, 62, 0.12);
}

.estate-footer-language-select:hover,
.estate-footer-language-select:focus {
border-color: rgba(255, 255, 255, 0.84);
outline: none;
box-shadow:
0 0 0 3px rgba(255, 255, 255, 0.10),
0 8px 20px rgba(0, 20, 62, 0.16);
}

.estate-footer-language-select option {
color: var(--estate-text);
background: #ffffff;
}

.estate-footer-bottom {
position: relative;
z-index: 2;
margin: 0;
padding: 0;
border-top: 1px solid var(--estate-footer-line);
background: rgba(1, 25, 67, 0.22);
}

.estate-footer-bottom-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
min-height: 39px;
padding-top: 7px;
padding-bottom: 7px;
color: rgba(255, 255, 255, 0.84);
font-size: 11px;
}

.estate-footer-copyright {
white-space: nowrap;
}

.estate-footer-legal {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0;
min-width: 0;
}

.estate-footer-legal a {
position: relative;
display: inline-flex;
align-items: center;
padding: 0 22px;
white-space: nowrap;
font-size: 11px;
}

.estate-footer-legal a:first-child {
padding-left: 0;
}

.estate-footer-legal a:last-child {
padding-right: 0;
}

.estate-footer-legal a + a::before {
content: "";
position: absolute;
left: 0;
top: 50%;
width: 1px;
height: 15px;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.42);
}

@media (max-width: 1120px) {
.estate-footer-art {
width: clamp(300px, 34vw, 430px);
opacity: 0.66;
}

.estate-footer-grid {
grid-template-columns:
minmax(330px, 1.32fr)
minmax(115px, 0.48fr)
minmax(130px, 0.54fr)
minmax(200px, 0.76fr);
gap: 22px;
}

.estate-footer-brand-link img {
flex-basis: 108px;
width: 108px !important;
height: 108px !important;
max-width: 108px !important;
max-height: 108px !important;
margin-right: 14px;
}

.estate-footer-brand-copy {
min-height: 80px;
padding-left: 16px;
}

.estate-footer-description {
margin-left: 128px !important;
}
}

@media (max-width: 900px) {
.estate-footer-art {
bottom: 47px;
width: 54vw;
opacity: 0.35;
}

.estate-footer-art--left {
left: -20vw;
}

.estate-footer-art--right {
right: -20vw;
}

.estate-footer-grid {
grid-template-columns: 1.15fr 0.75fr 0.85fr;
align-items: start;
padding-top: 22px;
}

.estate-footer-brand {
grid-column: 1 / -1;
max-width: 580px;
}

.estate-footer-description {
max-width: 410px;
}
}

@media (max-width: 680px) {
.estate-footer {
margin-top: 28px;
}

.estate-footer .estate-container {
width: min(100% - 28px, 1240px);
}

.estate-footer-art {
bottom: 73px;
width: 92vw;
height: 45%;
min-height: 160px;
opacity: 0.22;
}

.estate-footer-art--left {
left: -42vw;
}

.estate-footer-art--right {
right: -42vw;
}

.estate-footer-grid {
grid-template-columns: 1fr 1fr;
gap: 24px 20px;
min-height: 0;
padding: 22px 0 20px;
}

.estate-footer-brand,
.estate-footer-column--language {
grid-column: 1 / -1;
}

.estate-footer-brand-link img {
flex-basis: 104px;
width: 104px !important;
height: 104px !important;
max-width: 104px !important;
max-height: 104px !important;
margin: -8px 13px -8px -12px;
}

.estate-footer-brand-copy {
min-height: 74px;
padding-left: 14px;
}

.estate-footer-brand-name {
font-size: 24px;
}

.estate-footer-tagline {
font-size: 10px;
white-space: normal;
}

.estate-footer-brand-copy {
border-left-color: rgba(255, 255, 255, 0.62);
}

.estate-footer-description {
max-width: 390px;
margin: -4px 0 0 119px !important;
}

.estate-footer-language-field {
max-width: none;
}

.estate-footer-bottom-inner {
align-items: flex-start;
flex-direction: column;
gap: 7px;
padding-top: 11px;
padding-bottom: 11px;
}

.estate-footer-copyright {
white-space: normal;
}

.estate-footer-legal {
flex-wrap: wrap;
justify-content: flex-start;
}

.estate-footer-legal a {
padding: 0 17px;
}

.estate-footer-legal a:first-child {
padding-left: 0;
}
}

@media (max-width: 440px) {
.estate-footer-grid {
grid-template-columns: 1fr;
}

.estate-footer-brand,
.estate-footer-column--language {
grid-column: auto;
}

.estate-footer-brand-link {
align-items: center;
}

.estate-footer-brand-link img {
flex-basis: 92px;
width: 92px !important;
height: 92px !important;
max-width: 92px !important;
max-height: 92px !important;
margin: -5px 10px -5px -10px;
}

.estate-footer-brand-copy {
min-height: 66px;
padding-left: 12px;
}

.estate-footer-brand-name {
font-size: 21px;
white-space: normal;
}

.estate-footer-description {
margin: 2px 0 0 104px !important;
font-size: 11px;
}

.estate-footer-legal {
display: grid;
gap: 7px;
}

.estate-footer-legal a {
padding: 0;
}

.estate-footer-legal a + a::before {
display: none;
}
}


/* --------------------------------------------------------------------------
11. Responsive content details
-------------------------------------------------------------------------- */

@media (max-width: 600px) {
.estate-form-row {
grid-template-columns: 1fr;
}

.estate-actions {
gap: 10px;
}

.estate-actions .estate-btn {
min-width: 0;
}
}

@media (max-width: 420px) {
.estate-hero h1,
.estate-subhero h1 {
font-size: clamp(30px, 10vw, 42px);
}
}
