/* =========================================================
   Lance McHan · Cornerstone Real Estate Group
   Design system — Central Valley real estate
   Ink navy + warm clay accent, Fraunces / Inter
   ========================================================= */

:root {
  /* Brand */
  --ink:        #13293d;
  --ink-800:    #1b3a54;
  --ink-700:    #27506e;
  --ink-200:    #c3d2de;

  /* Accent — reserved for actions only */
  --clay:       #b6441b;
  --clay-dark:  #94350f;
  --clay-tint:  #fbeee8;

  /* Neutrals */
  --paper:      #ffffff;
  --sand:       #f7f4ef;
  --sand-deep:  #efe9e0;
  --line:       #e2dbd1;
  --body:       #3d4a55;
  --muted:      #5d6b77;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Space & shape */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(19, 41, 61, .08), 0 2px 8px rgba(19, 41, 61, .05);
  --shadow-md: 0 8px 28px rgba(19, 41, 61, .11);
  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.0625rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--ink-700); text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .85rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 950px; }
.section { padding-block: clamp(3.25rem, 7vw, 5.75rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #dce5ec; }
.section--ink h2, .section--ink h3 { color: #fff; }
/* White cards inside a dark band keep dark type. */
.section--ink .formcard,
.section--ink .card,
.section--ink .review { color: var(--body); }
.section--ink .formcard h2,
.section--ink .formcard h3,
.section--ink .card h3,
.section--ink .review cite { color: var(--ink); }
.section--ink .formcard .lede,
.section--ink .formcard p { color: var(--muted); }
.section--ink .formcard .eyebrow { color: var(--clay-dark); }
.section--ink .stat-row a,
.section--ink .lede a,
.section--ink p a { color: #f0b89a; }
.section--ink .formcard a { color: var(--ink-700); }
.section--rule { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay-dark); margin: 0 0 .85rem;
}
.section--ink .eyebrow { color: #e9a383; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--ink .lede { color: #bccbd8; }

.head-block { max-width: 60ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.head-block--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .78rem 1.5rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 650;
  letter-spacing: .005em; text-decoration: none; cursor: pointer;
  border-radius: var(--r-md); border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--clay); color: #fff; border-color: var(--clay); }
.btn--primary:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink-200); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section--ink .btn--ghost,
.hero .btn--ghost,
.pagehead .btn--ghost,
.calc__out .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.section--ink .btn--ghost:hover,
.hero .btn--ghost:hover,
.pagehead .btn--ghost:hover,
.calc__out .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
/* …but a ghost button sitting on a white card inside a dark band stays dark. */
.section--ink .formcard .btn--ghost { color: var(--ink); border-color: var(--ink-200); }
.section--ink .formcard .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--sand-deep); border-color: var(--sand-deep); color: var(--ink); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .94rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; color: var(--ink-700); text-decoration: none;
  border-bottom: 2px solid var(--ink-200); padding-bottom: 2px;
  min-height: 24px;
}
.textlink:hover { color: var(--clay-dark); border-color: var(--clay); }
.textlink::after { content: "\2192"; transition: transform .18s ease; }
.textlink:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; margin-right: auto; min-height: 48px; }
.brand img { height: 34px; width: auto; }
@media (min-width: 900px) { .brand img { height: 40px; } }
.brand__sub {
  display: none; font-size: .68rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
  border-left: 1px solid var(--line); padding-left: .85rem; line-height: 1.35; max-width: 11ch;
}
@media (min-width: 1040px) { .brand__sub { display: block; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; min-width: 44px; padding: .5rem .8rem;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-md);
  font: inherit; font-size: .9rem; font-weight: 650; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.header-cta { display: none; }
@media (min-width: 1100px) { .header-cta { display: inline-flex; } }

.header-tel {
  display: none; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--ink); text-decoration: none; font-size: .97rem;
  min-height: 44px; padding-inline: .3rem;
}
.header-tel:hover { color: var(--clay-dark); }
@media (min-width: 760px) { .header-tel { display: inline-flex; } }

