* {
  box-sizing: border-box;
}

:root {
  --bg: #f5f1e7;
  --surface: #ffffff;
  --surface-2: #fbf7ee;
  --ink: #17241e;
  --muted: #4c5c53;
  --line: #e4dccb;
  --brand: #b0512c;
  --brand-2: #8e3f20;
  --green: #1c6b4c;
  --gold: #b4892e;
  --deep: #241310;
  --deep-2: #0f2019;
  --ok: #1c6b4c;
  --reserved: #b67d22;
  --closed: #5b6a61;
  --danger: #8a3b2c;
  --shadow: 0 18px 46px rgba(36, 19, 16, 0.12);
  --shadow-soft: 0 8px 24px rgba(36, 19, 16, 0.08);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Spectral", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

p {
  margin: 0;
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.button-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(176, 81, 44, 0.28);
}

.button-primary:hover {
  background: var(--brand-2);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.button-sm {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 13px;
}

.button-block {
  width: 100%;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.demo-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--deep);
  color: #f6efe4;
}

.demo-bar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
}

.demo-brand,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.demo-brand {
  color: rgba(246, 239, 228, 0.92);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.demo-tag {
  color: rgba(246, 239, 228, 0.64);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 4px;
  background: linear-gradient(145deg, var(--brand), #d08a58 62%, #5f7f56);
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25), 0 8px 18px rgba(176, 81, 44, 0.25);
}

.brand-mark-lg {
  width: 36px;
  height: 36px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.25), 0 10px 22px rgba(176, 81, 44, 0.24);
}

.view-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.view-switch button {
  min-height: 31px;
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
  color: rgba(246, 239, 228, 0.72);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

.view-switch button.is-active {
  background: var(--brand);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 42px;
  z-index: 70;
  border-bottom: 1px solid rgba(228, 220, 203, 0.86);
  background: rgba(245, 241, 231, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-family: "Spectral", Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--brand);
}

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

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
}

.hero {
  padding: 72px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.hero h1 {
  margin-top: 15px;
  color: var(--ink);
  font-size: clamp(46px, 6vw, 70px);
  max-width: 780px;
}

.hero .lead {
  margin-top: 18px;
}

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

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.trust-row span,
.automation-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 800;
}

.trust-row i,
.automation-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: 48% 48% 18px 18px / 32% 32% 18px 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(36, 19, 16, 0.58), transparent);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.availability-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(310px, calc(100% - 44px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.availability-card strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}

.availability-card b,
.availability-card small {
  display: block;
}

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

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2fbf6f;
  box-shadow: 0 0 0 0 rgba(47, 191, 111, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 191, 111, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(47, 191, 111, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 191, 111, 0);
  }
}

.section {
  padding: 88px 0;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-top h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4.6vw, 52px);
  max-width: 780px;
}

.section-top > p,
.status-summary {
  max-width: 430px;
  color: var(--muted);
}

.status-summary {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.metrics-band {
  padding: 0 0 40px;
}

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

.metrics-grid article {
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-soft);
}

.metrics-grid strong {
  display: block;
  color: var(--brand);
  font-family: "Spectral", Georgia, serif;
  font-size: 35px;
  line-height: 1;
}

.metrics-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.filters {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 0.86fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.check-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdf8;
  color: var(--ink);
  padding: 11px 12px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(176, 81, 44, 0.74);
  box-shadow: 0 0 0 4px rgba(176, 81, 44, 0.12);
}

.check-field {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  white-space: nowrap;
}

.check-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

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

.property-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.property-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease, filter 180ms ease;
}

.property-card:hover .property-media img {
  transform: scale(1.04);
}

.property-card.is-closed .property-media img {
  filter: grayscale(0.65) brightness(0.9);
}

