/* West Property Construction — extracted verbatim from the legacy inline
   <style> blocks (legacy/snapshot/) during the 2026-08 fleet port. The
   home-page rules come first; 404-only rules are scoped under body.page-404
   at the end. Keep brand tokens in :root. */

/* Self-hosted Montserrat (fleet rule: never Google Fonts). Single
   variable-font latin subset covering wght 400-900 — the same file Google
   served for every weight the legacy CDN link requested. Preloaded in
   base.njk. Glyphs outside the latin ranges (✓ ↗) fall back to the system
   stack, exactly as they did on the CDN's latin subset. */
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:400 900;
  font-display:swap;
  src:url('/fonts/montserrat-latin-wght.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --teal:#005d74;         /* Brand primary (dominant) */
  --teal-deep:#00475a;    /* Deep teal for dark sections */
  --teal-deeper:#00303d;  /* Deepest teal for footer */
  --maroon:#6A0233;       /* Brand accent — a pop of color only */
  --maroon-hover:#520227;
  --gray:#6E7072;         /* Brand primary text gray */
  --gray-light:#f4f5f4;
  --ink:#20241f;
  --line:#e2e5e1;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:var(--ink);
  line-height:1.6;
  background:#fff;
}
a{color:inherit;text-decoration:none}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.btn{
  display:inline-block;font-weight:700;letter-spacing:.02em;
  padding:14px 26px;border-radius:6px;font-size:15px;cursor:pointer;border:none;
  transition:transform .15s ease, background .15s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--maroon);color:#fff}
.btn-primary:hover{background:var(--maroon-hover)}
.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.55)}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.btn-lg{padding:17px 34px;font-size:16px}

