/* Gman Realty — site-wide UI/UX refinements */
:root {
  --ink: #071d3b;
  --ink-2: #113b68;
  --saffron: #f47b12;
  --saffron-dark: #c95e00;
  --saffron-soft: #fff3e7;
  --blue-soft: #edf6fc;
  --surface-2: #f5f8fb;
  --line: #dbe4ee;
  --muted: #5f6f82;
  --shadow-sm: 0 10px 30px rgba(7, 29, 59, 0.08);
  --shadow: 0 24px 60px rgba(7, 29, 59, 0.14);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
}

html { scroll-padding-top: 96px; }
body { min-height: 100vh; }
main { min-height: 45vh; }
::selection { color: #fff; background: var(--saffron); }

button,
a,
input,
select,
textarea { -webkit-tap-highlight-color: transparent; }

button:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .58;
  transform: none !important;
}

.no-script-notice {
  padding: 12px 20px;
  color: #fff;
  text-align: center;
  background: #8d2b22;
  font-size: 14px;
  font-weight: 700;
}

.ui-icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.ui-icon svg { width: 100%; height: 100%; stroke: currentColor; }
.category-icon .ui-icon,
.feature-icon .ui-icon,
.value-icon .ui-icon,
.contact-card-icon .ui-icon { width: 26px; height: 26px; }

.site-header {
  transition: box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.985);
  border-color: rgba(199, 211, 224, .9);
}
.header-inner { min-height: 80px; }
.brand { min-width: 190px; }
.brand img {
  width: 190px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}
.brand-fallback { font-size: 18px; }
.site-nav { gap: 5px; }
.nav-link { white-space: nowrap; }
.nav-link::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 6px;
  left: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-link:hover::after,
.nav-link.active::after { opacity: .55; transform: scaleX(1); }
.nav-link.nav-cta::after,
.nav-link.nav-admin::after,
.nav-button::after { display: none; }
.nav-link.nav-admin { margin-left: 4px; }
.nav-button { cursor: pointer; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  border: 0;
  background: rgba(3, 16, 33, .55);
  backdrop-filter: blur(3px);
}
.nav-backdrop.open { display: block; }

