/* =========================================================
   MyRealPropertyIntelligence – Landing Page
   Faithfully matches the reference design
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --ink:   #132c27;
    --muted: #65716d;
    --paper: #f8f5ee;
    --teal:  #173f38;
    --dark:  #0b2824;
    --lime:  #c4a76d;
    --line:  #132c2724;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    line-height: 1.5;
}

h1,
.section-heading h2,
.process-intro h2,
.surveyor-grid h2,
.data-grid h2,
.cta-section h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

h1 em {
    color: #d8bc82;
    font-style: italic;
    font-weight: 400;
    display: inline-block;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── SHELL (max-width container) ── */
.shell {
    width: min(1180px, 100% - 48px);
    margin: 0 auto;
}

/* ── SECTION base ── */
.section { padding: 100px 0; }

/* ── EYEBROW ── */
.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1b477;
    letter-spacing: .2em;
    font-size: 9px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.eyebrow.dark  { color: var(--teal); }
.eyebrow.light { color: #d1b477; }

/* ── BUTTON ── */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    border: 2px solid #c3a56a;
    background: #c3a56a;
    color: #102a26;
    border-radius: 0;
    cursor: pointer;
    transition: opacity .15s;
    white-space: nowrap;
}
.button:hover { opacity: .88; }

.button-small {
    color: #102a26;
    background: #c3a56a;
    border-color: #c3a56a;
    padding: 10px 20px;
    font-size: 12px;
}

