:root {
  --ink: #111111;
  --muted: #687076;
  --paper: #f6f2ea;
  --panel: #ffffff;
  --line: rgba(17, 17, 17, 0.1);
  --brand: #0f3d2e;
  --brand-2: #c9974a;
  --brand-3: #183b56;
  --danger: #b42318;
  --success: #157347;
  --shadow: 0 22px 70px rgba(17, 17, 17, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  line-height: 1.55;
}

body.admin-body {
  background: #f4f5f2;
}

a {
  color: inherit;
}

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

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

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.logo a,
.brand-copy {
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
}

.brand-copy span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-btn:hover,
.nav-btn.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-btn.admin-login-btn,
.nav-btn.nav-strong {
  color: #111;
  background: var(--brand-2);
}

#menu-toggle {
  display: none;
}

#hamburger-btn {
  display: none;
  color: #fff;
  cursor: pointer;
}

.hero-section {
  min-height: 680px;
  padding: 132px 0 64px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.9) 0%, rgba(7, 25, 20, 0.66) 42%, rgba(7, 25, 20, 0.24) 100%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=85") center/cover;
}

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

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  align-items: end;
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content h1,
.page-title h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-content p,
.page-title p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

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

.cta-btn,
.secondary-btn,
.buy-btn,
.property-card button,
#admin-login-form button,
#propertyForm button,
#landForm button,
#editListingForm button,
#promoForm button,
.admin-property-card button,
.promo-card button,
.contact-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: var(--brand-2);
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cta-btn:hover,
.secondary-btn:hover,
.buy-btn:hover,
.property-card button:hover,
#admin-login-form button:hover,
#propertyForm button:hover,
#landForm button:hover,
#editListingForm button:hover,
#promoForm button:hover,
.admin-property-card button:hover,
.promo-card button:hover,
.contact-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.secondary-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 720px;
  margin-top: 56px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-finder {
  padding: 24px;
  color: #111;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-finder h2 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1;
}

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

.finder-grid a {
  min-height: 78px;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #111;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 850;
}

.finder-grid a:nth-child(2) {
  background: var(--brand);
}

.finder-grid a:nth-child(3) {
  color: #111;
  background: var(--brand-2);
}

.finder-grid a:nth-child(4) {
  background: var(--brand-3);
}

.finder-whatsapp {
  min-height: 46px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #f2eee5;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.hero-stat {
  padding: 18px;
  background: rgba(7, 25, 20, 0.38);
}

.hero-stat strong {
  display: block;
  font-size: 1.28rem;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.search-and-listings,
.section-band {
  padding: 76px 0;
}

.work-showcase {
  padding: 76px 0;
  color: #fff;
  background: #111;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  align-items: center;
}

.showcase-only {
  display: block;
}

.showcase-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.98;
}

.showcase-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.work-track {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #222;
  box-shadow: var(--shadow);
}

.work-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.work-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.work-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.72));
}

.work-slide div {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
}

.work-slide span {
  color: var(--brand-2);
  font-weight: 900;
}

.work-slide h3 {
  margin: 8px 0;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1;
}

.work-slide p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.services-band .section-heading {
  align-items: flex-start;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
}

.section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 26px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(17, 17, 17, 0.06);
}

.search-bar {
  width: 100%;
  min-height: 50px;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: #f4f2ed;
  border-radius: 6px;
}

.search-meta {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--muted);
  font-weight: 800;
  border-left: 1px solid var(--line);
}

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

.property-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(17, 17, 17, 0.08);
}

.property-card-media {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: #ddd5c8;
}

.property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.property-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.property-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 17, 17, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
}

.media-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #111;
  background: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.property-card-body {
  padding: 20px;
}

.property-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}

.public-listing-id,
.listing-id-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 10px 0;
}

.public-listing-id button,
.listing-id-row button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: var(--brand-2);
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.property-price {
  margin: 10px 0 12px;
  color: var(--brand);
  font-size: 1.12rem;
  font-weight: 900;
}

.property-meta,
.detail-meta {
  margin-bottom: 14px;
  color: #7b5b21;
  font-size: 0.9rem;
  font-weight: 850;
}