.hero {
  min-height: 680px;
  isolation: isolate;
  background-position: center;
}
.hero::before {
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -180px;
  filter: blur(0);
}
.hero::after {
  z-index: -1;
  width: 420px;
  height: 420px;
  left: -180px;
  bottom: -260px;
}
.hero-content { max-width: 820px; }
.hero h1 { text-wrap: balance; }
.hero-copy { color: rgba(255,255,255,.86); }
.search-panel {
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}
.search-panel input,
.search-panel select {
  border-color: #d8e1ea;
  background-color: #fff;
}
.search-panel input:hover,
.search-panel select:hover { border-color: #aebccc; }
.search-panel input:focus,
.search-panel select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(244,123,18,.13);
  outline: 0;
}
.hero-chip {
  backdrop-filter: blur(8px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.hero-chip:hover { transform: translateY(-2px); }

.section { position: relative; }
.section-heading { align-items: flex-end; }
.section-title { text-wrap: balance; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.section-link:hover { color: var(--ink); }

.category-card,
.property-card,
.value-card,
.team-card,
.contact-card,
.feature-card {
  will-change: transform;
}
.category-card { position: relative; overflow: hidden; }
.category-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -55px auto;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: var(--saffron-soft);
  transition: transform .25s ease;
}
.category-card:hover::after { transform: scale(1.18); }
.category-card > * { position: relative; z-index: 1; }
.category-card strong { font-size: 16px; }
.category-card small { line-height: 1.4; }

.property-card { height: 100%; display: flex; flex-direction: column; }
.property-card-image a { display: block; width: 100%; height: 100%; }
.property-card-body { display: flex; flex: 1; flex-direction: column; }
.property-card-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 45px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.property-price { margin-top: auto; }
.property-meta { row-gap: 8px; }
.property-meta .ui-icon,
.property-card-location .ui-icon,
.details-location .ui-icon { width: 16px; height: 16px; }
.property-card-location,
.details-location { display: flex; align-items: flex-start; gap: 6px; }
.save-button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(7,29,59,.08);
  transition: transform .18s ease, color .18s ease, background .18s ease;
}
.save-button:hover { transform: scale(1.08); background: #fff; }
.save-button:focus-visible { outline-offset: 2px; }

.skeleton-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.skeleton-media,
.skeleton-line {
  position: relative;
  overflow: hidden;
  background: #e9eef4;
}
.skeleton-media { aspect-ratio: 16 / 10; }
.skeleton-body { padding: 20px; }
.skeleton-line { height: 12px; margin-bottom: 12px; border-radius: 999px; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.h-22 { height: 22px; }
.skeleton-media::after,
.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: translateX(-100%);
  animation: ux-shimmer 1.35s infinite;
}
@keyframes ux-shimmer { to { transform: translateX(100%); } }

.feature-card {
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(244,123,18,.5);
  background: rgba(255,255,255,.09);
}
.feature-card p { color: rgba(255,255,255,.75); }

.btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
.btn-primary { box-shadow: 0 10px 24px rgba(244,123,18,.18); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(244,123,18,.26); }
.btn:active { transform: translateY(0) scale(.99); }
.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.google-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(7,29,59,.08);
}
.google-button .google-mark {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  font-size: 12px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background:
    radial-gradient(circle at 88% 20%, rgba(244,123,18,.28), transparent 22%),
    radial-gradient(circle at 10% 100%, rgba(255,255,255,.1), transparent 24%),
    linear-gradient(120deg, var(--ink), var(--ink-2));
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs { align-items: center; }
.dark-breadcrumbs { color: var(--muted); }
.dark-breadcrumbs a:hover { color: var(--saffron-dark); }

.filter-toggle {
  display: none;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 14px;
}
.filter-toggle .filter-count {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--saffron);
  font-size: 12px;
}
.filter-panel { max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; }
.filter-panel::-webkit-scrollbar { width: 6px; }
.filter-panel::-webkit-scrollbar-thumb { border-radius: 999px; background: #c6d1dc; }
.results-toolbar {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
}
.results-toolbar label { display: flex; align-items: center; gap: 10px; }
.results-toolbar .field-label { white-space: nowrap; }
.empty-state,
.not-found-state { min-height: 220px; display: grid; place-content: center; }
.empty-state p,
.not-found-state p { color: var(--muted); }
.not-found-state .btn + .btn { margin-left: 8px; }

.details-gallery { background: #dfe7ef; }
.details-main-image,
.details-thumbs { overflow: hidden; border-radius: 10px; }
.details-gallery img { transition: transform .35s ease; }
.details-gallery img:hover { transform: scale(1.025); }
.details-heading { align-items: flex-start; }
.details-price { padding: 8px 12px; border-radius: 10px; background: var(--saffron-soft); }
.stat-box { transition: transform .18s ease, border-color .18s ease; }
.stat-box:hover { transform: translateY(-2px); border-color: rgba(244,123,18,.35); }
.amenity { display: flex; align-items: center; gap: 8px; }
.amenity::before {
  content: "✓";
  width: 21px;
  height: 21px;
  display: inline-grid;
  flex: 0 0 21px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
  font-size: 12px;
}
.details-sidebar-card { border-top: 4px solid var(--saffron); }
.action-stack .btn { width: 100%; }

.form-card,
.policy-card,
.setup-card,
.auth-card { border-color: #d8e2ec; }
.form-group input,
.form-group select,
.form-group textarea,
.form-control { transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: #aebdcb; }
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}
.form-error:empty { min-height: 0; }
.form-error:not(:empty) { min-height: 18px; }
.check-option { cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.check-option:hover { border-color: rgba(244,123,18,.5); background: var(--saffron-soft); }
.check-option:has(input:checked) { border-color: var(--saffron); background: var(--saffron-soft); }
.file-upload-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 28px;
  border: 2px dashed #b9c7d5;
  border-radius: 14px;
  text-align: center;
  background: #f9fbfd;
  transition: border-color .18s ease, background .18s ease;
}
.file-upload-wrap:hover,
.file-upload-wrap.is-dragging { border-color: var(--saffron); background: var(--saffron-soft); }
.file-upload-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}
.file-upload-copy strong { display: block; margin-bottom: 4px; color: var(--ink); }
.file-upload-copy small { color: var(--muted); }
.image-preview-item { position: relative; }
.image-preview-item::after {
  content: attr(data-file-name);
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  overflow: hidden;
  padding: 5px 7px;
  border-radius: 6px;
  color: #fff;
  background: rgba(7,29,59,.78);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stepper { position: relative; }
.stepper::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: #d1dbe5;
}
.stepper-item { position: relative; z-index: 1; }
.stepper-dot { transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease; }
.stepper-item.active .stepper-dot { transform: scale(1.08); box-shadow: 0 0 0 5px rgba(244,123,18,.13); }

.contact-image,
.about-image { position: relative; min-height: 390px; background-position: center; background-size: cover; }
.contact-image::after,
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: inherit;
  box-shadow: inset 0 -80px 100px rgba(7,29,59,.08);
  pointer-events: none;
}
.contact-card { align-items: flex-start; }
.contact-card a { overflow-wrap: anywhere; }
.value-card,
.team-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.value-card:hover,
.team-card:hover { transform: translateY(-5px); border-color: rgba(244,123,18,.35); box-shadow: var(--shadow); }
.policy-card { line-height: 1.75; }
.policy-card a { color: var(--saffron-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

.auth-section {
  background:
    radial-gradient(circle at 12% 16%, rgba(244,123,18,.2), transparent 25%),
    radial-gradient(circle at 90% 88%, rgba(255,255,255,.08), transparent 26%),
    linear-gradient(135deg, rgba(7,29,59,.99), rgba(17,59,104,.96));
}
.auth-shell { border: 1px solid rgba(255,255,255,.1); }
.auth-aside { position: relative; overflow: hidden; }
.auth-aside::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,.06), 0 0 0 70px rgba(255,255,255,.035);
}
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside li { margin: 10px 0; }
.auth-tab { position: relative; }
.auth-tab:focus-visible { outline-offset: 1px; }
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  transform: translateY(-50%);
}
.password-toggle:hover { color: var(--ink); background: var(--surface-2); }

.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(244,123,18,.06);
}
.footer-main,
.footer-bottom { position: relative; z-index: 1; }
.footer-brand img { width: 220px; height: 58px; filter: none; }
.footer-links a { width: fit-content; }
.footer-links a::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: var(--saffron);
  transition: width .18s ease;
}
.footer-links a:hover::after { width: 100%; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(7,29,59,.25);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--saffron); }
.toast { bottom: 78px; }

