:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #65706a;
  --line: #d7ddd6;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --deep: #13382e;
  --deep-2: #0c2822;
  --sage: #dce6d6;
  --gold: #a97c42;
  --blue: #263f68;
  --shadow: 0 24px 70px rgba(19, 56, 46, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(246, 244, 238, 0.88);
  border-bottom: 1px solid rgba(19, 56, 46, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: #f6f4ee;
  font-family: Georgia, serif;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

nav a,
.nav-cta,
.button,
form button {
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

nav a:hover {
  color: var(--deep);
}

.nav-cta {
  border: 1px solid var(--deep);
  padding: 10px 16px;
  background: var(--surface);
  color: var(--deep);
  font-size: 14px;
}

.nav-cta:hover {
  background: var(--deep);
  color: #fff;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 86px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 58px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.lead,
.section-intro p,
.inquiry-card p {
  color: var(--muted);
  font-size: 18px;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--deep);
  padding: 12px 18px;
}

.button.primary {
  background: var(--deep);
  color: #fff;
}

.button.primary:hover {
  background: var(--deep-2);
  box-shadow: 0 14px 30px rgba(19, 56, 46, 0.18);
}

.button.secondary {
  background: transparent;
  color: var(--deep);
}

.button.secondary:hover {
  background: var(--sage);
}

.market-board {
  position: relative;
  min-height: 590px;
  border: 1px solid rgba(19, 56, 46, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(220, 230, 214, 0.42)),
    repeating-linear-gradient(
      90deg,
      rgba(19, 56, 46, 0.05) 0,
      rgba(19, 56, 46, 0.05) 1px,
      transparent 1px,
      transparent 42px
    );
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-card {
  position: absolute;
  inset: 34px 34px 170px;
  border: 1px solid rgba(19, 56, 46, 0.16);
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(169, 124, 66, 0.2) 46% 48%, transparent 48%),
    linear-gradient(30deg, transparent 0 38%, rgba(38, 63, 104, 0.14) 38% 40%, transparent 40%),
    #fdfcf7;
}

.pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid #fdfcf7;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--deep), 0 16px 24px rgba(19, 56, 46, 0.18);
}

.pin-one {
  top: 26%;
  left: 28%;
}

.pin-two {
  top: 52%;
  left: 62%;
}

.pin-three {
  top: 68%;
  left: 38%;
  background: var(--blue);
}

.route {
  position: absolute;
  height: 2px;
  background: rgba(19, 56, 46, 0.32);
  transform-origin: left center;
}

.route-one {
  top: 34%;
  left: 31%;
  width: 36%;
  transform: rotate(26deg);
}

.route-two {
  top: 58%;
  left: 40%;
  width: 24%;
  transform: rotate(-15deg);
}

.deal-card,
.signal-card {
  position: absolute;
  right: 28px;
  left: 28px;
  border: 1px solid rgba(19, 56, 46, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(19, 56, 46, 0.12);
  backdrop-filter: blur(12px);
}

.deal-card {
  bottom: 88px;
  padding: 24px;
}

.deal-card small,
.phone-card small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deal-card strong,
.signal-card strong {
  display: block;
  margin: 7px 0 8px;
  font-size: 22px;
}

.deal-card p,
.signal-card span {
  margin: 0;
  color: var(--muted);
}

.signal-card {
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
}

.signal-card strong {
  margin: 0;
  font-size: 15px;
  color: var(--deep);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ebe8df;
}

.trust-strip span {
  padding: 20px 18px;
  border-right: 1px solid var(--line);
  color: var(--deep);
  font-weight: 700;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(30px, 6vw, 82px);
}

.section-intro {
  max-width: 560px;
}

.section-intro.center {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-grid article {
  min-height: 244px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 26px;
}

.service-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid p {
  color: var(--muted);
}

.flow-section {
  width: 100%;
  max-width: none;
  background: var(--deep);
  color: #fff;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
}

.flow-section .eyebrow {
  color: #d6b06e;
}

.flow-section .section-intro p,
.flow-section h2 {
  color: #fff;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(340px, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.phone-shell {
  width: min(100%, 380px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #102c26;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.phone-top {
  width: 84px;
  height: 5px;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.32);
}

.phone-card {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.phone-card.active {
  background: #f8f6ef;
  color: var(--ink);
}

.phone-card strong {
  display: block;
  margin: 7px 0 12px;
}

.phone-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.phone-card.active p {
  color: var(--muted);
}

.phone-card button {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(19, 56, 46, 0.2);
  background: #fff;
  color: var(--deep);
  text-align: left;
}

.phone-card button:hover {
  border-color: var(--deep);
}

.crm-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  padding: clamp(22px, 4vw, 36px);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.lead-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
}

.lead-list strong,
.lead-list small {
  display: block;
}

.lead-list small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
}

.status {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.status.new {
  background: #d6b06e;
  color: #102c26;
}

.status.warm {
  background: rgba(220, 230, 214, 0.18);
}

.status.call {
  background: rgba(38, 63, 104, 0.72);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.faq-stack {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 20px 22px;
}

summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 800;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.inquiry-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  margin-bottom: 70px;
  border: 1px solid rgba(19, 56, 46, 0.15);
  background: #fff;
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

select,
input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: #f8f7f2;
  color: var(--ink);
  padding: 0 13px;
}

select:focus,
input:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(169, 124, 66, 0.35);
  outline-offset: 3px;
}

form button {
  min-height: 50px;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: #fff;
  font-weight: 800;
}

form button:hover {
  background: var(--deep-2);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px clamp(18px, 4vw, 54px);
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--deep);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .topbar {
    position: static;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split,
  .flow-grid,
  .faq-layout,
  .inquiry-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .market-board {
    min-height: 520px;
  }

  .service-grid,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .section {
    width: min(100% - 28px, 1160px);
    padding: 56px 0;
  }

  h1 {
    font-size: 44px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .market-board {
    min-height: 470px;
  }

  .map-card {
    inset: 22px 20px 164px;
  }

  .deal-card,
  .signal-card {
    right: 18px;
    left: 18px;
  }

  .signal-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

  .lead-list li {
    grid-template-columns: 1fr;
  }

  .inquiry-card {
    padding: 24px;
  }

  footer {
    flex-direction: column;
  }
}
