:root {
  --ink: #101b2d;
  --muted: #64748b;
  --line: #d8e6f7;
  --paper: #ffffff;
  --soft: #f4f8ff;
  --field: #f8fbff;
  --brand: #1f7cff;
  --brand-strong: #0a3bb7;
  --accent: #42d5ff;
  --accent-soft: #e8f5ff;
  --deep: #071831;
  --navy: #0b2f68;
  --glow: rgba(66, 213, 255, 0.55);
  --shadow: 0 24px 60px rgba(19, 73, 145, 0.18);
  font-family: "PingFang SC", "Microsoft YaHei", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #061326 0, #f4f8ff 760px, #ffffff 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 58px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: #eaf6ff;
  background: rgba(6, 19, 38, 0.88);
  box-shadow: 0 14px 42px rgba(0, 25, 70, 0.22);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(124, 205, 255, 0.38);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(22, 125, 255, 0.28);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-copy strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 3px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 11px 17px;
  color: #fff;
  border-radius: 6px;
  background: linear-gradient(135deg, #1884ff, #2bb9ff);
  box-shadow: 0 10px 26px rgba(31, 124, 255, 0.3);
}

.site-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: currentColor;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 28%, rgba(65, 196, 255, 0.32), transparent 30%),
    linear-gradient(180deg, #061326 0%, #0d376e 48%, #0b4ab9 100%);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-media::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 84px);
  content: "";
  opacity: 0.65;
}

.hero-media::after {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -9vw;
  height: 34vw;
  min-height: 260px;
  background:
    radial-gradient(ellipse at 72% 42%, rgba(67, 227, 255, 0.62), transparent 38%),
    linear-gradient(172deg, transparent 0 24%, rgba(194, 239, 255, 0.86) 25%, rgba(32, 155, 255, 0.62) 30%, rgba(6, 69, 190, 0.92) 47%, rgba(5, 28, 101, 0.98) 72%, transparent 73%),
    linear-gradient(188deg, transparent 0 38%, rgba(132, 226, 255, 0.75) 39%, rgba(15, 116, 255, 0.8) 48%, rgba(3, 40, 138, 0.95) 70%, transparent 71%);
  border-radius: 50% 50% 0 0 / 38% 48% 0 0;
  content: "";
  filter: drop-shadow(0 -16px 28px rgba(97, 213, 255, 0.28));
}

.wave {
  position: absolute;
  left: -8vw;
  right: -8vw;
  height: 18vw;
  min-height: 150px;
  border-top: 2px solid rgba(229, 249, 255, 0.72);
  border-radius: 50%;
  transform: rotate(-5deg);
}

.wave-a {
  bottom: 12vw;
  box-shadow: 0 -18px 34px rgba(79, 208, 255, 0.18);
}

.wave-b {
  bottom: 6vw;
  border-top-color: rgba(107, 223, 255, 0.84);
  opacity: 0.8;
  transform: rotate(-2deg);
}

.wave-c {
  bottom: 0;
  border-top-color: rgba(255, 255, 255, 0.5);
  opacity: 0.55;
  transform: rotate(3deg);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(3, 9, 22, 0.18), rgba(3, 13, 38, 0.2) 55%, rgba(3, 11, 28, 0.24)),
    linear-gradient(90deg, rgba(4, 16, 38, 0.22), rgba(4, 22, 60, 0.03));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(28px, 6vw, 86px);
  width: min(1180px, calc(100% - 36px));
  min-height: 82vh;
  margin: 0 auto;
  padding: 120px 0 82px;
}

.hero-copy {
  max-width: 860px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .section-kicker {
  color: #b9efff;
  text-shadow: 0 0 18px rgba(66, 213, 255, 0.44);
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6.6vw, 78px);
  line-height: 1.08;
}

h1 span {
  display: block;
}