@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 80px;
    right: 0;
    bottom: 0;
    z-index: 100;
    width: min(360px, 90vw);
    display: grid;
    align-content: start;
    gap: 6px;
    overflow-y: auto;
    padding: 24px;
    background: #fff;
    box-shadow: -18px 20px 45px rgba(7,29,59,.2);
    transform: translateX(105%);
    transition: transform .22s ease;
  }
  .site-nav.open { transform: translateX(0); }
  .nav-link { width: 100%; justify-content: flex-start; padding: 12px 14px; }
  .nav-link.nav-admin { margin: 8px 0 0; }
  .nav-link.nav-cta { justify-content: center; }
}

@media (max-width: 900px) {
  .filter-toggle { display: inline-flex; }
  .filter-panel {
    position: static;
    display: none;
    max-height: none;
    margin-bottom: 20px;
  }
  .filter-panel.open { display: block; animation: ux-slide-down .2s ease both; }
  @keyframes ux-slide-down { from { opacity: 0; transform: translateY(-6px); } }
  .results-toolbar { align-items: flex-start; }
  .details-sidebar { position: static; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 82px; }
  .header-inner { min-height: 70px; }
  .brand { min-width: 158px; }
  .brand img { width: 158px; height: 44px; }
  .site-nav { top: 70px; }
  .hero-content { padding: 78px 0 72px; }
  .hero h1 { letter-spacing: -.035em; }
  .search-panel { padding: 10px; }
  .section-heading { gap: 14px; }
  .section-link { padding-top: 0; }
  .results-toolbar label { width: 100%; justify-content: space-between; }
  .results-toolbar select { flex: 1; }
  .details-price { width: fit-content; }
  .stepper::before { display: none; }
  .form-card,
  .policy-card,
  .setup-card { padding: 24px 20px; }
  .file-upload-wrap { min-height: 145px; padding: 22px 16px; }
  .contact-image,
  .about-image { min-height: 300px; }
  .footer-main { gap: 28px; }
  .back-to-top { right: 14px; bottom: 14px; }
  .toast { right: 14px; bottom: 70px; max-width: calc(100% - 28px); }
}

