/* ==========================================================================
   Serramonte Home — 102 Lycett Circle, Daly City
   Shared stylesheet for all three pages.
   Design system: sage green structure, wine headlines, lavender-cream paper.
   ========================================================================== */

:root {
  --sage: #4a6741;
  --sage-dark: #33482f;
  --sage-soft: #e8f0e8;
  --wine: #3d2a35;
  --wine-soft: #6b4551;
  --body-text: #5a4a52;
  --cream: #f7f3f0;
  --white: #ffffff;
  --card-lavender: #e8e4f0;
  --card-pink: #f0e4ea;
  --card-blue: #e4edf0;
  --line: rgba(0, 0, 0, 0.08);
  --shadow: 0 2px 18px rgba(61, 42, 53, 0.07);
  --shadow-lift: 0 10px 34px rgba(61, 42, 53, 0.13);
  --wrap: 1280px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--sage); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--wine);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; line-height: 1.35; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 500; color: var(--wine); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 900px) {
  .wrap { padding: 0 2rem; }
}

.label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sage);
  margin: 0 0 0.9rem;
}

.center { text-align: center; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  border-radius: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: #fff;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, background 0.2s ease-out;
  cursor: pointer;
}

.btn:hover { opacity: 0.88; }
.btn:active { transform: translateY(1px); }

.btn--outline {
  background: transparent;
  color: var(--sage);
}
.btn--outline:hover { background: rgba(74, 103, 65, 0.08); opacity: 1; }

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--wine);
}
.btn--light:hover { opacity: 0.9; }

.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); opacity: 1; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.85rem;
}
.btn-row.is-centered { justify-content: center; }

/* ------------------------------------------------------------------- nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sage);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.16);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 72px;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  flex: none;
}

.brand-text {
  display: block;
  line-height: 1.15;
}

.brand-text b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-text span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 400;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease-out, border-color 0.2s ease-out;
}

.nav-links a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.7); }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }

.nav-call {
  display: none;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--wine);
  background: #fff;
  border-radius: 0.4rem;
  padding: 0.6rem 1.15rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s ease-out;
}
.nav-call:hover { opacity: 0.86; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-call { display: inline-block; }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: var(--sage-dark);
  background-size: cover;
  background-position: center;
  padding: 6rem 0 3rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 55%,
    rgba(0, 0, 0, 0.74) 100%);
}

.hero > .wrap { position: relative; z-index: 2; }

.hero--property { background-image: url("/assets/img/hero-property.webp"); }
.hero--neighborhood { background-image: url("/assets/img/hero-neighborhood.webp"); }
.hero--city { background-image: url("/assets/img/hero-city.webp"); }

.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  max-width: 46rem;
}

.hero .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.1rem;
}

.status-pill {
  display: inline-block;
  background: var(--cream);
  color: var(--wine);
  border-radius: 999px;
  padding: 0.44rem 1.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

.hero-note {
  margin-top: 1.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  max-width: 40rem;
}

/* -------------------------------------------------------------- stats bar */

.stats {
  background: var(--sage);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.stats-grid > div {
  background: var(--sage);
  padding: 1.5rem 1.25rem;
}

.stats-grid dt {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.5rem;
}

.stats-grid dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  color: #fff;
}

.stats-grid dd small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 0.3rem;
}

@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------------------------------------------------------------- notice */

.notice {
  background: var(--wine);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.35rem 0;
}

.notice .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1.4rem;
}

.notice strong {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.notice p { margin: 0; font-size: 0.95rem; }

/* --------------------------------------------------------------- section */

.section { padding: 4.5rem 0; }
.section--tight { padding: 3.25rem 0; }
.section--paper { background: var(--cream); }
.section--white { background: var(--white); }

.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; }

.lede { font-size: 1.12rem; }

.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: start; }
}

/* ----------------------------------------------------------------- cards */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.9rem 1.75rem;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; line-height: 1.7; margin: 0; }