/* Nav */
.nav { }
@media (max-width: 1099px) {
  .nav {
    display: none;
    border-top: 1px solid var(--line);
    padding-block: .75rem 1.5rem;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav__list { list-style: none; margin: 0; padding: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li:last-child { border-bottom: 0; }
  .nav__link, .nav__disclosure {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    width: 100%; min-height: 50px; padding: .75rem .25rem;
    font: inherit; font-size: 1rem; font-weight: 650; color: var(--ink);
    background: none; border: 0; text-decoration: none; text-align: left; cursor: pointer;
  }
  .nav__panel { list-style: none; margin: 0 0 .65rem; padding: 0 0 0 .9rem; display: none; }
  .nav__panel.is-open { display: block; }
  .nav__panel a {
    display: flex; align-items: center; min-height: 46px;
    color: var(--muted); text-decoration: none; font-size: .97rem; font-weight: 500;
  }
  .nav__panel a:hover { color: var(--clay-dark); }
  .nav__mobile-cta { margin-top: 1.1rem; display: grid; gap: .6rem; }
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav__mobile-cta { display: none; }
  .nav { display: block; }
  .nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
  .nav__list > li { position: relative; margin: 0; }
  .nav__link, .nav__disclosure {
    display: inline-flex; align-items: center; gap: .3rem;
    min-height: 44px; padding: .4rem .62rem;
    font: inherit; font-size: .925rem; font-weight: 600; color: var(--ink);
    background: none; border: 0; cursor: pointer; text-decoration: none;
    border-radius: var(--r-sm); white-space: nowrap;
  }
  .nav__link:hover, .nav__disclosure:hover { color: var(--clay-dark); background: var(--sand); }
  .nav__link[aria-current="page"] { color: var(--clay-dark); box-shadow: inset 0 -2px 0 var(--clay); }
  .nav__caret { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.2; }
  .nav__panel {
    position: absolute; top: calc(100% + 4px); left: 0; z-index: 80;
    list-style: none; margin: 0; padding: .45rem;
    min-width: 232px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__panel.is-open { display: block; }
  .nav__panel li { margin: 0; }
  .nav__panel a {
    display: block; padding: .6rem .7rem; min-height: 44px;
    font-size: .92rem; font-weight: 550; color: var(--body); text-decoration: none;
    border-radius: var(--r-sm); line-height: 1.5;
  }
  .nav__panel a:hover { background: var(--sand); color: var(--clay-dark); }
}

/* Sticky mobile action bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .5rem .6rem calc(.5rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 18px rgba(19,41,61,.08);
}
.mobile-bar .btn { min-height: 48px; font-size: .95rem; padding-inline: .5rem; }
@media (min-width: 760px) { .mobile-bar { display: none; } }
body { padding-bottom: 0; }
@media (max-width: 759px) { body { padding-bottom: 72px; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #e4ebf1; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,22,34,.95) 0%, rgba(11,29,45,.88) 42%, rgba(11,29,45,.52) 100%),
    linear-gradient(to top, rgba(8,22,34,.6), rgba(8,22,34,0) 55%);
}
.hero__inner { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: end; } }
.hero h1 { color: #fff; max-width: 17ch; }
.hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #c6d4e0; max-width: 54ch; margin-bottom: 1.9rem; }
.hero .eyebrow { color: #eda784; }
.hero__card .eyebrow { color: var(--clay-dark); }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: .5rem .55rem; margin-top: 2rem; padding: 0; list-style: none;
}
.hero__trust li {
  margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: .42rem .8rem; border: 1px solid rgba(255,255,255,.28); border-radius: 100px; color: #d5e1ea;
}
.hero__card {
  background: #fff; color: var(--body);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-md);
}
.hero__card h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.hero__card p { font-size: .95rem; color: var(--muted); }

/* ---------- Page banner (inner pages) ---------- */
.pagehead { background: var(--ink); color: #cfdbe5; position: relative; overflow: hidden; }
.pagehead__media { position: absolute; inset: 0; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.pagehead::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(8,22,34,.95) 0%, rgba(11,29,45,.86) 45%, rgba(11,29,45,.6) 100%);
}
.pagehead__inner { position: relative; z-index: 1; padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.pagehead h1 { color: #fff; max-width: 20ch; }
.pagehead p { color: #c0cfdb; max-width: 60ch; font-size: clamp(1rem, 1.5vw, 1.12rem); margin-bottom: 0; }
.pagehead .eyebrow { color: #eda784; }

.crumbs { font-size: .875rem; color: #adc0ce; margin-bottom: 1rem; }
.crumbs a { color: #cfdce6; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.crumbs a:hover { color: #fff; }
.crumbs span { padding-inline: .45rem; }

/* ---------- Listing cards ---------- */
.listing-grid {
  display: grid; gap: clamp(1.1rem, 2.4vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  list-style: none; margin: 0; padding: 0;
}
.listing-grid li { margin: 0; }
.card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--ink-200); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 3 / 2; background: var(--sand-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__flag {
  position: absolute; top: .7rem; left: .7rem;
  background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .32rem .62rem; border-radius: var(--r-sm);
}
.card__flag--open { background: var(--clay); }
.card__flag--sold { background: #2f6b4f; }
.card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card__price { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1; }
.card__price small { display: block; font-family: var(--sans); font-size: .825rem; font-weight: 600; color: var(--muted); margin-top: .3rem; letter-spacing: .02em; }
.card__title { font-size: 1.02rem; font-family: var(--sans); font-weight: 650; line-height: 1.4; margin: 0; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--clay-dark); }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__specs {
  display: flex; flex-wrap: wrap; gap: .35rem .7rem; list-style: none; margin: 0; padding: 0;
  font-size: .89rem; color: var(--body); font-weight: 600;
}
.card__specs li { margin: 0; }
.card__specs li + li::before { content: "·"; margin-right: .7rem; color: var(--line); }
.card__meta { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.card__meta strong { display: block; color: var(--body); font-weight: 600; }
.card__mls { height: 22px; width: auto; margin-top: .55rem; opacity: .75; }

.price-cut { color: #2f6b4f; font-weight: 700; }
.price-was { text-decoration: line-through; color: var(--muted); font-weight: 500; }

/* ---------- Communities ---------- */
.tile-grid {
  display: grid; gap: clamp(.85rem, 2vw, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  list-style: none; margin: 0; padding: 0;
}
.tile-grid li { margin: 0; }
.tile {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-lg); aspect-ratio: 4 / 3;
  text-decoration: none; background: var(--ink);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; opacity: .72; }
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,37,.88) 8%, rgba(10,25,37,.1) 65%);
}
.tile__label {
  position: absolute; left: 1rem; right: 1rem; bottom: .95rem; z-index: 2;
  color: #fff; font-family: var(--display); font-size: 1.22rem; font-weight: 600; line-height: 1.2;
}
.tile__label small { display: block; font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #e7b79f; margin-top: .25rem; }

/* ---------- Services (varied layouts) ---------- */
.split {
  display: grid; gap: clamp(1.75rem, 4vw, 3.25rem); align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
  .split--flip > :first-child { order: 2; }
}
.split__media img { border-radius: var(--r-lg); width: 100%; object-fit: cover; }

.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.svc {
  display: grid; gap: .35rem 1.5rem; padding: clamp(1.35rem, 3vw, 1.9rem) 0;
  border-top: 1px solid var(--line); margin: 0;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .svc { grid-template-columns: 7.5rem 1fr auto; align-items: start; } }
.svc__num {
  font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--clay-dark);
  letter-spacing: .08em;
}
.svc__title { font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--ink); margin: 0 0 .4rem; }
.svc__text { margin: 0; color: var(--muted); max-width: 58ch; }
.svc__cta { align-self: center; }
@media (max-width: 819px) { .svc__cta { margin-top: .9rem; } }

.stat-row {
  display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.stat-row li { margin: 0; padding: 1.15rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.section--ink .stat-row li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.17); }
.stat-row strong { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--ink); margin-bottom: .2rem; line-height: 1.2; }
.section--ink .stat-row strong { color: #fff; }
.stat-row span { font-size: .9rem; color: var(--muted); }
.section--ink .stat-row span { color: #b6c6d4; }

/* ---------- Callout band ---------- */
.band {
  background: var(--clay); color: #fff;
  border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid; gap: 1.4rem; align-items: center;
}
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; gap: 2.5rem; } }
.band h2 { color: #fff; margin-bottom: .4rem; }
.band p { color: #fdf0ea; margin: 0; max-width: 58ch; }

/* ---------- Reviews ---------- */
.reviews {
  display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.reviews li { margin: 0; }
.review {
  height: 100%; display: flex; flex-direction: column; gap: 1rem;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--clay);
  border-radius: var(--r-md); padding: 1.4rem 1.5rem;
}
.review blockquote { margin: 0; font-size: 1rem; color: var(--body); line-height: 1.6; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.review cite { font-style: normal; font-weight: 700; color: var(--ink); }
.review img { height: 20px; width: auto; }

/* ---------- Forms ---------- */
.formcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.35rem, 3vw, 2.1rem); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; gap: 1.05rem; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid--2 .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .35rem; }
.field > label { font-size: .88rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.field .hint { font-size: .8rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2313293d' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink-700); }
.field input::placeholder, .field textarea::placeholder { color: #93a1ad; }
.form-note { font-size: .875rem; color: var(--muted); margin: 0; }

.form-status {
  display: none; gap: .7rem; align-items: flex-start;
  background: #eef7f1; border: 1.5px solid #9ccbb2; border-left: 4px solid #2f6b4f;
  color: #1d4834; border-radius: var(--r-md); padding: .95rem 1.1rem; margin-bottom: 1.25rem;
  font-size: .97rem; font-weight: 600;
}
.form-status.is-visible { display: flex; }
.form-status--error { background: #fdf0ec; border-color: #e3a992; border-left-color: var(--clay); color: #7d2c0d; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.contact-list li { margin: 0; display: grid; gap: .15rem; }
.contact-list dt, .contact-list .k {
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--clay-dark);
}
.section--ink .contact-list .k { color: #e9a383; }
.contact-list .v { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.section--ink .contact-list .v { color: #fff; }
.contact-list .v a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: inherit; text-decoration: none; border-bottom: 1px solid var(--ink-200);
}
.section--ink .contact-list .v a { border-color: rgba(255,255,255,.4); }
.contact-list .v a:hover { color: var(--clay-dark); }
.section--ink .contact-list .v a:hover { color: #f0b89a; }

/* ---------- Agent card ---------- */
.agent {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
@media (min-width: 860px) { .agent { grid-template-columns: minmax(230px, 330px) 1fr; } }
.agent__photo { border-radius: var(--r-lg); overflow: hidden; background: var(--sand-deep); }
.agent__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.agent__license { font-size: .85rem; color: var(--muted); letter-spacing: .02em; }
.section--ink .agent__license { color: #a9bccb; }

.social { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.social li { margin: 0; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: .5rem;
  border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--ink); text-decoration: none;
}
.social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.social svg { width: 19px; height: 19px; fill: currentColor; }
.section--ink .social a { border-color: rgba(255,255,255,.3); color: #dbe5ed; }
.section--ink .social a:hover { background: #fff; color: var(--ink); }
.site-footer .social a { border-color: rgba(255,255,255,.22); color: #c7d4df; }
.site-footer .social a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.badges li { margin: 0; }
.badges img { height: 52px; width: auto; }
.badges--footer img { height: 46px; }
.badges--footer { filter: none; }

/* ---------- Quick search chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0; padding: 0; }
.chips li { margin: 0; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600;
}
.chips a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.25rem; }
.prose h3 { margin-top: 1.75rem; }
.prose > :first-child { margin-top: 0; }
.prose ul li { margin-bottom: .55rem; }

/* ---------- Spec table (listing detail) ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spec-table th, .spec-table td { text-align: left; padding: .85rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 46%; font-weight: 650; color: var(--ink); }
.spec-table td { color: var(--body); }

.detail-photo {
  width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line);
  aspect-ratio: 3 / 2; object-fit: cover; background: var(--sand-deep);
}

.pricebox {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.25rem;
  padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.pricebox .amount { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 2.9rem); color: var(--ink); font-weight: 600; line-height: 1; }
.pricebox .tag {
  font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: var(--r-sm); background: var(--clay-tint); color: var(--clay-dark);
}

/* ---------- Calculator ---------- */
.calc { display: grid; gap: clamp(1.5rem, 3.5vw, 2.5rem); }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; align-items: start; } }
.calc__out {
  background: var(--ink); color: #dce6ee; border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.calc__total { font-family: var(--display); font-size: clamp(2.1rem, 5vw, 3rem); color: #fff; line-height: 1; margin: .2rem 0 .3rem; font-weight: 600; }
.calc__total-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #eda784; font-weight: 700; }
.calc__rows { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.calc__rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.16); font-size: .95rem; margin: 0; }
.calc__rows span:last-child { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b7c7d4; padding-block: clamp(2.75rem, 6vw, 4rem) 0; }
.footer-top { display: grid; gap: clamp(1.75rem, 4vw, 2.75rem); }
@media (min-width: 880px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand > img { height: 76px; width: auto; margin-bottom: 1.15rem; background: #fff; padding: .6rem .85rem; border-radius: var(--r-md); }
.footer-col h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #eda784; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .1rem; }
.footer-col a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #c3d1dc; text-decoration: none; font-size: .94rem;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-review {
  display: inline-flex !important; align-items: center; gap: .5rem;
  margin-top: .65rem; padding: .62rem 1.05rem; min-height: 46px;
  background: var(--clay); color: #fff !important; border-radius: var(--r-md);
  font-weight: 700; font-size: .94rem; text-decoration: none !important;
}
.footer-review:hover { background: var(--clay-dark); }
.footer-contact { font-size: .95rem; line-height: 1.75; }
.footer-contact a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3);
}
.footer-contact a:hover { color: #f0b89a; }
.footer-badges {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem;
  list-style: none; margin: 2.75rem 0 0; padding: 1.75rem 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-badges li { margin: 0; }
.footer-badges img { height: 48px; width: auto; background: #fff; padding: .35rem .5rem; border-radius: var(--r-sm); }
.footer-legal {
  margin-top: 2rem; padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; color: #9cb0bf; line-height: 1.7;
}
.footer-legal p { margin-bottom: .75rem; }
.footer-legal p:last-child { margin-bottom: 0; }
.footer-legal a { color: #c3d1dc; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.flow > * + * { margin-top: 1.1rem; }
