/* =========================================================================
   PROPERTY GOLD — Location / configuration landing pages
   Buyer's guide below the project grid: intro + at-a-glance card,
   comparison table, sector cards, checklist, FAQ accordion, related links.
   Builds on style.css + projects-page.css tokens.
   ========================================================================= */

.lp-guide {
    position: relative;
    padding: clamp(56px, 6vw, 104px) 0 clamp(40px, 5vw, 72px);
    background: linear-gradient(180deg, #0A0D0B 0%, #0C110D 55%, #0A0D0B 100%);
    border-top: 1px solid rgba(212, 175, 55, .12);
}
.lp-guide::before {
    content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: min(520px, 70%); height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Intro + at a glance ---------- */
.lp-intro {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
    gap: clamp(28px, 4vw, 64px); align-items: start;
}
.lp-intro-copy h2 {
    font-family: 'Fraunces', Georgia, serif; font-weight: 400;
    font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.02em;
    margin: 14px 0 22px;
}
.lp-intro-copy p { color: var(--text-dim); font-size: 16px; line-height: 1.8; max-width: 68ch; }
.lp-intro-copy p + p { margin-top: 14px; }
.lp-intro-copy strong { color: var(--text); font-weight: 600; }
.lp-intro-copy em { color: var(--gold-bright); font-style: normal; }

.lp-glance {
    position: sticky; top: 104px;
    display: grid; gap: 2px; padding: 8px;
    border-radius: 20px; background: linear-gradient(160deg, rgba(212, 175, 55, .16), rgba(255, 255, 255, .03) 40%, rgba(212, 175, 55, .06));
    border: 1px solid rgba(212, 175, 55, .22);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.lp-stat {
    display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
    padding: 18px 18px; border-radius: 14px; background: rgba(10, 13, 11, .72);
}
.lp-stat strong {
    font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(22px, 2.2vw, 28px);
    color: var(--gold-bright); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.lp-stat span {
    font: 500 11px/1.4 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase;
    color: var(--text-dim); text-align: right;
}
.lp-glance .btn { margin: 8px 10px 10px; justify-content: center; }

/* ---------- Blocks ---------- */
.lp-block { margin-top: clamp(48px, 5vw, 80px); }
.lp-h2 {
    font-family: 'Fraunces', Georgia, serif; font-weight: 400;
    font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.01em;
    margin-bottom: 22px;
}

/* ---------- Comparison table ---------- */
.lp-table-wrap {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line-strong); border-radius: 18px;
    background: rgba(255, 255, 255, .02);
}
.lp-table-wrap:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.lp-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 14.5px; }
.lp-table thead th {
    text-align: left; padding: 16px 18px; white-space: nowrap;
    font: 500 10.5px/1.3 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold-bright); background: rgba(212, 175, 55, .06); border-bottom: 1px solid rgba(212, 175, 55, .2);
}
.lp-table tbody th, .lp-table td { padding: 16px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.lp-table tbody tr:last-child th, .lp-table tbody tr:last-child td { border-bottom: 0; }
.lp-table tbody tr { transition: background-color .25s; }
.lp-table tbody tr:hover { background: rgba(212, 175, 55, .045); }
.lp-table tbody th { font-weight: 500; }
.lp-table tbody th a { color: var(--text); font-family: 'Fraunces', Georgia, serif; font-size: 17px; font-weight: 400; transition: color .25s; }
.lp-table tbody th a:hover { color: var(--gold-bright); }
.lp-table td { color: var(--text-dim); }
.lp-table td:nth-child(3) { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-table td:nth-child(4) { color: var(--gold-bright); white-space: nowrap; }
.lp-near {
    display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; vertical-align: 2px;
    font: 500 9.5px/1.5 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase;
    color: var(--emerald-bright); border: 1px solid rgba(47, 190, 130, .35);
}
.lp-row-go {
    display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line-strong); color: var(--text); transition: border-color .25s, color .25s, transform .3s var(--ease-lux, ease);
}
.lp-row-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lp-row-go:hover, .lp-row-go:focus-visible { border-color: var(--gold); color: var(--gold-bright); transform: translateX(3px); }
.lp-note { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: #A9B1A8; max-width: 90ch; }

/* ---------- Sector cards ---------- */
.lp-sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-sector {
    position: relative; padding: 24px 22px 22px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
    border: 1px solid var(--line-strong); transition: border-color .3s, transform .4s var(--ease-lux, ease);
}
.lp-sector:hover { border-color: rgba(212, 175, 55, .4); transform: translateY(-3px); }
.lp-sector h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 21px; margin-bottom: 8px; color: var(--gold-bright); }
.lp-sector p { font-size: 14px; line-height: 1.7; color: var(--text-dim); }
.lp-sector ul { list-style: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.lp-sector li a { font-size: 14px; color: var(--text); transition: color .25s; }
.lp-sector li a::before { content: "\2192"; color: var(--gold); margin-right: 8px; }
.lp-sector li a:hover { color: var(--gold-bright); }

/* ---------- Checklist + FAQ ---------- */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.lp-tips { list-style: none; counter-reset: tip; display: grid; gap: 4px; }
.lp-tips li {
    counter-increment: tip; position: relative; padding: 16px 0 16px 52px;
    border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; color: var(--text-dim);
}
.lp-tips li:last-child { border-bottom: 0; }
.lp-tips li::before {
    content: counter(tip, decimal-leading-zero); position: absolute; left: 0; top: 17px;
    font: 500 12px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .08em; color: var(--gold-bright);
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(212, 175, 55, .35); background: rgba(212, 175, 55, .06); margin-top: -7px;
}
.lp-tips strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.lp-tips a, .lp-faq a, .lp-intro-copy a { color: var(--gold-bright); text-decoration: underline; text-decoration-color: rgba(241, 198, 74, .4); text-underline-offset: 3px; }
.lp-tips a:hover, .lp-faq a:hover { text-decoration-color: var(--gold-bright); }

.lp-faq { border-bottom: 1px solid var(--line); }
.lp-faq:first-of-type { border-top: 1px solid var(--line); }
.lp-faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 2px; border-radius: 8px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }
.lp-faq summary h3 { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 16px; line-height: 1.5; color: var(--text); transition: color .25s; }
.lp-faq summary:hover h3, .lp-faq[open] summary h3 { color: var(--gold-bright); }
.lp-faq-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); transition: border-color .25s, transform .35s var(--ease-lux, ease); }
.lp-faq-ic::before, .lp-faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--gold-bright); transform: translate(-50%, -50%); }
.lp-faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease-lux, ease); }
.lp-faq[open] .lp-faq-ic { border-color: var(--gold); }
.lp-faq[open] .lp-faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.lp-faq p { padding: 0 48px 22px 2px; font-size: 15px; line-height: 1.8; color: var(--text-dim); }

