/* eastbayhomes.com/home-value. House style; everything is scoped to .hv-page because the site's shared
   stylesheet has its own .card and .btn, and Tailwind has its own .blur.
   Breakpoints: phone up to 809px, tablet 810-1199px. */

.hv-page { background: #F5F3EC; color: #163B37; font-family: Inter, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 17px; line-height: 1.6; }
.hv-page section { padding: 72px 0; }
.hv-page h1, .hv-page h2, .hv-page h3 { color: #163B37; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin: 0 0 .5em; }
.hv-page h2 { font-size: 1.9rem; margin-bottom: 24px; }
.hv-page p { color: #596C66; margin: 0 0 1em; }
.hv-page .wrap { margin: 0 auto; max-width: 1080px; padding: 0 24px; }
.hv-page .eyebrow { color: #C0A272; display: block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; margin-bottom: .75em; text-transform: uppercase; }
.hv-page .card { background: #FFFFFF; border: 1px solid #D5DDD4; border-radius: 12px; box-shadow: none; transform: none; }

.hv-page .vhero { padding: 64px 0 48px; }
.hv-page .vrow { align-items: start; display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hv-page .vhero h1 { font-size: 2.8rem; letter-spacing: -0.02em; }
.hv-page .lead { font-size: 1.1rem; }

.hv-page .vform { display: grid; gap: 14px; padding: 24px; }
.hv-page .vform form { display: grid; gap: 14px; }
.hv-page .vform input { background: #FFFFFF; border: 1px solid #D5DDD4; border-radius: 8px; color: #163B37; font: inherit; font-size: 1rem; padding: 12px 14px; width: 100%; }
.hv-page .vform input::placeholder { color: #596C66; }
.hv-page .vform input:focus { border-color: #163B37; outline: 2px solid #C0A272; outline-offset: 1px; }
.hv-page .btn.big { background: #163B37; border: 0; border-radius: 8px; color: #FFFFFF; cursor: pointer; font: inherit; font-size: 1.05rem; font-weight: 600; padding: 16px 24px; width: 100%; }
.hv-page .btn.big:hover { background: #0F2B28; }
.hv-page .fine { font-size: .85rem; margin: 0; text-align: center; }
.hv-page .byline { align-items: center; border-top: 1px solid #D5DDD4; display: flex; gap: 14px; padding-top: 14px; }
.hv-page .byline p { font-size: .88rem; line-height: 1.45; margin: 0; }
.hv-page .byline strong { color: #163B37; }
.hv-page .avatar { border: 1px solid #D5DDD4; border-radius: 50%; flex-shrink: 0; height: 56px; overflow: hidden; width: 56px; }
/* The source photo has the face off-centre: this crop centres it in the circle, same as /buy. */
.hv-page .avatar img { display: block; height: 100%; object-fit: cover; object-position: top; transform: translate(-2%, -11%) scale(1.45); transform-origin: 50% 50%; width: 100%; }

.hv-page .vside { position: sticky; top: 24px; }
.hv-page .report { box-shadow: 0 10px 30px rgba(22, 59, 55, .08); padding: 24px; }
.hv-page .rhead { align-items: center; display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: space-between; margin-bottom: 14px; }
.hv-page .tag { background: #F5F3EC; border: 1px solid #C0A272; border-radius: 999px; color: #8a6f3e; font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: 4px 10px; text-transform: uppercase; white-space: nowrap; }
.hv-page .rdate { color: #596C66; font-size: .8rem; }
.hv-page .raddr { color: #163B37; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 700; margin: 0; }
.hv-page .rsub { font-size: .88rem; margin: 0 0 16px; }
.hv-page .range { background: #F5F3EC; border-radius: 10px; display: flex; flex-direction: column; margin-bottom: 16px; padding: 14px 16px; }
.hv-page .rl { color: #596C66; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hv-page .rv { color: #163B37; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.hv-page .blur { filter: blur(5px); user-select: none; }
.hv-page .comps { border-collapse: collapse; font-size: .88rem; margin-bottom: 16px; width: 100%; }
.hv-page .comps th { border-bottom: 1px solid #D5DDD4; color: #596C66; font-size: .74rem; letter-spacing: .06em; padding: 6px 0; text-align: left; text-transform: uppercase; }
.hv-page .comps td { border-bottom: 1px solid #D5DDD4; color: #163B37; padding: 10px 0; }
.hv-page .comps th:not(:first-child), .hv-page .comps td:not(:first-child) { padding-left: 16px; text-align: right; white-space: nowrap; }
.hv-page .rnote { color: #596C66; display: grid; font-size: .88rem; gap: 2px; }
.hv-page .rnote strong { color: #163B37; }
.hv-page .caption { font-size: .82rem; margin: 12px 0 0; text-align: center; }

.hv-page .how { background: #FFFFFF; border-bottom: 1px solid #D5DDD4; border-top: 1px solid #D5DDD4; }
.hv-page .how .card { background: #F5F3EC; }
.hv-page .hsteps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.hv-page .hsteps .card { padding: 24px; }
.hv-page .hsteps h3 { font-size: 1.15rem; }
.hv-page .hsteps p { font-size: .95rem; margin: 0; }
.hv-page .num { align-items: center; background: #FFFFFF; border: 1px solid #D5DDD4; border-radius: 50%; color: #C0A272; display: inline-flex; font-size: .9rem; font-weight: 700; height: 30px; justify-content: center; margin-bottom: 12px; width: 30px; }

@media (min-width: 810px) and (max-width: 1199px) {
    .hv-page .vhero h1 { font-size: 2.2rem; }
    .hv-page .vrow { gap: 32px; }
}

@media (max-width: 809px) {
    .hv-page section { padding: 48px 0; }
    .hv-page .wrap { padding: 0 16px; }
    .hv-page h2 { font-size: 1.5rem; }
    .hv-page .vhero { padding: 36px 0; }
    .hv-page .vrow { gap: 28px; grid-template-columns: minmax(0, 1fr); }
    .hv-page .vhero h1 { font-size: 1.9rem; }
    .hv-page .vside { position: static; }
    .hv-page .hsteps { grid-template-columns: 1fr; }
}

/* Keeps the price range on one line and the table inside the card on small phones. */
@media (max-width: 420px) {
    .hv-page .vform, .hv-page .report { padding: 18px; }
    .hv-page .btn.big { padding: 16px 12px; white-space: normal; }
    .hv-page .range { padding: 12px; }
    .hv-page .rv { font-size: 1.05rem; }
    .hv-page .comps { font-size: .8rem; }
    .hv-page .comps th:not(:first-child), .hv-page .comps td:not(:first-child) { padding-left: 10px; }
}
