:root {
  --sand: #f6f1e7;
  --sea-deep: #0b3d4c;
  --sea: #146b82;
  --sea-light: #4fa3b8;
  --coral: #e8794f;
  --coral-dark: #c85f38;
  --ink: #1c2a2e;
  --ink-soft: #566268;
  --white: #ffffff;
  --line: #e3ddcf;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 61, 76, 0.12);
  font-size: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 .5em; line-height: 1.15; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sea-deep);
  text-decoration: none;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sea), var(--coral));
}
nav.site-nav { display: flex; align-items: center; gap: 26px; }
nav.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 600;
}
nav.site-nav a:hover { color: var(--sea-deep); }
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: white; box-shadow: 0 8px 18px rgba(232,121,79,.35); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: transparent; color: var(--sea-deep); border: 1.5px solid var(--sea-deep); }

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(79,163,184,.25), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(232,121,79,.18), transparent 50%),
    linear-gradient(180deg, #eef4f2 0%, var(--sand) 70%);
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sea);
  background: rgba(20,107,130,.1);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: 2.9rem; color: var(--sea-deep); }
.hero p.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; margin: 18px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-size: 1.6rem; color: var(--sea-deep); font-family: Georgia, serif; }
.hero-stats div span { font-size: .82rem; color: var(--ink-soft); }

.hero-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 26px;
  border: 1px solid var(--line);
}
.hero-card img {
  border-radius: 14px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sea-light), var(--sea-deep));
}
.hero-card .caption { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }

/* Sections */
section { padding: 70px 0; }
.section-head { max-width: 640px; margin: 0 auto 42px; text-align: center; }
.section-head .eyebrow { display: block; text-align: center; }
.section-head h2 { font-size: 2.1rem; color: var(--sea-deep); }
.section-head p { color: var(--ink-soft); }

/* Neighborhoods */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.n-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11,61,76,.06);
}
.n-card .thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--sea-light), var(--sea));
}
.n-card .body { padding: 18px 20px 22px; }
.n-card h3 { font-size: 1.15rem; color: var(--sea-deep); }
.n-card p { color: var(--ink-soft); font-size: .93rem; margin: 6px 0 0; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 44px; height: 44px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sea-deep);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: 700;
}
.step h3 { font-size: 1.05rem; color: var(--sea-deep); }
.step p { color: var(--ink-soft); font-size: .93rem; }

/* Testimonials */
.testimonials { background: var(--sea-deep); color: white; }
.testimonials .section-head h2, .testimonials .section-head p { color: white; }
.testimonials .section-head p { color: rgba(255,255,255,.75); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 22px;
}
.t-card p.quote { font-size: .95rem; margin: 0 0 14px; }
.t-card .who { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 700; }

/* Lead form */
.lead-section { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.lead-wrap h2 { font-size: 2rem; color: var(--sea-deep); }
.lead-wrap .sub { color: var(--ink-soft); margin-bottom: 22px; }
.lead-perks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.lead-perks li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.lead-perks li .dot {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(232,121,79,.15); color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
  margin-top: 2px;
}

form#lead-form {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: .82rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: white;
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); }
fieldset { border: none; padding: 0; margin: 0; }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; }
.checkbox-grid input { width: auto; }
textarea { resize: vertical; min-height: 80px; }
.form-note { font-size: .78rem; color: var(--ink-soft); }
#lead-form-status { font-size: .9rem; font-weight: 600; min-height: 1.2em; }
#lead-form-status.ok { color: #1a7a4c; }
#lead-form-status.err { color: var(--coral-dark); }

/* Footer */
footer.site-footer { background: var(--sea-deep); color: rgba(255,255,255,.75); padding: 46px 0 30px; font-size: .85rem; }
footer.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site-footer .brand { color: white; }
footer.site-footer .legal { max-width: 640px; }
footer.site-footer .legal p { margin: 0 0 8px; }

/* Chat widget */
#chat-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: white;
  border: none;
  box-shadow: 0 10px 26px rgba(200,95,56,.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
#chat-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 60;
  width: 360px;
  max-width: calc(100vw - 44px);
  height: 480px;
  max-height: calc(100vh - 160px);
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(11,61,76,.28);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}
#chat-panel.open { display: flex; }
.chat-head {
  background: var(--sea-deep);
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-head .who { display: flex; align-items: center; gap: 10px; }
.chat-head .who .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sea-light), var(--coral));
}
.chat-head h4 { margin: 0; font-size: .95rem; font-family: inherit; }
.chat-head span.status { font-size: .72rem; color: rgba(255,255,255,.7); }
.chat-head button.close {
  background: none; border: none; color: white; font-size: 20px; cursor: pointer; line-height: 1;
}
#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fbf9f4;
}
.msg { max-width: 84%; padding: 10px 13px; border-radius: 12px; font-size: .9rem; line-height: 1.4; }
.msg.bot { align-self: flex-start; background: white; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--sea); color: white; border-bottom-right-radius: 4px; }
.msg.typing { align-self: flex-start; background: white; border: 1px solid var(--line); color: var(--ink-soft); font-style: italic; }
#chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: white;
}
#chat-input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .9rem;
  font-family: inherit;
}
#chat-form button {
  background: var(--coral);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .grid-3, .steps, .t-grid { grid-template-columns: 1fr; }
  .lead-wrap { grid-template-columns: 1fr; }
  .form-row, .checkbox-grid { grid-template-columns: 1fr; }
  nav.site-nav { display: none; }
  .hero h1 { font-size: 2.2rem; }
  #chat-panel { right: 12px; left: 12px; width: auto; bottom: 88px; }
  #chat-bubble { right: 16px; bottom: 16px; }
}
