@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("modern-assets/fonts/montserrat-normal-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Montserrat";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("modern-assets/fonts/montserrat-italic-700-latin.woff2") format("woff2");
}

:root {
    --remax-blue: #0043ff;
    --remax-blue-dark: #0036cc;
    --remax-blue-light: #80a7ff;
    --remax-blue-soft: #edf3ff;
    --remax-red: #e11b22;
    --remax-navy: #000e35;
    --remax-ink: #11121a;
    --remax-warm: #f7f5ee;
    --remax-line: #e7e7eb;
    --remax-white: #fff;
    --shadow-card: 0 14px 34px rgba(0, 14, 53, .14);
    --shell: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--remax-ink);
    background: var(--remax-white);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
body.nav-open, body.cookie-dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
sup { font-size: .45em; vertical-align: super; }
.site-shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.home-page, .modern-page, .lead-layout > *, .feature-row > *, .form-row > *, .footer-grid > * { min-width: 0; }
.modern-hero h1, .technology-card, .quote-card, .footer-grid a, .lead-intro, .owner-card { overflow-wrap: anywhere; }
.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; }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 16px; color: #fff; background: var(--remax-navy); }
.skip-link:focus { transform: translateY(0); }

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--remax-blue); box-shadow: 0 10px 24px rgba(0,67,255,.24); }
.button--primary:hover { background: var(--remax-blue-dark); }
.button--light { color: var(--remax-ink); background: #fff; box-shadow: 0 10px 26px rgba(0,14,53,.18); }
.button--outline { border: 1px solid rgba(0,14,53,.25); color: var(--remax-navy); background: transparent; }
.button--outline:hover { border-color: var(--remax-blue); background: rgba(0,67,255,.06); }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(0,14,53,.08); }
.header-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; }
.brand-logo { flex: 0 0 215px; }
.brand-logo img { width: 100%; max-height: 54px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.main-nav > a:not(.button), .nav-dropdown__toggle { position: relative; padding: 30px 0 26px; border: 0; color: #17182a; background: transparent; font-size: 14px; text-decoration: none; white-space: nowrap; cursor: pointer; }
.main-nav > a:not(.button)::after, .nav-dropdown__toggle::after { position: absolute; bottom: 22px; left: 0; width: 0; height: 2px; content: ""; background: var(--remax-blue); transition: width .2s ease; }
.main-nav > a:not(.button):hover::after, .main-nav > a:not(.button):focus-visible::after, .nav-dropdown__toggle:hover::after { width: 100%; }
.header-cta { min-height: 46px; padding-inline: 25px; }
.nav-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--remax-navy); transition: transform .2s, opacity .2s; }
.nav-dropdown { position: relative; }
.nav-dropdown__menu { position: absolute; top: calc(100% - 8px); left: -20px; display: grid; min-width: 250px; padding: 12px; visibility: hidden; opacity: 0; transform: translateY(8px); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); transition: .2s ease; }
.nav-dropdown__menu a { padding: 12px 14px; border-radius: 8px; text-decoration: none; }
.nav-dropdown__menu a:hover { color: var(--remax-blue); background: var(--remax-blue-soft); }
.nav-dropdown:hover .nav-dropdown__menu, .nav-dropdown:focus-within .nav-dropdown__menu, .nav-dropdown.is-open .nav-dropdown__menu { visibility: visible; opacity: 1; transform: none; }
.language-switch { display: flex; align-items: center; gap: 4px; color: #8a8b94; }
.language-switch button { padding: 4px; border: 0; color: inherit; background: transparent; font-size: 12px; cursor: pointer; }
.language-switch button.is-active { color: var(--remax-navy); font-weight: 800; }

.owner-ribbon { color: #fff; background: var(--remax-navy); }
.owner-ribbon__inner { min-height: 48px; display: flex; align-items: center; gap: 12px; font-size: 13px; }
.owner-ribbon__inner img { width: auto; max-width: 84px; height: 30px; object-fit: contain; padding: 3px; border-radius: 4px; background: #fff; }
.owner-ribbon__inner strong { font-size: 14px; }
.owner-ribbon__inner a { margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; }

.eyebrow { margin: 0 0 12px; color: var(--remax-blue); font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-heading { max-width: 920px; margin-bottom: 48px; text-align: center; }
.section-heading h2, .feature-row h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child { max-width: 840px; margin: 0 auto; color: #545563; font-size: 17px; }

.home-hero { min-height: 725px; color: #fff; background-image: linear-gradient(90deg, rgba(0,14,53,.94) 0%, rgba(0,14,53,.64) 45%, rgba(0,14,53,.02) 78%), url("modern-assets/images/home-hero.png"); background-position: center; background-size: cover; }
.home-hero__inner { min-height: inherit; display: flex; align-items: center; }
.home-hero__copy { width: min(570px, 50%); padding: 64px 0; }
.home-hero h1 { margin: 0 0 28px; font-size: clamp(58px, 6.2vw, 94px); font-weight: 700; line-height: .98; letter-spacing: -.055em; }
.home-hero h1 em { font-weight: 700; }
.home-hero p { margin: 0 0 20px; font-size: 16px; }
.home-hero .button { margin-top: 10px; }
.home-hero__mobile-image { display: none; }

.content-section { padding: 92px 0; }
.content-section--warm { background: var(--remax-warm); }
.content-section--dark { color: #fff; background: var(--remax-navy); }
.content-section--dark .eyebrow { color: var(--remax-blue-light); }
.advantage-section { padding-bottom: 110px; }
.card-grid { display: grid; gap: 24px; }
.card-grid--four { grid-template-columns: repeat(4, 1fr); }
.card-grid--two { grid-template-columns: repeat(2, 1fr); }
.image-card { min-width: 0; overflow: hidden; border-radius: 12px; color: var(--remax-ink); background: #fff; box-shadow: var(--shadow-card); text-decoration: none; transition: transform .24s ease, box-shadow .24s ease; }
.image-card:hover, .image-card:focus-visible { transform: translateY(-7px); box-shadow: 0 22px 46px rgba(0,14,53,.2); }
.image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.image-card > div { min-height: 150px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px; }
.image-card h3 { margin: 0 0 20px; font-size: 19px; line-height: 1.25; }
.image-card span { margin-top: auto; color: var(--remax-blue); font-size: 14px; font-weight: 700; }
.image-card--wide img { aspect-ratio: 16 / 8.5; }
.image-card--wide > div { min-height: 128px; }

.modern-hero { min-height: 610px; display: flex; align-items: center; color: #fff; background-position: center; background-size: cover; }
.modern-hero__content { padding: 84px 0; }
.modern-hero__content > * { max-width: 680px; }
.modern-hero .eyebrow { color: #fff; }
.modern-hero h1 { margin: 0 0 24px; font-size: clamp(54px, 6vw, 88px); line-height: .98; letter-spacing: -.055em; }
.modern-hero__intro { margin: 0 0 30px; font-size: 17px; line-height: 1.72; }
.stat-band { padding: 44px 0; color: #fff; background: var(--remax-blue); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat-card { text-align: center; }
.stat-card strong { display: block; font-size: clamp(40px, 5vw, 66px); line-height: 1; }
.stat-card span { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 7vw, 96px); }
.feature-row--reverse .feature-row__copy { order: 2; }
.feature-row--reverse .feature-row__media { order: 1; }
.feature-row--text { grid-template-columns: 1fr; }
.feature-row--text .feature-row__copy { max-width: 850px; margin: 0 auto; text-align: center; }
.feature-row__copy > p:not(.eyebrow) { margin: 0; color: #565766; font-size: 17px; line-height: 1.75; }
.content-section--dark .feature-row__copy > p { color: #dce0ef; }
.feature-row__media img { width: 100%; min-height: 400px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-card); }
.feature-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; font-weight: 600; }
.feature-list li::before { position: absolute; left: 0; content: "✓"; color: var(--remax-blue); font-weight: 800; }
.technology-section__heading { max-width: 980px; margin: 0 auto 44px; text-align: center; }
.technology-section__heading h2 { margin: 0 0 20px; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.technology-section__heading > p:not(.eyebrow) { margin: 0; color: #565766; font-size: 17px; line-height: 1.75; }
.content-section--dark .technology-section__heading > p:not(.eyebrow) { color: #dce0ef; }
.technology-section__showcase { margin: 0 auto 42px; overflow: hidden; border: 1px solid var(--remax-line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.technology-section__showcase img { width: 100%; height: auto; }
.technology-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.technology-card { min-width: 0; overflow: hidden; border: 1px solid rgba(0,14,53,.08); border-radius: 14px; color: var(--remax-ink); background: #fff; box-shadow: 0 12px 30px rgba(0,14,53,.1); }
.technology-card__media { overflow: hidden; background: #f1f4fb; }
.technology-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.technology-card__copy { padding: 28px; }
.technology-card h3 { margin: 0 0 14px; color: var(--remax-navy); font-size: 20px; line-height: 1.25; }
.technology-card p { margin: 0; color: #565766; font-size: 14px; line-height: 1.7; }
.technology-section__note { max-width: 920px; margin: 28px auto 0; color: #747581; font-size: 12px; text-align: center; }
.content-section--dark .technology-section__note { color: #c9cee0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-card { position: relative; min-height: 290px; padding: 44px; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.quote-card h2 { position: relative; margin: 28px 0 24px; font-size: 24px; line-height: 1.38; }
.quote-card p { color: #646570; font-weight: 600; }
.quote-mark { position: absolute; top: -20px; right: 22px; color: rgba(0,67,255,.12); font-family: Georgia, serif; font-size: 180px; line-height: 1; }

.lead-section { scroll-margin-top: 130px; padding: 104px 0; color: #fff; background: var(--remax-navy); }
.lead-layout { display: grid; grid-template-columns: .86fr 1.14fr; align-items: start; gap: clamp(48px, 7vw, 100px); }
.lead-intro { padding-top: 24px; }
.lead-intro .eyebrow { color: var(--remax-blue-light); }
.lead-intro h2 { margin: 0 0 24px; font-size: clamp(38px, 4vw, 58px); line-height: 1.05; letter-spacing: -.04em; }
.lead-intro > p:not(.eyebrow) { color: #d7dbea; font-size: 17px; }
.owner-card { display: flex; align-items: center; gap: 16px; margin: 30px 0; padding: 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); }
.owner-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.owner-card span, .owner-card small { display: block; color: #c9cee0; font-size: 12px; }
.owner-card strong { display: block; margin: 3px 0; }
.lead-benefits { display: grid; gap: 14px; padding: 0; list-style: none; }
.lead-benefits li { position: relative; padding-left: 28px; }
.lead-benefits li::before { position: absolute; left: 0; content: "✓"; color: var(--remax-blue-light); font-weight: 800; }
.lead-form-card { padding: clamp(28px, 4vw, 48px); border-radius: 16px; color: var(--remax-ink); background: #fff; box-shadow: 0 26px 70px rgba(0,0,0,.24); }
.lead-form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 18px; }
.form-row--two { grid-template-columns: 1fr 1fr; }
.form-row--phone { grid-template-columns: 135px 1fr; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #d8d9e1; border-radius: 7px; color: var(--remax-ink); background: #fff; outline: none; transition: border .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--remax-blue); box-shadow: 0 0 0 3px rgba(0,67,255,.14); }
.field--honeypot { position: absolute; left: -9999px; }
.form-note { margin: 0; color: #747581; font-size: 11px; }
.form-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 11px; }
.form-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--remax-blue); }
.form-consent label { color: #4f5260; font-size: 11px; line-height: 1.6; }
.form-consent a { color: var(--remax-blue); font-weight: 700; }
.lead-submit { width: 100%; }
.button-spinner { display: none; width: 18px; height: 18px; margin-left: 10px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.lead-form.is-submitting .button-spinner { display: block; }
.lead-form.is-submitting .lead-submit { pointer-events: none; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.compact-hero { padding: 105px 0; color: #fff; text-align: center; background: linear-gradient(130deg, var(--remax-navy), #102064 62%, var(--remax-blue)); }
.compact-hero .eyebrow { color: var(--remax-blue-light); }
.compact-hero h1 { max-width: 850px; margin: 0 auto 20px; font-size: clamp(46px, 6vw, 78px); line-height: 1; }
.compact-hero p:last-child { font-size: 18px; }
.thanks-page { overflow: hidden; background: #fff; }
.thanks-hero { position: relative; isolation: isolate; min-height: 690px; display: flex; align-items: center; color: #fff; background: var(--remax-navy); }
.thanks-hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background-image: linear-gradient(90deg, rgba(0,14,53,.98) 0%, rgba(0,14,53,.91) 48%, rgba(0,14,53,.56) 100%), url("modern-assets/images/network-event.jpg"); background-position: center; background-size: cover; }
.thanks-hero::after { position: absolute; z-index: -1; right: -180px; bottom: -280px; width: 680px; height: 680px; content: ""; border: 110px solid rgba(0,67,255,.25); border-radius: 50%; }
.thanks-hero__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .65fr); align-items: center; gap: clamp(50px, 8vw, 110px); padding-block: 88px; }
.thanks-hero__copy { min-width: 0; }
.thanks-card__mark { width: 70px; height: 70px; display: grid; place-items: center; margin-bottom: 28px; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: var(--remax-blue); box-shadow: 0 16px 36px rgba(0,67,255,.34); font-size: 32px; font-weight: 800; }
.thanks-hero .eyebrow { color: var(--remax-blue-light); }
.thanks-hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(52px, 6vw, 84px); line-height: .98; letter-spacing: -.055em; }
.thanks-hero__intro { max-width: 720px; margin: 0; color: #dce3f5; font-size: 17px; line-height: 1.78; }
.thanks-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.thanks-text-link { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.thanks-text-link:hover { text-decoration: underline; }
.thanks-connection { position: relative; min-width: 0; padding: 38px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; background: rgba(255,255,255,.11); box-shadow: 0 30px 70px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.thanks-connection__balloon { position: absolute; top: 28px; right: 28px; width: 38px; height: 48px; opacity: .85; filter: brightness(0) invert(1); }
.thanks-connection h2 { margin: 12px 0 16px; font-size: 28px; line-height: 1.14; }
.thanks-connection > p:not(.eyebrow) { margin: 18px 0 0; color: #dce3f5; font-size: 14px; line-height: 1.7; }
.thanks-connection__person { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.thanks-connection__person > img { width: 68px; height: 68px; flex: 0 0 68px; border: 3px solid rgba(255,255,255,.7); border-radius: 50%; object-fit: cover; }
.thanks-connection__person span, .thanks-connection__person strong { display: block; }
.thanks-connection__person span { color: #bfcbea; font-size: 11px; }
.thanks-connection__person strong { margin-top: 4px; font-size: 17px; line-height: 1.25; }
.thanks-connection__status { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: #fff; font-size: 12px; font-weight: 700; }
.thanks-connection__status span { width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: #5ce09a; box-shadow: 0 0 0 5px rgba(92,224,154,.15); }
.thanks-section-heading { margin-inline: auto; }
.thanks-next { background: var(--remax-warm); }
.thanks-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.thanks-step-grid li { min-width: 0; padding: 36px 32px; border: 1px solid rgba(0,14,53,.08); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(0,14,53,.08); }
.thanks-step-grid li > span { display: inline-block; margin-bottom: 26px; color: var(--remax-blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.thanks-step-grid h3 { margin: 0 0 12px; color: var(--remax-navy); font-size: 22px; line-height: 1.25; }
.thanks-step-grid p { margin: 0; color: #5e6070; font-size: 14px; line-height: 1.72; }
.thanks-explore { color: #fff; background: var(--remax-navy); }
.thanks-explore .eyebrow { color: var(--remax-blue-light); }
.thanks-explore__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); align-items: end; gap: 60px; margin-bottom: 50px; }
.thanks-explore__intro h2, .thanks-paths__copy h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.thanks-explore__intro > p { margin: 0; color: #cdd5e9; font-size: 16px; line-height: 1.75; }
.thanks-brochure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.thanks-brochure-grid > a { position: relative; min-width: 0; min-height: 300px; display: flex; flex-direction: column; padding: 34px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.08); text-decoration: none; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.thanks-brochure-grid > a:hover, .thanks-brochure-grid > a:focus-visible { transform: translateY(-5px); border-color: rgba(128,167,255,.8); background: rgba(0,67,255,.2); }
.thanks-brochure-card__number { color: var(--remax-blue-light); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.thanks-brochure-grid h3 { max-width: 420px; margin: 34px 0 14px; font-size: 27px; line-height: 1.15; }
.thanks-brochure-grid p { margin: 0 0 28px; color: #cdd5e9; font-size: 14px; line-height: 1.72; }
.thanks-brochure-grid strong { margin-top: auto; color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.thanks-paths { color: #fff; background: var(--remax-blue); }
.thanks-paths .eyebrow { color: #dfe8ff; }
.thanks-paths__layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.thanks-hero__layout > *, .thanks-paths__layout > *, .thanks-explore__intro > * { min-width: 0; }
.thanks-paths__copy > p:not(.eyebrow) { max-width: 610px; margin: 22px 0 30px; color: #e5ecff; font-size: 16px; line-height: 1.75; }
.thanks-path-list { display: grid; gap: 12px; }
.thanks-path-list article { padding: 24px 26px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; background: rgba(0,14,53,.18); }
.thanks-path-list span { color: #dfe8ff; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.thanks-path-list h3 { margin: 7px 0 0; font-size: 19px; line-height: 1.35; }

.legal-page { color: var(--remax-ink); background: var(--remax-warm); }
.legal-hero { padding: 92px 0 82px; color: #fff; background: linear-gradient(125deg, var(--remax-navy) 0%, #102064 65%, var(--remax-blue) 145%); }
.legal-hero .eyebrow { color: var(--remax-blue-light); }
.legal-hero h1 { max-width: 900px; margin: 12px 0 20px; font-size: clamp(52px, 7vw, 84px); line-height: .98; letter-spacing: -.055em; }
.legal-hero p:not(.eyebrow) { max-width: 760px; margin: 0 0 24px; color: #dce3f5; font-size: 17px; line-height: 1.75; }
.legal-hero span { color: #aebbd9; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.legal-section { padding: 78px 0 100px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: start; gap: clamp(44px, 7vw, 96px); }
.legal-nav { position: sticky; top: 112px; display: grid; gap: 8px; padding: 24px; border: 1px solid rgba(0,14,53,.1); border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(0,14,53,.07); }
.legal-nav strong { margin-bottom: 7px; color: var(--remax-navy); font-size: 13px; text-transform: uppercase; }
.legal-nav a, .legal-nav button { width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; color: #555867; background: transparent; font-size: 12px; text-align: left; text-decoration: none; cursor: pointer; }
.legal-nav a:hover, .legal-nav a:focus-visible, .legal-nav button:hover, .legal-nav button:focus-visible, .legal-nav .is-active { color: var(--remax-blue); background: rgba(0,67,255,.07); }
.legal-content { min-width: 0; padding: clamp(30px, 5vw, 66px); border: 1px solid rgba(0,14,53,.08); border-radius: 18px; background: #fff; box-shadow: 0 22px 58px rgba(0,14,53,.08); }
.legal-content h2 { margin: 52px 0 16px; padding-top: 2px; color: var(--remax-navy); font-size: 26px; line-height: 1.25; letter-spacing: -.02em; }
.legal-content h2:first-of-type { margin-top: 38px; }
.legal-content p, .legal-content li { color: #555867; font-size: 14px; line-height: 1.82; }
.legal-content p { margin: 0 0 17px; }
.legal-content ul { display: grid; gap: 9px; margin: 0 0 20px; padding-left: 22px; }
.legal-content a { color: var(--remax-blue); font-weight: 700; }
.legal-summary { padding: 25px 28px; border-left: 5px solid var(--remax-blue); border-radius: 0 12px 12px 0; background: #eef3ff; }
.legal-summary strong { display: block; margin-bottom: 7px; color: var(--remax-navy); font-size: 13px; text-transform: uppercase; }
.legal-summary p { margin: 0; color: #41475a; }
.legal-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--remax-line); border-radius: 12px; }
.legal-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.legal-table th, .legal-table td { padding: 17px 18px; border-bottom: 1px solid var(--remax-line); color: #555867; font-size: 12px; line-height: 1.65; text-align: left; vertical-align: top; }
.legal-table th { color: var(--remax-navy); background: #f3f5f9; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code { color: #30384e; font-size: 11px; }
.legal-contact-card { display: flex; align-items: center; gap: 20px; margin-top: 58px; padding: 25px 28px; border-radius: 14px; color: #fff; background: var(--remax-navy); }
.legal-contact-card img { width: 40px; height: 50px; flex: 0 0 40px; filter: brightness(0) invert(1); }
.legal-contact-card strong { display: block; margin-bottom: 5px; }
.legal-contact-card p { margin: 0; color: #dce3f5; }
.legal-contact-card a { color: #fff; }

.final-cta { padding: 55px 0; color: #fff; text-align: center; background: var(--remax-blue); }
.final-cta h2 { margin: 0 0 28px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.site-footer { padding: 76px 0 30px; color: #fff; background: var(--remax-navy); }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 52px; }
.footer-balloon { width: 60px; height: 72px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer-grid h3 { margin: 0 0 18px; font-size: 14px; }
.footer-grid p { max-width: 310px; color: #c9cee0; font-size: 13px; }
.footer-grid a { display: block; margin: 8px 0; color: #dce0ef; font-size: 13px; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: #9ea5bd; font-size: 10px; }
.footer-legal p { margin: 6px 0; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 15px; }
.footer-legal-links a, .footer-legal-links button { padding: 0; border: 0; color: #cbd2e6; background: transparent; font-size: 10px; text-decoration: underline; cursor: pointer; }
.footer-legal-links a:hover, .footer-legal-links button:hover { color: #fff; }
.cookie-banner { position: fixed; z-index: 200; right: 22px; bottom: 22px; left: 22px; max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; margin-inline: auto; padding: 27px 30px; border: 1px solid rgba(0,14,53,.12); border-radius: 16px; color: var(--remax-ink); background: #fff; box-shadow: 0 24px 70px rgba(0,14,53,.25); }
.cookie-banner[hidden], .cookie-dialog[hidden] { display: none; }
.cookie-banner .eyebrow { margin-bottom: 6px; }
.cookie-banner h2 { margin: 0 0 8px; color: var(--remax-navy); font-size: 25px; line-height: 1.1; }
.cookie-banner p:not(.eyebrow) { max-width: 690px; margin: 0; color: #5c6070; font-size: 12px; line-height: 1.65; }
.cookie-banner p a { color: var(--remax-blue); font-weight: 700; }
.cookie-banner__actions { display: flex; align-items: center; gap: 10px; }
.cookie-banner__actions .button { min-height: 44px; padding: 11px 20px; font-size: 10px; }
.cookie-link-button { padding: 8px; border: 0; color: var(--remax-blue); background: transparent; font-size: 11px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.cookie-dialog { position: fixed; z-index: 220; inset: 0; display: grid; place-items: center; padding: 20px; }
.cookie-dialog__backdrop { position: absolute; inset: 0; background: rgba(0,14,53,.78); backdrop-filter: blur(7px); }
.cookie-dialog__panel { position: relative; width: min(100%, 650px); max-height: calc(100vh - 40px); padding: clamp(26px, 5vw, 48px); overflow-y: auto; border-radius: 18px; color: var(--remax-ink); background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.cookie-dialog__close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--remax-navy); background: #eef1f7; font-size: 25px; line-height: 1; cursor: pointer; }
.cookie-dialog h2 { max-width: 500px; margin: 8px 45px 12px 0; color: var(--remax-navy); font-size: 34px; line-height: 1.08; }
.cookie-dialog__panel > p:not(.eyebrow):not(.cookie-dialog__legal) { margin: 0 0 25px; color: #5c6070; font-size: 13px; line-height: 1.7; }
.cookie-choice { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-top: 1px solid var(--remax-line); }
.cookie-choice strong, .cookie-choice span { display: block; }
.cookie-choice strong { margin-bottom: 5px; color: var(--remax-navy); font-size: 14px; }
.cookie-choice > div > span { max-width: 460px; color: #676a78; font-size: 11px; line-height: 1.55; }
.cookie-switch { position: relative; flex: 0 0 48px; }
.cookie-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cookie-switch > span[aria-hidden] { position: relative; width: 48px; height: 27px; display: block; border-radius: 999px; background: #c9ceda; cursor: pointer; transition: background .2s ease; }
.cookie-switch > span[aria-hidden]::after { position: absolute; top: 4px; left: 4px; width: 19px; height: 19px; content: ""; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.22); transition: transform .2s ease; }
.cookie-switch input:checked + span[aria-hidden] { background: var(--remax-blue); }
.cookie-switch input:checked + span[aria-hidden]::after { transform: translateX(21px); }
.cookie-switch input:focus-visible + span[aria-hidden] { outline: 3px solid rgba(0,67,255,.25); outline-offset: 3px; }
.cookie-switch input:disabled + span[aria-hidden] { cursor: not-allowed; opacity: .72; }
.cookie-dialog__actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.cookie-dialog__legal { margin: 22px 0 0; color: #777b89; font-size: 10px; }
.cookie-dialog__legal a { color: var(--remax-blue); }
.cookie-noscript { position: fixed; z-index: 201; right: 18px; bottom: 18px; left: 18px; padding: 15px 18px; border-radius: 10px; color: #fff; background: var(--remax-navy); font-size: 11px; text-align: center; }
.back-to-top { position: fixed; z-index: 20; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: rgba(0,14,53,.78); text-decoration: none; backdrop-filter: blur(8px); }
.lead-toast { position: fixed; z-index: 100; right: 24px; bottom: 78px; max-width: 420px; padding: 16px 20px; border-radius: 10px; color: #fff; background: var(--remax-red); box-shadow: var(--shadow-card); }

@media (max-width: 1180px) {
    .site-shell { width: min(calc(100% - 36px), var(--shell)); }
    .brand-logo { flex-basis: 190px; }
    .main-nav { gap: 14px; }
    .main-nav > a:not(.button), .nav-dropdown__toggle { font-size: 12px; }
    .header-cta { padding-inline: 18px; }
    .card-grid--four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
    .header-inner { min-height: 73px; }
    .brand-logo { flex-basis: 155px; }
    .nav-toggle { display: block; }
    .nav-toggle.is-open > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-open > span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .main-nav { position: fixed; inset: 73px 0 0; display: block; padding: 22px 24px 40px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); background: #fff; transition: .2s ease; }
    .main-nav.is-open { visibility: visible; opacity: 1; transform: none; }
    .main-nav > a:not(.button), .nav-dropdown__toggle { display: block; width: 100%; padding: 15px 4px; text-align: left; border-bottom: 1px solid var(--remax-line); font-size: 17px; }
    .main-nav > a:not(.button)::after, .nav-dropdown__toggle::after { display: none; }
    .nav-dropdown__menu { position: static; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; }
    .nav-dropdown.is-open .nav-dropdown__menu { display: grid; }
    .language-switch { margin: 18px 0; }
    .header-cta { width: 100%; }
    .owner-ribbon__inner > span { display: none; }
    .lead-layout { grid-template-columns: 1fr; }
    .feature-row { gap: 44px; }
    .technology-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .thanks-hero__layout { grid-template-columns: 1fr; }
    .thanks-connection { width: min(620px, 100%); }
    .thanks-paths__layout { grid-template-columns: 1fr; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .legal-nav strong { grid-column: 1 / -1; }
    .cookie-banner { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
    .site-shell { width: min(calc(100% - 40px), var(--shell)); }
    .owner-ribbon__inner { min-height: 44px; }
    .owner-ribbon__inner img { display: none; }
    .owner-ribbon__inner strong { max-width: 205px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .owner-ribbon__inner a { font-size: 0; }
    .owner-ribbon__inner a span { font-size: 18px; }
    .home-hero { min-height: 0; background: var(--remax-navy); }
    .home-hero__copy { width: 100%; padding: 70px 0 55px; }
    .home-hero h1 { margin-bottom: 26px; font-size: clamp(48px, 14vw, 67px); }
    .home-hero__mobile-image { display: block; margin: 0 0 30px; }
    .home-hero__mobile-image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
    .home-hero p { font-size: 15px; line-height: 1.7; }
    .content-section { padding: 70px 0; }
    .section-heading { margin-bottom: 34px; text-align: left; }
    .section-heading h2, .feature-row h2 { font-size: 38px; }
    .section-heading > p:last-child, .feature-row__copy > p:not(.eyebrow) { font-size: 15px; }
    .card-grid--four, .card-grid--two { grid-template-columns: 1fr; }
    .image-card > div { min-height: 122px; }
    .modern-hero { min-height: 590px; background-position: 60% center; }
    .modern-hero__content { padding: 70px 0; }
    .modern-hero h1 { font-size: 52px; }
    .modern-hero__intro { font-size: 15px; }
    .stat-grid { grid-template-columns: 1fr; gap: 32px; }
    .feature-row { grid-template-columns: 1fr; }
    .feature-row--reverse .feature-row__copy, .feature-row--reverse .feature-row__media { order: initial; }
    .feature-row__media img { min-height: 260px; }
    .technology-section__heading { margin-bottom: 32px; text-align: left; }
    .technology-section__heading h2 { font-size: 40px; }
    .technology-section__heading > p:not(.eyebrow) { font-size: 15px; }
    .technology-section__showcase { margin-bottom: 28px; border-radius: 12px; }
    .technology-card-grid { grid-template-columns: 1fr; }
    .technology-card__copy { padding: 24px; }
    .technology-section__note { text-align: left; }
    .thanks-hero { min-height: 0; }
    .thanks-hero::after { right: -300px; bottom: -380px; }
    .thanks-hero__layout { gap: 46px; padding-block: 68px; }
    .thanks-card__mark { width: 62px; height: 62px; margin-bottom: 24px; font-size: 28px; }
    .thanks-hero h1 { font-size: clamp(46px, 13vw, 62px); }
    .thanks-hero__intro { font-size: 15px; }
    .thanks-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .thanks-connection { padding: 28px 24px; border-radius: 16px; }
    .thanks-connection__balloon { top: 24px; right: 24px; width: 32px; }
    .thanks-step-grid, .thanks-brochure-grid { grid-template-columns: 1fr; }
    .thanks-step-grid li { padding: 30px 26px; }
    .thanks-explore__intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 36px; }
    .thanks-explore__intro h2, .thanks-paths__copy h2 { font-size: 40px; }
    .thanks-brochure-grid > a { min-height: 270px; padding: 28px; }
    .thanks-brochure-grid h3 { margin-top: 28px; font-size: 24px; }
    .thanks-paths__layout { gap: 38px; }
    .legal-hero { padding: 72px 0 64px; }
    .legal-hero h1 { font-size: clamp(46px, 13vw, 62px); }
    .legal-section { padding: 54px 0 74px; }
    .legal-nav { grid-template-columns: 1fr; padding: 18px; }
    .legal-nav strong { grid-column: auto; }
    .legal-content { padding: 28px 22px; border-radius: 14px; }
    .legal-content h2 { margin-top: 42px; font-size: 23px; }
    .legal-summary { padding: 22px; }
    .legal-contact-card { align-items: flex-start; padding: 22px; }
    .cookie-banner { right: 12px; bottom: 12px; left: 12px; padding: 23px 20px; }
    .cookie-banner__actions { align-items: stretch; flex-direction: column; }
    .cookie-banner__actions .button, .cookie-banner__actions .cookie-link-button { width: 100%; }
    .cookie-dialog { padding: 10px; }
    .cookie-dialog__panel { max-height: calc(100vh - 20px); border-radius: 14px; }
    .cookie-dialog h2 { font-size: 29px; }
    .cookie-choice { gap: 16px; }
    .cookie-dialog__actions { align-items: stretch; flex-direction: column; }
    .quote-grid { grid-template-columns: 1fr; }
    .quote-card { min-height: 0; padding: 32px; }
    .lead-section { padding: 72px 0; }
    .lead-intro h2 { font-size: 42px; }
    .lead-form-card { padding: 25px 20px; }
    .form-row--two, .form-row--phone { grid-template-columns: 1fr; }
    .lead-toast { right: 20px; left: 20px; max-width: none; }
    .back-to-top { right: 12px; bottom: 12px; }
    .compact-hero { padding: 78px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
    .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
