@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 0%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 0%;
  --primary: 97 57% 20%;
  --primary-foreground: 0 0% 100%;
  --secondary: 27 51% 28%;
  --secondary-foreground: 0 0% 100%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 40%;
  --accent: 97 20% 92%;
  --accent-foreground: 97 57% 20%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 93%;
  --ring: 97 57% 20%;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
}

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

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 16px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-page,
.admin-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main,
.admin-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header.is-home {
  position: absolute;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}

.header-inner,
.admin-header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img {
  width: auto;
  max-width: 260px;
  max-height: 52px;
  object-fit: contain;
}

.site-nav,
.admin-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 2px solid transparent;
  padding: 0 0 4px;
}

.site-header.is-home .site-nav a {
  color: rgba(255, 255, 255, 0.94);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: hsl(var(--primary));
  border-bottom-color: hsl(var(--primary));
}

.site-header.is-home .site-nav a:hover,
.site-header.is-home .site-nav a.is-active {
  color: #fff;
  border-bottom-color: #fff;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  color: hsl(var(--foreground));
  padding: 8px;
}

.site-header.is-home .mobile-menu summary {
  color: #fff;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-panel {
  position: absolute;
  top: 72px;
  right: 16px;
  width: min(320px, calc(100vw - 32px));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 18px;
  display: grid;
  gap: 16px;
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 128px 0;
  text-align: center;
  background-image: url("https://horizons-cdn.hostinger.com/91a86bc0-ca55-498a-9c3d-b351dc27680b/39eb3d4ed994161a97abfb9ac12b93fb.png");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 896px);
  margin-inline: auto;
  padding-inline: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 672px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-search {
  width: min(100%, 816px);
  margin-inline: auto;
  padding: 8px;
  display: flex;
  gap: 8px;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.hero-search select,
.hero-search input {
  min-height: 48px;
  border: 0;
  outline: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-search select {
  width: 160px;
  padding: 0 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  font-weight: 500;
}

.hero-search select option {
  color: hsl(var(--foreground));
}

.hero-input {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-input .icon {
  position: absolute;
  left: 16px;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-search input {
  width: 100%;
  padding: 0 16px 0 46px;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.hero-search button {
  min-height: 48px;
  padding-inline: 32px;
  border-radius: 8px;
  font-weight: 500;
}

.btn,
button,
input[type="submit"] {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
button:hover {
  background: hsl(97 57% 17%);
}

.btn:active,
button:active {
  transform: scale(0.98);
}

.btn-outline,
button.btn-outline {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.btn-outline:hover,
button.btn-outline:hover {
  background: hsl(var(--muted));
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #20ba56;
}

.section {
  padding: 64px 0;
}

.section-muted {
  background: hsl(var(--muted) / 0.1);
}

.section-trust {
  padding: 64px 0;
  background: hsl(var(--muted) / 0.3);
  border-block: 1px solid hsl(var(--border));
}

.section-trust .container {
  max-width: 1100px;
}

.section-trust .section-heading {
  margin-bottom: 40px;
}

.section-trust .section-heading p {
  max-width: 672px;
  margin: 12px auto 0;
  line-height: 1.5;
}

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

.section-heading h2,
.page-title {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}

.page-title {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 800;
}

.section-heading p,
.lead {
  margin: 8px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 16px;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.grid-trust {
  width: 100%;
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-layout {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.import-layout {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.category-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.category-card strong {
  font-size: 14px;
  font-weight: 600;
}

.category-icon.secondary {
  background: hsl(var(--secondary) / 0.1);
  color: hsl(var(--secondary));
}

.category-icon.red {
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

.category-icon.blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.category-icon.amber {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
}

.category-icon.purple {
  background: rgba(147, 51, 234, 0.1);
  color: #9333ea;
}

.trust-card {
  max-width: 420px;
  margin-inline: auto;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.trust-card:hover {
  box-shadow: var(--shadow-md);
}

.trust-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

.trust-card p {
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  line-height: 1.6;
}

.trust-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.property-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.property-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: hsl(var(--muted));
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.badge-stack {
  display: grid;
  gap: 8px;
}

.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 6px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.badge-danger {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
  text-transform: uppercase;
}

.badge-featured {
  margin-left: auto;
  background: #fbbf24;
  color: #451a03;
}

.badge-status {
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #166534;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-booking {
  border-color: #fde68a;
  background: #fef3c7;
  color: #92400e;
}

.status-terjual,
.status-tersewa {
  border-color: #fecaca;
  background: #fee2e2;
  color: #991b1b;
}

.status-arsip {
  border-color: #e5e7eb;
  background: #f3f4f6;
  color: #374151;
}

.property-body {
  padding: 14px 16px 8px;
  flex: 1;
}

.property-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.property-footer {
  padding: 0 16px 16px;
}

.property-price {
  margin: 0 0 12px;
  color: hsl(var(--primary));
  font-size: 20px;
  font-weight: 900;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 10px 0;
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

.filter {
  display: flex;
  gap: 10px;
  margin: 24px 0 28px;
}

.filter input,
.filter select,
input,
textarea,
select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  outline-color: hsl(var(--ring));
}

.site-footer {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border));
}

.footer-grid {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer-logo {
  width: 220px;
  max-height: 52px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-title {
  display: block;
  margin-bottom: 14px;
  color: hsl(var(--foreground));
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social,
.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer-social a,
.social-list a,
.social-list span {
  padding: 7px 10px;
  border-radius: 8px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  font-weight: 700;
}

.copyright {
  padding: 22px 0;
  border-top: 1px solid hsl(var(--border));
  font-size: 14px;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.35);
}

.admin-shell {
  background: hsl(var(--muted) / 0.3);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.admin-header-inner {
  min-height: 64px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.admin-brand-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.admin-nav {
  gap: 4px;
}

.admin-nav a,
.admin-nav button {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a.is-active,
.admin-nav button:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.admin-main {
  padding: 32px 0;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid hsl(var(--border));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 16px;
  border-radius: 14px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.stat-card p {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

.stat-card strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.1;
}

.stat-green {
  border-color: #bbf7d0;
  background: rgba(240, 253, 244, 0.8);
  color: #14532d;
}

.stat-yellow {
  border-color: #fde68a;
  background: rgba(254, 252, 232, 0.8);
  color: #713f12;
}

.stat-red {
  border-color: #fecaca;
  background: rgba(254, 242, 242, 0.8);
  color: #7f1d1d;
}

.stat-orange {
  border-color: #fed7aa;
  background: rgba(255, 247, 237, 0.8);
  color: #7c2d12;
}

.admin-toolbar {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-toolbar .filter {
  margin: 0;
}

.admin-import-form {
  display: grid;
  gap: 10px;
  margin: 18px 0 12px;
}

.table-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid hsl(var(--border));
  text-align: left;
  vertical-align: middle;
}

th {
  background: hsl(var(--muted) / 0.5);
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  font-weight: 800;
}

td {
  font-size: 14px;
}

.actions-cell {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.actions-cell form {
  margin: 0;
}

.icon-btn {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.icon-btn.danger {
  color: hsl(var(--destructive));
}

.login-box {
  width: min(420px, calc(100% - 32px));
  margin: 56px auto;
  padding: 28px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.notice p {
  margin: 0;
}

.notice p + p {
  margin-top: 6px;
}

.notice-success {
  background: rgba(240, 253, 244, 0.88);
  border-color: #bbf7d0;
  color: #14532d;
}

.notice-error {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.admin-form-heading {
  align-items: flex-start;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
  font-weight: 700;
}

.admin-form-shell {
  display: grid;
  gap: 18px;
}

.form-section {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.form-section-title {
  margin-bottom: 18px;
}

.form-section-title h2 {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 20px;
  line-height: 1.25;
}

.form-section-title p {
  margin: 6px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

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

.single-column-grid {
  grid-template-columns: 1fr;
}

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

.field > span:first-child {
  color: hsl(var(--foreground));
  font-size: 13px;
  font-weight: 800;
}

.field small {
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  line-height: 1.45;
}

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

.field textarea {
  resize: vertical;
}

.checkbox-field {
  align-content: end;
}

.checkbox-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
}

.upload-drop {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 24px;
  border: 1px dashed hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--muted) / 0.28);
  color: hsl(var(--muted-foreground));
  text-align: center;
  cursor: pointer;
}

.upload-drop .icon {
  width: 30px;
  height: 30px;
  color: hsl(var(--primary));
}

.upload-drop span {
  color: hsl(var(--foreground));
  font-size: 16px;
  font-weight: 800;
}

.upload-drop small {
  font-size: 13px;
}

.upload-drop input {
  max-width: 360px;
  min-height: auto;
  padding: 8px;
  background: hsl(var(--card));
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.sticky-actions {
  position: sticky;
  bottom: 12px;
  z-index: 8;
  padding: 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--card) / 0.94);
  box-shadow: var(--shadow-sm);
}

.existing-images {
  margin-top: 18px;
}

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

.single-image-grid {
  grid-template-columns: minmax(0, 360px);
  margin-bottom: 16px;
}

.image-admin-card {
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  background: hsl(var(--background));
}

.image-admin-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: hsl(var(--muted));
}

.image-admin-card > div {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.image-admin-card strong {
  overflow: hidden;
  color: hsl(var(--foreground));
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-admin-card form {
  margin: 0;
}

.danger-action {
  width: 100%;
  color: hsl(var(--destructive));
}

.empty-state {
  margin: 0;
  padding: 28px;
  border: 1px dashed hsl(var(--border));
  border-radius: 12px;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.account-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.account-summary {
  display: grid;
  gap: 12px;
}

.account-summary div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--background));
}

.account-summary span {
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  font-weight: 800;
}

.account-summary strong {
  color: hsl(var(--foreground));
  font-size: 14px;
  overflow-wrap: anywhere;
}

.blog-content {
  max-width: 820px;
  margin-top: 28px;
  color: hsl(var(--foreground));
  font-size: 17px;
  line-height: 1.85;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: hsl(var(--muted));
}

.blog-hero-image {
  width: min(100%, 920px);
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.blog-content p {
  color: hsl(var(--muted-foreground));
}

.blog-content h2 {
  margin: 36px 0 14px;
  font-size: 28px;
  line-height: 1.3;
}

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

.contact-card {
  padding: 22px;
}

.contact-card h2 {
  margin: 12px 0;
  font-size: 20px;
}

.contact-card p {
  color: hsl(var(--muted-foreground));
}

.home-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  box-shadow: var(--shadow-sm);
}

.home-whatsapp:hover {
  background: #20ba56;
  color: #fff;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }

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

  .category-card {
    padding: 24px;
  }

  .category-icon {
    width: 64px;
    height: 64px;
  }

  .category-card strong {
    font-size: 16px;
  }
}

@media (min-width: 821px) {
  .trust-card {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 32px;
  }

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

  .site-logo img {
    max-width: 300px;
    max-height: 72px;
  }

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

@media (max-width: 1120px) {
  .grid-properties {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 80px;
  }

  .site-logo img {
    max-width: 260px;
    max-height: 52px;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 571px;
    padding: 96px 0;
  }

  .hero-content {
    margin-top: 48px;
  }

  .hero h1 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.2;
  }

  .hero p {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-search {
    width: calc(100% - 24px);
  }

  .hero-search input {
    font-size: 14px;
  }

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

  .hero-search select {
    width: 100%;
  }

  .hero-input {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .section {
    padding: 48px 0;
  }

  .section-heading h2 {
    font-size: 24px;
    line-height: 1.33;
  }

  .page-title {
    font-size: 32px;
  }

  .section-trust {
    padding: 48px 0;
  }

  .section-trust .section-heading {
    margin-bottom: 40px;
  }

  .section-trust .section-heading h2 {
    font-size: 24px;
    line-height: 1.33;
  }

  .section-trust .section-heading p {
    max-width: 672px;
    margin: 12px auto 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .section-heading,
  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid-properties,
  .grid-trust,
  .contact-grid,
  .account-grid,
  .detail-layout,
  .import-layout,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .trust-card {
    padding: 16px;
  }

  .trust-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .trust-card h3 {
    font-size: 16px;
  }

  .trust-card p {
    font-size: 13px;
  }

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

  .admin-nav {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

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

@media (max-width: 520px) {
  .container {
    padding-inline: 16px;
  }

  .stat-grid,
  .image-admin-grid {
    grid-template-columns: 1fr;
  }

  .filter {
    flex-direction: column;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .site-logo img {
    max-width: 260px;
  }

  th,
  td {
    padding: 12px;
  }
}
