:root {
  --navy: #030d2e;
  --navy-deep: #01071c;
  --paper: #f7f5f0;
  --ink: #1c1c1c;
  --muted: #5d6472;
  --line: #dcd9d2;
  --red: #ff1900;
  --blue: #0b4bff;
  --whatsapp: #25D366;
  --on-navy: #b9c1d4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
.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;
}
a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Top bar: logo in the corner, menu to the right */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand img { display: block; width: 170px; height: auto; }
.menu { display: flex; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.menu a {
  display: block;
  padding: 0.5rem 0.8rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 3px;
}
.menu a:hover { background: rgba(255, 255, 255, 0.08); }
.menu a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.bar-call {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}
.bar-call:hover { background: #fff; color: var(--navy); }
.bar-right { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 899px) {
  .bar-call { display: none; }
}
@media (max-width: 639px) {
  .brand img { width: 140px; }
  .bar-right { width: 100%; }
  .menu { justify-content: space-between; margin: 0 -0.8rem; width: calc(100% + 1.6rem); }
  .menu a { padding: 0.5rem 0.8rem; font-size: 0.95rem; }
}

/* Page banner */
.hero { background: var(--navy); color: #fff; padding: 3.5rem 0 0; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); line-height: 1.15; margin: 0 0 1rem; font-weight: 600; letter-spacing: -0.01em; }
.hero .lede { font-size: clamp(1.9rem, 4.5vw, 2.75rem); line-height: 1.15; margin: 0 0 1rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; max-width: 36rem; }
.hero p { margin: 0; color: var(--on-navy); max-width: 36rem; font-size: 1.1rem; }
.hero .actions { margin-top: 2rem; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy); margin: 0 0 0.75rem; font-weight: 600; }

/* Rooftops: 320px blocks at 1:1 scale so the stroke stays 2px at any width.
   Each block draws after the one before it; --t is set per breakpoint so the
   visible part of the street takes about 2.5s. Only the home page animates. */
.roofs { --t: 1.25s; display: flex; overflow: hidden; margin-top: 3rem; }
.roofs svg { flex: 0 0 320px; width: 320px; height: 56px; display: block; }
.roofs use {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.7;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.roofs.animate use {
  stroke-dashoffset: 1;
  animation: draw var(--t) linear calc(var(--i) * var(--t)) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 641px)  { .roofs { --t: 0.83s; } }
@media (min-width: 961px)  { .roofs { --t: 0.63s; } }
@media (min-width: 1281px) { .roofs { --t: 0.5s; } }
@media (min-width: 1601px) { .roofs { --t: 0.42s; } }
@media (min-width: 1921px) { .roofs { --t: 0.31s; } }
@media (prefers-reduced-motion: reduce) {
  .roofs.animate use { animation: none; stroke-dashoffset: 0; }
}
.ground { height: 3px; background: var(--red); }

/* Content */
main { padding: 3.5rem 0 4rem; }
section + section { margin-top: 3.5rem; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 0.75rem; font-weight: 600; }
h3 { font-size: 1.1rem; margin: 0 0 0.35rem; font-weight: 600; }
main p { margin: 0 0 1.25rem; color: var(--muted); max-width: 38rem; }
main a { color: var(--blue); }
.prose p:last-child { margin-bottom: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
a.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}
a.call, a.primary { background: var(--navy); color: #fff; }
a.whats { background: #fff; color: var(--navy); border-color: var(--line); }
a.btn:hover { background: var(--navy-deep); color: #fff; }
.hero a.call { background: #fff; color: var(--navy); }
.hero a.whats { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero a.btn:hover { background: var(--navy-deep); color: #fff; border-color: #fff; }
.ext { font-size: 0.85em; }
.wa-icon { width: 1.25rem; height: 1.25rem; fill: var(--whatsapp); flex: none; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: 3px;
  padding: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
a.card { color: var(--ink); }
a.card:hover { border-top-color: var(--red); box-shadow: 0 6px 20px rgba(3, 13, 46, 0.08); }
.card p { margin: 0; color: var(--muted); }
.card .more { display: inline-block; margin-top: 1rem; color: var(--blue); font-weight: 600; }

/* Panel for the Property24 hand-off and contact prompts */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 3px;
  padding: 2rem;
}
.panel p { max-width: 40rem; }
.panel .actions { margin-top: 1.5rem; }

/* Agents */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.agent {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
}
a.agent { color: var(--ink); }
a.agent:hover { border-color: var(--navy); box-shadow: 0 6px 20px rgba(3, 13, 46, 0.08); }
.initials {
  flex: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.agent strong { display: block; font-weight: 600; line-height: 1.3; }
.agent span.role { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.35; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  /* Extra bottom space so the floating WhatsApp button never covers footer text */
  padding: 1.75rem 0 calc(6rem + env(safe-area-inset-bottom));
  font-size: 0.8rem;
  color: var(--muted);
}
footer p { margin: 0 0 0.4rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.9rem; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  z-index: 30;
}
.wa-float .wa-icon { width: 2rem; height: 2rem; fill: #fff; }

address { font-style: normal; }
.office { color: var(--muted); }
.footer-address { margin-top: 0.4rem; }
