:root {
  --bg: #f8f4ea;
  --bg-strong: #f1e6cf;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdf8;
  --text: #1c160e;
  --muted: #6d614f;
  --gold: #c89b3c;
  --gold-deep: #8f6821;
  --gold-soft: #ecdcb7;
  --line: rgba(143, 104, 33, 0.18);
  --shadow: 0 25px 70px rgba(63, 44, 11, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(236, 220, 183, 0.75),
      transparent 26%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(200, 155, 60, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #fffdf8 0%, #f7f0e2 55%, #ffffff 100%);
}

body.menu-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
  border: 0;
}

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

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

button {
  cursor: pointer;
}

.shell {
  width: min(1220px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(255, 252, 246, 0.82);
  border-bottom: 1px solid rgba(143, 104, 33, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo {
  height: 2.7rem;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #e0c178);
  color: white;
  box-shadow: 0 10px 25px rgba(200, 155, 60, 0.3);
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle span {
  width: 1.15rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-overlay,
.mobile-drawer {
  display: none;
}

.nav-links a:hover,
.inline-link:hover,
.social-links a:hover {
  color: var(--gold-deep);
}

.nav-button,
.button,
.view-button,
.floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-button,
.button {
  padding: 0.95rem 1.35rem;
  font-weight: 800;
}

.nav-button,
.button-secondary,
.view-button,
.floating-button.alt {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  color: var(--text);
}

.button-primary,
.floating-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white;
  box-shadow: 0 18px 35px rgba(143, 104, 33, 0.24);
}

.button:hover,
.nav-button:hover,
.view-button:hover,
.floating-button:hover {
  transform: translateY(-2px);
}

.button-full {
  width: 100%;
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 2.2rem;
  align-items: center;
  padding: 4.5rem 0 3rem;
}

.page-hero.compact {
  grid-template-columns: 1fr;
  padding: 3rem 0 2rem;
}

.eyebrow,
.card-label {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--gold-deep);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 6.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.hero-text,
.info-card p,
.property-copy,
.property-location,
.quote-role,
.team-role,
.footer,
.contact-card-lite p,
.newsletter-form .form-message,
.contact-form .form-message,
.admin-layout p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 1.35rem 0 0;
}

.hero-actions,
.card-actions,
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats,
.feature-grid,
.property-grid,
.gallery-grid,
.detail-gallery,
.contact-layout,
.admin-layout,
.search-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.hero-stats article,
.search-card,
.info-card,
.property-card,
.testimonial-card,
.team-card,
.gallery-card,
.detail-card,
.spotlight-form,
.admin-table-wrap,
.filter-panel {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 1rem;
  border-radius: 18px;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--gold-deep);
}

.hero-stats span {
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-image-stack {
  display: grid;
  gap: 1rem;
}

.hero-image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-image,
.detail-hero-image,
.property-visual,
.team-photo,
.gallery-image,
.detail-gallery-image {
  background-size: cover;
  background-position: center;
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-image.tall {
  min-height: 420px;
}

.hero-image.small {
  min-height: 180px;
}

.search-band {
  padding: 0 0 1.5rem;
}

.search-card {
  border-radius: 28px;
  padding: 1.4rem;
}

.search-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

.search-grid.filters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.search-grid .wide {
  grid-column: span 2;
}

label {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.12);
}

/* Custom dropdown styles for mobile */
.custom-select {
  position: relative;
  display: block;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c89b3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem;
  cursor: pointer;
}

/* Mobile-specific dropdown improvements */
@media (max-width: 760px) {
  .search-grid select {
    font-size: 16px; /* Prevents zoom on iOS */
    max-height: 50vh; /* Limit dropdown height */
    overflow-y: auto;
  }

  /* Fix date picker overflow on mobile */
  input[type="date"] {
    font-size: 16px; /* Prevents zoom on iOS */
    position: relative;
  }

  /* Ensure date picker stays within viewport */
  input[type="date"]::-webkit-calendar-picker-indicator {
    position: relative;
    z-index: 1;
  }

  /* Fix date picker positioning */
  input[type="date"]::-webkit-datetime-edit {
    padding: 0;
  }

  /* Mobile date picker container fix */
  .spotlight-form input[type="date"],
  .contact-form input[type="date"],
  .dash-form input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c89b3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
    cursor: pointer;
  }

  /* Custom mobile date picker overlay */
  .mobile-date-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 22, 14, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1001;
    display: none;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .mobile-date-overlay.active {
    display: flex;
    opacity: 1;
  }

  .mobile-date-panel {
    width: 100%;
    max-height: 70vh;
    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
    box-shadow:
      0 -20px 60px rgba(63, 44, 11, 0.25),
      0 -5px 20px rgba(63, 44, 11, 0.1);
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .mobile-date-overlay.active .mobile-date-panel {
    transform: translateY(0);
  }

  .mobile-date-header {
    padding: 1.4rem 1.6rem 1.2rem;
    border-bottom: 1px solid rgba(143, 104, 33, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.1)
    );
  }

  .mobile-date-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
  }

  .mobile-date-close {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid rgba(143, 104, 33, 0.2);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 1.1rem;
    transition: all 200ms ease;
  }

  .mobile-date-close:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.3);
  }

  .mobile-date-content {
    padding: 1.5rem;
    text-align: center;
  }

  .mobile-date-input {
    width: 100%;
    padding: 1.2rem;
    border-radius: 16px;
    border: 2px solid var(--gold);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  .mobile-date-input:focus {
    outline: none;
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.2);
    background: white;
  }

  /* Ensure mobile date input works properly */
  .mobile-date-input::-webkit-calendar-picker-indicator {
    opacity: 1;
    cursor: pointer;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c89b3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e")
      no-repeat;
    background-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
  }

  .mobile-date-input::-webkit-datetime-edit {
    color: var(--text);
    padding: 0;
  }

  .mobile-date-input::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  .mobile-date-input::-webkit-datetime-edit-text {
    color: var(--muted);
    padding: 0 0.2rem;
  }

  .mobile-date-input::-webkit-datetime-edit-month-field,
  .mobile-date-input::-webkit-datetime-edit-day-field,
  .mobile-date-input::-webkit-datetime-edit-year-field {
    color: var(--text);
    background: transparent;
    border: none;
    padding: 0.2rem;
    border-radius: 4px;
  }

  .mobile-date-input::-webkit-datetime-edit-month-field:focus,
  .mobile-date-input::-webkit-datetime-edit-day-field:focus,
  .mobile-date-input::-webkit-datetime-edit-year-field:focus {
    background: rgba(200, 155, 60, 0.1);
    outline: none;
  }

  .mobile-date-actions {
    display: flex;
    gap: 1rem;
  }

  .mobile-date-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 200ms ease;
  }

  .mobile-date-btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: white;
  }

  .mobile-date-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    border: 1px solid var(--line);
  }

  .mobile-date-btn:hover {
    transform: translateY(-1px);
  }

  .mobile-date-btn.primary:hover {
    box-shadow: 0 8px 20px rgba(200, 155, 60, 0.3);
  }

  .mobile-date-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--gold);
  }

  /* Custom mobile dropdown overlay with enhanced blur */
  .mobile-select-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 22, 14, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: none;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition:
      opacity 300ms ease,
      backdrop-filter 300ms ease;
  }

  .mobile-select-overlay.active {
    display: flex;
    opacity: 1;
  }

  .mobile-select-panel {
    width: 100%;
    max-height: 65vh;
    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
    box-shadow:
      0 -20px 60px rgba(63, 44, 11, 0.25),
      0 -5px 20px rgba(63, 44, 11, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.6);
  }

  .mobile-select-overlay.active .mobile-select-panel {
    transform: translateY(0);
  }

  .mobile-select-header {
    padding: 1.4rem 1.6rem 1.2rem;
    border-bottom: 1px solid rgba(143, 104, 33, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.1)
    );
  }

  .mobile-select-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: -0.01em;
  }

  .mobile-select-close {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid rgba(143, 104, 33, 0.2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 300;
    transition: all 200ms ease;
    box-shadow: 0 2px 8px rgba(63, 44, 11, 0.1);
  }

  .mobile-select-close:hover {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.3);
    transform: scale(1.05);
  }

  .mobile-select-options {
    max-height: calc(65vh - 90px);
    overflow-y: auto;
    padding: 0.8rem 0 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-select-option {
    padding: 1.1rem 1.6rem;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
    color: var(--text);
    cursor: pointer;
    transition: all 200ms ease;
    min-height: 52px;
    display: flex;
    align-items: center;
    font-weight: 500;
    position: relative;
  }

  .mobile-select-option:hover,
  .mobile-select-option:active {
    background: rgba(200, 155, 60, 0.12);
    color: var(--gold-deep);
  }

  .mobile-select-option.selected {
    background: rgba(200, 155, 60, 0.15);
    color: var(--gold-deep);
    font-weight: 700;
  }

  .mobile-select-option.selected::after {
    content: "✓";
    position: absolute;
    right: 1.6rem;
    color: var(--gold-deep);
    font-weight: 800;
    font-size: 1.1rem;
  }

  /* Prevent iOS zoom on select focus */
  .custom-select select {
    font-size: 16px;
  }

  /* Enhanced animations */
  .mobile-select-overlay.active {
    animation: fadeInBlur 300ms ease;
  }

  @keyframes fadeInBlur {
    from {
      opacity: 0;
      backdrop-filter: blur(0px);
      -webkit-backdrop-filter: blur(0px);
    }
    to {
      opacity: 1;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
  }

  /* Improved scrollbar for mobile options */
  .mobile-select-options::-webkit-scrollbar {
    width: 4px;
  }

  .mobile-select-options::-webkit-scrollbar-track {
    background: rgba(143, 104, 33, 0.1);
    border-radius: 2px;
  }

  .mobile-select-options::-webkit-scrollbar-thumb {
    background: rgba(200, 155, 60, 0.4);
    border-radius: 2px;
  }

  .mobile-select-options::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 155, 60, 0.6);
  }
}