.hero h1 {
  font-size: clamp(44px, 5.7vw, 76px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
}

h3 {
  font-size: 20px;
  line-height: 1.25;
}

.hero-copy p:not(.section-kicker) {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(234, 247, 255, 0.82);
  font-size: clamp(16px, 1.65vw, 20px);
  line-height: 1.75;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 900;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, #1f7cff, #23c6ff);
  box-shadow: 0 14px 30px rgba(31, 124, 255, 0.34);
}

.secondary-action {
  border: 1px solid rgba(190, 232, 255, 0.56);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(151, 221, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 28, 68, 0.58), rgba(8, 35, 91, 0.28));
  box-shadow: 0 24px 62px rgba(0, 22, 74, 0.35);
  backdrop-filter: blur(16px);
}

.market-card span,
.market-card small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.market-card span {
  font-size: 12px;
  font-weight: 900;
}

.market-card strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

.market-card small {
  line-height: 1.65;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hero-stats div {
  min-width: 0;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(154, 221, 255, 0.12);
  background: rgba(255, 255, 255, 0.09);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #7ee8ff;
  font-size: 24px;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  line-height: 1.35;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-band {
  background:
    linear-gradient(180deg, rgba(230, 244, 255, 0.92), rgba(255, 255, 255, 0.94));
}

.intro {
  padding: 74px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.intro-grid p:last-child,
.section-heading p,
.data-copy p,
.proof-copy p,
.contact-grid > div p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.services,
.neighborhoods,
.proof {
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 32px;
  max-width: none;
  align-items: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 330px;
  padding: 24px;
  border: 1px solid rgba(177, 213, 255, 0.8);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.9));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(66, 213, 255, 0.72);
  box-shadow: 0 18px 42px rgba(31, 124, 255, 0.16);
  transform: translateY(-3px);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  font-weight: 900;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.data-section {
  padding: 94px 0;
  color: #fff;
  background:
    radial-gradient(circle at 76% 28%, rgba(66, 213, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #061326, #0a2c69 54%, #075bcf);
}

.data-section .section-kicker {
  color: #7ee8ff;
}

.data-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.data-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.data-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.chip.is-active {
  color: #fff;
  border-color: #5fe0ff;
  background: linear-gradient(135deg, #1f7cff, #23c6ff);
}

.profile-board {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.profile-main {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(66, 213, 255, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
}

.profile-main span {
  color: #7ee8ff;
  font-size: 13px;
  font-weight: 900;
}

.profile-main h3 {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 42px);
}

.profile-main p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.profile-facts div {
  min-width: 0;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-facts div:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.profile-facts dt,
.profile-facts dd {
  margin: 0;
}

.profile-facts dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.profile-facts dd {
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 900;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.neighborhood-grid article {
  overflow: hidden;
  border: 1px solid rgba(177, 213, 255, 0.82);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(31, 124, 255, 0.1);
}

.neighborhood-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.neighborhood-image-park {
  object-position: center center;
}

.neighborhood-image-kongjiang {
  object-position: center 42%;
}

.neighborhood-image-newhome {
  object-position: center 30%;
}

.neighborhood-grid div {
  padding: 22px;
}

.neighborhood-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.process {
  padding: 92px 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  font-weight: 900;
}

.timeline p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list div {
  padding: 20px;
  border-left: 4px solid var(--brand);
  border-radius: 6px;
  background: var(--soft);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  padding: 94px 0;
  color: #fff;
  background:
    radial-gradient(circle at 76% 24%, rgba(66, 213, 255, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(3, 12, 31, 0.96), rgba(7, 54, 132, 0.9)),
    url("assets/consultation.jpg") center / cover;
}

.contact .section-kicker {
  color: #7ee8ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.contact-copy p {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
}

.lead-entry {
  border: 1px solid rgba(151, 221, 255, 0.28);
  border-radius: 8px;
  background: rgba(8, 28, 68, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.lead-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(151, 221, 255, 0.22);
}

.lead-mode-button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.lead-mode-button.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #1f7cff, #23c6ff);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.contact-form[hidden] {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form .wide,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form select option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #7ee8ff;
  box-shadow: 0 0 0 3px rgba(66, 213, 255, 0.18);
}

.contact-form button {
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #1f7cff, #23c6ff);
  font-weight: 900;
}

.contact-form button:disabled,
.refresh-btn:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.site-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #061326;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-inner a {
  color: #7ee8ff;
  font-weight: 800;
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 0, rgba(66, 213, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #061326 0, #123c75 330px, #eef6ff 520px, #f7fbff 100%);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: #eef8ff;
  background: rgba(6, 19, 38, 0.92);
  box-shadow: 0 10px 35px rgba(0, 24, 74, 0.18);
  backdrop-filter: blur(18px);
}

.admin-brand {
  min-width: 0;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
}

.admin-actions a {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(151, 221, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.admin-actions .admin-export {
  color: #fff;
  border-color: rgba(126, 232, 255, 0.5);
  background: linear-gradient(135deg, #1f7cff, #23c6ff);
}

.admin-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.admin-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 60px);
}

.admin-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(234, 247, 255, 0.76);
  font-size: 17px;
  line-height: 1.8;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary div {
  padding: 18px;
  border: 1px solid rgba(151, 221, 255, 0.26);
  border-radius: 8px;
  background: rgba(7, 24, 58, 0.42);
  box-shadow: 0 12px 28px rgba(0, 24, 74, 0.12);
  backdrop-filter: blur(12px);
}

.admin-summary strong,
.admin-summary span {
  display: block;
}

.admin-summary strong {
  color: #7ee8ff;
  font-size: 32px;
  line-height: 1;
}

.admin-summary span {
  margin-top: 8px;
  color: rgba(234, 247, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.admin-panel {
  padding: 24px;
  border: 1px solid rgba(177, 213, 255, 0.82);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.admin-panel h2 {
  font-size: 28px;
}

.refresh-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #1f7cff, #23c6ff);
  font-weight: 900;
}

.admin-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 14px;
  margin-bottom: 20px;
}

.admin-filters label,
.lead-card-head label {
  display: grid;
  gap: 7px;
}

.admin-filters span,
.lead-card-head label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.admin-filters select,
.lead-card-head select {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.lead-list {
  display: grid;
  gap: 14px;
}

.lead-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.lead-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  gap: 18px;
  align-items: start;
}

.lead-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 900;
}

.lead-card h3 {
  margin-top: 10px;
  font-size: 22px;
}

.lead-card-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.lead-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.lead-details div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.lead-details dt,
.lead-details dd {
  margin: 0;
}

.lead-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.lead-details dd {
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.lead-message {
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 6px;
  color: #32404d;
  background: #fff;
  line-height: 1.7;
}

.empty-leads {
  margin: 20px 0 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfe;
  text-align: center;
}

.empty-leads[hidden] {
  display: none;
}

@media (max-width: 1020px) {
  .hero-inner,
  .intro-grid,
  .data-layout,
  .section-heading.split,
  .proof,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .neighborhood-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: center;
  }

  .admin-hero,
  .lead-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-header.nav-active .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .site-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero-inner {
    width: min(100% - 24px, 1180px);
    min-height: 82svh;
    padding: 104px 0 42px;
  }

  .hero-media::after {
    left: -60%;
    right: -55%;
    bottom: -3vw;
    height: 72vw;
  }

  .wave {
    left: -70vw;
    right: -60vw;
    height: 34vw;
  }

  .hero-panel {
    display: none;
  }

  .hero-copy p:not(.section-kicker) {
    margin-top: 16px;
  }

  h1 {
    font-size: clamp(34px, 10.8vw, 46px);
  }

  .hero h1 {
    font-size: clamp(34px, 10.2vw, 44px);
  }

  .hero-copy p:not(.section-kicker) {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .timeline,
  .profile-facts,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .profile-facts div:nth-child(odd) {
    border-right: 0;
  }

  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .intro,
  .services,
  .data-section,
  .neighborhoods,
  .process,
  .proof,
  .contact {
    padding: 64px 0;
  }

  .service-card,
  .timeline article {
    min-height: 0;
  }

  .contact-form .wide,
  .contact-form button,
  .form-note {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-actions a {
    flex: 1;
    text-align: center;
  }

  .admin-shell {
    width: min(100% - 24px, 1180px);
    padding: 34px 0 56px;
  }

  .admin-summary,
  .admin-filters,
  .lead-card-head {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    padding: 16px;
  }
}