/* ---------- Header ---------- */
header{
  position:sticky;top:0;z-index:50;background:var(--teal);
  box-shadow:0 2px 14px rgba(0,0,0,.12);
}
.nav{display:flex;align-items:center;justify-content:space-between;height:76px}
.brand{display:flex;align-items:center}
.logo-img{height:42px;width:auto;display:block}
.nav-right{display:flex;align-items:center;gap:20px}
.nav-phone{color:#fff;font-weight:800;font-size:19px;letter-spacing:.01em;white-space:nowrap;text-align:right}
.nav-phone span{display:block;font-size:9.5px;font-weight:600;letter-spacing:.18em;color:#a7d3df}
@media(max-width:720px){.nav-phone{display:none}}
@media(max-width:520px){.logo-img{height:32px}.btn{padding:11px 18px;font-size:14px}}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:#fff;
  background:
    linear-gradient(120deg, rgba(0,48,61,.94) 0%, rgba(0,71,90,.88) 55%, rgba(0,93,116,.74) 100%),
    radial-gradient(circle at 82% 18%, rgba(106,2,51,.42), transparent 52%),
    var(--teal);
  padding:88px 0 96px;
  overflow:hidden;
}
.hero:after{
  content:"";position:absolute;right:-120px;bottom:-120px;width:420px;height:420px;
  background:repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 14px,transparent 14px 28px);
  transform:rotate(8deg);pointer-events:none;
}
.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.22);
  padding:8px 16px;border-radius:40px;font-size:12.5px;font-weight:600;letter-spacing:.05em;
  margin-bottom:26px;
}
.eyebrow b{color:#ffd8ea;font-weight:800;letter-spacing:.04em}
.hero h1{
  font-size:clamp(32px,5vw,54px);font-weight:800;line-height:1.08;max-width:16ch;letter-spacing:-.01em;
}
.hero p.sub{font-size:clamp(16px,2vw,19px);margin:22px 0 34px;max-width:56ch;color:#e6f1f4}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.hero-trust{margin-top:30px;font-size:13.5px;color:#bfe0e8;display:flex;flex-wrap:wrap;gap:22px}
.hero-trust span{display:flex;align-items:center;gap:8px}
.dot{width:7px;height:7px;border-radius:50%;background:#7fc7d6;flex:none}

/* ---------- Section basics ---------- */
section{padding:82px 0}
.kick{color:var(--maroon);font-weight:800;letter-spacing:.14em;font-size:12.5px;text-transform:uppercase;margin-bottom:12px}
.h2{font-size:clamp(26px,3.4vw,38px);font-weight:800;color:var(--teal);line-height:1.12;max-width:22ch}
.lead{color:var(--gray);font-size:17px;margin-top:16px;max-width:60ch}

/* ---------- Services ---------- */
.services{background:var(--gray-light)}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:44px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.grid{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:26px 22px;transition:box-shadow .2s ease, transform .2s ease}
.card:hover{box-shadow:0 12px 30px rgba(0,93,116,.12);transform:translateY(-3px)}
.card .ic{width:44px;height:44px;border-radius:9px;background:rgba(0,93,116,.09);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.card .ic svg{width:24px;height:24px;stroke:var(--teal);fill:none;stroke-width:1.8}
.card h3{font-size:16.5px;font-weight:700;color:var(--ink);margin-bottom:7px}
.card p{font-size:14px;color:var(--gray);line-height:1.55}
.services-note{
  margin-top:38px;background:#fff;border:1px solid var(--line);border-left:4px solid var(--maroon);
  border-radius:8px;padding:22px 26px;font-size:15.5px;color:var(--ink);max-width:none
}
.services-note b{color:var(--teal)}

/* ---------- Why West ---------- */
.why-flex{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
@media(max-width:860px){.why-flex{grid-template-columns:1fr;gap:36px}}
.why ul{list-style:none;margin-top:26px;display:flex;flex-direction:column;gap:18px}
.why li{display:flex;gap:14px;align-items:flex-start}
.why li .chk{width:26px;height:26px;border-radius:50%;background:var(--teal);flex:none;display:flex;align-items:center;justify-content:center;margin-top:2px}
.why li .chk svg{width:14px;height:14px;stroke:#fff;stroke-width:2.5;fill:none}
.why li b{color:var(--ink);font-weight:700}
.why li span{color:var(--gray);font-size:14.5px;display:block;margin-top:2px}
.family{
  background:var(--teal);color:#fff;border-radius:14px;padding:38px 34px;position:relative;overflow:hidden
}
.family:before{content:"";position:absolute;top:-40px;right:-40px;width:160px;height:160px;background:rgba(106,2,51,.4);border-radius:50%}
.family h3{font-size:21px;font-weight:800;margin-bottom:12px;position:relative}
.family p{font-size:14.5px;color:#cfe4ea;position:relative;margin-bottom:22px}
.family a.linkrow{
  display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px;color:#fff;
  border-bottom:2px solid rgba(255,255,255,.4);padding-bottom:3px;position:relative
}
.family a.linkrow:hover{border-color:#fff}
.family a.linkrow svg{width:16px;height:16px;stroke:#ffd8ea;stroke-width:2;fill:none}

/* ---------- Contact ---------- */
.contact{background:var(--teal-deep);color:#fff}
.contact .kick{color:#ffd8ea}
.contact .h2{color:#fff}
.contact .lead{color:#c2dbe2}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:52px;margin-top:46px}
@media(max-width:860px){.contact-grid{grid-template-columns:1fr;gap:36px}}
.cinfo{display:flex;flex-direction:column;gap:24px}
.cline{display:flex;gap:16px;align-items:flex-start}
.cline .ci{width:46px;height:46px;border-radius:10px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;flex:none}
.cline .ci svg{width:22px;height:22px;stroke:#7fc7d6;stroke-width:1.8;fill:none}
.cline .lbl{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#8fb2bd;font-weight:700}
.cline .val{font-size:19px;font-weight:800;color:#fff;line-height:1.3}
.cline .val a:hover{color:#ffd8ea}
.cline .val small{display:block;font-size:13px;font-weight:500;color:#b6cdd5;letter-spacing:0}
.mhic-badge{
  display:inline-flex;align-items:center;gap:12px;background:rgba(106,2,51,.28);
  border:1px solid rgba(255,216,234,.35);border-radius:10px;padding:16px 20px;margin-top:4px
}
.mhic-badge .num{font-size:20px;font-weight:900;letter-spacing:.02em;color:#fff}
.mhic-badge .cap{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#f0c9db;font-weight:700}

/* form */
.formcard{background:#fff;border-radius:14px;padding:34px 32px;color:var(--ink);box-shadow:0 20px 50px rgba(0,0,0,.25)}
.formcard h3{font-size:20px;font-weight:800;color:var(--teal);margin-bottom:6px}
.formcard .fnote{font-size:13.5px;color:var(--gray);margin-bottom:22px}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:520px){.frow{grid-template-columns:1fr}}
.field{margin-bottom:14px}
.field label{display:block;font-size:12.5px;font-weight:700;color:var(--ink);margin-bottom:6px}
.field label .req{color:var(--maroon)}
.field input,.field select,.field textarea{
  width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:7px;
  font-family:inherit;font-size:14.5px;color:var(--ink);background:#fdfdfd;transition:border .15s
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--teal)}
.field textarea{resize:vertical;min-height:96px}
.cf-turnstile{margin-bottom:14px}
.formcard .submit{width:100%;margin-top:6px}
.formcard .fine{font-size:12px;color:var(--gray);margin-top:14px;text-align:center}
.success{display:none;background:rgba(0,93,116,.08);border:1px solid var(--teal);color:var(--teal);border-radius:8px;padding:14px 16px;font-size:14px;font-weight:600;margin-top:14px}
.formerr{display:none;background:rgba(155,32,74,.08);border:1px solid var(--maroon);color:var(--maroon);border-radius:8px;padding:14px 16px;font-size:14px;font-weight:600;margin-top:14px}

/* ---------- Footer ---------- */
footer{background:var(--teal-deeper);color:#a7c4cc;padding:52px 0 30px;font-size:14px}
.foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.10)}
.foot-brand .foot-logo{height:38px;width:auto;display:block;margin-bottom:14px}
.foot-brand p{max-width:34ch;color:#88aab4;font-size:13.5px}
.foot-col h4{color:#fff;font-size:12px;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px}
.foot-col a,.foot-col div{display:block;color:#a7c4cc;margin-bottom:9px;font-size:14px}
.foot-col a:hover{color:#fff}
.foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-top:24px;font-size:12.5px;color:#6b8f9a}
.foot-bottom .mhic{color:#c2dbe2;font-weight:700}
.foot-credit{margin-top:12px;font-size:12.5px;color:#6b8f9a}
.foot-credit a{color:#a7c4cc;font-weight:700}
.foot-credit a:hover{color:#fff}

/* ---------- 404 page (body.page-404 scope) ----------
   The legacy 404 shipped its own style block with conflicting values for
   body/header/footer/.wrap/.btn; everything 404-specific is scoped here so
   the two pages share one stylesheet without leaking into each other. */
body.page-404{
  color:#fff;
  min-height:100vh;display:flex;flex-direction:column;
  background:
    linear-gradient(120deg, rgba(0,48,61,.96) 0%, rgba(0,71,90,.90) 55%, rgba(0,93,116,.78) 100%),
    radial-gradient(circle at 82% 16%, rgba(106,2,51,.42), transparent 52%),
    var(--teal);
  background-attachment:fixed;
}
.page-404 .wrap{width:100%;max-width:680px;margin:0 auto;padding:0 24px}
.page-404 header{position:static;background:transparent;box-shadow:none;padding:26px 0}
.page-404 .logo-img{height:40px}
.page-404 main{flex:1;display:flex;align-items:center;padding:40px 0 64px}
.page-404 .code{
  font-size:clamp(64px,16vw,132px);font-weight:900;letter-spacing:-.02em;line-height:1;
  color:rgba(255,255,255,.16)
}
.page-404 h1{font-size:clamp(26px,4.4vw,40px);font-weight:800;line-height:1.12;margin:6px 0 16px;letter-spacing:-.01em}
.page-404 p.sub{font-size:clamp(15px,2vw,18px);color:#e6f1f4;max-width:50ch;margin-bottom:30px}
.page-404 .cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.page-404 .btn{padding:15px 30px;transition:transform .15s ease, background .15s ease, border-color .15s ease}
.page-404 .links{margin-top:30px;font-size:14.5px;color:#bfe0e8}
.page-404 .links a{border-bottom:1px solid rgba(255,255,255,.35);padding-bottom:2px;margin-right:20px;white-space:nowrap;font-weight:600}
.page-404 .links a:hover{border-color:#fff;color:#fff}
.page-404 footer{background:transparent;padding:22px 0 28px;font-size:12.5px;color:#8fb2bd}
.page-404 footer .mhic{color:#c2dbe2;font-weight:700}