.property-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.property-card button {
  width: 100%;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 44px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: -12px 0 26px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filter-panel input,
.filter-panel select,
.filter-panel button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
}

.filter-panel input,
.filter-panel select {
  padding: 0 14px;
}

.filter-panel button {
  padding: 0 18px;
  cursor: pointer;
}

.listing-more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
}

.listing-more a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #111;
  background: var(--brand-2);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

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

.trust-item {
  padding: 28px;
  background: #111;
  color: #fff;
  border-radius: var(--radius);
}

.trust-item h3 {
  margin: 0 0 10px;
  color: var(--brand-2);
}

.trust-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.services-band {
  background: #fff;
}

.quick-actions-band {
  padding: 44px 0;
  color: #fff;
  background: #111;
}

.quick-actions {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) repeat(4, minmax(120px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.quick-actions h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.quick-actions a {
  min-height: 92px;
  padding: 14px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.82)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=900&q=85") center/cover;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
}

.quick-actions a:nth-of-type(2) {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.82)),
    url("https://images.unsplash.com/photo-1600607687644-c7171b42498b?auto=format&fit=crop&w=900&q=85") center/cover;
}

.quick-actions a:nth-of-type(3) {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.82)),
    url("https://images.unsplash.com/photo-1600047509807-ba8f99d2cdde?auto=format&fit=crop&w=900&q=85") center/cover;
}

.quick-actions a:nth-of-type(4) {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.04), rgba(17, 17, 17, 0.82)),
    url("https://images.unsplash.com/photo-1600585153490-76fb20a32601?auto=format&fit=crop&w=900&q=85") center/cover;
}

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

.service-card {
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.14), rgba(17, 17, 17, 0.9)),
    url("images/fad-sales-rentals.jpeg") center/cover;
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.88)),
    url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=900&q=85") center/cover;
}

.service-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.88)),
    url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=900&q=85") center/cover;
}

.service-card span {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: var(--brand-2);
  border-radius: 50%;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

.modal-content {
  width: min(420px, 100%);
  padding: 28px;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-content h2 {
  margin: 0 0 18px;
}

.close-btn {
  float: right;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
}

#admin-login-form,
#propertyForm,
#landForm,
#editListingForm,
#promoForm {
  display: grid;
  gap: 12px;
}

#admin-login-form input,
#propertyForm input,
#propertyForm select,
#propertyForm textarea,
#landForm input,
#landForm select,
#landForm textarea,
#editListingForm input,
#editListingForm select,
#editListingForm textarea,
#promoForm input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

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

#propertyForm textarea,
#landForm textarea,
#editListingForm textarea {
  min-height: 130px;
  resize: vertical;
}

#error-message {
  margin: 0;
  color: var(--danger);
  font-size: 0.9rem;
}

.page-hero {
  min-height: 420px;
  padding: 136px 0 62px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.88), rgba(7, 25, 20, 0.42)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.land-hero {
  background:
    linear-gradient(90deg, rgba(7, 25, 20, 0.88), rgba(7, 25, 20, 0.36)),
    url("images/land-hero-nigeria.png") center/cover;
}

.page-title {
  max-width: 730px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 70px 0;
}

.copy-panel,
.contact-card,
.detail-card,
.admin-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(17, 17, 17, 0.07);
}

.copy-panel,
.contact-card {
  padding: 30px;
}

.copy-panel h2,
.copy-panel h3,
.contact-card h2 {
  margin-top: 0;
}

.values-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.values-list div {
  padding: 16px;
  background: #f5f2ec;
  border-left: 4px solid var(--brand-2);
}

.registration-note {
  margin-top: 22px;
  padding: 16px;
  color: var(--muted);
  background: #f5f2ec;
  border: 1px dashed rgba(17, 17, 17, 0.2);
  border-radius: var(--radius);
}

.registration-figure {
  margin: 18px 0 0;
}

.registration-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.registration-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.contact-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-inline {
  margin: 16px 0 0;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  word-break: break-word;
}

.contact-note {
  margin: 18px 0 70px;
  padding: 16px 18px;
  background: #f5f2ec;
  border: 1px dashed rgba(17, 17, 17, 0.18);
  border-radius: var(--radius);
  color: var(--muted);
}