.property-pill,
.status-pill,
.ribbon,
.stamp {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-pill {
  left: 12px;
  top: 12px;
  background: rgba(36, 19, 16, 0.74);
  backdrop-filter: blur(10px);
}

.status-pill {
  top: 12px;
  right: 12px;
}

.status-ok,
.pill-ok {
  background: var(--ok);
}

.status-reserved,
.pill-reserved {
  background: var(--reserved);
}

.status-closed,
.pill-closed {
  background: var(--closed);
}

.ribbon {
  left: 12px;
  bottom: 12px;
  background: var(--gold);
}

.stamp {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-11deg);
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: rgba(36, 19, 16, 0.72);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.property-body {
  padding: 18px;
}

.property-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
}

.property-top h3 {
  font-size: 22px;
}

.price {
  color: var(--brand);
  font-family: "Spectral", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price small {
  color: var(--muted);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 12px;
  margin-left: 2px;
}

.location {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.spec {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  text-align: center;
}

.spec b,
.spec small {
  display: block;
}

.spec small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.empty-state {
  margin-top: 24px;
  padding: 28px;
  border: 1px dashed rgba(176, 81, 44, 0.45);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state span {
  margin-top: 6px;
  color: var(--muted);
}

.dark-section {
  background: var(--deep);
  color: #fff7ed;
}

.dark-section .eyebrow {
  color: #e09b68;
}

.section-top-dark p,
.dark-section .feature-grid p {
  color: rgba(255, 247, 237, 0.72);
}

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

.feature-grid article,
.steps-grid article,
.assistant-card,
.contact-form,
.login-card,
.automation-panel article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-grid article {
  min-height: 240px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.feature-grid span,
.steps-grid span,
.automation-panel span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  font-family: "Spectral", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.feature-grid h3,
.steps-grid h3,
.automation-panel h3 {
  font-size: 24px;
}

.feature-grid p,
.steps-grid p,
.automation-panel p {
  margin-top: 10px;
  color: var(--muted);
}

.automation-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
}

.automation-grid h2,
.contact-grid h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4.6vw, 52px);
}

.automation-grid .lead,
.contact-grid .lead {
  margin-top: 16px;
}

.automation-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.assistant-card {
  padding: 24px;
  background: linear-gradient(145deg, #fff, #fbf7ee);
}

.assistant-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.assistant-head strong,
.assistant-head small {
  display: block;
}

.assistant-head small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.chat-bubble {
  max-width: 82%;
  margin: 10px 0;
  padding: 13px 15px;
  border-radius: 18px;
  font-weight: 700;
}

.chat-bubble.bot {
  border-bottom-left-radius: 5px;
  background: var(--surface-2);
  color: var(--ink);
}

.chat-bubble.user {
  margin-left: auto;
  border-bottom-right-radius: 5px;
  background: var(--deep);
  color: #fff7ed;
}

.assistant-card .button {
  margin-top: 18px;
}

.process-section {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.steps-grid article {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 24px;
}

.steps-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold), transparent);
}

.contact-section {
  padding-bottom: 96px;
}

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

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.checklist span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: rgba(176, 81, 44, 0.12);
  color: var(--brand);
}

.contact-form {
  padding: 26px;
}

.contact-form h3 {
  font-size: 30px;
}