.section {
  padding: 4.7rem 0;
}

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

.inline-link {
  color: var(--gold-deep);
  font-weight: 800;
}

.feature-grid.three-col,
.property-grid,
.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.property-card,
.gallery-card,
.team-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.property-card.list-mode {
  display: grid;
  grid-template-columns: 320px 1fr;
}

.property-visual {
  min-height: 260px;
  position: relative;
}

.property-badge,
.property-status {
  position: absolute;
  top: 1rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.property-badge {
  left: 1rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--gold-deep);
}

.property-status {
  right: 1rem;
  background: rgba(28, 22, 14, 0.7);
  color: white;
}

.property-status.sold,
.property-status.rented {
  background: rgba(143, 104, 33, 0.88);
}

.property-body,
.gallery-body,
.team-card,
.info-card,
.testimonial-card,
.detail-card,
.spotlight-form,
.filter-panel,
.admin-table-wrap {
  padding: 1.4rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.price-row strong,
.detail-price-row strong {
  color: var(--gold-deep);
  font-size: 1.45rem;
}

.property-location {
  margin: 0.35rem 0 0.8rem;
}

.property-copy,
.team-card p,
.info-card p {
  margin: 0.65rem 0 0;
}

.property-meta {
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--text);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 1.5rem;
  align-items: start;
}

