:root {
  --ink: #131819;
  --muted: #5e6668;
  --paper: #eef0ea;
  --paper-strong: #fbfbf7;
  --accent: #bc8a2f;
  --accent-dark: #7b5817;
  --forest: #123c38;
  --line: rgba(19, 24, 25, 0.12);
  --shadow: 0 28px 90px rgba(14, 20, 21, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f4f6f0 0%, #e8ebe2 100%);
  color: var(--ink);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

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

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

img {
  max-width: 100%;
}

.topbar {
  align-items: center;
  background: rgba(255, 250, 243, 0.84);
  border-bottom: 1px solid rgba(19, 24, 25, 0.08);
  backdrop-filter: blur(22px);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 3000;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.03em;
}

.brand-mark {
  background: url("favicon.svg") center / contain no-repeat;
  border-radius: 0;
  display: inline-block;
  height: 30px;
  width: 30px;
}

.topbar nav {
  align-items: center;
  color: rgba(22, 22, 23, 0.72);
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
}

.map-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  min-height: 100svh;
  padding: 110px clamp(20px, 5vw, 72px) 32px;
  scroll-margin-top: 110px;
}

.map-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dark-lead {
  color: var(--muted);
}

.map-hero-stage {
  min-width: 0;
}

.map-hero-card {
  background:
    linear-gradient(180deg, rgba(251, 251, 247, 0.98), rgba(247, 249, 243, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px;
}

.brand-visual {
  aspect-ratio: 16 / 6;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 0 18px;
  min-height: 210px;
  overflow: hidden;
  position: relative;
}

.brand-visual::after {
  background: linear-gradient(90deg, rgba(14, 24, 24, 0.7), rgba(14, 24, 24, 0.1) 58%, transparent);
  content: "";
  inset: 0;
  position: absolute;
}

.brand-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand-visual figcaption {
  bottom: 24px;
  color: #fffaf1;
  left: 24px;
  max-width: min(430px, calc(100% - 48px));
  position: absolute;
  z-index: 1;
}

.brand-visual figcaption span {
  color: #e8bc83;
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.brand-visual figcaption strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.map-stage-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.map-stage-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 0;
}

.map-stage-summary {
  color: var(--muted);
  max-width: 280px;
  text-align: right;
}

.map-priority {
  border-radius: 26px;
  height: min(74vh, 760px);
  min-height: 560px;
  position: relative;
  z-index: 1;
}

.leaflet-container,
.leaflet-pane,
.leaflet-top,
.leaflet-bottom {
  z-index: 1;
}

.leaflet-control {
  z-index: 2;
}

.hero-panel-inline {
  grid-template-columns: 1fr;
  margin-top: 24px;
}

.hero-metric {
  background: rgba(251, 251, 247, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.hero-metric.solid strong {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.06em;
}

.hero-metric.solid span {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.trust-strip,
.kpi-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 clamp(20px, 5vw, 72px);
}

.trust-strip article,
.kpi-card {
  background: rgba(251, 251, 247, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.feature-icon,
.step-icon {
  align-items: center;
  background: rgba(18, 60, 56, 0.08);
  border: 1px solid rgba(18, 60, 56, 0.14);
  border-radius: 999px;
  color: var(--forest);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 16px;
  width: 42px;
}

.feature-icon::before,
.step-icon::before {
  background: currentColor;
  content: "";
  display: block;
  height: 22px;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
  width: 22px;
}

.location-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.shield-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 13c0 5-3.5 7.5-8 9-4.5-1.5-8-4-8-9V5l8-3 8 3v8Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }
.chat-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v8Z'/%3E%3Cpath d='M8 10h8M8 14h5'/%3E%3C/svg%3E"); }
.map-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m9 18-6 3V6l6-3 6 3 6-3v15l-6 3-6-3Z'/%3E%3Cpath d='M9 3v15M15 6v15'/%3E%3C/svg%3E"); }
.chart-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='m7 15 4-4 3 3 5-7'/%3E%3C/svg%3E"); }
.home-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.check-icon { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  color: #e8bc83;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--accent-dark);
}

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

h1 {
  font-size: clamp(42px, 7vw, 84px);
  letter-spacing: -0.08em;
  line-height: 0.92;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  max-width: 560px;
}

.hero-actions,
.form-actions,
.filter-actions,
.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 13px 19px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #fffaf1;
}

.button.soft {
  background: rgba(188, 138, 47, 0.12);
  color: var(--accent-dark);
}

.button.dark {
  background: var(--forest);
  color: #fffaf1;
}

.button.ghost-map {
  background: rgba(28, 60, 52, 0.1);
  color: var(--forest);
}

.button.full,
.full {
  width: 100%;
}

.filter-panel,
.admin-map-wrap,
.property-form,
.admin-list {
  background: rgba(251, 251, 247, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.filter-panel {
  display: grid;
  gap: 14px;
  grid-template-columns: 2fr repeat(4, minmax(0, 1fr)) auto;
  margin-bottom: 24px;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  margin-bottom: 18px;
}

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

.property {
  background: rgba(251, 251, 247, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.property img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.property-body {
  padding: 22px;
}

.property-topline {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.property-zone,
.property-note {
  color: var(--accent-dark);
  font-weight: 700;
}

.property-location,
.property-context,
.property-copy,
.property-profile {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 10px;
}

.property-location {
  color: #23353b;
  font-weight: 700;
}

.property-context {
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.property-copy {
  min-height: 72px;
}

.property-profile {
  border-top: 1px solid rgba(23, 33, 38, 0.08);
  font-size: 14px;
  margin-top: 12px;
  padding-top: 12px;
}

.property-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}

.price {
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 900;
}

.status,
.pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 7px 10px;
  text-transform: uppercase;
}

.pill {
  background: rgba(28, 60, 52, 0.1);
  color: var(--forest);
}

.status.disponible {
  background: rgba(55, 130, 77, 0.12);
  color: #23643a;
}

.status.apartado {
  background: rgba(180, 111, 22, 0.14);
  color: #894f0d;
}

.status.vendido {
  background: rgba(120, 25, 25, 0.12);
  color: #7b2020;
}

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

.process-grid article {
  background: rgba(251, 251, 247, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.process-grid strong {
  display: block;
}

.process-grid p,
.map-stage-summary,
.closing-copy {
  color: var(--muted);
  margin-bottom: 0;
}

.closing {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(18, 60, 56, 0.96), rgba(16, 31, 34, 0.96));
  border-radius: var(--radius);
  color: #f8f7f2;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  margin: 0 clamp(20px, 5vw, 72px) clamp(22px, 5vw, 72px);
  padding: clamp(32px, 5vw, 70px);
}

.whatsapp-cta .eyebrow.dark,
.whatsapp-cta .closing-copy,
.whatsapp-cta h2,
.whatsapp-cta p {
  color: #f8f7f2;
}

.whatsapp-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
  padding: 28px;
}

.whatsapp-chip {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f8f7f2;
  font-weight: 800;
  margin-bottom: 16px;
}

.whatsapp-panel h3 {
  margin-bottom: 10px;
}

.whatsapp-script {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
}

.admin-dialog {
  background: var(--paper-strong);
  border: 0;
  border-radius: 30px;
  box-shadow: 0 24px 100px rgba(0, 0, 0, 0.28);
  max-width: 980px;
  padding: 0;
  width: calc(100% - 28px);
}

.admin-dialog::backdrop {
  background: rgba(20, 16, 10, 0.62);
  backdrop-filter: blur(8px);
}

.dialog-grid,
.property-dialog-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 0.9fr 1fr;
  padding: clamp(26px, 5vw, 50px);
}

.property-dialog-image {
  border-radius: 24px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.dialog-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 12px;
}

.auth-form,
.property-form {
  display: grid;
  gap: 14px;
}

label {
  color: rgba(21, 19, 15, 0.78);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(186, 106, 40, 0.7);
  box-shadow: 0 0 0 4px rgba(186, 106, 40, 0.12);
}

.checkline {
  align-items: center;
  display: flex;
  gap: 10px;
}

.checkline input {
  width: auto;
}

.filter-check {
  align-self: end;
  margin-bottom: 12px;
}

.link-button {
  background: transparent;
  border: 0;
  color: var(--accent-dark);
  cursor: pointer;
  font-weight: 800;
  padding: 4px;
}

.form-message {
  color: var(--accent-dark);
  font-weight: 800;
  margin: 0;
  min-height: 20px;
}

.leaflet-popup-content {
  font-family: inherit;
}

.popup-title {
  font-weight: 900;
  margin-bottom: 6px;
}

.popup-price {
  color: var(--accent-dark);
  font-weight: 900;
}

.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-body {
  background: #f5f1e8;
}

.admin-app {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100svh;
}

.admin-sidebar {
  background:
    linear-gradient(160deg, rgba(22, 22, 23, 0.94), rgba(62, 38, 18, 0.88)),
    url("https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=900&q=80") center / cover;
  color: #fffaf1;
  height: 100svh;
  padding: 30px;
  position: sticky;
  top: 0;
}

.admin-sidebar p {
  color: rgba(255, 250, 241, 0.7);
  margin: 26px 0;
}

.admin-workspace {
  padding: clamp(20px, 4vw, 48px);
}

.admin-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
}

.admin-head h1,
.admin-login-wall h1 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.07em;
  line-height: 0.92;
  margin: 0;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
}

.kpi-card strong {
  display: block;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.06em;
}

.kpi-card span {
  color: var(--muted);
}

.admin-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(360px, 1.1fr) minmax(320px, 0.9fr);
}

.admin-map-wrap,
.property-form,
.admin-list {
  background: rgba(255, 250, 241, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 18px;
}

.admin-map {
  border-radius: 20px;
  height: 680px;
  overflow: hidden;
}

.map-note,
.admin-login-wall p,
.dialog-help {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  gap: 12px;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
}

.form-row.three {
  grid-template-columns: repeat(3, 1fr);
}

.form-row.four {
  grid-template-columns: repeat(4, 1fr);
}

.admin-list {
  margin-top: 24px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  padding: 14px 0;
}

.admin-row:first-child {
  border-top: 0;
}

.admin-row-title {
  font-weight: 900;
}

.admin-row-meta,
.lead-note {
  color: var(--muted);
  font-size: 14px;
}

.lead-note {
  margin-top: 6px;
}

.row-actions,
.lead-actions {
  display: flex;
  gap: 8px;
}

.mini-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 12px;
}

.mini-button.danger {
  color: #8e1f1f;
}

.admin-login-wall {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: 24px;
  text-align: center;
}

.admin-login-wall > div {
  max-width: 560px;
}

@media (max-width: 1180px) {
  .filter-panel,
  .process-grid,
  .trust-strip,
  .kpi-grid,
  .closing,
  .dialog-grid,
  .property-dialog-grid,
  .map-hero {
    grid-template-columns: 1fr;
  }

  .map-stage-head {
    align-items: start;
    flex-direction: column;
  }

  .map-stage-summary {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 980px) {
  .topbar nav {
    display: none;
  }

  .admin-app,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    height: auto;
    position: static;
  }

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

@media (max-width: 680px) {
  .listing-grid,
  .filter-panel,
  .process-grid,
  .trust-strip,
  .kpi-grid,
  .form-row.two,
  .form-row.three,
  .form-row.four {
    grid-template-columns: 1fr;
  }

  .map-priority,
  .admin-map {
    height: 440px;
    min-height: 440px;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }
}

/* Corporate visual refresh */
:root {
  --ink: #172126;
  --muted: #657176;
  --paper: #f4f6f7;
  --paper-strong: #ffffff;
  --accent: #b58a3b;
  --accent-dark: #795a21;
  --forest: #143c3a;
  --line: rgba(23, 33, 38, 0.12);
  --shadow: 0 18px 48px rgba(23, 33, 38, 0.1);
  --radius: 8px;
}

body {
  background: #f4f6f7;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

.topbar {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(23, 33, 38, 0.06);
  padding-bottom: 14px;
  padding-top: 14px;
}

.brand {
  color: #102326;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.topbar nav {
  color: #4f5b61;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-cta,
.button,
.mini-button {
  border-radius: 8px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.map-hero {
  gap: 32px;
  grid-template-columns: minmax(330px, 440px) minmax(0, 1fr);
}

.map-hero-copy,
.map-hero-stage,
.map-hero-card,
.brand-visual,
.map-priority {
  min-width: 0;
}

h1,
h2,
h3 {
  color: #102326;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  font-size: 62px;
  line-height: 0.98;
}

h2 {
  font-size: 46px;
  line-height: 1.02;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
}

.lead {
  color: #4f5b61;
  font-size: 19px;
  line-height: 1.58;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.brand-visual,
.map-hero-card,
.hero-metric,
.trust-strip article,
.filter-panel,
.property,
.process-grid article,
.closing,
.whatsapp-panel {
  background: var(--paper-strong);
  border: 1px solid rgba(23, 33, 38, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.whatsapp-panel,
.whatsapp-panel h3,
.whatsapp-panel p {
  color: #172126;
}

.whatsapp-chip {
  background: #143c3a;
  color: #ffffff;
}

.whatsapp-script {
  background: #f4f6f7;
  border: 1px solid rgba(23, 33, 38, 0.1);
  color: #243338;
}

.whatsapp-panel .button.dark {
  background: #143c3a;
  color: #ffffff;
}

.brand-visual {
  border: 0;
}

.brand-visual figcaption strong {
  color: #ffffff;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 32px;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-metric,
.trust-strip article,
.process-grid article,
.property-body {
  border-left: 4px solid rgba(181, 138, 59, 0.74);
}

.hero-metric.solid strong,
.price,
.kpi-card strong {
  color: #143c3a;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
}

.button.primary {
  background: #143c3a;
  color: #ffffff;
}

.button.soft,
.button.ghost-map,
.pill {
  background: #eef3f2;
  color: #143c3a;
}

.property {
  background: #ffffff;
}

.property:hover {
  box-shadow: 0 24px 70px rgba(23, 33, 38, 0.14);
}

.property img {
  aspect-ratio: 16 / 11;
}

.status,
.pill {
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

input,
select,
textarea {
  background: #ffffff;
  border-radius: 8px;
}

.closing {
  background:
    linear-gradient(135deg, rgba(20, 60, 58, 0.96), rgba(15, 31, 35, 0.98)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1400&q=80") center / cover;
}

@media (max-width: 980px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .brand-visual figcaption strong {
    font-size: 25px;
  }
}

@media (max-width: 980px) {
  .map-hero {
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 86px 16px 22px;
  }

  .map-hero-stage {
    order: 1;
    width: 100%;
  }

  .map-hero-copy {
    order: 2;
  }

  .map-hero-card {
    padding: 12px;
  }

  .brand-visual {
    aspect-ratio: 16 / 9;
    margin-bottom: 12px;
    min-height: 180px;
  }

  .brand-visual figcaption {
    bottom: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .map-priority {
    height: clamp(340px, 52vh, 440px);
    min-height: 340px;
  }
}

@media (max-width: 680px) {
  .topbar {
    padding-left: 12px;
    padding-right: 12px;
  }

  .map-hero {
    gap: 12px;
    padding: 80px 12px 18px;
  }

  .map-stage-head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .brand-visual {
    aspect-ratio: 4 / 3;
    min-height: 160px;
  }

  .brand-visual figcaption {
    bottom: 14px;
    left: 14px;
    max-width: calc(100% - 28px);
  }

  .map-hero-card {
    padding: 10px;
  }

  .map-priority {
    height: clamp(300px, 48vh, 360px);
    min-height: 300px;
  }

  .section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .trust-strip,
  .closing {
    margin-left: 12px;
    margin-right: 12px;
  }

  .property,
  .filter-panel,
  .trust-strip article,
  .process-grid article,
  .hero-metric,
  .whatsapp-panel,
  .map-hero-card {
    max-width: 100%;
    overflow: hidden;
  }
}