.contact-form > p {
  margin-top: 8px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.field-full {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.contact-form small,
.modal-card small,
.login-card small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.footer {
  padding: 48px 0 24px;
  background: var(--deep);
  color: #fff7ed;
}

.footer .brand strong {
  color: #fff7ed;
}

.footer .brand small,
.footer a,
.footer span {
  color: rgba(255, 247, 237, 0.68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 56px;
  align-items: start;
}

.footer-grid div {
  display: grid;
  gap: 9px;
}

.footer-grid strong {
  color: #fff7ed;
  margin-bottom: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 247, 237, 0.64);
  font-size: 13px;
}

.panel-view {
  min-height: calc(100vh - 42px);
  background: linear-gradient(140deg, #f7efe4, #efe0cc);
}

.panel-shell {
  min-height: calc(100vh - 42px);
}

.login-panel {
  min-height: calc(100vh - 42px);
  display: grid;
  place-items: center;
  padding: 54px 24px;
}

.login-card {
  width: min(430px, 100%);
  padding: 28px;
}

.login-card h2 {
  margin-top: 24px;
  font-size: 42px;
}

.login-card p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.login-card form {
  display: grid;
  gap: 14px;
}

.dashboard {
  padding: 54px 0 90px;
}

.dashboard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-head h2 {
  margin-top: 8px;
  font-size: clamp(36px, 4vw, 52px);
}

.dashboard-head p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
}

.dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 28px 0 20px;
}

.kpi-grid article {
  min-height: 134px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.kpi-grid article.is-accent {
  background: var(--deep);
  color: #fff7ed;
}

.kpi-grid strong {
  display: block;
  font-family: "Spectral", Georgia, serif;
  font-size: 36px;
  line-height: 1;
}

.kpi-grid span,
.kpi-grid small {
  display: block;
}

.kpi-grid span {
  margin-top: 8px;
  font-weight: 800;
}

.kpi-grid small {
  margin-top: 3px;
  color: var(--muted);
}

.kpi-grid .is-accent small {
  color: rgba(255, 247, 237, 0.64);
}

.panel-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.panel-tabs button {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.panel-tabs button.is-active {
  background: var(--brand);
  color: #fff;
}

.panel-tabs span {
  margin-left: 4px;
  opacity: 0.72;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

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

.add-card,
.manage-card,
.lead-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.add-card {
  min-height: 310px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
}

.add-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
}

.add-card small {
  max-width: 230px;
  color: var(--muted);
  font-weight: 700;
}

.manage-card {
  overflow: hidden;
}

.manage-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.manage-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manage-body {
  padding: 16px;
}

.manage-body h3 {
  font-size: 22px;
}

.manage-meta {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.status-row select,
.lead-item select {
  min-height: 38px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  padding: 7px 10px;
  color: var(--ink);
  outline: 0;
}

.actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.actions-row button {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.actions-row .danger {
  color: var(--danger);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.lead-item {
  display: grid;
  grid-template-columns: 1fr minmax(180px, 230px);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.lead-item h3 {
  font-size: 22px;
}

.lead-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.lead-message {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
}

.lead-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.bot-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

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

.automation-panel article {
  padding: 24px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 75;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1f8f57;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(31, 143, 87, 0.28);
}

.modal[hidden],
.toast[hidden],
[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 25, 0.54);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(15, 32, 25, 0.24);
}

.modal-card-wide {
  width: min(820px, 100%);
}

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

.modal-head h3 {
  font-size: 30px;
}

.modal-head small {
  margin-top: 5px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 140;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: var(--deep);
  color: #fff7ed;
  box-shadow: 0 16px 38px rgba(36, 19, 16, 0.22);
  text-align: center;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .filters,
  .properties-grid,
  .manage-grid,
  .feature-grid,
  .steps-grid,
  .automation-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .filters {
    align-items: stretch;
  }

  .check-field {
    justify-content: flex-start;
  }

  .kpi-grid,
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 920px) {
  .wrap {
    width: min(100% - 32px, 720px);
  }

  .demo-bar-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .view-switch,
  .view-switch button {
    width: 100%;
  }

  .site-header {
    top: 74px;
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .header-actions {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .automation-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }

  .section-top,
  .dashboard-head,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .section-top {
    display: grid;
  }

  .status-summary {
    white-space: normal;
  }

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

  .footer-grid .brand {
    grid-column: 1 / -1;
  }

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

  .lead-side {
    justify-items: stretch;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 28px, 560px);
  }

  .demo-brand {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-header {
    top: 101px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions .button,
  .filters,
  .properties-grid,
  .manage-grid,
  .feature-grid,
  .steps-grid,
  .automation-panel,
  .metrics-grid,
  .kpi-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filters,
  .properties-grid,
  .manage-grid,
  .feature-grid,
  .steps-grid,
  .automation-panel,
  .metrics-grid,
  .kpi-grid,
  .form-grid {
    display: grid;
  }

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

  .hero-media,
  .hero-media img {
    min-height: 350px;
  }

  .availability-card {
    left: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .section {
    padding: 64px 0;
  }

  .property-top {
    grid-template-columns: 1fr;
  }

  .price {
    text-align: left;
  }

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

  .modal {
    padding: 14px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }
}