.cta-strip {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: linear-gradient(
    135deg,
    rgba(236, 220, 183, 0.55),
    rgba(255, 255, 255, 0.84)
  );
  border-radius: 28px;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 260px;
}

.quote {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--text);
}

.quote-author,
.quote-role,
.team-role {
  margin: 0.6rem 0 0;
}

.quote-author,
.team-role {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.team-photo {
  height: 280px;
  border-radius: 18px;
  margin-bottom: 1rem;
}

.filter-panel {
  border-radius: 28px;
  margin-bottom: 2rem;
}

.filter-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.view-switch {
  display: flex;
  gap: 0.6rem;
}

.view-button {
  padding: 0.7rem 1rem;
  font-weight: 800;
}

.view-button.is-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white;
  border-color: transparent;
}

.nav-search input {
  min-width: 220px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 1.6rem;
  padding: 3rem 0 1.5rem;
  align-items: center;
}

.detail-hero-image {
  min-height: 460px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-price-row,
.detail-meta-chips {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.3rem;
}

.detail-meta-chips span,
.gallery-body span {
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 1rem;
}

.detail-gallery-image {
  min-height: 200px;
  border-radius: 22px;
}

.gallery-controls {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.view-more-btn {
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  transform: translateY(-2px);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 2rem 0 4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.info-grid div {
  display: grid;
  gap: 0.3rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li::before {
  content: "+";
  color: var(--gold);
  margin-right: 0.5rem;
  font-weight: 800;
}

.video-frame,
.map-frame {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 1rem;
}

.video-frame iframe {
  width: 100%;
  min-height: 300px;
}

.map-frame iframe,
.map-frame.large iframe {
  width: 100%;
  min-height: 320px;
}

.gallery-grid {
  padding-bottom: 4rem;
}

.gallery-image {
  min-height: 300px;
}

.contact-layout,
.admin-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card-lite,
.spotlight-form,
.admin-table-wrap {
  border-radius: 24px;
}

.admin-layout {
  align-items: start;
}

.admin-form {
  gap: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.admin-table th,
.admin-table td {
  padding: 0.9rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.menu-overlay,
.mobile-drawer {
  position: fixed;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  gap: 0.7rem;
}

.floating-button {
  padding: 0.85rem 1.1rem;
  font-weight: 800;
}

.footer {
  padding: 1rem 0 0;
  font-size: 0.94rem;
}

.footer-card {
  background: #f5f5f5;
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  padding: 2.4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(120px, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1rem;
  max-width: 25rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  width: fit-content;
  color: #111827;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-logo-mark {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.footer-logo-text {
  font-size: 1.05rem;
}

.footer-description {
  margin: 0;
  max-width: 34ch;
  color: #6b7280;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: #4b5563;
  transition:
    transform 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.footer-social a:hover {
  color: #111827;
  border-color: rgba(17, 24, 39, 0.18);
  background: white;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links-group {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.footer-links-group h3 {
  margin: 0;
  color: #111827;
  font-size: 0.98rem;
  font-weight: 700;
}

.footer-links-group a,
.footer-legal a {
  color: #6b7280;
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-links-group a:hover,
.footer-legal a:hover,
.footer-logo:hover {
  color: #111827;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  color: #6b7280;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .detail-hero,
  .contact-layout,
  .admin-layout,
  .search-grid,
  .search-grid.filters,
  .feature-grid.three-col,
  .property-grid,
  .gallery-grid,
  .detail-gallery,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .search-grid .wide {
    grid-column: auto;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 760px) {
  .nav,
  .filter-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links,
  .hero-actions,
  .card-actions,
  .social-links,
  .newsletter-form {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 1rem;
    z-index: 33;
  }

  .nav-links {
    display: none !important;
  }

  .nav-button,
  .nav-search {
    display: none;
  }

  .menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(28, 22, 14, 0.16);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    z-index: 30;
  }

  .mobile-drawer {
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    position: fixed;
    top: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    width: min(86vw, 360px);
    border-radius: 30px 0 0 30px;
    background: rgba(255, 252, 246, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow:
      0 28px 60px rgba(63, 44, 11, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
    overflow: hidden;
    transform: translateX(calc(100% + 1.2rem));
    opacity: 0;
    pointer-events: none;
    transition:
      transform 420ms cubic-bezier(0.18, 0.95, 0.24, 1.08),
      opacity 220ms ease;
    z-index: 32;
  }

  body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .mobile-drawer {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer-header {
    position: relative;
    padding: 1.4rem 1.4rem 1.55rem;
    background:
      linear-gradient(
        135deg,
        rgba(200, 155, 60, 0.96),
        rgba(143, 104, 33, 0.92)
      ),
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
    color: white;
  }

  .mobile-drawer-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16),
      transparent 62%
    );
    pointer-events: none;
  }

  .mobile-drawer-brand {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    text-align: center;
  }

  .mobile-drawer-brand .brand-logo {
    width: 3.2rem;
    height: 3.2rem;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 0.4rem;
    backdrop-filter: blur(8px);
  }

  .mobile-drawer-brand .brand-text {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .mobile-drawer-brand p {
    margin: 0;
    font-size: 0.83rem;
    letter-spacing: 0.04em;
    color: rgba(255, 248, 236, 0.8);
  }

  .mobile-drawer-body {
    padding: 1rem 1rem 0.5rem;
    overflow-y: auto;
  }

  .mobile-drawer-list {
    display: grid;
    gap: 0.72rem;
  }

  .mobile-drawer-item {
    display: grid;
    grid-template-columns: 2.8rem minmax(0, 1fr);
    gap: 0.9rem;
    align-items: center;
    padding: 0.95rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(143, 104, 33, 0.09);
    box-shadow: 0 12px 28px rgba(63, 44, 11, 0.08);
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .mobile-drawer-item:hover,
  .mobile-drawer-item:focus-visible {
    transform: translateX(-3px);
    border-color: rgba(143, 104, 33, 0.22);
    box-shadow: 0 16px 30px rgba(63, 44, 11, 0.12);
    outline: none;
  }

  .mobile-drawer-icon {
    width: 2.8rem;
    height: 2.8rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(
      180deg,
      rgba(236, 220, 183, 0.6),
      rgba(255, 255, 255, 0.96)
    );
    color: var(--gold-deep);
    border: 1px solid rgba(143, 104, 33, 0.11);
  }

  .mobile-drawer-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 1.85;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-drawer-copy strong,
  .mobile-drawer-copy span {
    display: block;
  }

  .mobile-drawer-copy strong {
    font-size: 0.98rem;
    color: var(--text);
  }

  .mobile-drawer-copy span {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--muted);
  }

  .mobile-drawer-cta {
    padding: 0.8rem 1rem 0.45rem;
  }

  .mobile-drawer-cta .button {
    width: 100%;
    min-height: 3.5rem;
    border-radius: 20px;
  }

  .mobile-drawer-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem 1rem 1.2rem;
    font-size: 0.74rem;
    color: rgba(109, 97, 79, 0.8);
  }

  .mobile-drawer-footer a:hover {
    color: var(--gold-deep);
  }

  .hero,
  .page-hero,
  .split-section,
  .feature-grid.three-col,
  .property-grid,
  .gallery-grid,
  .detail-gallery,
  .detail-grid,
  .search-grid,
  .search-grid.filters,
  .contact-layout,
  .admin-layout,
  .detail-hero,
  .hero-image-row,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .property-card.list-mode {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-image.tall,
  .detail-hero-image,
  .gallery-image {
    min-height: 280px;
  }

  .floating-actions {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .nav-search {
    width: 100%;
  }

  .nav-search input,
  .newsletter-form input {
    width: 100%;
  }

  .footer-card {
    padding: 2rem 1.35rem;
    border-radius: 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-links-group {
    gap: 0.75rem;
  }

  .footer-bottom,
  .footer-legal {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    margin-top: 1.6rem;
    padding-top: 1rem;
  }
}

/* ── Contact page ─────────────────────────────────────── */

.contact-hero {
  grid-template-columns: 1fr;
  max-width: 700px;
  text-align: center;
  margin-inline: auto;
  padding: 4rem 0 1.5rem;
  justify-items: center;
}

.contact-hero .hero-text {
  max-width: 56ch;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.1);
  border: 1px solid rgba(200, 155, 60, 0.3);
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.contact-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}

/* Channel cards */
.contact-channels-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding-bottom: 0.5rem;
}

.contact-channel-card {
  display: grid;
  gap: 0.45rem;
  padding: 1.6rem;
  border-radius: 24px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
  color: var(--text);
}

.contact-channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(63, 44, 11, 0.16);
  border-color: rgba(200, 155, 60, 0.22);
}

.contact-channel-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(236, 220, 183, 0.65),
    rgba(255, 255, 255, 0.95)
  );
  border: 1px solid rgba(143, 104, 33, 0.14);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.contact-channel-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-channel-card strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.contact-channel-card
  > span:not(.contact-channel-icon):not(.contact-channel-action) {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-channel-action {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-top: 0.6rem;
  letter-spacing: 0.01em;
}

/* Contact split (form + info panel) */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: grid;
  gap: 2rem;
  position: sticky;
  top: 6rem;
}

.contact-panel-desc {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.contact-info-items {
  display: grid;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px rgba(63, 44, 11, 0.06);
  transition: box-shadow 180ms ease;
}

.contact-info-item:hover {
  box-shadow: 0 12px 32px rgba(63, 44, 11, 0.1);
}

.contact-info-icon {
  width: 2.7rem;
  height: 2.7rem;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(236, 220, 183, 0.65),
    rgba(255, 255, 255, 0.95)
  );
  border: 1px solid rgba(143, 104, 33, 0.14);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}

.contact-info-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-item div {
  display: grid;
  gap: 0.2rem;
}

.contact-info-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-info-item span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* Form grid layout */
.contact-split .spotlight-form {
  display: grid;
  gap: 1rem;
}

/* Form enhancements */
.form-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin: 0 0 0.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(143, 104, 33, 0.12);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* Map */
.map-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-frame.large iframe {
  min-height: 460px;
}

.map-address-card {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  display: grid;
  gap: 0.5rem;
  width: 240px;
}

.map-address-card .eyebrow {
  margin-bottom: 0.2rem;
}

.map-address-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1;
}

.map-address-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0;
}

.map-address-card .button {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  padding: 0.75rem 1.1rem;
}

/* Responsive contact page */
@media (max-width: 1080px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .contact-channels-band {
    grid-template-columns: 1fr;
  }

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

  .map-address-card {
    position: static;
    width: 100%;
    border-radius: 0 0 22px 22px;
  }

  .map-wrapper {
    border-radius: 24px;
  }

  .map-frame.large iframe {
    min-height: 280px;
  }
}

/* ── About page ───────────────────────────────────────── */

.about-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 3.5rem;
  padding: 4rem 0 3rem;
  align-items: center;
}

.about-hero-copy {
  display: grid;
  gap: 1.5rem;
}

.about-stats-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-stat {
  display: grid;
  gap: 0.4rem;
  padding: 1.8rem;
  background: var(--surface);
  backdrop-filter: blur(14px);
}

.about-stat:first-child {
  border-radius: 27px 0 0 0;
}
.about-stat:nth-child(2) {
  border-radius: 0 27px 0 0;
}
.about-stat:nth-child(3) {
  border-radius: 0 0 0 27px;
}
.about-stat:last-child {
  border-radius: 0 0 27px 0;
}

.about-stat strong {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-deep);
}

.about-stat span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

/* Story */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 4rem;
  align-items: center;
}

.about-story-copy {
  display: grid;
  gap: 1.2rem;
}

.about-story-copy p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  font-size: 1rem;
}

.about-quote {
  margin: 0;
  padding: 2rem 1.8rem;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(236, 220, 183, 0.5),
    rgba(255, 255, 255, 0.88)
  );
  border: 1px solid rgba(200, 155, 60, 0.22);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
}

.about-quote-mark {
  width: 2.4rem;
  height: auto;
  fill: var(--gold-soft);
}

.about-quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
}

.about-quote footer {
  display: grid;
  gap: 0.2rem;
}

.about-quote footer strong {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}

.about-quote footer span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Values */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.about-value-card {
  padding: 1.8rem;
  border-radius: 24px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.about-value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 80px rgba(63, 44, 11, 0.14);
  border-color: rgba(200, 155, 60, 0.2);
}

.about-value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(236, 220, 183, 0.65),
    rgba(255, 255, 255, 0.95)
  );
  border: 1px solid rgba(143, 104, 33, 0.14);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}