@media (max-width: 480px) {
  .page-hero { padding: 54px 0; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .hero-copy { margin-bottom: 24px; }
  .hero-chip { font-size: 12px; }
  .category-card { min-height: 118px; grid-template-columns: 54px 1fr; justify-items: start; column-gap: 14px; text-align: left; }
  .category-card .category-icon { grid-row: 1 / 3; margin: 0; }
  .category-card strong { align-self: end; }
  .category-card small { align-self: start; }
  .property-card:hover,
  .category-card:hover,
  .value-card:hover,
  .team-card:hover { transform: none; }
  .details-thumbs:empty { display: none; }
  .details-heading { gap: 10px; }
  .details-price { font-size: 22px; }
  .not-found-state .btn { width: 100%; margin: 6px 0 !important; }
  .form-navigation > div { display: grid; gap: 8px; width: 100%; }
  .form-navigation > div .btn { width: 100%; }
  .auth-tabs { gap: 5px; }
  .auth-tab { min-height: 42px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Admin dashboard refinements */
.admin-shell {
  min-height: calc(100vh - 80px);
  background:
    radial-gradient(circle at 95% 5%, rgba(244,123,18,.08), transparent 22%),
    linear-gradient(180deg, #f7fafe, #f3f7fb);
}
.admin-login-note { align-items: center; }
.admin-note-icon {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--ink);
}
.admin-note-icon .ui-icon { width: 18px; height: 18px; }
.admin-stat-card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--ink-2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.admin-stat-card.is-pending { border-top-color: var(--saffron); }
.admin-stat-card.is-approved { border-top-color: var(--success); }
.admin-stat-card.is-rejected { border-top-color: var(--danger); }
.admin-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 14px; scrollbar-width: thin; }
.admin-tab { flex: 0 0 auto; }
.admin-property-card { transition: border-color .18s ease, box-shadow .18s ease; }
.admin-property-card:hover { border-color: rgba(244,123,18,.3); box-shadow: var(--shadow); }
.admin-property-contact a { display: inline-flex; align-items: center; gap: 5px; }
.admin-property-contact .ui-icon { width: 15px; height: 15px; }
.admin-property-actions .btn { white-space: nowrap; }
.admin-denied-wrap h1,
.admin-login-wrap h1 { text-wrap: balance; }

@media (max-width: 560px) {
  .admin-stats { grid-template-columns: 1fr; }
  .admin-login-wrap .auth-card,
  .admin-denied-wrap { padding: 26px 20px; }
  .admin-verify-actions { display: grid; }
  .admin-verify-actions .btn { width: 100%; }
  .admin-property-actions { display: grid; grid-template-columns: 1fr; }
  .admin-property-actions .btn { width: 100%; }
}

/* Keep the transparent SVG readable against the dark footer. */
.footer-brand > a.has-image {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
  line-height: 0;
}
.footer-brand > a.has-image img {
  margin: 0;
  background: transparent;
  filter: none;
}

/* Contact map: responsive, stable iframe instead of a cropped image placeholder. */
.map-embed-card {
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--border, #dfe5ec);
  border-radius: 24px;
  background: #eef2f5;
  box-shadow: var(--shadow-sm, 0 10px 30px rgba(7, 29, 59, .08));
}
.map-embed-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}
.field-help {
  display: block;
  margin-top: 6px;
  color: var(--muted, #667085);
  font-size: .84rem;
}
@media (max-width: 767px) {
  .map-embed-card,
  .map-embed-card iframe { min-height: 300px; }
}

/* Accessibility and state helpers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.btn[data-save-property].is-saved:not(.save-button) {
  color: #8d1824;
  border-color: #d89098;
  background: #fff1f2;
}

.filter-status {
  grid-column: 1 / -1;
  min-height: 1.25rem;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}
.filter-status.error { color: var(--danger, #b42318); }

.image-placeholder img,
.image-placeholder svg { pointer-events: none; }


/* Unified account access and supplied Gurugram hero */
.nav-link.nav-account {
  margin-left: 5px;
  min-height: 42px;
  padding: 9px 16px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 10px 22px rgba(7, 26, 51, .14);
}
.nav-link.nav-account::after { display: none; }
.nav-link.nav-account:hover,
.nav-link.nav-account.active {
  color: #fff;
  background: #0e3159;
  border-color: #0e3159;
}
.hero.has-image {
  background-image:
    linear-gradient(90deg, rgba(4, 19, 40, .92) 0%, rgba(4, 19, 40, .76) 42%, rgba(4, 19, 40, .28) 70%, rgba(4, 19, 40, .08) 100%),
    var(--site-image);
  background-position: center center;
}
.hero.has-image::before,
.hero.has-image::after { display: none; }
.account-session-panel {
  text-align: center;
  padding: 14px 4px 4px;
}
.account-session-panel h2 { margin-bottom: 8px; }
.account-session-panel .text-muted {
  margin: 0 auto 22px;
  overflow-wrap: anywhere;
}
.account-session-actions {
  display: grid;
  gap: 10px;
}

.auth-tabs[hidden],
.auth-panel[hidden],
.account-session-panel[hidden],
#admin-panel-access[hidden] { display: none !important; }


/* Client amendments — branding, search taxonomy and leadership message */
.brand { min-width: 210px; }
.brand img {
  width: 210px;
  height: 52px;
  border-radius: 0;
  background: transparent;
}
.hero-content { max-width: 1060px; }
.search-panel {
  grid-template-columns: minmax(170px, 1.25fr) repeat(3, minmax(145px, .85fr)) auto;
  max-width: 1080px;
}
.footer-brand img {
  width: 230px;
  height: auto;
  margin: 0;
}
.footer-links [data-site-text="company"] {
  color: #fff;
  font-size: 14px;
}
[data-site-text="address"] { white-space: pre-line; }
.contact-card [data-site-text="company"] {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}
.chairman-card {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  max-width: 920px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.chairman-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -80px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(245, 124, 0, .08);
}
.chairman-mark {
  color: var(--saffron);
  font-family: Georgia, serif;
  font-size: 112px;
  line-height: .75;
}
.chairman-copy { position: relative; z-index: 1; }
.chairman-copy p {
  margin-bottom: 18px;
  color: #344054;
  font-size: 18px;
  line-height: 1.75;
}
.chairman-signature {
  display: grid;
  gap: 2px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.chairman-signature strong { color: var(--ink); font-size: 20px; }
.chairman-signature span { color: var(--saffron-dark); font-weight: 700; }

@media (max-width: 1040px) {
  .brand { min-width: 176px; }
  .brand img { width: 176px; height: 44px; }
  .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-panel input:first-child { grid-column: 1 / -1; }
  .search-panel .btn { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .brand { min-width: 0; }
  .brand img { width: 164px; height: 40px; }
  .search-panel { grid-template-columns: minmax(0, 1fr); }
  .search-panel input:first-child,
  .search-panel .btn { grid-column: auto; }
  .chairman-card { grid-template-columns: 1fr; gap: 8px; padding: 26px 22px; }
  .chairman-mark { font-size: 72px; }
  .chairman-copy p { font-size: 16px; }
  .footer-brand > a.has-image img { width: 210px; }
}

/* Seven home property categories, including Projects */
.category-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
@media (max-width: 1180px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .category-grid { grid-template-columns: minmax(0, 1fr); }
}


/* Guaranteed homepage hero: direct embedded image, independent of asset paths or Firebase. */
.hero.hero-direct-image {
  position: relative;
  isolation: isolate;
  background: #071d3b url("../images/gman-gurugram-hero-20260715.jpeg") center / cover no-repeat !important;
}
.hero.hero-direct-image::before,
.hero.hero-direct-image::after {
  display: none !important;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero.hero-direct-image > .container {
  position: relative;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4,19,40,.92) 0%, rgba(4,19,40,.76) 42%, rgba(4,19,40,.28) 70%, rgba(4,19,40,.08) 100%);
}
@media (max-width: 900px) {
  .hero-background { object-position: 64% center; }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(4,19,40,.92) 0%, rgba(4,19,40,.78) 58%, rgba(4,19,40,.48) 100%);
  }
}
@media (max-width: 480px) {
  .hero-background { object-position: 67% center; }
}


/* Footer PNG logo and favicon asset refresh — 2026-07-16 */
.footer-brand > a.has-image {
  overflow: hidden;
  width: min(100%, 330px);
  padding: 12px 16px;
  background: #ffffff;
}
.footer-brand .footer-logo-image {
  display: block;
  width: 100%;
  max-width: 298px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 767px) {
  .footer-brand > a.has-image {
    width: min(100%, 300px);
    margin-inline: auto;
    padding: 10px 12px;
  }
  .footer-brand .footer-logo-image {
    width: 100%;
    max-width: 276px;
  }
}

/* Client amendments — round 2 (2026-07-20) */
.hero-budget-badge {
  position: relative;
  isolation: isolate;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 18px 10px 16px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f57c00 0%, #ff9a2f 100%);
  box-shadow: 0 12px 30px rgba(245, 124, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .28);
  font-size: 13px;
  letter-spacing: .095em;
}
.hero-budget-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .14);
}

