/* =========================================================
   Erick Vargas Real Estate — Homepage layer (Release C, 2026-09-28)
   Loaded ONLY by /index.html, after styles-20260911b.css.
   Other pages never load this file, so nothing here can change them.
   ========================================================= */

:root {
  --home-serif: Georgia, "Times New Roman", Times, serif;
  --home-eyebrow: #8A5B00;          /* gold text dark enough for white backgrounds (5.9:1) */
  --home-card-line: #D7E0E7;
}

/* ---------- Type ---------- */
main h1,
main h2 { font-family: var(--home-serif); font-weight: 700; letter-spacing: -0.01em; }
main h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.12; }

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--home-eyebrow);
}
.eyebrow--on-dark,
.hero .eyebrow { color: var(--gold-500); }

.section--white { background: var(--white); color: var(--ink); }
.section--white .lede { color: var(--muted); }
.section--white .lede a { color: var(--navy-900); font-weight: 700; }

.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-950); color: var(--white); }

/* In-page anchors (#sell, #buy, #pathways) land clear of the sticky header */
.anchor-alias { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + 14px); }
main section[id] { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Hero ---------- */
.hero__scrim { background: rgba(7, 26, 43, 0.68); }
.hero__copy h1 { font-size: clamp(2.1rem, 8.6vw, 2.75rem); line-height: 1.08; }
.hero__copy > p:not(.eyebrow) { font-size: clamp(1.02rem, 2.2vw, 1.2rem); max-width: 38rem; }

.hero-credentials {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hero-credentials li {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

@media (min-width: 1024px) {
  .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }
  .hero__copy { margin-bottom: 0; max-width: none; }
  .hero__copy h1 { font-size: clamp(2.8rem, 4.2vw, 3.8rem); }
  .hero .convert-card { justify-self: end; width: 100%; max-width: 500px; }
}

/* ---------- Proof strip ---------- */
.proof-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0.5rem; }
.proof-strip__item { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 0.75rem 1rem 0; }
.proof-strip__item strong { font-size: 0.95rem; color: var(--navy-900); }
.proof-strip__item span { font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 859px) {
  .proof-strip__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .proof-strip__item:nth-child(even) { padding-left: 0.75rem; }
  .proof-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 860px) {
  .proof-strip__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.5rem; }
  .proof-strip__item { padding: 0 1.25rem; border-right: 1px solid var(--line); }
  .proof-strip__item:first-child { padding-left: 0; }
  .proof-strip__item:last-child { border-right: 0; }
}

/* ---------- Sellers ---------- */
.home-sell { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.sell-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .sell-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }

.sell-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--home-card-line);
  border-top: 4px solid var(--navy-900);
  border-radius: var(--radius-lg);
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.sell-card--primary { border-top-color: var(--gold-500); }
.sell-card:hover { box-shadow: var(--shadow-md); }
.sell-card:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.sell-card__title { font-family: var(--home-serif); font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.2; color: var(--navy-900); }
.sell-card__text { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.sell-card__link { margin-top: 0.35rem; font-weight: 800; color: var(--navy-900); }

/* Future topics: plain text, never buttons or links */
.coming-soon { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; align-items: baseline; font-size: 0.95rem; color: var(--muted); }
.coming-soon__label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.coming-soon--on-dark { color: rgba(255, 255, 255, 0.78); }
.coming-soon--on-dark .coming-soon__label { color: #9FB2C1; }

/* ---------- How a home-value review works ---------- */
.home-steps { padding-top: 0; }
.home-steps__grid { border-top: 1px solid var(--line); padding-top: clamp(2.25rem, 5vw, 4.5rem); display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .home-steps__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 4rem; align-items: start; } }
.home-steps__copy .lede { margin-top: 1rem; }
.home-steps__copy .microcopy { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--muted); }
.home-steps__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.home-steps__list li { display: flex; gap: 1.25rem; padding: 1.4rem 1.5rem; border: 1px solid var(--home-card-line); border-radius: var(--radius-lg); }
.home-steps__num { font-family: var(--home-serif); font-size: 2rem; line-height: 1; color: var(--home-eyebrow); }
.home-steps__list strong { display: block; font-size: 1.05rem; color: var(--navy-900); margin-bottom: 0.25rem; }
.home-steps__list span:not(.home-steps__num) { font-size: 0.95rem; line-height: 1.55; color: var(--muted); }

/* ---------- Buyers (calculator section) ---------- */
.buy-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 768px) { .buy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
.buy-card { display: flex; flex-direction: column; gap: 0.6rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-lg); text-decoration: none; color: var(--white); transition: background 0.15s ease; }
.buy-card:hover { background: rgba(255, 255, 255, 0.05); }
.buy-card:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.buy-card__title { font-family: var(--home-serif); font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 700; color: var(--white); }
.buy-card__text { font-size: 0.975rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.buy-card__link { font-weight: 800; color: var(--gold-500); }

/* ---------- About ---------- */
.meet-erick__body .eyebrow { margin-bottom: 0.5rem; }

/* ---------- Areas ---------- */
.home-areas__head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.home-areas__head .section-head { margin-bottom: 0; }
.home-areas__head .btn { align-self: flex-start; }
@media (min-width: 860px) { .home-areas__head { flex-direction: row; justify-content: space-between; align-items: flex-end; } .home-areas__head .btn { align-self: auto; flex-shrink: 0; } }
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 860px) { .area-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.area-tile { display: flex; flex-direction: column; border: 1px solid var(--home-card-line); border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: var(--navy-900); background: var(--white); }
a.area-tile:hover { box-shadow: var(--shadow-md); }
a.area-tile:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.area-tile img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.area-tile__name { padding: 0.8rem 0.9rem 0.85rem; font-weight: 800; font-size: 1rem; }
.area-tile--split .area-tile__name { padding-bottom: 0.2rem; }
.area-tile__links { display: flex; gap: 1rem; padding: 0 0.9rem 0.7rem; }
.area-tile__links a { display: inline-block; padding: 0.35rem 0; font-size: 0.9rem; font-weight: 700; color: var(--navy-900); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 860px) { .area-tile__name { font-size: 1.05rem; padding: 1rem 1.1rem; } .area-tile__links { padding: 0 1.1rem 0.9rem; } }
@media (max-width: 599px) {
  .coming-soon { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
  .coming-soon > span[aria-hidden="true"] { display: none; }
}