.about-value-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-value-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.about-value-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.92rem;
}

/* CTA */
.about-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: center;
  padding: 2.8rem;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(236, 220, 183, 0.55),
    rgba(255, 255, 255, 0.84)
  );
  border: 1px solid rgba(200, 155, 60, 0.2);
  box-shadow: var(--shadow);
}

.about-cta-copy {
  display: grid;
  gap: 0.6rem;
}

.about-cta-copy p:last-child {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

.about-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

/* About responsive */
@media (max-width: 1080px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-stats-card {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-stat:first-child {
    border-radius: 27px 0 0 27px;
  }
  .about-stat:nth-child(2) {
    border-radius: 0;
  }
  .about-stat:nth-child(3) {
    border-radius: 0;
  }
  .about-stat:last-child {
    border-radius: 0 27px 27px 0;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .about-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .about-stats-card {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat:first-child {
    border-radius: 27px 0 0 0;
  }
  .about-stat:nth-child(2) {
    border-radius: 0 27px 0 0;
  }
  .about-stat:nth-child(3) {
    border-radius: 0 0 0 27px;
  }
  .about-stat:last-child {
    border-radius: 0 0 27px 0;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-cta {
    padding: 1.8rem;
  }
}

/* ── Admin Dashboard ──────────────────────────────────── */

.dash-main {
  padding-top: 2rem;
  padding-bottom: 4rem;
  display: grid;
  gap: 1.8rem;
}

/* Topbar */
.dash-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.dash-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin: 0.4rem 0 0;
}

.dash-topbar-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.dash-topbar-actions .button svg,
.dash-cancel-btn svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.dash-topbar-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Stats row */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.dash-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 20px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 28px rgba(63, 44, 11, 0.07);
}

.dash-stat-icon {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(236, 220, 183, 0.6),
    rgba(255, 255, 255, 0.95)
  );
  border: 1px solid rgba(143, 104, 33, 0.14);
  color: var(--gold-deep);
}

.dash-stat-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dash-stat-green .dash-stat-icon {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
  color: #16a34a;
}
.dash-stat-gold .dash-stat-icon {
  background: rgba(200, 155, 60, 0.12);
  border-color: rgba(200, 155, 60, 0.25);
  color: var(--gold-deep);
}
.dash-stat-blue .dash-stat-icon {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: #2563eb;
}
.dash-stat-muted .dash-stat-icon {
  background: rgba(107, 114, 128, 0.1);
  border-color: rgba(107, 114, 128, 0.2);
  color: #6b7280;
}

.dash-stat-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.dash-stat-body strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.dash-stat-body span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

/* Body layout */
.dash-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  gap: 1.4rem;
  align-items: start;
}

/* Panel shared */
.dash-panel,
.dash-form-panel {
  background: var(--surface);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  border-radius: 24px;
  overflow: hidden;
}

.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.dash-panel-head h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1;
}