.why-gman-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(245, 124, 0, .22), transparent 27%),
    radial-gradient(circle at 8% 92%, rgba(40, 91, 170, .24), transparent 28%),
    linear-gradient(140deg, #06172f 0%, #0b2850 58%, #071d3b 100%);
}
.why-gman-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 88%);
}
.why-gman-section > .container { position: relative; z-index: 1; }
.why-gman-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: clamp(30px, 5vw, 72px);
  margin-bottom: 38px;
}
.why-eyebrow {
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.09);
}
.why-title {
  max-width: 760px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.why-copy {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.75;
}
.why-trust-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.why-trust-panel strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
}
.why-trust-panel span {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
}
.why-trust-panel span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff9a2f;
  font-weight: 900;
}
.why-feature-grid { gap: 16px; }
.why-feature-card {
  min-height: 100%;
  padding: 24px;
  border-color: rgba(255,255,255,.14);
  background: linear-gradient(155deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.why-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,124,0,.65);
  background: linear-gradient(155deg, rgba(255,255,255,.14), rgba(255,255,255,.065));
}
.feature-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.why-feature-card .feature-icon { margin: 0; }
.feature-number {
  color: rgba(255,255,255,.32);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.05em;
}
.why-feature-card h3 { margin-bottom: 10px; font-size: 19px; }
.why-feature-card p { color: rgba(255,255,255,.72); line-height: 1.65; }