.card--sage { background: var(--sage-soft); }
.card--lavender { background: var(--card-lavender); }
.card--pink { background: var(--card-pink); }
.card--blue { background: var(--card-blue); }

.card-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sage);
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.card--sage .card-num { color: var(--sage-dark); }

/* ------------------------------------------------------------ facts table */

.facts {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  overflow: hidden;
  font-size: 0.95rem;
}

.facts caption {
  caption-side: top;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  padding-bottom: 0.9rem;
  font-weight: 500;
}

.facts th,
.facts td {
  text-align: left;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts tr:last-child th,
.facts tr:last-child td { border-bottom: 0; }

.facts th {
  font-weight: 500;
  color: var(--wine);
  width: 42%;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.facts td { font-size: 0.92rem; }

.facts .per-owner {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(90, 74, 82, 0.72);
  margin-top: 0.25rem;
}

/* ------------------------------------------------------------ disclosures */

.verify {
  background: var(--sage-soft);
  border: 1px solid rgba(74, 103, 65, 0.28);
  border-left: 4px solid var(--sage);
  border-radius: 0.5rem;
  padding: 1.6rem 1.75rem;
}

.verify h3 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}

.verify p,
.verify li { font-size: 0.9rem; line-height: 1.7; }

.verify ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.verify li { margin-bottom: 0.4rem; }

/* ------------------------------------------------- gallery placeholders */

.gallery {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

.ph {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.6rem 1.4rem 1.5rem;
  text-align: center;
}

.ph svg { width: 54px; height: 54px; margin: 0 auto 0.9rem; display: block; }
.ph b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--wine);
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
}
.ph span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(90, 74, 82, 0.72);
}

.illustration-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(90, 74, 82, 0.85);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

/* ---------------------------------------------------------------- quote */

.quote {
  background: var(--sage-soft);
  padding: 4rem 0;
  text-align: center;
}

.quote blockquote {
  margin: 0 auto;
  max-width: 46rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--wine);
}

.quote cite {
  display: block;
  margin-top: 1.35rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* ----------------------------------------------------------- glance grid */

.glance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2.25rem;
}

@media (min-width: 820px) { .glance { grid-template-columns: repeat(4, 1fr); } }

.glance dt {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.4rem;
}

.glance dd {
  margin: 0;
  font-size: 0.98rem;
  color: var(--wine);
  font-weight: 400;
  line-height: 1.5;
}

/* ---------------------------------------------------------------- lists */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sage);
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.link-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.link-list li:last-child { border-bottom: 0; }

/* ------------------------------------------------------------------- CTA */

.cta {
  background: var(--sage);
  color: #fff;
  padding: 4.5rem 0;
}

.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.88); max-width: 42rem; }
.cta .label { color: rgba(255, 255, 255, 0.75); }
.cta.center p { margin-left: auto; margin-right: auto; }

.agent-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.65rem;
  padding: 1.75rem;
}

.agent-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.agent-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.86); }

.agent-card dl { margin: 1.2rem 0 0; font-size: 0.88rem; }

.agent-card dl > div {
  display: flex;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.agent-card dt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex: 0 0 6.2rem;
  padding-top: 0.22rem;
}

.agent-card dd { margin: 0; color: #fff; }
.agent-card a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- footer */

.site-footer {
  background: var(--wine);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.82rem;
  line-height: 1.75;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.footer-top {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.site-footer a { color: rgba(255, 255, 255, 0.9); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

.disc { margin-top: 1.9rem; }
.disc p { margin: 0 0 0.75rem; }

.disclosure-list {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.disclosure-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
}

.disclosure-list li::before {
  content: "·";
  position: absolute;
  left: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.2rem;
  line-height: 1.4;
}

.equal-housing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.equal-housing svg { width: 34px; height: 34px; flex: none; }

.footer-legal {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------- utility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: var(--wine);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 0.4rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .card:hover { transform: none; }
}