/* Search */
.dash-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  font-weight: 400;
  flex: 1 1 220px;
  max-width: 320px;
}

.dash-search-wrap svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.dash-search-wrap input {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.85rem;
  width: 100%;
  box-shadow: none;
}

.dash-search-wrap input:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

/* Table */
.dash-table-scroll {
  overflow-x: auto;
}

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

.dash-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(241, 230, 207, 0.25);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.dash-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(143, 104, 33, 0.07);
  font-size: 0.88rem;
  vertical-align: middle;
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-table tr:hover td {
  background: rgba(241, 230, 207, 0.18);
}

.dash-row-editing td {
  background: rgba(200, 155, 60, 0.07) !important;
}

.dash-table-property {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
}

.dash-thumb {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(143, 104, 33, 0.1);
}

.dash-table-meta {
  display: grid;
  gap: 0.15rem;
}

.dash-table-meta strong {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.dash-table-meta span {
  font-size: 0.78rem;
  color: var(--muted);
}

.dash-type {
  color: var(--muted);
  font-size: 0.84rem;
}

.dash-price {
  font-weight: 800;
  color: var(--gold-deep);
  white-space: nowrap;
}

/* Badges */
.dash-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.badge-buy {
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold-deep);
  border: 1px solid rgba(200, 155, 60, 0.25);
}
.badge-rent {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.22);
}
.badge-available {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.22);
}
.badge-sold {
  background: rgba(107, 114, 128, 0.1);
  color: #4b5563;
  border: 1px solid rgba(107, 114, 128, 0.2);
}
.badge-rented {
  background: rgba(168, 85, 247, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(168, 85, 247, 0.22);
}

/* Row action buttons */
.dash-row-actions {
  display: flex;
  gap: 0.4rem;
}

.dash-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.7rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
  background: transparent;
  white-space: nowrap;
  font-family: inherit;
}

