/**
 * Casa Moldova / Dolibarr Website - owner, agency and developer landing page.
 * Scope all rules to .estate-owner-landing; shared header/footer remain untouched.
 */
.estate-page main > .estate-owner-landing,
.estate-owner-landing {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.estate-owner-landing {
    --owner-blue: var(--estate-primary, #003899);
    --owner-ink: #102c56;
    --owner-muted: #496583;
    --owner-line: #cfe4f2;
    --owner-soft: #f2f9ff;
    box-sizing: border-box;
    background: #fff;
    color: var(--owner-ink);
    font-family: "Segoe UI", "DejaVu Sans", "Liberation Sans", Arial, Helvetica, sans-serif;
    padding: 18px 0 48px;
    overflow-x: clip;
}
.estate-owner-landing *, .estate-owner-landing *::before, .estate-owner-landing *::after { box-sizing: border-box; }
.estate-owner-landing a { color: var(--owner-blue); }
.estate-owner-landing a:focus-visible, .estate-owner-landing summary:focus-visible {
    outline: 3px solid #67a9ff;
    outline-offset: 3px;
}
.estate-owner-wrap { width: min(1480px, calc(100% - 56px)); margin: 0 auto; }
.estate-owner-hero {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    border-radius: 22px;
    border: 1px solid var(--owner-line);
    box-shadow: 0 16px 40px rgba(15, 35, 49, .08);
    background: linear-gradient(90deg, #f4faff 0%, rgba(244, 250, 255, .98) 34%, rgba(244, 250, 255, .72) 59%, rgba(244, 250, 255, .10) 100%),
                url('/map-assets/img/owner-hero-1440.webp') center right / cover no-repeat;
}
.estate-owner-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 18px; }
.estate-owner-hero-inner.has-registration-promo {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
    padding-right: clamp(16px, 2.5vw, 32px);
}
.estate-owner-hero-copy { min-width: 0; padding: clamp(24px, 3.4vw, 48px); max-width: 850px; }
.estate-owner-kicker {
    margin: 0 0 9px;
    color: var(--owner-blue);
    font-size: .78rem;
    letter-spacing: .095em;
    text-transform: uppercase;
    font-weight: 850;
}
.estate-owner-hero h1 {
    max-width: 800px;
    margin: 0 0 14px;
    color: #10223e;
    font-size: clamp(2rem, 3.2vw, 3.45rem);
    line-height: 1.10;
    letter-spacing: -.03em;
}
.estate-owner-lead { max-width: 690px; font-size: clamp(1.02rem, 1.2vw, 1.12rem); line-height: 1.58; color: #416188; margin: 0 0 18px; }
.estate-owner-hero-points { display: flex; flex-wrap: wrap; gap: 9px 17px; list-style: none; padding: 0; margin: 0 0 23px; }
.estate-owner-hero-points li { position: relative; padding-left: 23px; font-size: .82rem; color: #164576; font-weight: 650; }
.estate-owner-hero-points li::before {
    content: '✓'; position: absolute; inset: 0 auto auto 0;
    border-radius: 50%; color: #fff; background: var(--owner-blue);
    width: 16px; height: 16px; display: grid; place-items: center; font-size: 11px; font-weight: 900;
}
.estate-owner-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.estate-owner-btn { min-height: 44px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; text-decoration: none !important; border-radius: 11px; font-weight: 800; font-size: .88rem; text-align: center; }
.estate-owner-btn-primary { color: #fff !important; border: 1px solid var(--owner-blue); background: var(--owner-blue); box-shadow: 0 8px 18px rgba(0, 56, 153, .16); }
.estate-owner-btn-primary:hover { background: #002d79; }
.estate-owner-btn-outline { color: var(--owner-blue) !important; border: 1px solid #9ec3ed; background: #fff; }
.estate-owner-btn-outline:hover { border-color: var(--owner-blue); background: #f7fbff; }
.estate-owner-smallprint { margin: 12px 0 0; color: #527194; font-size: .77rem; line-height: 1.45; }
.estate-owner-registration { min-width: 0; align-self: start; padding: 18px 0; }
.estate-owner-registration[hidden] { display: none !important; }
.estate-owner-registration .estate-package-promo { width: 100%; max-width: 330px; margin-left: auto; }
.estate-owner-registration .estate-package-promo h2 { font-size: 20px; }
.estate-owner-registration .estate-package-promo__text { font-size: 13px; }
.estate-owner-section, .estate-owner-professional { margin-top: 36px; }
.estate-owner-section-heading { max-width: 940px; margin-bottom: 16px; }
.estate-owner-section h2, .estate-owner-professional h2, .estate-owner-bottom-cta h2 {
    color: #082e6c; font-size: clamp(1.45rem, 2vw, 2.0rem); line-height: 1.2; margin: 0 0 7px; letter-spacing: -.015em;
}
.estate-owner-section-heading > p:not(.estate-owner-kicker) { color: var(--owner-muted); font-size: .96rem; line-height: 1.52; margin: 0; }
.estate-owner-card {
    border: 1px solid var(--owner-line);
    background: #fbfdff;
    border-radius: 17px;
    box-shadow: 0 6px 19px rgba(0, 56, 153, .03);
    min-width: 0;
}
.estate-owner-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.estate-owner-why-card { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.estate-owner-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; background: #e8f2ff; color: var(--owner-blue); flex: 0 0 auto; }
.estate-owner-icon svg { width: 25px; height: 25px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.estate-owner-card h3, .estate-owner-professional-card h3 { color: #103a7c; font-size: 1.06rem; line-height: 1.26; margin: 0; }
.estate-owner-card p, .estate-owner-professional-card p { color: var(--owner-muted); font-size: .88rem; line-height: 1.54; margin: 0; }
.estate-owner-card-image { display: block; width: 100%; height: auto; margin-top: auto; border-radius: 10px; border: 1px solid #e1edf6; aspect-ratio: 640 / 220; object-fit: cover; }
.estate-owner-inline-note, .estate-owner-card-note { color: #5a7086; font-size: .76rem; line-height: 1.4; }
.estate-owner-inline-note { margin-top: auto; padding: 10px; background: #eff7ff; border-radius: 9px; }
.estate-owner-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.estate-owner-feature-card { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.estate-owner-feature-card .estate-owner-icon { width: 39px; height: 39px; border-radius: 12px; }
.estate-owner-feature-card .estate-owner-icon svg { width: 22px; height: 22px; }
.estate-owner-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.estate-owner-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 18px; }
.estate-owner-step-number { display: grid; place-items: center; background: #78aefa; border-radius: 50%; color: #fff; font-weight: 900; width: 30px; height: 30px; flex: 0 0 30px; }
.estate-owner-steps h3 { margin-bottom: 6px; }
.estate-owner-professional {
    border: 1px solid #b8d4f1; border-radius: 20px;
    background: linear-gradient(125deg,#eff7ff, #f9fcff 50%, #eaf4ff);
    padding: 25px;
}
.estate-owner-professional-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.estate-owner-professional-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--owner-line); border-radius: 16px; padding: 21px; min-width: 0; }
.estate-owner-professional-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.estate-owner-professional-card li { position: relative; padding-left: 21px; color: #2b517a; font-size: .86rem; }
.estate-owner-professional-card li::before { content: '✓'; position: absolute; left: 0; color: #087a5a; font-weight: 900; }
.estate-owner-concept { margin-top: 4px; padding: 13px; border-radius: 12px; border: 1px solid #d8e8f8; background: #f4f9ff; }
.estate-owner-concept strong { color: #0d4389; font-size: .86rem; }
.estate-owner-concept p { margin-top: 5px; font-size: .8rem; }
.estate-owner-inline-link { margin-top: auto; font-size: .89rem; font-weight: 800; text-decoration: none !important; }
.estate-owner-inline-link:hover { text-decoration: underline !important; }
.estate-owner-bottom-cta { margin-top: 30px; padding: 23px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 18px; color: #fff; background: linear-gradient(105deg,#073d8b,#1759ae); }
.estate-owner-bottom-cta h2, .estate-owner-bottom-cta p { color: #fff; }
.estate-owner-bottom-cta p { margin: 0; line-height: 1.45; opacity: .94; }
.estate-owner-bottom-cta .estate-owner-btn-primary { background: #fff; border-color: #fff; color: #06428d !important; }
.estate-owner-bottom-cta .estate-owner-btn-outline { background: transparent; color: #fff !important; border-color: #a9d0ff; }
.estate-owner-faq details { border: 1px solid #d8e7f6; border-radius: 11px; padding: 0 16px; margin: 8px 0; background: #fbfdff; }
.estate-owner-faq summary { padding: 13px 0; color: #164785; font-size: .91rem; font-weight: 750; cursor: pointer; }
.estate-owner-faq details p { margin: 0 0 15px; color: #476582; line-height: 1.55; font-size: .88rem; }
.estate-owner-legal { margin: 18px 0 0; color: #687c90; font-size: .79rem; line-height: 1.55; }
@media (max-width: 1130px) {
    .estate-owner-why-grid, .estate-owner-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .estate-owner-hero-inner.has-registration-promo { grid-template-columns: minmax(0, 1fr) minmax(270px, 300px); }
    .estate-owner-hero-copy { padding: 29px; }
}
@media (max-width: 850px) {
    .estate-owner-hero-inner.has-registration-promo { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
    .estate-owner-registration { padding: 0 22px 22px; }
    .estate-owner-registration .estate-package-promo { max-width: none; }
    .estate-owner-hero { background: linear-gradient(90deg,rgba(244,250,255,.96),rgba(244,250,255,.73)), url('/map-assets/img/owner-hero-800.webp') center / cover no-repeat; }
    .estate-owner-professional-grid { grid-template-columns: minmax(0,1fr); }
    .estate-owner-bottom-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .estate-owner-wrap { width: calc(100% - 22px); }
    .estate-owner-landing { padding-top: 12px; }
    .estate-owner-hero-copy { padding: 24px 17px; }
    .estate-owner-hero h1 { font-size: clamp(1.9rem, 8vw, 2.45rem); }
    .estate-owner-hero-points { gap: 8px; }
    .estate-owner-actions, .estate-owner-actions .estate-owner-btn { width: 100%; }
    .estate-owner-why-grid, .estate-owner-feature-grid, .estate-owner-steps { grid-template-columns: minmax(0,1fr); }
    .estate-owner-section, .estate-owner-professional { margin-top: 26px; }
    .estate-owner-why-card, .estate-owner-feature-card { padding: 17px; }
    .estate-owner-professional { padding: 15px; }
    .estate-owner-professional-card { padding: 18px; }
    .estate-owner-bottom-cta { padding: 20px; }
    .estate-owner-registration { padding: 0 14px 18px; }
}
@media (prefers-reduced-motion: reduce) { .estate-owner-landing * { scroll-behavior: auto !important; } }