/* ---------- Related links ---------- */
.lp-links {
    margin-top: clamp(48px, 5vw, 80px); padding-top: 32px; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.lp-links .hx5 { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-bright); font-weight: 500; margin-bottom: 14px; }
.lp-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-links a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--line-strong); font-size: 13.5px; color: var(--text-dim);
    transition: border-color .25s, color .25s, background-color .25s;
}
.lp-links a:hover, .lp-links a:focus-visible { border-color: var(--gold); color: var(--text); background: rgba(212, 175, 55, .06); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .lp-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .lp-intro { grid-template-columns: 1fr; }
    .lp-glance { position: static; }
    .lp-links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .lp-sectors { grid-template-columns: 1fr; }
    .lp-intro-copy p { font-size: 15px; }
    .lp-table { font-size: 13.5px; min-width: 700px; }
    .lp-table tbody th, .lp-table td { padding: 14px 14px; }
    .lp-faq p { padding-right: 4px; }
    .lp-table tbody th { min-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-sector, .lp-row-go, .lp-faq-ic, .lp-faq-ic::after { transition: none; }
    .lp-sector:hover, .lp-row-go:hover { transform: none; }
}

/* Landing heroes carry longer, keyword-led headlines than /projects */
.page-lp .pj-title { font-size: clamp(38px, 4.6vw, 68px); line-height: 1.02; }