.property-main {
  padding: 110px 0 70px;
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.gallery-panel {
  overflow: hidden;
  background: #111;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.swiper-container {
  position: relative;
  width: 100%;
  padding-bottom: 38px;
  background: #111;
}

.swiper-slide img,
.swiper-slide video {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
}

.gallery-panel .swiper-pagination {
  bottom: 10px !important;
}

.gallery-panel .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.gallery-panel .swiper-pagination-bullet-active {
  background: var(--brand-2);
}

.detail-card {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.property-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.property-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.status-badge {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.status-badge.available {
  background: var(--success);
}

.status-badge.sold {
  background: var(--danger);
}

.detail-price {
  margin: 0 0 20px;
  color: var(--brand);
  font-size: 1.8rem;
  font-weight: 900;
}

.detail-description {
  color: var(--muted);
}

.buy-btn {
  width: 100%;
  margin-top: 24px;
}

.admin-shell {
  padding: 112px 0 70px;
}

.admin-login-panel {
  min-height: calc(100vh - 180px);
  display: grid;
  align-items: center;
}

.admin-login-panel .admin-panel {
  width: min(460px, 100%);
  margin: 0 auto;
}

.admin-login-panel h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

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

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.admin-stat {
  width: 100%;
  padding: 18px;
  text-align: left;
  background: #111;
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-stat:hover,
.admin-stat.is-active {
  border-color: var(--brand-2);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.14);
  transform: translateY(-1px);
}

.admin-stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.admin-stat span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.admin-topbar h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.admin-panel {
  padding: 24px;
}

.admin-panel h2 {
  margin: 0 0 16px;
}

.inventory-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 16px;
}

.inventory-tools input,
.inventory-tools button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.inventory-tools input {
  padding: 0 14px;
}

.inventory-tools button {
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

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

.admin-property-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-card-head {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}

.admin-card-head span {
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  overflow-wrap: anywhere;
  color: var(--muted);
  background: #f5f2ec;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-property-card h3,
.promo-card h3 {
  margin: 0 0 8px;
}

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

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-property-card button,
.promo-card button {
  min-height: 38px;
  padding: 0 12px;
}

.delete-property-btn,
.delete-promo-btn {
  color: #fff !important;
  background: var(--danger) !important;
}

.admin-edit-modal {
  width: min(620px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
}

.form-note {
  margin: 0;
  color: var(--danger);
  font-size: 0.92rem;
}

.promo-card {
  margin-top: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.promo-card img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

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

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-weight: 750;
}

@media (max-width: 920px) {
  .links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(17, 17, 17, 0.96);
  }

  #menu-toggle:checked ~ .links {
    display: flex;
  }

  #hamburger-btn {
    display: block;
  }

  .nav-btn {
    width: 100%;
  }

  .hero-section {
    min-height: 620px;
  }

  .hero-stats,
  .hero-shell,
  #listings,
  .trust-grid,
  .service-grid,
  .showcase-layout,
  .contact-grid,
  .content-grid,
  .property-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

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

  .quick-actions > div {
    grid-column: 1 / -1;
  }

  .detail-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .navbar,
  .hero-shell,
  .section-shell,
  .page-shell,
  .admin-shell,
  .footer-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero-section,
  .page-hero {
    padding-top: 118px;
  }

  .hero-content h1,
  .page-title h1 {
    font-size: 3rem;
  }

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

  .search-panel {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .search-meta {
    min-height: 42px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .property-card-media {
    height: 220px;
  }

  .swiper-slide img,
  .swiper-slide video {
    height: 420px;
  }

  .work-track {
    min-height: 390px;
  }

  .finder-grid,
  .quick-actions,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .hero-finder {
    padding: 16px;
  }

  .hero-finder h2 {
    font-size: 1.35rem;
  }

  .finder-grid {
    gap: 8px;
  }

  .finder-grid a {
    min-height: 46px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.92rem;
  }

  .finder-whatsapp {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .quick-actions {
    gap: 8px;
  }

  .quick-actions h2 {
    font-size: 1.75rem;
  }

  .quick-actions a {
    min-height: 46px;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.92rem;
  }
}