.button-light {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

.button-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.button-outline:hover { background: var(--ink); color: #fff; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}
.text-link.light { color: #fff; }
.text-link:hover { opacity: .8; }

/* ── SITE HEADER ── */
.site-header {
    background: #081d1a86;
    border-bottom: 1px solid #ffffff38;
    width: 100%;
    height: 92px;
    padding: 0 max(28px, 50vw - 600px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.brand span:last-child { color: #d8bc82; }

.brand-mark {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d8bc82;
    border: 1px solid #c8aa6e;
    border-radius: 50%;
    flex-shrink: 0;
}

nav {
    gap: 28px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
}
    nav a {
        opacity: .78;
        color: #fff;
        text-decoration: none;
    }
        nav a:hover {
            opacity: 1;
        }

/* ── HERO ── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 880px;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: url('/images/hero-property.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #071d1af5 0%, #071d1acb 47%, #071d1a34 78%),
                linear-gradient(#0000 58%, #071d1a9c);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 180px max(28px, 50vw - 600px) 70px;
    max-width: 1500px;
    width: 100%;
}

.hero-content h1 {
    max-width: 900px;
    font-size: clamp(52px, 7.6vw, 106px);
    line-height: .88;
    color: #fff;
    margin-bottom: 28px;
}

.hero-copy {
    color: rgba(255,255,255,.7);
    max-width: 610px;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,.21);
    padding-top: 25px;
    flex-wrap: wrap;
}

.hero-proof > div { display: flex; flex-direction: column; gap: 4px; }

.hero-proof strong {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 32px;
    color: #fff;
}

.hero-proof span {
    color: rgba(255,255,255,.62);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ── AUDIENCE STRIP ── */
.audience-strip {
    z-index: 4;
    background: #fff;
    border-radius: 0 0 20px 20px;
    grid-template-columns: repeat(3, 1fr);
    width: min(1180px, 100% - 48px);
    margin: 0 auto;
    display: grid;
    position: relative;
    box-shadow: 0 24px 60px #112a2d1f;
}

.audience-strip > a {
    border-right: 1px solid var(--line);
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 27px 25px;
    display: grid;
    color: var(--ink);
    text-decoration: none;
    transition: background .15s;
}
.audience-strip > a:last-child { border-right: 0; }
.audience-strip > a:hover { background: #f9f7f2; }

.audience-strip span {
    color: var(--muted);
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    display: flex;
}

.audience-strip b {
    color: var(--ink);
    font-size: 14px;
}

/* ── SECTION HEADING ── */
.section-heading { margin-bottom: 48px; }

.section-heading.split {
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
    gap: 100px;
    display: grid;
}

.section-heading.centered {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}
.section-heading.centered .eyebrow { justify-content: center; }

.section-heading h2,
.process-intro h2,
.surveyor-grid h2,
.data-grid h2,
.cta-section h2 {
    letter-spacing: -.055em;
    margin: 0;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1;
}

.section-heading > p,
.section-heading > div + p {
    color: var(--muted);
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

/* ── SERVICE GRID ── */
.service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    display: grid;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    gap: 0;
}

.service-card {
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    border-radius: 0;
    flex-direction: column;
    min-height: 300px;
    padding: 28px;
    transition: background .25s, transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    position: relative;
    z-index: 0;
}
.service-card:last-child { border-right: 0; }
.service-card:hover {
    background: #fff;
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(8, 29, 26, .12);
    border-color: transparent;
    border-radius: 14px;
    z-index: 1;
}
.service-card:hover .icon-box {
    background: #c8aa6e;
    color: #fff;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a9894f;
    background: #eee6d6;
    border-radius: 50%;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-card .learn-more {
    color: var(--teal);
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 22px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
}

/* ── PROCESS SECTION ── */
.process-section {
    background: var(--ink);
    color: #fff;
}

.process-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 110px;
    display: grid;
}

.process-intro {
    align-self: start;
    position: sticky;
    top: 80px;
}

.process-intro p:last-child {
    color: rgba(255,255,255,.6);
    line-height: 1.7;
}

.steps { margin: 0; padding: 0; list-style: none; }

.steps li {
    border-top: 1px solid rgba(255,255,255,.14);
    grid-template-columns: 70px 1fr;
    gap: 20px;
    padding: 32px 0;
    display: grid;
}

.steps li > span {
    color: var(--lime);
    font-size: 12px;
    font-weight: 800;
}

.steps h3 { margin: 0 0 8px; font-size: 21px; }

.steps p {
    color: rgba(255,255,255,.58);
    margin: 0;
    line-height: 1.6;
}

/* ── BUSINESS SECTION ── */
.business-layout {
    grid-template-columns: 1.05fr .95fr;
    align-items: start;
    gap: 60px;
    display: grid;
}

.business-list article {
    border-top: 1px solid var(--line);
    grid-template-columns: 45px 1fr;
    gap: 18px;
    padding: 23px 0;
    display: grid;
}

.business-list article > span {
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
}

.business-list h3 { margin: 0 0 7px; font-size: 18px; }

.business-list p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.api-card {
    background: var(--dark);
    color: #fff;
    border-radius: 0;
    padding: 35px;
    position: sticky;
    top: 92px;
}

.api-card .eyebrow { color: #d1b477; }

.api-card h3 {
    letter-spacing: -.04em;
    margin: 0 0 25px;
    font-size: 31px;
    line-height: 1.06;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.api-window {
    background: #082f32;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    margin-bottom: 26px;
    overflow: hidden;
}

.api-window > div {
    border-bottom: 1px solid rgba(255,255,255,.1);
    gap: 6px;
    padding: 13px;
    display: flex;
}

.api-window i {
    background: #9dc5bd;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    display: inline-block;
}

.api-window code {
    color: #bce6dd;
    white-space: pre-wrap;
    padding: 21px;
    font-size: 13px;
    line-height: 1.7;
    display: block;
    font-family: "Courier New", monospace;
}

/* ── SURVEYOR SECTION ── */
.surveyor-section { background: #eee9de; }

.surveyor-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
    display: grid;
}

.surveyor-grid > div > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.7;
}

.check-list {
    gap: 13px;
    margin: 25px 0 32px;
    padding: 0;
    list-style: none;
    display: grid;
}

.check-list li {
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
}

.check-list li svg {
    background: var(--teal);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 4px;
    flex-shrink: 0;
}

.surveyor-panel {
    background: #fff;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 30px 70px #12363424;
}

.panel-top,
.panel-footer,
.panel-row { align-items: center; display: flex; }

.panel-top {
    border-bottom: 1px solid var(--line);
    gap: 10px;
    padding-bottom: 22px;
    font-weight: 800;
}
.panel-top svg { color: var(--teal); }

.panel-score { padding: 28px 0; }
.panel-score > span { color: var(--muted); font-size: 12px; }
.panel-score > strong { margin: 7px 0; font-size: 54px; display: block; }
.panel-score > div {
    background: #e4eceb;
    border-radius: 9px;
    height: 8px;
    overflow: hidden;
}
.panel-score i {
    background: var(--teal);
    height: 100%;
    display: block;
}
.panel-score small {
    color: var(--teal);
    margin-top: 8px;
    font-weight: 700;
    display: block;
}

.panel-row {
    border-top: 1px solid var(--line);
    justify-content: space-between;
    padding: 16px 0;
    font-size: 13px;
}
.panel-row span { color: var(--muted); }

.panel-footer {
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    gap: 10px;
    margin: 15px -12px -12px;
    padding: 18px;
    font-size: 13px;
    font-weight: 800;
}
.panel-footer svg:last-child { margin-left: auto; }

/* ── PRICING ── */
.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    display: grid;
}

.price-card {
    border: 1px solid var(--line);
    background: #fbf9f4;
    border-radius: 0;
    padding: 31px;
    position: relative;
}

.price-card.featured {
    background: var(--ink);
    color: #fff;
    transform: translateY(-10px);
}

.popular {
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--lime);
    font-size: 9px;
    font-weight: 900;
    position: absolute;
    top: 18px;
    right: 20px;
}

.price-card h3 { margin: 0 0 23px; font-size: 16px; }
.price-card > strong { font-size: 30px; }
.price-card > p { color: var(--muted); font-size: 13px; }
.featured > p { color: rgba(255,255,255,.58); }

.price-card ul {
    border-top: 1px solid var(--line);
    gap: 12px;
    margin: 22px 0;
    padding: 22px 0;
    list-style: none;
    display: grid;
}

.price-card li {
    align-items: center;
    gap: 9px;
    font-size: 13px;
    display: flex;
}

.price-card li svg { width: 17px; color: var(--teal); }
.featured li svg { color: var(--lime); }

.price-card .button { width: 100%; justify-content: center; }

.featured .button {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--ink);
}

/* ── DATA SECTION ── */
.data-section {
    color: #fff;
    background: #0a4848;
}

.data-grid {
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 90px;
    display: grid;
}

.data-grid > div > p:last-child {
    color: rgba(255,255,255,.63);
    line-height: 1.7;
}

.data-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    display: grid;
}

.data-points article {
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 18px;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    display: flex;
}

.data-points article svg { color: var(--lime); }
.data-points strong { font-size: 15px; }

.data-points span {
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 1.55;
}

/* ── CTA SECTION ── */
.cta-section {
    justify-content: space-between;
    align-items: center;
    gap: 70px;
    display: flex;
}

.cta-section > div:first-child { max-width: 680px; }

.cta-actions {
    flex-shrink: 0;
    gap: 12px;
    display: flex;
}

/* ── FOOTER ── */
footer {
    color: #fff;
    background: #061f25;
    padding: 70px 0 28px;
}

.footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    display: grid;
}

.footer-grid > div:first-child p {
    color: rgba(255,255,255,.5);
    max-width: 320px;
    font-size: 13px;
    line-height: 1.65;
}

.footer-brand { margin-bottom: 20px; color: #fff; text-decoration: none; display: inline-block; }
.footer-brand .brand-mark { display: inline-flex; }

.footer-grid h4 {
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--lime);
    margin: 8px 0 20px;
    font-size: 12px;
}

.footer-grid > div:not(:first-child) {
    flex-direction: column;
    gap: 13px;
    display: flex;
}

.footer-grid > div:not(:first-child) a {
    color: rgba(255,255,255,.66);
    font-size: 13px;
}
.footer-grid > div:not(:first-child) a:hover { color: #fff; }

.footer-bottom {
    color: rgba(255,255,255,.38);
    border-top: 1px solid rgba(255,255,255,.13);
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    padding-top: 40px;
    font-size: 10px;
    display: flex;
}

/* ── MOBILE NAV TOGGLE (shown only on small screens) ── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav, .button-small { display: none; }

    .site-header { top: 0; }

    .hero { min-height: 730px; }

    .audience-strip { grid-template-columns: 1fr; }
    .audience-strip > a { border-right: 0; border-bottom: 1px solid var(--line); }

    .section { padding: 82px 0; }

    .section-heading.split,
    .process-grid,
    .business-layout,
    .surveyor-grid,
    .data-grid { grid-template-columns: 1fr; gap: 45px; }

    .process-intro, .api-card { position: static; }

    .service-grid { grid-template-columns: repeat(2, 1fr); border: none; gap: 16px; }
    .service-card { border: 1px solid var(--line); border-radius: 12px; }

    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { display: none; }

    .cta-section { flex-direction: column; align-items: flex-start; }

    .api-card { padding: 25px; }
    .price-card.featured { transform: none; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }

    .service-grid { grid-template-columns: 1fr; }

    .pricing-grid { grid-template-columns: 1fr; }
    .data-points { grid-template-columns: 1fr; }

    .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero-proof { gap: 25px; }

    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .button { justify-content: center; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; }

    .section-heading.split { gap: 20px; }
}

/* ── Mobile nav open state ── */
.site-header .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: #071d1a;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 28px;
    z-index: 200;
}
.site-header .nav-mobile.open { display: flex; }
.site-header .nav-mobile a {
    color: rgba(255,255,255,.8);
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .nav-mobile a:last-child { border-bottom: none; }