.dash-action-btn svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dash-edit-btn {
  color: var(--gold-deep);
  border-color: rgba(200, 155, 60, 0.25);
  background: rgba(200, 155, 60, 0.08);
}

.dash-edit-btn:hover {
  background: rgba(200, 155, 60, 0.18);
  transform: translateY(-1px);
}

.dash-delete-btn {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.06);
}

.dash-delete-btn:hover {
  background: rgba(220, 38, 38, 0.14);
  transform: translateY(-1px);
}

.dash-empty {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
  font-size: 0.9rem;
}

.dash-message {
  padding: 0.75rem 1.4rem 1rem;
  font-size: 0.84rem;
}

/* Form panel */
.dash-form-panel {
  position: sticky;
  top: 5.5rem;
  max-height: calc(100vh - 7rem);
  display: flex;
  flex-direction: column;
}

.dash-cancel-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition:
    background 150ms ease,
    color 150ms ease;
  flex-shrink: 0;
  font-family: inherit;
}

.dash-cancel-btn:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.2);
}

.dash-form {
  padding: 1.2rem 1.4rem 1.4rem;
  display: grid;
  gap: 0.85rem;
  overflow-y: auto;
  flex: 1;
}

.dash-form label {
  gap: 0.4rem;
  font-size: 0.82rem;
}