.chairman-section-primary { padding-top: 74px; }

.price-compact {
  min-height: 19px;
  color: var(--saffron-dark);
  font-size: 13px;
  font-weight: 800;
}
.price-in-words {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px dashed #c9d6e5;
  border-radius: 9px;
  color: #667085;
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.5;
}
.price-in-words.has-value {
  border-color: rgba(245,124,0,.45);
  color: #7a3f00;
  background: #fff8ef;
  font-weight: 700;
}
.location-field { align-content: start; }
.location-field .field-help { min-height: 36px; }

.photo-selection-status {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #667085;
  background: #f5f7fa;
  font-size: 13px;
  font-weight: 700;
}
.photo-selection-status.has-photos {
  color: #175c36;
  background: #eaf8f0;
}
.image-preview-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-soft);
  box-shadow: 0 8px 20px rgba(7,29,59,.08);
}
.image-preview-item::after { display: none !important; content: none !important; }
.image-preview-item img { display: block; }
.image-preview-order {
  position: absolute;
  top: 9px;
  left: 9px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(7,29,59,.82);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(6px);
}
.image-preview-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(180, 35, 24, .94);
  box-shadow: 0 6px 14px rgba(0,0,0,.2);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.image-preview-remove:hover,
.image-preview-remove:focus-visible { background: #912018; transform: translateY(-1px); }
.image-preview-remove span:first-child { font-size: 18px; line-height: .8; }
.image-preview-name {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  overflow: hidden;
  padding: 6px 8px;
  border-radius: 7px;
  color: #fff;
  background: rgba(7,29,59,.82);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer .footer-column .footer-links [data-site-text="address"] { order: 2; }
.site-footer .footer-column .footer-links [data-site-text="phone"] { order: 3; }
.site-footer .footer-column .footer-links [data-site-text="email"] { order: 4; }
.site-footer .footer-column .footer-links [data-site-text="hours"] { order: 5; }

@media (max-width: 900px) {
  .why-gman-intro { grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .why-trust-panel { max-width: 520px; }
}
@media (max-width: 767px) {
  .hero-budget-badge {
    max-width: 100%;
    padding: 9px 13px;
    font-size: 11px;
    letter-spacing: .075em;
  }
  .why-title { font-size: clamp(31px, 9vw, 42px); }
  .why-copy { font-size: 15px; }
  .why-feature-card { padding: 21px; }
  .feature-card-top { margin-bottom: 20px; }
  .image-preview-remove span:last-child { display: none; }
  .image-preview-remove { width: 34px; height: 34px; justify-content: center; padding: 0; }
  .location-field .field-help { min-height: auto; }
}


/* Property posting timeline */
.property-posted-time,
.details-posted-time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}

.property-posted-time .ui-icon,
.details-posted-time .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--saffron-dark);
}

.details-posted-time {
  margin-top: 9px;
  font-size: 13px;
}


/* Projects category and dedicated project section */
.section-projects {
  background: linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
  border-top: 1px solid rgba(7, 29, 59, 0.06);
  border-bottom: 1px solid rgba(7, 29, 59, 0.06);
}
.badge.project {
  background: #e8f1ff;
  color: #0b4f9c;
  border-color: rgba(11, 79, 156, 0.18);
}
.filter-static-value {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f9fc;
  color: var(--ink);
  font-weight: 700;
}
