/* ============================================================
   Meridian Row — Prime London Real Estate
   Shared stylesheet. Self-contained: no external fonts or assets.

   >>> ALL COMPANY DETAILS ARE IN ONE PLACE: the <footer> block and
   >>> the contact page. Search the HTML for "COMPANY-DETAILS" to swap.
   ============================================================ */

:root {
  --ink:        #14181f;
  --ink-2:      #3d4550;
  --muted:      #7a8391;
  --line:       #e2e0da;
  --paper:      #ffffff;
  --paper-2:    #faf8f4;
  --navy:       #131b2b;
  --navy-2:     #1e2a41;
  --gold:       #a98545;
  --gold-soft:  #f3ecdf;
  --maxw:       1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: normal; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); line-height: 1.18; }
h3 { font-size: 1.18rem; line-height: 1.3; }
p  { margin: 0 0 1.05em; }
.eyebrow {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .69rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px; font-weight: 600;
}
.eyebrow.on-dark { color: #cba876; }
.lead { font-size: 1.16rem; color: var(--ink-2); }
.sans { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }
.logo { text-decoration: none; display: block; }
.logo .name {
  font-size: 1.16rem; letter-spacing: .3em; text-transform: uppercase; line-height: 1;
}
.logo .tag {
  font-family: system-ui, sans-serif; font-size: .54rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}
nav.main { display: flex; gap: 34px; align-items: center; }
nav.main a {
  font-family: system-ui, sans-serif; font-size: .76rem; letter-spacing: .15em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-2);
  padding: 6px 0; border-bottom: 1.5px solid transparent;
}
nav.main a:hover { color: var(--ink); border-bottom-color: var(--gold); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 92px; }
.hero h1 { max-width: 17ch; }
.hero p { max-width: 54ch; color: #c3c9d4; font-size: 1.13rem; margin-top: 20px; }
.hero-art { position: absolute; inset: 0; z-index: 1; opacity: .5; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: system-ui, sans-serif; font-size: .76rem;
  letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
  padding: 15px 30px; border: 1px solid var(--gold); color: var(--gold);
  transition: background .18s, color .18s;
}
.btn:hover { background: var(--gold); color: #fff; }
.btn.solid { background: var(--gold); color: #fff; }
.btn.solid:hover { background: #8e6d33; border-color: #8e6d33; }
.btn.dark { border-color: var(--ink); color: var(--ink); }
.btn.dark:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- sections ---------- */
section { padding: 78px 0; }
section.alt { background: var(--paper-2); }
section.dark { background: var(--navy); color: #fff; }
section.dark p { color: #c3c9d4; }
.section-head { max-width: 62ch; margin-bottom: 44px; }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--paper); padding: 26px 22px; }
.stat .v { font-size: 2rem; line-height: 1.05; letter-spacing: -.02em; }
.stat .k {
  font-family: system-ui, sans-serif; font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-top: 9px; line-height: 1.5;
}

/* ---------- generic grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }

.card { border: 1px solid var(--line); background: var(--paper); }
.card .body { padding: 26px 24px 28px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .96rem; color: var(--ink-2); margin-bottom: 0; }

/* area plate (SVG-backed, no photography) */
.plate { aspect-ratio: 4 / 3; background: var(--navy-2); position: relative; }
.plate svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate .label {
  position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #fff;
  font-size: 1.3rem; letter-spacing: .04em;
}
.plate .label small {
  display: block; font-family: system-ui, sans-serif; font-size: .6rem;
  letter-spacing: .2em; text-transform: uppercase; color: #b9a172; margin-top: 5px;
}

/* ---------- property list ---------- */
.prop {
  display: grid; grid-template-columns: 190px 1fr 200px; gap: 32px;
  border-top: 1px solid var(--line); padding: 30px 0; align-items: start;
}
.prop:last-of-type { border-bottom: 1px solid var(--line); }
.prop .ref {
  font-family: system-ui, sans-serif; font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.prop .addr { font-size: 1.28rem; line-height: 1.25; margin: 7px 0 0; }
.prop .area-tag { font-family: system-ui, sans-serif; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.prop .desc { font-size: .97rem; color: var(--ink-2); margin: 0 0 12px; }
.prop .facts { display: flex; gap: 22px; flex-wrap: wrap; font-family: system-ui, sans-serif; font-size: .76rem; color: var(--muted); }
.prop .facts b { color: var(--ink); font-weight: 600; }
.prop .price { text-align: right; }
.prop .price .n { font-size: 1.5rem; letter-spacing: -.02em; }
.prop .price .usd { font-family: system-ui, sans-serif; font-size: .74rem; color: var(--muted); margin-top: 4px; }
.prop .price .src { font-family: system-ui, sans-serif; font-size: .66rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.prop .price a { color: var(--gold); }

/* ---------- notice ---------- */
.notice {
  border-left: 3px solid var(--gold); background: var(--gold-soft);
  padding: 20px 24px; font-size: .97rem; color: #4a3d24;
}
.notice strong { color: #6b5320; }

/* ---------- contact ---------- */
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { border-bottom: 1px solid var(--line); padding: 17px 0; display: flex; gap: 22px; }
.detail-list .k {
  font-family: system-ui, sans-serif; font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); width: 128px; flex: none; padding-top: 5px;
}
.detail-list .v { font-size: 1.02rem; }
.detail-list a { color: var(--ink); }

form label {
  display: block; font-family: system-ui, sans-serif; font-size: .64rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
form input, form select, form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: var(--paper);
  font-family: Georgia, serif; font-size: 1rem; color: var(--ink); margin-bottom: 20px;
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
form textarea { min-height: 128px; resize: vertical; }
form button {
  font-family: system-ui, sans-serif; font-size: .76rem; letter-spacing: .15em;
  text-transform: uppercase; padding: 15px 34px; border: 1px solid var(--gold);
  background: var(--gold); color: #fff; cursor: pointer;
}
form button:hover { background: #8e6d33; border-color: #8e6d33; }

/* ---------- footer ---------- */
footer.site { background: var(--navy); color: #aeb6c4; padding: 62px 0 104px; font-size: .9rem; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 46px; }
footer.site .name { color: #fff; font-size: 1.1rem; letter-spacing: .3em; text-transform: uppercase; }
footer.site .tag { font-family: system-ui, sans-serif; font-size: .54rem; letter-spacing: .3em; text-transform: uppercase; color: #7d879a; margin-top: 6px; }
footer.site h4 {
  font-family: system-ui, sans-serif; font-size: .62rem; letter-spacing: .18em;
  text-transform: uppercase; color: #fff; margin: 0 0 15px; font-weight: 600;
}
footer.site a { color: #aeb6c4; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 9px; }
.legal {
  border-top: 1px solid rgba(255,255,255,.13); margin-top: 44px; padding-top: 22px;
  font-family: system-ui, sans-serif; font-size: .68rem; color: #7d879a; line-height: 1.7;
}

/* ---------- floating WhatsApp button ---------- */
.wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; text-decoration: none;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  box-shadow: 0 6px 22px rgba(0,0,0,.24);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.wa:hover { background: #1eb855; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.wa:focus-visible { outline: 3px solid #0b0b0b; outline-offset: 3px; }
.wa svg { width: 24px; height: 24px; fill: #fff; flex: none; }

@media (max-width: 560px) {
  .wa { right: 16px; bottom: 16px; padding: 14px; gap: 0; }
  .wa span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa { transition: none; }
  .wa:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .prop { grid-template-columns: 1fr; gap: 14px; }
  .prop .price { text-align: left; }
  footer.site .cols { grid-template-columns: 1fr; gap: 32px; }
  nav.main { gap: 20px; }
  nav.main a { font-size: .68rem; letter-spacing: .1em; }
  .bar { height: auto; padding: 18px 0; flex-direction: column; align-items: flex-start; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