.dash-form input,
.dash-form select,
.dash-form textarea {
  font-size: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
}

.dash-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.dash-form-actions {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.4rem;
}

/* Responsive */
@media (max-width: 1080px) {
  .dash-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .dash-body {
    grid-template-columns: 1fr;
  }

  .dash-form-panel {
    position: static;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .dash-stats {
    grid-template-columns: 1fr 1fr;
  }

  .dash-form-row,
  .dash-form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ── Login Page ───────────────────────────────────────── */

.login-body {
  background:
    radial-gradient(
      circle at top left,
      rgba(236, 220, 183, 0.4),
      transparent 50%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(200, 155, 60, 0.3),
      transparent 50%
    ),
    linear-gradient(135deg, #fffdf8 0%, #f7f0e2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-container {
  width: 100%;
  max-width: 420px;
}

.login-card {
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  box-shadow:
    0 25px 70px rgba(63, 44, 11, 0.15),
    0 10px 30px rgba(63, 44, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.login-header {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.2)
  );
  border-bottom: 1px solid rgba(143, 104, 33, 0.1);
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.login-brand .brand-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.login-brand .brand-text {
  font-size: 1.2rem;
  color: var(--text);
}

.login-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.login-header p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.login-form {
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
}

.login-form .form-message {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.login-form .form-message.error {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.login-form .form-message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.login-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.login-form input {
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: all 200ms ease;
}

.login-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.login-btn {
  margin-top: 0.5rem;
  min-height: 3.2rem;
  position: relative;
  overflow: hidden;
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.login-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-spinner svg {
  width: 1.2rem;
  height: 1.2rem;
  color: white;
}

.login-footer {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(143, 104, 33, 0.1);
}

.back-link {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 200ms ease;
}

.back-link:hover {
  color: var(--gold-deep);
}

/* Login page responsive */
@media (max-width: 480px) {
  .login-card {
    border-radius: 20px;
  }

  .login-header {
    padding: 2rem 1.5rem 1.2rem;
  }

  .login-form {
    padding: 1.5rem;
  }
}
/* Mobile logo adjustments */
@media (max-width: 760px) {
  .brand-logo {
    height: 2.2rem;
  }

  .footer-logo .brand-logo {
    height: 2rem;
  }
}

/* Investment Page Styles */
.investment-benefits {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(200, 155, 60, 0.08);
  border-radius: 18px;
  border: 1px solid rgba(200, 155, 60, 0.15);
}

.investment-benefits h4 {
  margin: 0 0 1rem;
  color: var(--gold-deep);
  font-size: 1.1rem;
  font-weight: 800;
}

.roi-results {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border: 2px solid var(--gold);
}

.roi-results h4 {
  margin: 0 0 1rem;
  color: var(--gold-deep);
  font-size: 1.2rem;
}

.roi-metrics {
  display: grid;
  gap: 0.8rem;
}

.roi-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(143, 104, 33, 0.1);
}

.roi-metric:last-child {
  border-bottom: none;
}

.roi-label {
  font-weight: 600;
  color: var(--text);
}

.roi-value {
  font-weight: 800;
  color: var(--gold-deep);
  font-size: 1.1rem;
}

.roi-highlight {
  font-size: 1.3rem;
  color: var(--gold);
}

.investment-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.investment-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.investment-stat strong {
  display: block;
  font-size: 2rem;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.investment-stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Investment Property Cards */
.investment-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white;
  box-shadow: 0 4px 12px rgba(200, 155, 60, 0.3);
}

.investment-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(200, 155, 60, 0.08);
  border-radius: 12px;
}

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

.investment-metric strong {
  display: block;
  color: var(--gold-deep);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.investment-metric span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Mobile Responsive */
@media (max-width: 1080px) {
  .investment-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .investment-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .investment-stats {
    grid-template-columns: 1fr;
  }

  .roi-metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .investment-benefits {
    margin-top: 1rem;
    padding: 1rem;
  }

  .roi-results {
    margin-top: 1rem;
    padding: 1rem;
  }
}
/* Admin Dashboard Tabs */
.dash-tabs {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.dash-tab {
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 200ms ease;
}

.dash-tab:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
}

.dash-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: white;
  border-color: transparent;
}

.dash-tab-content {
  display: none;
}

.dash-tab-content.active {
  display: block;
}

/* Booking Management Styles */
.dash-filters {
  margin: 1.5rem 0;
  padding: 1.2rem;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.dash-filter-group {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  align-items: end;
}

.booking-status {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-status.new {
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
}

.booking-status.contacted {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.booking-status.completed {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.booking-actions {
  display: flex;
  gap: 0.5rem;
}

.booking-action-btn {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 200ms ease;
}

.booking-action-btn:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.booking-details {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-contact {
  font-size: 0.85rem;
  color: var(--muted);
}

.booking-type {
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-type.inspection {
  background: rgba(99, 102, 241, 0.15);
  color: #4338ca;
}

.booking-type.investment {
  background: rgba(200, 155, 60, 0.15);
  color: var(--gold-deep);
}

.booking-type.general {
  background: rgba(107, 114, 128, 0.15);
  color: #374151;
}

.booking-type.newsletter {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

/* Booking Detail Modal */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 22, 14, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.booking-modal.active {
  display: flex;
}

.booking-modal-content {
  background: var(--surface-strong);
  border-radius: 24px;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.booking-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.booking-modal-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--muted);
}

.booking-modal-close:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.3);
}

.booking-detail-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.booking-detail-item {
  display: grid;
  gap: 0.3rem;
}

.booking-detail-label {
  font-weight: 700;
  color: var(--text);
  font-size: 0.9rem;
}

.booking-detail-value {
  color: var(--muted);
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
  .dash-filter-group {
    grid-template-columns: 1fr;
  }

  .dash-tabs {
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media (max-width: 760px) {
  .dash-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .dash-tabs {
    flex-direction: row;
    width: 100%;
  }

  .dash-tab {
    flex: 1;
    text-align: center;
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .booking-modal {
    padding: 1rem;
  }

  .booking-modal-content {
    padding: 1.5rem;
  }

  .admin-table {
    font-size: 0.85rem;
  }

  .booking-details {
    max-width: 150px;
  }
}
/* Image Modal Styles */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.image-modal-prev,
.image-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.image-modal-prev {
  left: -70px;
}

.image-modal-next {
  right: -70px;
}

.image-modal-prev:hover,
.image-modal-next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.image-modal-counter {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .image-modal-content {
    max-width: 95vw;
    max-height: 85vh;
  }

  .image-modal-close {
    top: -40px;
    right: 10px;
    width: 35px;
    height: 35px;
  }

  .image-modal-prev,
  .image-modal-next {
    width: 45px;
    height: 45px;
  }

  .image-modal-prev {
    left: -60px;
  }

  .image-modal-next {
    right: -60px;
  }

  .image-modal-counter {
    bottom: -40px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .image-modal-prev {
    left: 10px;
    top: 10px;
    transform: none;
  }

  .image-modal-next {
    right: 10px;
    top: 10px;
    transform: none;
  }

  .image-modal-close {
    top: 10px;
    right: 50%;
    transform: translateX(50%);
  }

  .image-modal-counter {
    bottom: 10px;
  }
}

/* Add cursor pointer to gallery images */
.detail-gallery-image {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.detail-gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
/* Make general gallery images clickable too */
.gallery-image {
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
