/* =================================================================
   home.css — Homepage-only styles for index.html
   Loaded in addition to site.css, which provides the shared base.
   Kept separate so it is never served from a stale CSS cache.
   ================================================================= */

/* ── Hero ─────────────────────────────────────────────────────── */
.home-page .hero-bg{background:
  radial-gradient(1100px 520px at 78% -8%,rgba(189,6,39,.07),transparent 58%),
  radial-gradient(900px  500px at 5%  108%,rgba(12,16,109,.07),transparent 60%),#fff}
.hp-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.hp-hero-ctas{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1.1rem}
.hp-hero-ctas .btn svg{flex-shrink:0}

/* ── Estimator lead card ──────────────────────────────────────── */
.home-est-card{background:linear-gradient(150deg,var(--brand),var(--brand-deep));border-radius:var(--radius-lg);padding:2rem 1.8rem;box-shadow:var(--shadow);position:relative;overflow:hidden;color:#fff}
.home-est-card::before{content:"";position:absolute;top:-40%;right:-20%;width:65%;height:85%;background:radial-gradient(circle,rgba(189,6,39,.45),transparent 65%);pointer-events:none}
.hec-badge{font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:rgba(255,255,255,.65);margin-bottom:.9rem;display:flex;align-items:center;gap:.5rem;position:relative}
.hec-dot{width:7px;height:7px;border-radius:50%;background:#36d07f;box-shadow:0 0 0 3px rgba(54,208,127,.25);flex-shrink:0}
.hec-title{font-family:"Geologica",sans-serif;font-size:1.6rem;font-weight:700;color:#fff;line-height:1.1;margin-bottom:.6rem;position:relative}
.hec-sub{font-size:.9rem;color:rgba(255,255,255,.72);line-height:1.6;margin-bottom:1.3rem;position:relative}
.hec-submit{width:100%;justify-content:center}
.home-est-card .btn-light{margin-top:1.6rem;margin-bottom:1rem}
.hec-reassure{font-size:.74rem;color:rgba(255,255,255,.5);margin-top:0;text-align:center}
.hec-preview{margin-top:1.3rem;padding-top:1.1rem;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-direction:column;gap:.6rem;position:relative}
.hec-bar{display:flex;flex-direction:column;gap:.25rem}
.hec-bar span{display:block;height:5px;border-radius:4px;background:linear-gradient(90deg,rgba(255,255,255,.5),rgba(255,255,255,.2))}
.hec-bar em{font-style:normal;font-size:.72rem;color:rgba(255,255,255,.5)}

/* ── Intent cards ─────────────────────────────────────────────── */
.hp-intent-section{background:#fff}
.hp-intent-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.hp-intent-card{display:flex;flex-direction:column;gap:1rem;padding:1.8rem 1.6rem;border:1.5px solid var(--line);border-radius:var(--radius-lg);text-decoration:none;color:inherit;box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),box-shadow .3s,border-color .3s;background:#fff}
.hp-intent-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.hp-intent-card--sell:hover{border-color:var(--accent)}
.hp-intent-card--buy:hover{border-color:var(--brand)}
.hp-intent-card--explore:hover{border-color:#1a7a4a}
.hp-intent-icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.hp-intent-card--sell .hp-intent-icon{background:rgba(189,6,39,.08)}
.hp-intent-card--sell .hp-intent-icon svg{stroke:var(--accent)}
.hp-intent-card--buy .hp-intent-icon{background:rgba(12,16,109,.08)}
.hp-intent-card--buy .hp-intent-icon svg{stroke:var(--brand)}
.hp-intent-card--explore .hp-intent-icon{background:rgba(26,122,74,.08)}
.hp-intent-card--explore .hp-intent-icon svg{stroke:#1a7a4a}
.hp-intent-icon svg{width:24px;height:24px;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hp-intent-body{flex:1;display:flex;flex-direction:column;gap:.5rem}
.hp-intent-body h3{font-size:1.18rem;color:var(--brand);margin:0}
.hp-intent-body p{font-size:.93rem;color:var(--ink-soft);line-height:1.65;margin:0}
.hp-intent-list{list-style:none;display:flex;flex-direction:column;gap:.3rem;margin-top:.25rem}
.hp-intent-list li{font-size:.84rem;color:var(--ink-soft);padding-left:1.1rem;position:relative}
.hp-intent-list li::before{content:"✓";position:absolute;left:0;color:var(--accent);font-weight:700;font-size:.8rem}
.hp-intent-cta{font-size:.9rem;font-weight:700;color:var(--accent);margin-top:auto;padding-top:.5rem}

/* ── Marina strip ─────────────────────────────────────────────── */
.hp-marina-section{background:var(--tint)}
.hp-marina-inner{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.hp-marina-img{width:100%;max-width:420px;border-radius:var(--radius-lg);object-fit:contain}
.hp-marina-copy h2{margin:.4rem 0 .9rem}
.hp-marina-copy p{font-size:1.02rem;color:var(--ink-soft);line-height:1.74;margin-bottom:1.4rem}
.hp-marina-creds{display:grid;grid-template-columns:1fr 1fr;gap:.6rem .8rem;margin-bottom:1.6rem}
.hp-cred{display:flex;align-items:center;gap:.55rem;font-size:.88rem;font-weight:600;color:var(--brand)}
.hp-cred svg{width:16px;height:16px;flex-shrink:0;stroke:var(--accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ── Featured cities ──────────────────────────────────────────── */
.hp-cities-section{background:#fff}
.hp-cities-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.hp-city-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;color:inherit;box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),box-shadow .3s;background:#fff}
.hp-city-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.hp-city-accent{height:5px;width:100%}
.hp-city-accent--kit{background:linear-gradient(90deg,var(--brand),var(--brand-700))}
.hp-city-accent--wat{background:linear-gradient(90deg,var(--accent),#e8506a)}
.hp-city-accent--cam{background:linear-gradient(90deg,#1a7a4a,#2da865)}
.hp-city-body{padding:1.5rem 1.4rem;flex:1;display:flex;flex-direction:column;gap:.8rem}
.hp-city-name{font-family:"Geologica",sans-serif;font-size:1.3rem;font-weight:700;color:var(--brand)}
.hp-city-desc{font-size:.91rem;color:var(--ink-soft);line-height:1.65;flex:1}
.hp-city-tags{display:flex;flex-wrap:wrap;gap:.35rem}
.hp-city-tags span{font-size:.72rem;font-weight:600;color:var(--brand);background:rgba(12,16,109,.06);border:1px solid rgba(12,16,109,.12);border-radius:100px;padding:.2rem .6rem}
.hp-city-tier{display:flex;align-items:center;gap:.35rem;padding-top:.4rem;border-top:1px solid var(--line)}
.hp-ct-label{font-size:.74rem;color:var(--ink-soft);margin-right:.15rem}
.hp-ct-range{font-size:.78rem;font-weight:600;color:var(--ink-soft);margin-left:.2rem}
.hp-city-link{display:block;padding:.9rem 1.4rem;font-size:.88rem;font-weight:700;color:var(--accent);border-top:1px solid var(--line);transition:background .2s}
.hp-city-card:hover .hp-city-link{background:rgba(12,16,109,.03)}

/* ── Seller / buyer paths ─────────────────────────────────────── */
.hp-path-section{background:#fff}
.hp-path-section.alt{background:var(--tint)}
.hp-path-inner{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(2.5rem,6vw,6rem);align-items:start}
.hp-path-inner--reverse{grid-template-columns:1.2fr 1fr}
.hp-path-inner--reverse .hp-path-copy{order:2}
.hp-path-inner--reverse .hp-path-steps{order:1}
.hp-path-copy h2{margin:.4rem 0 .9rem}
.hp-path-copy p{font-size:1.02rem;color:var(--ink-soft);line-height:1.72;margin-bottom:1.4rem}
.hp-path-steps{list-style:none;display:flex;flex-direction:column;gap:1.4rem}
.hp-path-steps li{display:grid;grid-template-columns:48px 1fr;gap:.75rem 1.1rem;align-items:start}
.hp-step-num{font-family:"Geologica",sans-serif;font-size:1.5rem;font-weight:700;color:var(--accent);line-height:1;padding-top:.1rem}
.hp-step-body h3{font-size:1.05rem;color:var(--brand);margin-bottom:.3rem}
.hp-step-body p{font-size:.92rem;color:var(--ink-soft);line-height:1.65;margin:0}

/* ── Tool teasers ─────────────────────────────────────────────── */
.hp-tools-section{background:var(--tint)}
.hp-tools-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem}
.hp-tool-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:2rem 1.8rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:1.1rem}
.hp-tool-icon{width:48px;height:48px;border-radius:14px;background:rgba(12,16,109,.08);display:flex;align-items:center;justify-content:center}
.hp-tool-icon svg{width:24px;height:24px;stroke:var(--brand);fill:none;stroke-linecap:round;stroke-linejoin:round}
.hp-tool-body{flex:1;display:flex;flex-direction:column;gap:.6rem}
.hp-tool-body h3{font-size:1.2rem;color:var(--brand);margin:0}
.hp-tool-body p{font-size:.93rem;color:var(--ink-soft);line-height:1.68;margin:0}
.hp-tool-preview{margin-top:.5rem;padding:1rem 1.1rem;background:var(--tint);border-radius:var(--radius);border:1px solid var(--line);display:flex;flex-direction:column;gap:.55rem}
.htp-row{display:flex;justify-content:space-between;align-items:center}
.htp-label{font-size:.76rem;color:var(--ink-soft)}
.htp-val{font-family:"Geologica",sans-serif;font-size:.88rem;font-weight:700;color:var(--brand)}
.htp-bar{display:flex;flex-direction:column;gap:.22rem}
.htp-bar span{display:block;height:5px;border-radius:4px;background:linear-gradient(90deg,var(--accent),#e8506a)}
.htp-bar em{font-style:normal;font-size:.7rem;color:var(--ink-soft)}
.hp-tool-preview--matcher{gap:.6rem}
.htp-q{font-size:.8rem;font-weight:700;color:var(--ink)}
.htp-opts{display:flex;gap:.4rem;flex-wrap:wrap}
.htp-opt{font-size:.75rem;padding:.25rem .65rem;border-radius:100px;background:rgba(12,16,109,.06);color:var(--ink-soft);border:1px solid var(--line);font-weight:600}
.htp-opt.selected{background:var(--brand);color:#fff;border-color:var(--brand)}
.htp-match{font-size:.8rem;font-weight:600;color:var(--brand);padding:.4rem .7rem;background:rgba(12,16,109,.06);border-radius:8px}
.htp-match-label{font-weight:400;color:var(--ink-soft);margin-right:.35rem}
.hp-tool-cta{align-self:flex-start;margin-top:auto}

/* ── Proof / served strip ─────────────────────────────────────── */
.hp-proof-section{background:#fff}
.hp-served-strip{margin-top:2.4rem;padding-top:2rem;border-top:1px solid var(--line);display:flex;align-items:center;gap:1.4rem;flex-wrap:wrap}
.hp-served-label{font-size:.74rem;text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:var(--ink-soft);white-space:nowrap}
.hp-served-cities{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;font-size:.9rem;font-weight:600;color:var(--brand);flex:1}
.hp-served-cities span[aria-hidden]{color:var(--line)}
.hp-served-brokerage{font-size:.78rem;color:var(--ink-soft)}

/* ── Final CTA ────────────────────────────────────────────────── */
.hp-final-actions{display:flex;gap:.9rem;flex-wrap:wrap;justify-content:center}

/* ── Responsive ───────────────────────────────────────────────── */
@media(max-width:1020px){
  .hp-cities-grid{grid-template-columns:repeat(2,1fr)}
  .hp-tools-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:980px){
  .hp-hero-grid{grid-template-columns:1fr}
  .home-est-card{order:-1;max-width:480px}
  .hp-intent-grid{grid-template-columns:repeat(2,1fr)}
  .hp-marina-inner{grid-template-columns:1fr}
  .hp-marina-img{max-width:100%}
  .hp-path-inner,.hp-path-inner--reverse{grid-template-columns:1fr}
  .hp-path-inner--reverse .hp-path-copy{order:0}
  .hp-path-inner--reverse .hp-path-steps{order:0}
}
@media(max-width:760px){
  .hp-intent-grid{grid-template-columns:1fr}
  .hp-cities-grid{grid-template-columns:1fr}
  .hp-tools-grid{grid-template-columns:1fr}
  .hp-hero-ctas{flex-direction:column;align-items:flex-start}
  .hp-hero-ctas .btn{width:100%;justify-content:center}
  .hp-hero-ctas .btn-text{width:auto;padding-left:0}
  .hp-marina-creds{grid-template-columns:1fr}
  .hp-final-actions{flex-direction:column;align-items:center}
  .hp-final-actions .btn{width:100%;max-width:320px;justify-content:center}
  .hp-served-strip{flex-direction:column;align-items:flex-start;gap:.75rem}
}
